mshtml: Initialize OmHistory object with compat mode.
[wine.git] / configure
blob9026b1f53adaf7438e76e3de6c1c5f39b881514f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.3.
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.3'
584 PACKAGE_STRING='Wine 6.3'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_build_id
846 enable_maintainer_mode
847 enable_silent_rules
848 enable_werror
849 with_alsa
850 with_capi
851 with_cms
852 with_coreaudio
853 with_cups
854 with_dbus
855 with_faudio
856 with_float_abi
857 with_fontconfig
858 with_freetype
859 with_gettext
860 with_gettextpo
861 with_gphoto
862 with_gnutls
863 with_gsm
864 with_gssapi
865 with_gstreamer
866 with_hal
867 with_inotify
868 with_jpeg
869 with_jxrlib
870 with_krb5
871 with_ldap
872 with_mingw
873 with_mpg123
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_png
882 with_pthread
883 with_pulse
884 with_quicktime
885 with_sane
886 with_sdl
887 with_tiff
888 with_udev
889 with_unwind
890 with_usb
891 with_v4l2
892 with_vkd3d
893 with_vulkan
894 with_xcomposite
895 with_xcursor
896 with_xfixes
897 with_xinerama
898 with_xinput
899 with_xinput2
900 with_xml
901 with_xrandr
902 with_xrender
903 with_xshape
904 with_xshm
905 with_xslt
906 with_xxf86vm
907 with_wine_tools
908 with_wine64
909 enable_largefile
910 with_x
911 enable_acledit
912 enable_aclui
913 enable_activeds_tlb
914 enable_activeds
915 enable_actxprxy
916 enable_adsiid
917 enable_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l2_1_0
937 enable_api_ms_win_core_crt_l1_1_0
938 enable_api_ms_win_core_crt_l2_1_0
939 enable_api_ms_win_core_datetime_l1_1_0
940 enable_api_ms_win_core_datetime_l1_1_1
941 enable_api_ms_win_core_debug_l1_1_0
942 enable_api_ms_win_core_debug_l1_1_1
943 enable_api_ms_win_core_delayload_l1_1_0
944 enable_api_ms_win_core_delayload_l1_1_1
945 enable_api_ms_win_core_errorhandling_l1_1_0
946 enable_api_ms_win_core_errorhandling_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_2
948 enable_api_ms_win_core_errorhandling_l1_1_3
949 enable_api_ms_win_core_fibers_l1_1_0
950 enable_api_ms_win_core_fibers_l1_1_1
951 enable_api_ms_win_core_file_ansi_l2_1_0
952 enable_api_ms_win_core_file_fromapp_l1_1_0
953 enable_api_ms_win_core_file_l1_1_0
954 enable_api_ms_win_core_file_l1_2_0
955 enable_api_ms_win_core_file_l1_2_1
956 enable_api_ms_win_core_file_l1_2_2
957 enable_api_ms_win_core_file_l2_1_0
958 enable_api_ms_win_core_file_l2_1_1
959 enable_api_ms_win_core_file_l2_1_2
960 enable_api_ms_win_core_handle_l1_1_0
961 enable_api_ms_win_core_heap_l1_1_0
962 enable_api_ms_win_core_heap_l1_2_0
963 enable_api_ms_win_core_heap_l2_1_0
964 enable_api_ms_win_core_heap_obsolete_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_2_0
967 enable_api_ms_win_core_io_l1_1_0
968 enable_api_ms_win_core_io_l1_1_1
969 enable_api_ms_win_core_job_l1_1_0
970 enable_api_ms_win_core_job_l2_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_1
973 enable_api_ms_win_core_kernel32_legacy_l1_1_2
974 enable_api_ms_win_core_kernel32_private_l1_1_1
975 enable_api_ms_win_core_largeinteger_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_0
977 enable_api_ms_win_core_libraryloader_l1_1_1
978 enable_api_ms_win_core_libraryloader_l1_2_0
979 enable_api_ms_win_core_libraryloader_l1_2_1
980 enable_api_ms_win_core_libraryloader_l1_2_2
981 enable_api_ms_win_core_libraryloader_l2_1_0
982 enable_api_ms_win_core_localization_l1_1_0
983 enable_api_ms_win_core_localization_l1_2_0
984 enable_api_ms_win_core_localization_l1_2_1
985 enable_api_ms_win_core_localization_l1_2_2
986 enable_api_ms_win_core_localization_l2_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_1_0
988 enable_api_ms_win_core_localization_obsolete_l1_2_0
989 enable_api_ms_win_core_localization_obsolete_l1_3_0
990 enable_api_ms_win_core_localization_private_l1_1_0
991 enable_api_ms_win_core_localregistry_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_0
993 enable_api_ms_win_core_memory_l1_1_1
994 enable_api_ms_win_core_memory_l1_1_2
995 enable_api_ms_win_core_memory_l1_1_3
996 enable_api_ms_win_core_memory_l1_1_4
997 enable_api_ms_win_core_misc_l1_1_0
998 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_1_0
1000 enable_api_ms_win_core_namedpipe_l1_2_0
1001 enable_api_ms_win_core_namespace_l1_1_0
1002 enable_api_ms_win_core_normalization_l1_1_0
1003 enable_api_ms_win_core_path_l1_1_0
1004 enable_api_ms_win_core_privateprofile_l1_1_1
1005 enable_api_ms_win_core_processenvironment_l1_1_0
1006 enable_api_ms_win_core_processenvironment_l1_2_0
1007 enable_api_ms_win_core_processthreads_l1_1_0
1008 enable_api_ms_win_core_processthreads_l1_1_1
1009 enable_api_ms_win_core_processthreads_l1_1_2
1010 enable_api_ms_win_core_processthreads_l1_1_3
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_quirks_l1_1_0
1017 enable_api_ms_win_core_realtime_l1_1_0
1018 enable_api_ms_win_core_registry_l1_1_0
1019 enable_api_ms_win_core_registry_l2_1_0
1020 enable_api_ms_win_core_registry_l2_2_0
1021 enable_api_ms_win_core_registryuserspecific_l1_1_0
1022 enable_api_ms_win_core_rtlsupport_l1_1_0
1023 enable_api_ms_win_core_rtlsupport_l1_2_0
1024 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1025 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1026 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1027 enable_api_ms_win_core_shutdown_l1_1_0
1028 enable_api_ms_win_core_sidebyside_l1_1_0
1029 enable_api_ms_win_core_string_l1_1_0
1030 enable_api_ms_win_core_string_l2_1_0
1031 enable_api_ms_win_core_string_obsolete_l1_1_0
1032 enable_api_ms_win_core_stringansi_l1_1_0
1033 enable_api_ms_win_core_stringloader_l1_1_1
1034 enable_api_ms_win_core_synch_ansi_l1_1_0
1035 enable_api_ms_win_core_synch_l1_1_0
1036 enable_api_ms_win_core_synch_l1_2_0
1037 enable_api_ms_win_core_synch_l1_2_1
1038 enable_api_ms_win_core_sysinfo_l1_1_0
1039 enable_api_ms_win_core_sysinfo_l1_2_0
1040 enable_api_ms_win_core_sysinfo_l1_2_1
1041 enable_api_ms_win_core_systemtopology_l1_1_0
1042 enable_api_ms_win_core_threadpool_l1_1_0
1043 enable_api_ms_win_core_threadpool_l1_2_0
1044 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1045 enable_api_ms_win_core_threadpool_private_l1_1_0
1046 enable_api_ms_win_core_timezone_l1_1_0
1047 enable_api_ms_win_core_toolhelp_l1_1_0
1048 enable_api_ms_win_core_url_l1_1_0
1049 enable_api_ms_win_core_util_l1_1_0
1050 enable_api_ms_win_core_version_l1_1_0
1051 enable_api_ms_win_core_version_l1_1_1
1052 enable_api_ms_win_core_version_private_l1_1_0
1053 enable_api_ms_win_core_versionansi_l1_1_0
1054 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1055 enable_api_ms_win_core_winrt_error_l1_1_0
1056 enable_api_ms_win_core_winrt_error_l1_1_1
1057 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1058 enable_api_ms_win_core_winrt_l1_1_0
1059 enable_api_ms_win_core_winrt_registration_l1_1_0
1060 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1061 enable_api_ms_win_core_winrt_string_l1_1_0
1062 enable_api_ms_win_core_winrt_string_l1_1_1
1063 enable_api_ms_win_core_wow64_l1_1_0
1064 enable_api_ms_win_core_wow64_l1_1_1
1065 enable_api_ms_win_core_xstate_l1_1_0
1066 enable_api_ms_win_core_xstate_l2_1_0
1067 enable_api_ms_win_crt_conio_l1_1_0
1068 enable_api_ms_win_crt_convert_l1_1_0
1069 enable_api_ms_win_crt_environment_l1_1_0
1070 enable_api_ms_win_crt_filesystem_l1_1_0
1071 enable_api_ms_win_crt_heap_l1_1_0
1072 enable_api_ms_win_crt_locale_l1_1_0
1073 enable_api_ms_win_crt_math_l1_1_0
1074 enable_api_ms_win_crt_multibyte_l1_1_0
1075 enable_api_ms_win_crt_private_l1_1_0
1076 enable_api_ms_win_crt_process_l1_1_0
1077 enable_api_ms_win_crt_runtime_l1_1_0
1078 enable_api_ms_win_crt_stdio_l1_1_0
1079 enable_api_ms_win_crt_string_l1_1_0
1080 enable_api_ms_win_crt_time_l1_1_0
1081 enable_api_ms_win_crt_utility_l1_1_0
1082 enable_api_ms_win_devices_config_l1_1_0
1083 enable_api_ms_win_devices_config_l1_1_1
1084 enable_api_ms_win_devices_query_l1_1_1
1085 enable_api_ms_win_downlevel_advapi32_l1_1_0
1086 enable_api_ms_win_downlevel_advapi32_l2_1_0
1087 enable_api_ms_win_downlevel_kernel32_l2_1_0
1088 enable_api_ms_win_downlevel_normaliz_l1_1_0
1089 enable_api_ms_win_downlevel_ole32_l1_1_0
1090 enable_api_ms_win_downlevel_shell32_l1_1_0
1091 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1092 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1093 enable_api_ms_win_downlevel_user32_l1_1_0
1094 enable_api_ms_win_downlevel_version_l1_1_0
1095 enable_api_ms_win_dx_d3dkmt_l1_1_0
1096 enable_api_ms_win_eventing_classicprovider_l1_1_0
1097 enable_api_ms_win_eventing_consumer_l1_1_0
1098 enable_api_ms_win_eventing_controller_l1_1_0
1099 enable_api_ms_win_eventing_legacy_l1_1_0
1100 enable_api_ms_win_eventing_provider_l1_1_0
1101 enable_api_ms_win_eventlog_legacy_l1_1_0
1102 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1103 enable_api_ms_win_mm_joystick_l1_1_0
1104 enable_api_ms_win_mm_misc_l1_1_1
1105 enable_api_ms_win_mm_mme_l1_1_0
1106 enable_api_ms_win_mm_time_l1_1_0
1107 enable_api_ms_win_ntuser_dc_access_l1_1_0
1108 enable_api_ms_win_ntuser_rectangle_l1_1_0
1109 enable_api_ms_win_ntuser_sysparams_l1_1_0
1110 enable_api_ms_win_perf_legacy_l1_1_0
1111 enable_api_ms_win_power_base_l1_1_0
1112 enable_api_ms_win_power_setting_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1116 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1120 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1121 enable_api_ms_win_security_audit_l1_1_1
1122 enable_api_ms_win_security_base_l1_1_0
1123 enable_api_ms_win_security_base_l1_2_0
1124 enable_api_ms_win_security_base_private_l1_1_1
1125 enable_api_ms_win_security_credentials_l1_1_0
1126 enable_api_ms_win_security_cryptoapi_l1_1_0
1127 enable_api_ms_win_security_grouppolicy_l1_1_0
1128 enable_api_ms_win_security_lsalookup_l1_1_0
1129 enable_api_ms_win_security_lsalookup_l1_1_1
1130 enable_api_ms_win_security_lsalookup_l2_1_0
1131 enable_api_ms_win_security_lsalookup_l2_1_1
1132 enable_api_ms_win_security_lsapolicy_l1_1_0
1133 enable_api_ms_win_security_provider_l1_1_0
1134 enable_api_ms_win_security_sddl_l1_1_0
1135 enable_api_ms_win_security_systemfunctions_l1_1_0
1136 enable_api_ms_win_service_core_l1_1_0
1137 enable_api_ms_win_service_core_l1_1_1
1138 enable_api_ms_win_service_management_l1_1_0
1139 enable_api_ms_win_service_management_l2_1_0
1140 enable_api_ms_win_service_private_l1_1_1
1141 enable_api_ms_win_service_winsvc_l1_1_0
1142 enable_api_ms_win_service_winsvc_l1_2_0
1143 enable_api_ms_win_shcore_obsolete_l1_1_0
1144 enable_api_ms_win_shcore_scaling_l1_1_1
1145 enable_api_ms_win_shcore_stream_l1_1_0
1146 enable_api_ms_win_shcore_thread_l1_1_0
1147 enable_api_ms_win_shell_shellcom_l1_1_0
1148 enable_api_ms_win_shell_shellfolders_l1_1_0
1149 enable_apphelp
1150 enable_appwiz_cpl
1151 enable_atl
1152 enable_atl100
1153 enable_atl110
1154 enable_atl80
1155 enable_atl90
1156 enable_atlthunk
1157 enable_atmlib
1158 enable_authz
1159 enable_avicap32
1160 enable_avifil32
1161 enable_avrt
1162 enable_bcrypt
1163 enable_bluetoothapis
1164 enable_browseui
1165 enable_bthprops_cpl
1166 enable_cabinet
1167 enable_capi2032
1168 enable_cards
1169 enable_cdosys
1170 enable_cfgmgr32
1171 enable_clusapi
1172 enable_combase
1173 enable_comcat
1174 enable_comctl32
1175 enable_comdlg32
1176 enable_compstui
1177 enable_comsvcs
1178 enable_concrt140
1179 enable_connect
1180 enable_credui
1181 enable_crtdll
1182 enable_crypt32
1183 enable_cryptdlg
1184 enable_cryptdll
1185 enable_cryptext
1186 enable_cryptnet
1187 enable_cryptsp
1188 enable_cryptui
1189 enable_ctapi32
1190 enable_ctl3d32
1191 enable_d2d1
1192 enable_d3d10
1193 enable_d3d10_1
1194 enable_d3d10core
1195 enable_d3d11
1196 enable_d3d12
1197 enable_d3d8
1198 enable_d3d8thk
1199 enable_d3d9
1200 enable_d3dcompiler_33
1201 enable_d3dcompiler_34
1202 enable_d3dcompiler_35
1203 enable_d3dcompiler_36
1204 enable_d3dcompiler_37
1205 enable_d3dcompiler_38
1206 enable_d3dcompiler_39
1207 enable_d3dcompiler_40
1208 enable_d3dcompiler_41
1209 enable_d3dcompiler_42
1210 enable_d3dcompiler_43
1211 enable_d3dcompiler_46
1212 enable_d3dcompiler_47
1213 enable_d3dim
1214 enable_d3dim700
1215 enable_d3drm
1216 enable_d3dx10_33
1217 enable_d3dx10_34
1218 enable_d3dx10_35
1219 enable_d3dx10_36
1220 enable_d3dx10_37
1221 enable_d3dx10_38
1222 enable_d3dx10_39
1223 enable_d3dx10_40
1224 enable_d3dx10_41
1225 enable_d3dx10_42
1226 enable_d3dx10_43
1227 enable_d3dx11_42
1228 enable_d3dx11_43
1229 enable_d3dx9_24
1230 enable_d3dx9_25
1231 enable_d3dx9_26
1232 enable_d3dx9_27
1233 enable_d3dx9_28
1234 enable_d3dx9_29
1235 enable_d3dx9_30
1236 enable_d3dx9_31
1237 enable_d3dx9_32
1238 enable_d3dx9_33
1239 enable_d3dx9_34
1240 enable_d3dx9_35
1241 enable_d3dx9_36
1242 enable_d3dx9_37
1243 enable_d3dx9_38
1244 enable_d3dx9_39
1245 enable_d3dx9_40
1246 enable_d3dx9_41
1247 enable_d3dx9_42
1248 enable_d3dx9_43
1249 enable_d3dxof
1250 enable_davclnt
1251 enable_dbgeng
1252 enable_dbghelp
1253 enable_dciman32
1254 enable_dcomp
1255 enable_ddraw
1256 enable_ddrawex
1257 enable_devenum
1258 enable_dhcpcsvc
1259 enable_dhtmled_ocx
1260 enable_difxapi
1261 enable_dinput
1262 enable_dinput8
1263 enable_directmanipulation
1264 enable_dispex
1265 enable_dmband
1266 enable_dmcompos
1267 enable_dmime
1268 enable_dmloader
1269 enable_dmoguids
1270 enable_dmscript
1271 enable_dmstyle
1272 enable_dmsynth
1273 enable_dmusic
1274 enable_dmusic32
1275 enable_dnsapi
1276 enable_dplay
1277 enable_dplayx
1278 enable_dpnaddr
1279 enable_dpnet
1280 enable_dpnhpast
1281 enable_dpnlobby
1282 enable_dpvoice
1283 enable_dpwsockx
1284 enable_drmclien
1285 enable_dsdmo
1286 enable_dsound
1287 enable_dsquery
1288 enable_dssenh
1289 enable_dsuiext
1290 enable_dswave
1291 enable_dwmapi
1292 enable_dwrite
1293 enable_dx8vb
1294 enable_dxdiagn
1295 enable_dxerr8
1296 enable_dxerr9
1297 enable_dxgi
1298 enable_dxguid
1299 enable_dxva2
1300 enable_esent
1301 enable_evr
1302 enable_explorerframe
1303 enable_ext_ms_win_authz_context_l1_1_0
1304 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1305 enable_ext_ms_win_dwmapi_ext_l1_1_0
1306 enable_ext_ms_win_gdi_dc_create_l1_1_0
1307 enable_ext_ms_win_gdi_dc_create_l1_1_1
1308 enable_ext_ms_win_gdi_dc_l1_2_0
1309 enable_ext_ms_win_gdi_devcaps_l1_1_0
1310 enable_ext_ms_win_gdi_draw_l1_1_0
1311 enable_ext_ms_win_gdi_draw_l1_1_1
1312 enable_ext_ms_win_gdi_font_l1_1_0
1313 enable_ext_ms_win_gdi_font_l1_1_1
1314 enable_ext_ms_win_gdi_render_l1_1_0
1315 enable_ext_ms_win_kernel32_package_current_l1_1_0
1316 enable_ext_ms_win_kernel32_package_l1_1_1
1317 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1318 enable_ext_ms_win_ntuser_draw_l1_1_0
1319 enable_ext_ms_win_ntuser_gui_l1_1_0
1320 enable_ext_ms_win_ntuser_gui_l1_3_0
1321 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1322 enable_ext_ms_win_ntuser_message_l1_1_0
1323 enable_ext_ms_win_ntuser_message_l1_1_1
1324 enable_ext_ms_win_ntuser_misc_l1_1_0
1325 enable_ext_ms_win_ntuser_misc_l1_2_0
1326 enable_ext_ms_win_ntuser_misc_l1_5_1
1327 enable_ext_ms_win_ntuser_mouse_l1_1_0
1328 enable_ext_ms_win_ntuser_private_l1_1_1
1329 enable_ext_ms_win_ntuser_private_l1_3_1
1330 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1331 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1332 enable_ext_ms_win_ntuser_window_l1_1_0
1333 enable_ext_ms_win_ntuser_window_l1_1_1
1334 enable_ext_ms_win_ntuser_window_l1_1_4
1335 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1336 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1337 enable_ext_ms_win_oleacc_l1_1_0
1338 enable_ext_ms_win_ras_rasapi32_l1_1_0
1339 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1340 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1341 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1342 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1343 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1346 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1349 enable_ext_ms_win_security_credui_l1_1_0
1350 enable_ext_ms_win_security_cryptui_l1_1_0
1351 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1352 enable_ext_ms_win_shell_comdlg32_l1_1_0
1353 enable_ext_ms_win_shell_shell32_l1_2_0
1354 enable_ext_ms_win_uxtheme_themes_l1_1_0
1355 enable_faultrep
1356 enable_feclient
1357 enable_fltlib
1358 enable_fltmgr_sys
1359 enable_fntcache
1360 enable_fontsub
1361 enable_fusion
1362 enable_fwpuclnt
1363 enable_gameux
1364 enable_gdi32
1365 enable_gdiplus
1366 enable_glu32
1367 enable_gphoto2_ds
1368 enable_gpkcsp
1369 enable_hal
1370 enable_hhctrl_ocx
1371 enable_hid
1372 enable_hidclass_sys
1373 enable_hlink
1374 enable_hnetcfg
1375 enable_http_sys
1376 enable_httpapi
1377 enable_iccvid
1378 enable_icmp
1379 enable_ieframe
1380 enable_ieproxy
1381 enable_imaadp32_acm
1382 enable_imagehlp
1383 enable_imm32
1384 enable_inetcomm
1385 enable_inetcpl_cpl
1386 enable_inetmib1
1387 enable_infosoft
1388 enable_initpki
1389 enable_inkobj
1390 enable_inseng
1391 enable_iphlpapi
1392 enable_iprop
1393 enable_irprops_cpl
1394 enable_itircl
1395 enable_itss
1396 enable_joy_cpl
1397 enable_jscript
1398 enable_jsproxy
1399 enable_kerberos
1400 enable_kernel32
1401 enable_kernelbase
1402 enable_ksecdd_sys
1403 enable_ksproxy_ax
1404 enable_ksuser
1405 enable_ktmw32
1406 enable_l3codeca_acm
1407 enable_loadperf
1408 enable_localspl
1409 enable_localui
1410 enable_lz32
1411 enable_mapi32
1412 enable_mapistub
1413 enable_mciavi32
1414 enable_mcicda
1415 enable_mciqtz32
1416 enable_mciseq
1417 enable_mciwave
1418 enable_mf
1419 enable_mf3216
1420 enable_mferror
1421 enable_mfmediaengine
1422 enable_mfplat
1423 enable_mfplay
1424 enable_mfreadwrite
1425 enable_mfuuid
1426 enable_mgmtapi
1427 enable_midimap
1428 enable_mlang
1429 enable_mmcndmgr
1430 enable_mmdevapi
1431 enable_mountmgr_sys
1432 enable_mp3dmod
1433 enable_mpr
1434 enable_mprapi
1435 enable_msacm32_drv
1436 enable_msacm32
1437 enable_msado15
1438 enable_msadp32_acm
1439 enable_msasn1
1440 enable_mscat32
1441 enable_mscms
1442 enable_mscoree
1443 enable_mscorwks
1444 enable_msctf
1445 enable_msctfp
1446 enable_msdaps
1447 enable_msdelta
1448 enable_msdmo
1449 enable_msdrm
1450 enable_msftedit
1451 enable_msg711_acm
1452 enable_msgsm32_acm
1453 enable_mshtml_tlb
1454 enable_mshtml
1455 enable_msi
1456 enable_msident
1457 enable_msimg32
1458 enable_msimsg
1459 enable_msimtf
1460 enable_msisip
1461 enable_msisys_ocx
1462 enable_msls31
1463 enable_msnet32
1464 enable_mspatcha
1465 enable_msports
1466 enable_msrle32
1467 enable_msscript_ocx
1468 enable_mssign32
1469 enable_mssip32
1470 enable_mstask
1471 enable_msvcirt
1472 enable_msvcm80
1473 enable_msvcm90
1474 enable_msvcp100
1475 enable_msvcp110
1476 enable_msvcp120
1477 enable_msvcp120_app
1478 enable_msvcp140
1479 enable_msvcp140_1
1480 enable_msvcp60
1481 enable_msvcp70
1482 enable_msvcp71
1483 enable_msvcp80
1484 enable_msvcp90
1485 enable_msvcr100
1486 enable_msvcr110
1487 enable_msvcr120
1488 enable_msvcr120_app
1489 enable_msvcr70
1490 enable_msvcr71
1491 enable_msvcr80
1492 enable_msvcr90
1493 enable_msvcrt
1494 enable_msvcrt20
1495 enable_msvcrt40
1496 enable_msvcrtd
1497 enable_msvfw32
1498 enable_msvidc32
1499 enable_mswsock
1500 enable_msxml
1501 enable_msxml2
1502 enable_msxml3
1503 enable_msxml4
1504 enable_msxml6
1505 enable_mtxdm
1506 enable_ncrypt
1507 enable_nddeapi
1508 enable_ndis_sys
1509 enable_netapi32
1510 enable_netcfgx
1511 enable_netio_sys
1512 enable_netprofm
1513 enable_netutils
1514 enable_newdev
1515 enable_ninput
1516 enable_normaliz
1517 enable_npmshtml
1518 enable_npptools
1519 enable_ntdll
1520 enable_ntdsapi
1521 enable_ntoskrnl_exe
1522 enable_ntprint
1523 enable_objsel
1524 enable_odbc32
1525 enable_odbcbcp
1526 enable_odbccp32
1527 enable_odbccu32
1528 enable_ole32
1529 enable_oleacc
1530 enable_oleaut32
1531 enable_olecli32
1532 enable_oledb32
1533 enable_oledlg
1534 enable_olepro32
1535 enable_olesvr32
1536 enable_olethk32
1537 enable_opcservices
1538 enable_openal32
1539 enable_opencl
1540 enable_opengl32
1541 enable_packager
1542 enable_pdh
1543 enable_photometadatahandler
1544 enable_pidgen
1545 enable_powrprof
1546 enable_printui
1547 enable_prntvpt
1548 enable_propsys
1549 enable_psapi
1550 enable_pstorec
1551 enable_pwrshplugin
1552 enable_qasf
1553 enable_qcap
1554 enable_qdvd
1555 enable_qedit
1556 enable_qmgr
1557 enable_qmgrprxy
1558 enable_quartz
1559 enable_query
1560 enable_qwave
1561 enable_rasapi32
1562 enable_rasdlg
1563 enable_regapi
1564 enable_resutils
1565 enable_riched20
1566 enable_riched32
1567 enable_rpcrt4
1568 enable_rsabase
1569 enable_rsaenh
1570 enable_rstrtmgr
1571 enable_rtutils
1572 enable_rtworkq
1573 enable_samlib
1574 enable_sane_ds
1575 enable_sapi
1576 enable_sas
1577 enable_scarddlg
1578 enable_sccbase
1579 enable_schannel
1580 enable_schedsvc
1581 enable_scrobj
1582 enable_scrrun
1583 enable_scsiport_sys
1584 enable_sechost
1585 enable_secur32
1586 enable_security
1587 enable_sensapi
1588 enable_serialui
1589 enable_setupapi
1590 enable_sfc
1591 enable_sfc_os
1592 enable_shcore
1593 enable_shdoclc
1594 enable_shdocvw
1595 enable_shell32
1596 enable_shfolder
1597 enable_shlwapi
1598 enable_slbcsp
1599 enable_slc
1600 enable_snmpapi
1601 enable_softpub
1602 enable_spoolss
1603 enable_srclient
1604 enable_srvcli
1605 enable_sspicli
1606 enable_stdole2_tlb
1607 enable_stdole32_tlb
1608 enable_sti
1609 enable_strmbase
1610 enable_strmdll
1611 enable_strmiids
1612 enable_svrapi
1613 enable_sxs
1614 enable_t2embed
1615 enable_tapi32
1616 enable_taskschd
1617 enable_tdh
1618 enable_tdi_sys
1619 enable_traffic
1620 enable_twain_32
1621 enable_tzres
1622 enable_ucrtbase
1623 enable_uianimation
1624 enable_uiautomationcore
1625 enable_uiribbon
1626 enable_unicows
1627 enable_updspapi
1628 enable_url
1629 enable_urlmon
1630 enable_usbd_sys
1631 enable_user32
1632 enable_userenv
1633 enable_usp10
1634 enable_utildll
1635 enable_uuid
1636 enable_uxtheme
1637 enable_vbscript
1638 enable_vcomp
1639 enable_vcomp100
1640 enable_vcomp110
1641 enable_vcomp120
1642 enable_vcomp140
1643 enable_vcomp90
1644 enable_vcruntime140
1645 enable_vcruntime140_1
1646 enable_vdmdbg
1647 enable_version
1648 enable_vga
1649 enable_virtdisk
1650 enable_vssapi
1651 enable_vulkan_1
1652 enable_wbemdisp
1653 enable_wbemprox
1654 enable_wbemuuid
1655 enable_wdscore
1656 enable_webservices
1657 enable_wer
1658 enable_wevtapi
1659 enable_wevtsvc
1660 enable_wiaservc
1661 enable_wimgapi
1662 enable_windowscodecs
1663 enable_windowscodecsext
1664 enable_winealsa_drv
1665 enable_wineandroid_drv
1666 enable_winebus_sys
1667 enable_winecoreaudio_drv
1668 enable_winecrt0
1669 enable_wined3d
1670 enable_winegstreamer
1671 enable_winehid_sys
1672 enable_winejoystick_drv
1673 enable_winemac_drv
1674 enable_winemapi
1675 enable_wineoss_drv
1676 enable_wineps_drv
1677 enable_winepulse_drv
1678 enable_wineqtdecoder
1679 enable_wineusb_sys
1680 enable_winevulkan
1681 enable_winex11_drv
1682 enable_wing32
1683 enable_winhttp
1684 enable_wininet
1685 enable_winmm
1686 enable_winnls32
1687 enable_winscard
1688 enable_winspool_drv
1689 enable_winsta
1690 enable_wintab32
1691 enable_wintrust
1692 enable_winusb
1693 enable_wlanapi
1694 enable_wlanui
1695 enable_wldap32
1696 enable_wmasf
1697 enable_wmcodecdspuuid
1698 enable_wmi
1699 enable_wmiutils
1700 enable_wmp
1701 enable_wmphoto
1702 enable_wmvcore
1703 enable_wnaspi32
1704 enable_wow64cpu
1705 enable_wpc
1706 enable_wpcap
1707 enable_ws2_32
1708 enable_wsdapi
1709 enable_wshom_ocx
1710 enable_wsnmp32
1711 enable_wsock32
1712 enable_wtsapi32
1713 enable_wuapi
1714 enable_wuaueng
1715 enable_x3daudio1_0
1716 enable_x3daudio1_1
1717 enable_x3daudio1_2
1718 enable_x3daudio1_3
1719 enable_x3daudio1_4
1720 enable_x3daudio1_5
1721 enable_x3daudio1_6
1722 enable_x3daudio1_7
1723 enable_xactengine3_0
1724 enable_xactengine3_1
1725 enable_xactengine3_2
1726 enable_xactengine3_3
1727 enable_xactengine3_4
1728 enable_xactengine3_5
1729 enable_xactengine3_6
1730 enable_xactengine3_7
1731 enable_xapofx1_1
1732 enable_xapofx1_2
1733 enable_xapofx1_3
1734 enable_xapofx1_4
1735 enable_xapofx1_5
1736 enable_xaudio2_0
1737 enable_xaudio2_1
1738 enable_xaudio2_2
1739 enable_xaudio2_3
1740 enable_xaudio2_4
1741 enable_xaudio2_5
1742 enable_xaudio2_6
1743 enable_xaudio2_7
1744 enable_xaudio2_8
1745 enable_xaudio2_9
1746 enable_xinput1_1
1747 enable_xinput1_2
1748 enable_xinput1_3
1749 enable_xinput1_4
1750 enable_xinput9_1_0
1751 enable_xmllite
1752 enable_xolehlp
1753 enable_xpsprint
1754 enable_xpssvcs
1755 enable_fonts
1756 enable_include
1757 enable_port
1758 enable_wine
1759 enable_wpp
1760 enable_loader
1761 enable_nls
1762 enable_po
1763 enable_arp
1764 enable_aspnet_regiis
1765 enable_attrib
1766 enable_cabarc
1767 enable_cacls
1768 enable_chcp_com
1769 enable_clock
1770 enable_cmd
1771 enable_conhost
1772 enable_control
1773 enable_cscript
1774 enable_dism
1775 enable_dplaysvr
1776 enable_dpnsvr
1777 enable_dpvsetup
1778 enable_dxdiag
1779 enable_eject
1780 enable_expand
1781 enable_explorer
1782 enable_extrac32
1783 enable_fc
1784 enable_find
1785 enable_findstr
1786 enable_fsutil
1787 enable_hh
1788 enable_hostname
1789 enable_icacls
1790 enable_icinfo
1791 enable_iexplore
1792 enable_ipconfig
1793 enable_lodctr
1794 enable_mofcomp
1795 enable_mshta
1796 enable_msidb
1797 enable_msiexec
1798 enable_msinfo32
1799 enable_net
1800 enable_netsh
1801 enable_netstat
1802 enable_ngen
1803 enable_notepad
1804 enable_oleview
1805 enable_ping
1806 enable_plugplay
1807 enable_powershell
1808 enable_presentationfontcache
1809 enable_progman
1810 enable_reg
1811 enable_regasm
1812 enable_regedit
1813 enable_regini
1814 enable_regsvcs
1815 enable_regsvr32
1816 enable_rpcss
1817 enable_rundll32
1818 enable_sc
1819 enable_schtasks
1820 enable_sdbinst
1821 enable_secedit
1822 enable_servicemodelreg
1823 enable_services
1824 enable_shutdown
1825 enable_spoolsv
1826 enable_start
1827 enable_subst
1828 enable_svchost
1829 enable_systeminfo
1830 enable_taskkill
1831 enable_tasklist
1832 enable_taskmgr
1833 enable_termsv
1834 enable_uninstaller
1835 enable_unlodctr
1836 enable_view
1837 enable_wevtutil
1838 enable_where
1839 enable_whoami
1840 enable_wineboot
1841 enable_winebrowser
1842 enable_winecfg
1843 enable_wineconsole
1844 enable_winedbg
1845 enable_winedevice
1846 enable_winefile
1847 enable_winemenubuilder
1848 enable_winemine
1849 enable_winemsibuilder
1850 enable_winepath
1851 enable_winetest
1852 enable_winhlp32
1853 enable_winmgmt
1854 enable_winver
1855 enable_wmic
1856 enable_wmplayer
1857 enable_wordpad
1858 enable_write
1859 enable_wscript
1860 enable_wuauserv
1861 enable_wusa
1862 enable_xcopy
1863 enable_server
1864 enable_tools
1865 enable_sfnt2fon
1866 enable_widl
1867 enable_winebuild
1868 enable_winedump
1869 enable_winegcc
1870 enable_winemaker
1871 enable_wmc
1872 enable_wrc
1874 ac_precious_vars='build_alias
1875 host_alias
1876 target_alias
1878 CFLAGS
1879 LDFLAGS
1880 LIBS
1881 CPPFLAGS
1883 CXXFLAGS
1886 OBJC
1887 OBJCFLAGS
1888 OBJCPP
1889 XMKMF
1890 XML2_CFLAGS
1891 XML2_LIBS
1892 XSLT_CFLAGS
1893 XSLT_LIBS
1894 INOTIFY_CFLAGS
1895 INOTIFY_LIBS
1896 DBUS_CFLAGS
1897 DBUS_LIBS
1898 HAL_CFLAGS
1899 HAL_LIBS
1900 GNUTLS_CFLAGS
1901 GNUTLS_LIBS
1902 SANE_CFLAGS
1903 SANE_LIBS
1904 USB_CFLAGS
1905 USB_LIBS
1906 GPHOTO2_CFLAGS
1907 GPHOTO2_LIBS
1908 GPHOTO2_PORT_CFLAGS
1909 GPHOTO2_PORT_LIBS
1910 LCMS2_CFLAGS
1911 LCMS2_LIBS
1912 FREETYPE_CFLAGS
1913 FREETYPE_LIBS
1914 PULSE_CFLAGS
1915 PULSE_LIBS
1916 GSTREAMER_CFLAGS
1917 GSTREAMER_LIBS
1918 UDEV_CFLAGS
1919 UDEV_LIBS
1920 UNWIND_CFLAGS
1921 UNWIND_LIBS
1922 SDL2_CFLAGS
1923 SDL2_LIBS
1924 FAUDIO_CFLAGS
1925 FAUDIO_LIBS
1926 CAPI20_CFLAGS
1927 CAPI20_LIBS
1928 CUPS_CFLAGS
1929 CUPS_LIBS
1930 FONTCONFIG_CFLAGS
1931 FONTCONFIG_LIBS
1932 KRB5_CFLAGS
1933 KRB5_LIBS
1934 GSSAPI_CFLAGS
1935 GSSAPI_LIBS
1936 JPEG_CFLAGS
1937 JPEG_LIBS
1938 JXRLIB_CFLAGS
1939 JXRLIB_LIBS
1940 PNG_CFLAGS
1941 PNG_LIBS
1942 TIFF_CFLAGS
1943 TIFF_LIBS
1944 MPG123_CFLAGS
1945 MPG123_LIBS
1946 NETAPI_CFLAGS
1947 NETAPI_LIBS
1948 VKD3D_CFLAGS
1949 VKD3D_LIBS
1950 VKD3D_SHADER_CFLAGS
1951 VKD3D_SHADER_LIBS
1952 LDAP_CFLAGS
1953 LDAP_LIBS'
1956 # Initialize some variables set by options.
1957 ac_init_help=
1958 ac_init_version=false
1959 ac_unrecognized_opts=
1960 ac_unrecognized_sep=
1961 # The variables have the same names as the options, with
1962 # dashes changed to underlines.
1963 cache_file=/dev/null
1964 exec_prefix=NONE
1965 no_create=
1966 no_recursion=
1967 prefix=NONE
1968 program_prefix=NONE
1969 program_suffix=NONE
1970 program_transform_name=s,x,x,
1971 silent=
1972 site=
1973 srcdir=
1974 verbose=
1975 x_includes=NONE
1976 x_libraries=NONE
1978 # Installation directory options.
1979 # These are left unexpanded so users can "make install exec_prefix=/foo"
1980 # and all the variables that are supposed to be based on exec_prefix
1981 # by default will actually change.
1982 # Use braces instead of parens because sh, perl, etc. also accept them.
1983 # (The list follows the same order as the GNU Coding Standards.)
1984 bindir='${exec_prefix}/bin'
1985 sbindir='${exec_prefix}/sbin'
1986 libexecdir='${exec_prefix}/libexec'
1987 datarootdir='${prefix}/share'
1988 datadir='${datarootdir}'
1989 sysconfdir='${prefix}/etc'
1990 sharedstatedir='${prefix}/com'
1991 localstatedir='${prefix}/var'
1992 runstatedir='${localstatedir}/run'
1993 includedir='${prefix}/include'
1994 oldincludedir='/usr/include'
1995 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1996 infodir='${datarootdir}/info'
1997 htmldir='${docdir}'
1998 dvidir='${docdir}'
1999 pdfdir='${docdir}'
2000 psdir='${docdir}'
2001 libdir='${exec_prefix}/lib'
2002 localedir='${datarootdir}/locale'
2003 mandir='${datarootdir}/man'
2005 ac_prev=
2006 ac_dashdash=
2007 for ac_option
2009 # If the previous option needs an argument, assign it.
2010 if test -n "$ac_prev"; then
2011 eval $ac_prev=\$ac_option
2012 ac_prev=
2013 continue
2016 case $ac_option in
2017 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2018 *=) ac_optarg= ;;
2019 *) ac_optarg=yes ;;
2020 esac
2022 # Accept the important Cygnus configure options, so we can diagnose typos.
2024 case $ac_dashdash$ac_option in
2026 ac_dashdash=yes ;;
2028 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2029 ac_prev=bindir ;;
2030 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2031 bindir=$ac_optarg ;;
2033 -build | --build | --buil | --bui | --bu)
2034 ac_prev=build_alias ;;
2035 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2036 build_alias=$ac_optarg ;;
2038 -cache-file | --cache-file | --cache-fil | --cache-fi \
2039 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2040 ac_prev=cache_file ;;
2041 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2042 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2043 cache_file=$ac_optarg ;;
2045 --config-cache | -C)
2046 cache_file=config.cache ;;
2048 -datadir | --datadir | --datadi | --datad)
2049 ac_prev=datadir ;;
2050 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2051 datadir=$ac_optarg ;;
2053 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2054 | --dataroo | --dataro | --datar)
2055 ac_prev=datarootdir ;;
2056 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2057 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2058 datarootdir=$ac_optarg ;;
2060 -disable-* | --disable-*)
2061 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2062 # Reject names that are not valid shell variable names.
2063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2064 as_fn_error $? "invalid feature name: $ac_useropt"
2065 ac_useropt_orig=$ac_useropt
2066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2067 case $ac_user_opts in
2069 "enable_$ac_useropt"
2070 "*) ;;
2071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2072 ac_unrecognized_sep=', ';;
2073 esac
2074 eval enable_$ac_useropt=no ;;
2076 -docdir | --docdir | --docdi | --doc | --do)
2077 ac_prev=docdir ;;
2078 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2079 docdir=$ac_optarg ;;
2081 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2082 ac_prev=dvidir ;;
2083 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2084 dvidir=$ac_optarg ;;
2086 -enable-* | --enable-*)
2087 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2088 # Reject names that are not valid shell variable names.
2089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2090 as_fn_error $? "invalid feature name: $ac_useropt"
2091 ac_useropt_orig=$ac_useropt
2092 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2093 case $ac_user_opts in
2095 "enable_$ac_useropt"
2096 "*) ;;
2097 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2098 ac_unrecognized_sep=', ';;
2099 esac
2100 eval enable_$ac_useropt=\$ac_optarg ;;
2102 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2103 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2104 | --exec | --exe | --ex)
2105 ac_prev=exec_prefix ;;
2106 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2107 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2108 | --exec=* | --exe=* | --ex=*)
2109 exec_prefix=$ac_optarg ;;
2111 -gas | --gas | --ga | --g)
2112 # Obsolete; use --with-gas.
2113 with_gas=yes ;;
2115 -help | --help | --hel | --he | -h)
2116 ac_init_help=long ;;
2117 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2118 ac_init_help=recursive ;;
2119 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2120 ac_init_help=short ;;
2122 -host | --host | --hos | --ho)
2123 ac_prev=host_alias ;;
2124 -host=* | --host=* | --hos=* | --ho=*)
2125 host_alias=$ac_optarg ;;
2127 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2128 ac_prev=htmldir ;;
2129 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2130 | --ht=*)
2131 htmldir=$ac_optarg ;;
2133 -includedir | --includedir | --includedi | --included | --include \
2134 | --includ | --inclu | --incl | --inc)
2135 ac_prev=includedir ;;
2136 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2137 | --includ=* | --inclu=* | --incl=* | --inc=*)
2138 includedir=$ac_optarg ;;
2140 -infodir | --infodir | --infodi | --infod | --info | --inf)
2141 ac_prev=infodir ;;
2142 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2143 infodir=$ac_optarg ;;
2145 -libdir | --libdir | --libdi | --libd)
2146 ac_prev=libdir ;;
2147 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2148 libdir=$ac_optarg ;;
2150 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2151 | --libexe | --libex | --libe)
2152 ac_prev=libexecdir ;;
2153 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2154 | --libexe=* | --libex=* | --libe=*)
2155 libexecdir=$ac_optarg ;;
2157 -localedir | --localedir | --localedi | --localed | --locale)
2158 ac_prev=localedir ;;
2159 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2160 localedir=$ac_optarg ;;
2162 -localstatedir | --localstatedir | --localstatedi | --localstated \
2163 | --localstate | --localstat | --localsta | --localst | --locals)
2164 ac_prev=localstatedir ;;
2165 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2166 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2167 localstatedir=$ac_optarg ;;
2169 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2170 ac_prev=mandir ;;
2171 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2172 mandir=$ac_optarg ;;
2174 -nfp | --nfp | --nf)
2175 # Obsolete; use --without-fp.
2176 with_fp=no ;;
2178 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2179 | --no-cr | --no-c | -n)
2180 no_create=yes ;;
2182 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2183 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2184 no_recursion=yes ;;
2186 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2187 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2188 | --oldin | --oldi | --old | --ol | --o)
2189 ac_prev=oldincludedir ;;
2190 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2191 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2192 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2193 oldincludedir=$ac_optarg ;;
2195 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2196 ac_prev=prefix ;;
2197 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2198 prefix=$ac_optarg ;;
2200 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2201 | --program-pre | --program-pr | --program-p)
2202 ac_prev=program_prefix ;;
2203 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2204 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2205 program_prefix=$ac_optarg ;;
2207 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2208 | --program-suf | --program-su | --program-s)
2209 ac_prev=program_suffix ;;
2210 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2211 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2212 program_suffix=$ac_optarg ;;
2214 -program-transform-name | --program-transform-name \
2215 | --program-transform-nam | --program-transform-na \
2216 | --program-transform-n | --program-transform- \
2217 | --program-transform | --program-transfor \
2218 | --program-transfo | --program-transf \
2219 | --program-trans | --program-tran \
2220 | --progr-tra | --program-tr | --program-t)
2221 ac_prev=program_transform_name ;;
2222 -program-transform-name=* | --program-transform-name=* \
2223 | --program-transform-nam=* | --program-transform-na=* \
2224 | --program-transform-n=* | --program-transform-=* \
2225 | --program-transform=* | --program-transfor=* \
2226 | --program-transfo=* | --program-transf=* \
2227 | --program-trans=* | --program-tran=* \
2228 | --progr-tra=* | --program-tr=* | --program-t=*)
2229 program_transform_name=$ac_optarg ;;
2231 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2232 ac_prev=pdfdir ;;
2233 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2234 pdfdir=$ac_optarg ;;
2236 -psdir | --psdir | --psdi | --psd | --ps)
2237 ac_prev=psdir ;;
2238 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2239 psdir=$ac_optarg ;;
2241 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2242 | -silent | --silent | --silen | --sile | --sil)
2243 silent=yes ;;
2245 -runstatedir | --runstatedir | --runstatedi | --runstated \
2246 | --runstate | --runstat | --runsta | --runst | --runs \
2247 | --run | --ru | --r)
2248 ac_prev=runstatedir ;;
2249 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2250 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2251 | --run=* | --ru=* | --r=*)
2252 runstatedir=$ac_optarg ;;
2254 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2255 ac_prev=sbindir ;;
2256 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2257 | --sbi=* | --sb=*)
2258 sbindir=$ac_optarg ;;
2260 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2261 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2262 | --sharedst | --shareds | --shared | --share | --shar \
2263 | --sha | --sh)
2264 ac_prev=sharedstatedir ;;
2265 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2266 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2267 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2268 | --sha=* | --sh=*)
2269 sharedstatedir=$ac_optarg ;;
2271 -site | --site | --sit)
2272 ac_prev=site ;;
2273 -site=* | --site=* | --sit=*)
2274 site=$ac_optarg ;;
2276 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2277 ac_prev=srcdir ;;
2278 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2279 srcdir=$ac_optarg ;;
2281 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2282 | --syscon | --sysco | --sysc | --sys | --sy)
2283 ac_prev=sysconfdir ;;
2284 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2285 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2286 sysconfdir=$ac_optarg ;;
2288 -target | --target | --targe | --targ | --tar | --ta | --t)
2289 ac_prev=target_alias ;;
2290 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2291 target_alias=$ac_optarg ;;
2293 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2294 verbose=yes ;;
2296 -version | --version | --versio | --versi | --vers | -V)
2297 ac_init_version=: ;;
2299 -with-* | --with-*)
2300 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2301 # Reject names that are not valid shell variable names.
2302 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2303 as_fn_error $? "invalid package name: $ac_useropt"
2304 ac_useropt_orig=$ac_useropt
2305 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2306 case $ac_user_opts in
2308 "with_$ac_useropt"
2309 "*) ;;
2310 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2311 ac_unrecognized_sep=', ';;
2312 esac
2313 eval with_$ac_useropt=\$ac_optarg ;;
2315 -without-* | --without-*)
2316 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2317 # Reject names that are not valid shell variable names.
2318 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2319 as_fn_error $? "invalid package name: $ac_useropt"
2320 ac_useropt_orig=$ac_useropt
2321 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2322 case $ac_user_opts in
2324 "with_$ac_useropt"
2325 "*) ;;
2326 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2327 ac_unrecognized_sep=', ';;
2328 esac
2329 eval with_$ac_useropt=no ;;
2331 --x)
2332 # Obsolete; use --with-x.
2333 with_x=yes ;;
2335 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2336 | --x-incl | --x-inc | --x-in | --x-i)
2337 ac_prev=x_includes ;;
2338 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2339 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2340 x_includes=$ac_optarg ;;
2342 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2343 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2344 ac_prev=x_libraries ;;
2345 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2346 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2347 x_libraries=$ac_optarg ;;
2349 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2350 Try \`$0 --help' for more information"
2353 *=*)
2354 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2355 # Reject names that are not valid shell variable names.
2356 case $ac_envvar in #(
2357 '' | [0-9]* | *[!_$as_cr_alnum]* )
2358 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2359 esac
2360 eval $ac_envvar=\$ac_optarg
2361 export $ac_envvar ;;
2364 # FIXME: should be removed in autoconf 3.0.
2365 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2366 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2367 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2368 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2371 esac
2372 done
2374 if test -n "$ac_prev"; then
2375 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2376 as_fn_error $? "missing argument to $ac_option"
2379 if test -n "$ac_unrecognized_opts"; then
2380 case $enable_option_checking in
2381 no) ;;
2382 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2383 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2384 esac
2387 # Check all directory arguments for consistency.
2388 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2389 datadir sysconfdir sharedstatedir localstatedir includedir \
2390 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2391 libdir localedir mandir runstatedir
2393 eval ac_val=\$$ac_var
2394 # Remove trailing slashes.
2395 case $ac_val in
2396 */ )
2397 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2398 eval $ac_var=\$ac_val;;
2399 esac
2400 # Be sure to have absolute directory names.
2401 case $ac_val in
2402 [\\/$]* | ?:[\\/]* ) continue;;
2403 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2404 esac
2405 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2406 done
2408 # There might be people who depend on the old broken behavior: `$host'
2409 # used to hold the argument of --host etc.
2410 # FIXME: To remove some day.
2411 build=$build_alias
2412 host=$host_alias
2413 target=$target_alias
2415 # FIXME: To remove some day.
2416 if test "x$host_alias" != x; then
2417 if test "x$build_alias" = x; then
2418 cross_compiling=maybe
2419 elif test "x$build_alias" != "x$host_alias"; then
2420 cross_compiling=yes
2424 ac_tool_prefix=
2425 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2427 test "$silent" = yes && exec 6>/dev/null
2430 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2431 ac_ls_di=`ls -di .` &&
2432 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2433 as_fn_error $? "working directory cannot be determined"
2434 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2435 as_fn_error $? "pwd does not report name of working directory"
2438 # Find the source files, if location was not specified.
2439 if test -z "$srcdir"; then
2440 ac_srcdir_defaulted=yes
2441 # Try the directory containing this script, then the parent directory.
2442 ac_confdir=`$as_dirname -- "$as_myself" ||
2443 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2444 X"$as_myself" : 'X\(//\)[^/]' \| \
2445 X"$as_myself" : 'X\(//\)$' \| \
2446 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2447 $as_echo X"$as_myself" |
2448 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2449 s//\1/
2452 /^X\(\/\/\)[^/].*/{
2453 s//\1/
2456 /^X\(\/\/\)$/{
2457 s//\1/
2460 /^X\(\/\).*/{
2461 s//\1/
2464 s/.*/./; q'`
2465 srcdir=$ac_confdir
2466 if test ! -r "$srcdir/$ac_unique_file"; then
2467 srcdir=..
2469 else
2470 ac_srcdir_defaulted=no
2472 if test ! -r "$srcdir/$ac_unique_file"; then
2473 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2474 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2476 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2477 ac_abs_confdir=`(
2478 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2479 pwd)`
2480 # When building in place, set srcdir=.
2481 if test "$ac_abs_confdir" = "$ac_pwd"; then
2482 srcdir=.
2484 # Remove unnecessary trailing slashes from srcdir.
2485 # Double slashes in file names in object file debugging info
2486 # mess up M-x gdb in Emacs.
2487 case $srcdir in
2488 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2489 esac
2490 for ac_var in $ac_precious_vars; do
2491 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2492 eval ac_env_${ac_var}_value=\$${ac_var}
2493 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2494 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2495 done
2498 # Report the --help message.
2500 if test "$ac_init_help" = "long"; then
2501 # Omit some internal or obsolete options to make the list less imposing.
2502 # This message is too long to be a string in the A/UX 3.1 sh.
2503 cat <<_ACEOF
2504 \`configure' configures Wine 6.3 to adapt to many kinds of systems.
2506 Usage: $0 [OPTION]... [VAR=VALUE]...
2508 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2509 VAR=VALUE. See below for descriptions of some of the useful variables.
2511 Defaults for the options are specified in brackets.
2513 Configuration:
2514 -h, --help display this help and exit
2515 --help=short display options specific to this package
2516 --help=recursive display the short help of all the included packages
2517 -V, --version display version information and exit
2518 -q, --quiet, --silent do not print \`checking ...' messages
2519 --cache-file=FILE cache test results in FILE [disabled]
2520 -C, --config-cache alias for \`--cache-file=config.cache'
2521 -n, --no-create do not create output files
2522 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2524 Installation directories:
2525 --prefix=PREFIX install architecture-independent files in PREFIX
2526 [$ac_default_prefix]
2527 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2528 [PREFIX]
2530 By default, \`make install' will install all the files in
2531 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2532 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2533 for instance \`--prefix=\$HOME'.
2535 For better control, use the options below.
2537 Fine tuning of the installation directories:
2538 --bindir=DIR user executables [EPREFIX/bin]
2539 --sbindir=DIR system admin executables [EPREFIX/sbin]
2540 --libexecdir=DIR program executables [EPREFIX/libexec]
2541 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2542 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2543 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2544 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2545 --libdir=DIR object code libraries [EPREFIX/lib]
2546 --includedir=DIR C header files [PREFIX/include]
2547 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2548 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2549 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2550 --infodir=DIR info documentation [DATAROOTDIR/info]
2551 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2552 --mandir=DIR man documentation [DATAROOTDIR/man]
2553 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2554 --htmldir=DIR html documentation [DOCDIR]
2555 --dvidir=DIR dvi documentation [DOCDIR]
2556 --pdfdir=DIR pdf documentation [DOCDIR]
2557 --psdir=DIR ps documentation [DOCDIR]
2558 _ACEOF
2560 cat <<\_ACEOF
2562 X features:
2563 --x-includes=DIR X include files are in DIR
2564 --x-libraries=DIR X library files are in DIR
2566 System types:
2567 --build=BUILD configure for building on BUILD [guessed]
2568 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2569 _ACEOF
2572 if test -n "$ac_init_help"; then
2573 case $ac_init_help in
2574 short | recursive ) echo "Configuration of Wine 6.3:";;
2575 esac
2576 cat <<\_ACEOF
2578 Optional Features:
2579 --disable-option-checking ignore unrecognized --enable/--with options
2580 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2581 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2582 --disable-win16 do not include Win16 support
2583 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2584 binaries)
2585 --disable-tests do not build the regression tests
2586 --enable-build-id include .buildid section in output objects
2587 --enable-maintainer-mode
2588 enable maintainer-specific build rules
2589 --enable-silent-rules use silent build rules (override: "make V=1")
2590 --enable-werror treat compilation warnings as errors
2591 --disable-largefile omit support for large files
2593 Optional Packages:
2594 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2595 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2596 --without-alsa do not use the Alsa sound support
2597 --without-capi do not use CAPI (ISDN support)
2598 --without-cms do not use CMS (color management support)
2599 --without-coreaudio do not use the CoreAudio sound support
2600 --without-cups do not use CUPS
2601 --without-dbus do not use DBus (dynamic device support)
2602 --without-faudio do not use FAudio (XAudio2 support)
2603 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2604 --without-fontconfig do not use fontconfig
2605 --without-freetype do not use the FreeType library
2606 --without-gettext do not use gettext
2607 --with-gettextpo use the GetTextPO library to rebuild po files
2608 --without-gphoto do not use gphoto (Digital Camera support)
2609 --without-gnutls do not use GnuTLS (schannel support)
2610 --without-gsm do not use libgsm (GSM 06.10 codec support)
2611 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2612 --without-gstreamer do not use GStreamer (codecs support)
2613 --without-hal do not use HAL (dynamic device support)
2614 --without-inotify do not use inotify (filesystem change notifications)
2615 --without-jpeg do not use JPEG
2616 --without-jxrlib do not use JPEG-XR
2617 --without-krb5 do not use krb5 (Kerberos)
2618 --without-ldap do not use LDAP
2619 --without-mingw do not use the MinGW cross-compiler
2620 --without-mpg123 do not use the mpg123 library
2621 --without-netapi do not use the Samba NetAPI library
2622 --without-openal do not use OpenAL
2623 --without-opencl do not use OpenCL
2624 --without-opengl do not use OpenGL
2625 --without-osmesa do not use the OSMesa library
2626 --without-oss do not use the OSS sound support
2627 --without-pcap do not use the Packet Capture library
2628 --without-png do not use PNG
2629 --without-pthread do not use the pthread library
2630 --without-pulse do not use PulseAudio sound support
2631 --without-quicktime do not use QuickTime support
2632 --without-sane do not use SANE (scanner support)
2633 --without-sdl do not use SDL
2634 --without-tiff do not use TIFF
2635 --without-udev do not use udev (plug and play support)
2636 --without-unwind do not use the libunwind library (exception
2637 handling)
2638 --without-usb do not use the libusb library
2639 --without-v4l2 do not use v4l2 (video capture)
2640 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2641 --without-vulkan do not use Vulkan
2642 --without-xcomposite do not use the Xcomposite extension
2643 --without-xcursor do not use the Xcursor extension
2644 --without-xfixes do not use Xfixes for clipboard change notifications
2645 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2646 --without-xinput do not use the Xinput extension
2647 --without-xinput2 do not use the Xinput 2 extension
2648 --without-xml do not use XML
2649 --without-xrandr do not use Xrandr (multi-monitor support)
2650 --without-xrender do not use the Xrender extension
2651 --without-xshape do not use the Xshape extension
2652 --without-xshm do not use XShm (shared memory extension)
2653 --without-xslt do not use XSLT
2654 --without-xxf86vm do not use XFree video mode extension
2655 --with-wine-tools=DIR use Wine tools from directory DIR
2656 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2657 --with-x use the X Window System
2659 Some influential environment variables:
2660 CC C compiler command
2661 CFLAGS C compiler flags
2662 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2663 nonstandard directory <lib dir>
2664 LIBS libraries to pass to the linker, e.g. -l<library>
2665 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2666 you have headers in a nonstandard directory <include dir>
2667 CXX C++ compiler command
2668 CXXFLAGS C++ compiler flags
2669 CPP C preprocessor
2670 OBJC Objective C compiler command
2671 OBJCFLAGS Objective C compiler flags
2672 OBJCPP Objective C preprocessor
2673 XMKMF Path to xmkmf, Makefile generator for X Window System
2674 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2675 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2676 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2677 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2678 INOTIFY_CFLAGS
2679 C compiler flags for libinotify, overriding pkg-config
2680 INOTIFY_LIBS
2681 Linker flags for libinotify, overriding pkg-config
2682 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2683 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2684 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2685 HAL_LIBS Linker flags for hal, overriding pkg-config
2686 GNUTLS_CFLAGS
2687 C compiler flags for gnutls, overriding pkg-config
2688 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2689 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2690 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2691 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2692 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2693 GPHOTO2_CFLAGS
2694 C compiler flags for libgphoto2, overriding pkg-config
2695 GPHOTO2_LIBS
2696 Linker flags for libgphoto2, overriding pkg-config
2697 GPHOTO2_PORT_CFLAGS
2698 C compiler flags for libgphoto2_port, overriding pkg-config
2699 GPHOTO2_PORT_LIBS
2700 Linker flags for libgphoto2_port, overriding pkg-config
2701 LCMS2_CFLAGS
2702 C compiler flags for lcms2, overriding pkg-config
2703 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2704 FREETYPE_CFLAGS
2705 C compiler flags for freetype2, overriding pkg-config
2706 FREETYPE_LIBS
2707 Linker flags for freetype2, overriding pkg-config
2708 PULSE_CFLAGS
2709 C compiler flags for libpulse, overriding pkg-config
2710 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2711 GSTREAMER_CFLAGS
2712 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2713 gstreamer-audio-1.0, overriding pkg-config
2714 GSTREAMER_LIBS
2715 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2716 gstreamer-audio-1.0, overriding pkg-config
2717 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2718 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2719 UNWIND_CFLAGS
2720 C compiler flags for libunwind, overriding pkg-config
2721 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2722 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2723 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2724 FAUDIO_CFLAGS
2725 C compiler flags for faudio, overriding pkg-config
2726 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2727 CAPI20_CFLAGS
2728 C compiler flags for capi20, overriding pkg-config
2729 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2730 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2731 CUPS_LIBS Linker flags for cups, overriding pkg-config
2732 FONTCONFIG_CFLAGS
2733 C compiler flags for fontconfig, overriding pkg-config
2734 FONTCONFIG_LIBS
2735 Linker flags for fontconfig, overriding pkg-config
2736 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2737 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2738 GSSAPI_CFLAGS
2739 C compiler flags for krb5-gssapi, overriding pkg-config
2740 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2741 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2742 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2743 JXRLIB_CFLAGS
2744 C compiler flags for jxrlib, overriding pkg-config
2745 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2746 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2747 PNG_LIBS Linker flags for libpng, overriding pkg-config
2748 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2749 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2750 MPG123_CFLAGS
2751 C compiler flags for libmpg123, overriding pkg-config
2752 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2753 NETAPI_CFLAGS
2754 C compiler flags for netapi, overriding pkg-config
2755 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2756 VKD3D_CFLAGS
2757 C compiler flags for libvkd3d, overriding pkg-config
2758 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2759 VKD3D_SHADER_CFLAGS
2760 C compiler flags for libvkd3d-shader, overriding pkg-config
2761 VKD3D_SHADER_LIBS
2762 Linker flags for libvkd3d-shader, overriding pkg-config
2763 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2764 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2766 Use these variables to override the choices made by `configure' or to help
2767 it to find libraries and programs with nonstandard names/locations.
2769 Report bugs to <wine-devel@winehq.org>.
2770 Wine home page: <https://www.winehq.org>.
2771 _ACEOF
2772 ac_status=$?
2775 if test "$ac_init_help" = "recursive"; then
2776 # If there are subdirs, report their specific --help.
2777 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2778 test -d "$ac_dir" ||
2779 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2780 continue
2781 ac_builddir=.
2783 case "$ac_dir" in
2784 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2786 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2787 # A ".." for each directory in $ac_dir_suffix.
2788 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2789 case $ac_top_builddir_sub in
2790 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2791 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2792 esac ;;
2793 esac
2794 ac_abs_top_builddir=$ac_pwd
2795 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2796 # for backward compatibility:
2797 ac_top_builddir=$ac_top_build_prefix
2799 case $srcdir in
2800 .) # We are building in place.
2801 ac_srcdir=.
2802 ac_top_srcdir=$ac_top_builddir_sub
2803 ac_abs_top_srcdir=$ac_pwd ;;
2804 [\\/]* | ?:[\\/]* ) # Absolute name.
2805 ac_srcdir=$srcdir$ac_dir_suffix;
2806 ac_top_srcdir=$srcdir
2807 ac_abs_top_srcdir=$srcdir ;;
2808 *) # Relative name.
2809 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2810 ac_top_srcdir=$ac_top_build_prefix$srcdir
2811 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2812 esac
2813 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2815 cd "$ac_dir" || { ac_status=$?; continue; }
2816 # Check for guested configure.
2817 if test -f "$ac_srcdir/configure.gnu"; then
2818 echo &&
2819 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2820 elif test -f "$ac_srcdir/configure"; then
2821 echo &&
2822 $SHELL "$ac_srcdir/configure" --help=recursive
2823 else
2824 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2825 fi || ac_status=$?
2826 cd "$ac_pwd" || { ac_status=$?; break; }
2827 done
2830 test -n "$ac_init_help" && exit $ac_status
2831 if $ac_init_version; then
2832 cat <<\_ACEOF
2833 Wine configure 6.3
2834 generated by GNU Autoconf 2.69
2836 Copyright (C) 2012 Free Software Foundation, Inc.
2837 This configure script is free software; the Free Software Foundation
2838 gives unlimited permission to copy, distribute and modify it.
2839 _ACEOF
2840 exit
2843 ## ------------------------ ##
2844 ## Autoconf initialization. ##
2845 ## ------------------------ ##
2847 # ac_fn_c_try_compile LINENO
2848 # --------------------------
2849 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2850 ac_fn_c_try_compile ()
2852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2853 rm -f conftest.$ac_objext
2854 if { { ac_try="$ac_compile"
2855 case "(($ac_try" in
2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2857 *) ac_try_echo=$ac_try;;
2858 esac
2859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2860 $as_echo "$ac_try_echo"; } >&5
2861 (eval "$ac_compile") 2>conftest.err
2862 ac_status=$?
2863 if test -s conftest.err; then
2864 grep -v '^ *+' conftest.err >conftest.er1
2865 cat conftest.er1 >&5
2866 mv -f conftest.er1 conftest.err
2868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2869 test $ac_status = 0; } && {
2870 test -z "$ac_c_werror_flag" ||
2871 test ! -s conftest.err
2872 } && test -s conftest.$ac_objext; then :
2873 ac_retval=0
2874 else
2875 $as_echo "$as_me: failed program was:" >&5
2876 sed 's/^/| /' conftest.$ac_ext >&5
2878 ac_retval=1
2880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2881 as_fn_set_status $ac_retval
2883 } # ac_fn_c_try_compile
2885 # ac_fn_cxx_try_compile LINENO
2886 # ----------------------------
2887 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2888 ac_fn_cxx_try_compile ()
2890 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2891 rm -f conftest.$ac_objext
2892 if { { ac_try="$ac_compile"
2893 case "(($ac_try" in
2894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895 *) ac_try_echo=$ac_try;;
2896 esac
2897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2898 $as_echo "$ac_try_echo"; } >&5
2899 (eval "$ac_compile") 2>conftest.err
2900 ac_status=$?
2901 if test -s conftest.err; then
2902 grep -v '^ *+' conftest.err >conftest.er1
2903 cat conftest.er1 >&5
2904 mv -f conftest.er1 conftest.err
2906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2907 test $ac_status = 0; } && {
2908 test -z "$ac_cxx_werror_flag" ||
2909 test ! -s conftest.err
2910 } && test -s conftest.$ac_objext; then :
2911 ac_retval=0
2912 else
2913 $as_echo "$as_me: failed program was:" >&5
2914 sed 's/^/| /' conftest.$ac_ext >&5
2916 ac_retval=1
2918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2919 as_fn_set_status $ac_retval
2921 } # ac_fn_cxx_try_compile
2923 # ac_fn_c_try_link LINENO
2924 # -----------------------
2925 # Try to link conftest.$ac_ext, and return whether this succeeded.
2926 ac_fn_c_try_link ()
2928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2929 rm -f conftest.$ac_objext conftest$ac_exeext
2930 if { { ac_try="$ac_link"
2931 case "(($ac_try" in
2932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2934 esac
2935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2936 $as_echo "$ac_try_echo"; } >&5
2937 (eval "$ac_link") 2>conftest.err
2938 ac_status=$?
2939 if test -s conftest.err; then
2940 grep -v '^ *+' conftest.err >conftest.er1
2941 cat conftest.er1 >&5
2942 mv -f conftest.er1 conftest.err
2944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2945 test $ac_status = 0; } && {
2946 test -z "$ac_c_werror_flag" ||
2947 test ! -s conftest.err
2948 } && test -s conftest$ac_exeext && {
2949 test "$cross_compiling" = yes ||
2950 test -x conftest$ac_exeext
2951 }; then :
2952 ac_retval=0
2953 else
2954 $as_echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2957 ac_retval=1
2959 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2960 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2961 # interfere with the next link command; also delete a directory that is
2962 # left behind by Apple's compiler. We do this before executing the actions.
2963 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2964 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2965 as_fn_set_status $ac_retval
2967 } # ac_fn_c_try_link
2969 # ac_fn_c_try_cpp LINENO
2970 # ----------------------
2971 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2972 ac_fn_c_try_cpp ()
2974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2975 if { { ac_try="$ac_cpp conftest.$ac_ext"
2976 case "(($ac_try" in
2977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978 *) ac_try_echo=$ac_try;;
2979 esac
2980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2981 $as_echo "$ac_try_echo"; } >&5
2982 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2983 ac_status=$?
2984 if test -s conftest.err; then
2985 grep -v '^ *+' conftest.err >conftest.er1
2986 cat conftest.er1 >&5
2987 mv -f conftest.er1 conftest.err
2989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2990 test $ac_status = 0; } > conftest.i && {
2991 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2992 test ! -s conftest.err
2993 }; then :
2994 ac_retval=0
2995 else
2996 $as_echo "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.$ac_ext >&5
2999 ac_retval=1
3001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3002 as_fn_set_status $ac_retval
3004 } # ac_fn_c_try_cpp
3006 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3007 # -------------------------------------------------------
3008 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3009 # the include files in INCLUDES and setting the cache variable VAR
3010 # accordingly.
3011 ac_fn_c_check_header_mongrel ()
3013 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3014 if eval \${$3+:} false; then :
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3016 $as_echo_n "checking for $2... " >&6; }
3017 if eval \${$3+:} false; then :
3018 $as_echo_n "(cached) " >&6
3020 eval ac_res=\$$3
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3022 $as_echo "$ac_res" >&6; }
3023 else
3024 # Is the header compilable?
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3026 $as_echo_n "checking $2 usability... " >&6; }
3027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3028 /* end confdefs.h. */
3030 #include <$2>
3031 _ACEOF
3032 if ac_fn_c_try_compile "$LINENO"; then :
3033 ac_header_compiler=yes
3034 else
3035 ac_header_compiler=no
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3039 $as_echo "$ac_header_compiler" >&6; }
3041 # Is the header present?
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3043 $as_echo_n "checking $2 presence... " >&6; }
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3046 #include <$2>
3047 _ACEOF
3048 if ac_fn_c_try_cpp "$LINENO"; then :
3049 ac_header_preproc=yes
3050 else
3051 ac_header_preproc=no
3053 rm -f conftest.err conftest.i conftest.$ac_ext
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3055 $as_echo "$ac_header_preproc" >&6; }
3057 # So? What about this header?
3058 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3059 yes:no: )
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3061 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3063 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3065 no:yes:* )
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3067 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3069 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3071 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3073 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3075 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3076 ( $as_echo "## ------------------------------------ ##
3077 ## Report this to wine-devel@winehq.org ##
3078 ## ------------------------------------ ##"
3079 ) | sed "s/^/$as_me: WARNING: /" >&2
3081 esac
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3083 $as_echo_n "checking for $2... " >&6; }
3084 if eval \${$3+:} false; then :
3085 $as_echo_n "(cached) " >&6
3086 else
3087 eval "$3=\$ac_header_compiler"
3089 eval ac_res=\$$3
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3091 $as_echo "$ac_res" >&6; }
3093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3095 } # ac_fn_c_check_header_mongrel
3097 # ac_fn_c_try_run LINENO
3098 # ----------------------
3099 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3100 # that executables *can* be run.
3101 ac_fn_c_try_run ()
3103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3104 if { { ac_try="$ac_link"
3105 case "(($ac_try" in
3106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107 *) ac_try_echo=$ac_try;;
3108 esac
3109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3110 $as_echo "$ac_try_echo"; } >&5
3111 (eval "$ac_link") 2>&5
3112 ac_status=$?
3113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3114 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3115 { { case "(($ac_try" in
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3118 esac
3119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$ac_try_echo"; } >&5
3121 (eval "$ac_try") 2>&5
3122 ac_status=$?
3123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3124 test $ac_status = 0; }; }; then :
3125 ac_retval=0
3126 else
3127 $as_echo "$as_me: program exited with status $ac_status" >&5
3128 $as_echo "$as_me: failed program was:" >&5
3129 sed 's/^/| /' conftest.$ac_ext >&5
3131 ac_retval=$ac_status
3133 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3134 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3135 as_fn_set_status $ac_retval
3137 } # ac_fn_c_try_run
3139 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3140 # -------------------------------------------------------
3141 # Tests whether HEADER exists and can be compiled using the include files in
3142 # INCLUDES, setting the cache variable VAR accordingly.
3143 ac_fn_c_check_header_compile ()
3145 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3147 $as_echo_n "checking for $2... " >&6; }
3148 if eval \${$3+:} false; then :
3149 $as_echo_n "(cached) " >&6
3150 else
3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3154 #include <$2>
3155 _ACEOF
3156 if ac_fn_c_try_compile "$LINENO"; then :
3157 eval "$3=yes"
3158 else
3159 eval "$3=no"
3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 eval ac_res=\$$3
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3165 $as_echo "$ac_res" >&6; }
3166 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3168 } # ac_fn_c_check_header_compile
3170 # ac_fn_objc_try_compile LINENO
3171 # -----------------------------
3172 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3173 ac_fn_objc_try_compile ()
3175 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3176 rm -f conftest.$ac_objext
3177 if { { ac_try="$ac_compile"
3178 case "(($ac_try" in
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3181 esac
3182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3183 $as_echo "$ac_try_echo"; } >&5
3184 (eval "$ac_compile") 2>conftest.err
3185 ac_status=$?
3186 if test -s conftest.err; then
3187 grep -v '^ *+' conftest.err >conftest.er1
3188 cat conftest.er1 >&5
3189 mv -f conftest.er1 conftest.err
3191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3192 test $ac_status = 0; } && {
3193 test -z "$ac_objc_werror_flag" ||
3194 test ! -s conftest.err
3195 } && test -s conftest.$ac_objext; then :
3196 ac_retval=0
3197 else
3198 $as_echo "$as_me: failed program was:" >&5
3199 sed 's/^/| /' conftest.$ac_ext >&5
3201 ac_retval=1
3203 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3204 as_fn_set_status $ac_retval
3206 } # ac_fn_objc_try_compile
3208 # ac_fn_objc_try_cpp LINENO
3209 # -------------------------
3210 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3211 ac_fn_objc_try_cpp ()
3213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3214 if { { ac_try="$ac_cpp conftest.$ac_ext"
3215 case "(($ac_try" in
3216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217 *) ac_try_echo=$ac_try;;
3218 esac
3219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3220 $as_echo "$ac_try_echo"; } >&5
3221 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3222 ac_status=$?
3223 if test -s conftest.err; then
3224 grep -v '^ *+' conftest.err >conftest.er1
3225 cat conftest.er1 >&5
3226 mv -f conftest.er1 conftest.err
3228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3229 test $ac_status = 0; } > conftest.i && {
3230 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3231 test ! -s conftest.err
3232 }; then :
3233 ac_retval=0
3234 else
3235 $as_echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.$ac_ext >&5
3238 ac_retval=1
3240 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3241 as_fn_set_status $ac_retval
3243 } # ac_fn_objc_try_cpp
3245 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3246 # ----------------------------------------------------------
3247 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3248 # the include files in INCLUDES and setting the cache variable VAR
3249 # accordingly.
3250 ac_fn_objc_check_header_mongrel ()
3252 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3253 if eval \${$3+:} false; then :
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3255 $as_echo_n "checking for $2... " >&6; }
3256 if eval \${$3+:} false; then :
3257 $as_echo_n "(cached) " >&6
3259 eval ac_res=\$$3
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3261 $as_echo "$ac_res" >&6; }
3262 else
3263 # Is the header compilable?
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3265 $as_echo_n "checking $2 usability... " >&6; }
3266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3267 /* end confdefs.h. */
3269 #include <$2>
3270 _ACEOF
3271 if ac_fn_objc_try_compile "$LINENO"; then :
3272 ac_header_compiler=yes
3273 else
3274 ac_header_compiler=no
3276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3278 $as_echo "$ac_header_compiler" >&6; }
3280 # Is the header present?
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3282 $as_echo_n "checking $2 presence... " >&6; }
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284 /* end confdefs.h. */
3285 #include <$2>
3286 _ACEOF
3287 if ac_fn_objc_try_cpp "$LINENO"; then :
3288 ac_header_preproc=yes
3289 else
3290 ac_header_preproc=no
3292 rm -f conftest.err conftest.i conftest.$ac_ext
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3294 $as_echo "$ac_header_preproc" >&6; }
3296 # So? What about this header?
3297 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3298 yes:no: )
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3300 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3302 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3304 no:yes:* )
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3306 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3308 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3310 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3312 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3314 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3315 ( $as_echo "## ------------------------------------ ##
3316 ## Report this to wine-devel@winehq.org ##
3317 ## ------------------------------------ ##"
3318 ) | sed "s/^/$as_me: WARNING: /" >&2
3320 esac
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3322 $as_echo_n "checking for $2... " >&6; }
3323 if eval \${$3+:} false; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 eval "$3=\$ac_header_compiler"
3328 eval ac_res=\$$3
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3330 $as_echo "$ac_res" >&6; }
3332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3334 } # ac_fn_objc_check_header_mongrel
3336 # ac_fn_c_check_func LINENO FUNC VAR
3337 # ----------------------------------
3338 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3339 ac_fn_c_check_func ()
3341 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3343 $as_echo_n "checking for $2... " >&6; }
3344 if eval \${$3+:} false; then :
3345 $as_echo_n "(cached) " >&6
3346 else
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3349 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3351 #define $2 innocuous_$2
3353 /* System header to define __stub macros and hopefully few prototypes,
3354 which can conflict with char $2 (); below.
3355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3356 <limits.h> exists even on freestanding compilers. */
3358 #ifdef __STDC__
3359 # include <limits.h>
3360 #else
3361 # include <assert.h>
3362 #endif
3364 #undef $2
3366 /* Override any GCC internal prototype to avoid an error.
3367 Use char because int might match the return type of a GCC
3368 builtin and then its argument prototype would still apply. */
3369 #ifdef __cplusplus
3370 extern "C"
3371 #endif
3372 char $2 ();
3373 /* The GNU C library defines this for functions which it implements
3374 to always fail with ENOSYS. Some functions are actually named
3375 something starting with __ and the normal name is an alias. */
3376 #if defined __stub_$2 || defined __stub___$2
3377 choke me
3378 #endif
3381 main ()
3383 return $2 ();
3385 return 0;
3387 _ACEOF
3388 if ac_fn_c_try_link "$LINENO"; then :
3389 eval "$3=yes"
3390 else
3391 eval "$3=no"
3393 rm -f core conftest.err conftest.$ac_objext \
3394 conftest$ac_exeext conftest.$ac_ext
3396 eval ac_res=\$$3
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3398 $as_echo "$ac_res" >&6; }
3399 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3401 } # ac_fn_c_check_func
3403 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3404 # ----------------------------------------------------
3405 # Tries to find if the field MEMBER exists in type AGGR, after including
3406 # INCLUDES, setting cache variable VAR accordingly.
3407 ac_fn_c_check_member ()
3409 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3411 $as_echo_n "checking for $2.$3... " >&6; }
3412 if eval \${$4+:} false; then :
3413 $as_echo_n "(cached) " >&6
3414 else
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3419 main ()
3421 static $2 ac_aggr;
3422 if (ac_aggr.$3)
3423 return 0;
3425 return 0;
3427 _ACEOF
3428 if ac_fn_c_try_compile "$LINENO"; then :
3429 eval "$4=yes"
3430 else
3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3432 /* end confdefs.h. */
3435 main ()
3437 static $2 ac_aggr;
3438 if (sizeof ac_aggr.$3)
3439 return 0;
3441 return 0;
3443 _ACEOF
3444 if ac_fn_c_try_compile "$LINENO"; then :
3445 eval "$4=yes"
3446 else
3447 eval "$4=no"
3449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453 eval ac_res=\$$4
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3455 $as_echo "$ac_res" >&6; }
3456 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3458 } # ac_fn_c_check_member
3460 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3461 # -------------------------------------------
3462 # Tests whether TYPE exists after having included INCLUDES, setting cache
3463 # variable VAR accordingly.
3464 ac_fn_c_check_type ()
3466 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3468 $as_echo_n "checking for $2... " >&6; }
3469 if eval \${$3+:} false; then :
3470 $as_echo_n "(cached) " >&6
3471 else
3472 eval "$3=no"
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3477 main ()
3479 if (sizeof ($2))
3480 return 0;
3482 return 0;
3484 _ACEOF
3485 if ac_fn_c_try_compile "$LINENO"; then :
3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3487 /* end confdefs.h. */
3490 main ()
3492 if (sizeof (($2)))
3493 return 0;
3495 return 0;
3497 _ACEOF
3498 if ac_fn_c_try_compile "$LINENO"; then :
3500 else
3501 eval "$3=yes"
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3507 eval ac_res=\$$3
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3509 $as_echo "$ac_res" >&6; }
3510 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3512 } # ac_fn_c_check_type
3513 cat >config.log <<_ACEOF
3514 This file contains any messages produced by compilers while
3515 running configure, to aid debugging if configure makes a mistake.
3517 It was created by Wine $as_me 6.3, which was
3518 generated by GNU Autoconf 2.69. Invocation command line was
3520 $ $0 $@
3522 _ACEOF
3523 exec 5>>config.log
3525 cat <<_ASUNAME
3526 ## --------- ##
3527 ## Platform. ##
3528 ## --------- ##
3530 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3531 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3532 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3533 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3534 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3536 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3537 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3539 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3540 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3541 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3542 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3543 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3544 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3545 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3547 _ASUNAME
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 for as_dir in $PATH
3552 IFS=$as_save_IFS
3553 test -z "$as_dir" && as_dir=.
3554 $as_echo "PATH: $as_dir"
3555 done
3556 IFS=$as_save_IFS
3558 } >&5
3560 cat >&5 <<_ACEOF
3563 ## ----------- ##
3564 ## Core tests. ##
3565 ## ----------- ##
3567 _ACEOF
3570 # Keep a trace of the command line.
3571 # Strip out --no-create and --no-recursion so they do not pile up.
3572 # Strip out --silent because we don't want to record it for future runs.
3573 # Also quote any args containing shell meta-characters.
3574 # Make two passes to allow for proper duplicate-argument suppression.
3575 ac_configure_args=
3576 ac_configure_args0=
3577 ac_configure_args1=
3578 ac_must_keep_next=false
3579 for ac_pass in 1 2
3581 for ac_arg
3583 case $ac_arg in
3584 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3585 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3586 | -silent | --silent | --silen | --sile | --sil)
3587 continue ;;
3588 *\'*)
3589 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3590 esac
3591 case $ac_pass in
3592 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3594 as_fn_append ac_configure_args1 " '$ac_arg'"
3595 if test $ac_must_keep_next = true; then
3596 ac_must_keep_next=false # Got value, back to normal.
3597 else
3598 case $ac_arg in
3599 *=* | --config-cache | -C | -disable-* | --disable-* \
3600 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3601 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3602 | -with-* | --with-* | -without-* | --without-* | --x)
3603 case "$ac_configure_args0 " in
3604 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3605 esac
3607 -* ) ac_must_keep_next=true ;;
3608 esac
3610 as_fn_append ac_configure_args " '$ac_arg'"
3612 esac
3613 done
3614 done
3615 { ac_configure_args0=; unset ac_configure_args0;}
3616 { ac_configure_args1=; unset ac_configure_args1;}
3618 # When interrupted or exit'd, cleanup temporary files, and complete
3619 # config.log. We remove comments because anyway the quotes in there
3620 # would cause problems or look ugly.
3621 # WARNING: Use '\'' to represent an apostrophe within the trap.
3622 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3623 trap 'exit_status=$?
3624 # Save into config.log some information that might help in debugging.
3626 echo
3628 $as_echo "## ---------------- ##
3629 ## Cache variables. ##
3630 ## ---------------- ##"
3631 echo
3632 # The following way of writing the cache mishandles newlines in values,
3634 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3635 eval ac_val=\$$ac_var
3636 case $ac_val in #(
3637 *${as_nl}*)
3638 case $ac_var in #(
3639 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3640 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3641 esac
3642 case $ac_var in #(
3643 _ | IFS | as_nl) ;; #(
3644 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3645 *) { eval $ac_var=; unset $ac_var;} ;;
3646 esac ;;
3647 esac
3648 done
3649 (set) 2>&1 |
3650 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3651 *${as_nl}ac_space=\ *)
3652 sed -n \
3653 "s/'\''/'\''\\\\'\'''\''/g;
3654 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3655 ;; #(
3657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3659 esac |
3660 sort
3662 echo
3664 $as_echo "## ----------------- ##
3665 ## Output variables. ##
3666 ## ----------------- ##"
3667 echo
3668 for ac_var in $ac_subst_vars
3670 eval ac_val=\$$ac_var
3671 case $ac_val in
3672 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3673 esac
3674 $as_echo "$ac_var='\''$ac_val'\''"
3675 done | sort
3676 echo
3678 if test -n "$ac_subst_files"; then
3679 $as_echo "## ------------------- ##
3680 ## File substitutions. ##
3681 ## ------------------- ##"
3682 echo
3683 for ac_var in $ac_subst_files
3685 eval ac_val=\$$ac_var
3686 case $ac_val in
3687 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3688 esac
3689 $as_echo "$ac_var='\''$ac_val'\''"
3690 done | sort
3691 echo
3694 if test -s confdefs.h; then
3695 $as_echo "## ----------- ##
3696 ## confdefs.h. ##
3697 ## ----------- ##"
3698 echo
3699 cat confdefs.h
3700 echo
3702 test "$ac_signal" != 0 &&
3703 $as_echo "$as_me: caught signal $ac_signal"
3704 $as_echo "$as_me: exit $exit_status"
3705 } >&5
3706 rm -f core *.core core.conftest.* &&
3707 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3708 exit $exit_status
3710 for ac_signal in 1 2 13 15; do
3711 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3712 done
3713 ac_signal=0
3715 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3716 rm -f -r conftest* confdefs.h
3718 $as_echo "/* confdefs.h */" > confdefs.h
3720 # Predefined preprocessor variables.
3722 cat >>confdefs.h <<_ACEOF
3723 #define PACKAGE_NAME "$PACKAGE_NAME"
3724 _ACEOF
3726 cat >>confdefs.h <<_ACEOF
3727 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3728 _ACEOF
3730 cat >>confdefs.h <<_ACEOF
3731 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3732 _ACEOF
3734 cat >>confdefs.h <<_ACEOF
3735 #define PACKAGE_STRING "$PACKAGE_STRING"
3736 _ACEOF
3738 cat >>confdefs.h <<_ACEOF
3739 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3740 _ACEOF
3742 cat >>confdefs.h <<_ACEOF
3743 #define PACKAGE_URL "$PACKAGE_URL"
3744 _ACEOF
3747 # Let the site file select an alternate cache file if it wants to.
3748 # Prefer an explicitly selected file to automatically selected ones.
3749 ac_site_file1=NONE
3750 ac_site_file2=NONE
3751 if test -n "$CONFIG_SITE"; then
3752 # We do not want a PATH search for config.site.
3753 case $CONFIG_SITE in #((
3754 -*) ac_site_file1=./$CONFIG_SITE;;
3755 */*) ac_site_file1=$CONFIG_SITE;;
3756 *) ac_site_file1=./$CONFIG_SITE;;
3757 esac
3758 elif test "x$prefix" != xNONE; then
3759 ac_site_file1=$prefix/share/config.site
3760 ac_site_file2=$prefix/etc/config.site
3761 else
3762 ac_site_file1=$ac_default_prefix/share/config.site
3763 ac_site_file2=$ac_default_prefix/etc/config.site
3765 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3767 test "x$ac_site_file" = xNONE && continue
3768 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3770 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3771 sed 's/^/| /' "$ac_site_file" >&5
3772 . "$ac_site_file" \
3773 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3775 as_fn_error $? "failed to load site script $ac_site_file
3776 See \`config.log' for more details" "$LINENO" 5; }
3778 done
3780 if test -r "$cache_file"; then
3781 # Some versions of bash will fail to source /dev/null (special files
3782 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3783 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3785 $as_echo "$as_me: loading cache $cache_file" >&6;}
3786 case $cache_file in
3787 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3788 *) . "./$cache_file";;
3789 esac
3791 else
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3793 $as_echo "$as_me: creating cache $cache_file" >&6;}
3794 >$cache_file
3797 # Check that the precious variables saved in the cache have kept the same
3798 # value.
3799 ac_cache_corrupted=false
3800 for ac_var in $ac_precious_vars; do
3801 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3802 eval ac_new_set=\$ac_env_${ac_var}_set
3803 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3804 eval ac_new_val=\$ac_env_${ac_var}_value
3805 case $ac_old_set,$ac_new_set in
3806 set,)
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3808 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3809 ac_cache_corrupted=: ;;
3810 ,set)
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3812 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3813 ac_cache_corrupted=: ;;
3814 ,);;
3816 if test "x$ac_old_val" != "x$ac_new_val"; then
3817 # differences in whitespace do not lead to failure.
3818 ac_old_val_w=`echo x $ac_old_val`
3819 ac_new_val_w=`echo x $ac_new_val`
3820 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3822 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3823 ac_cache_corrupted=:
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3826 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3827 eval $ac_var=\$ac_old_val
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3830 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3832 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3833 fi;;
3834 esac
3835 # Pass precious variables to config.status.
3836 if test "$ac_new_set" = set; then
3837 case $ac_new_val in
3838 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3839 *) ac_arg=$ac_var=$ac_new_val ;;
3840 esac
3841 case " $ac_configure_args " in
3842 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3843 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3844 esac
3846 done
3847 if $ac_cache_corrupted; then
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3851 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3852 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3854 ## -------------------- ##
3855 ## Main body of script. ##
3856 ## -------------------- ##
3858 ac_ext=c
3859 ac_cpp='$CPP $CPPFLAGS'
3860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3866 ac_config_headers="$ac_config_headers include/config.h"
3868 ac_aux_dir=
3869 for ac_dir in tools "$srcdir"/tools; do
3870 if test -f "$ac_dir/install-sh"; then
3871 ac_aux_dir=$ac_dir
3872 ac_install_sh="$ac_aux_dir/install-sh -c"
3873 break
3874 elif test -f "$ac_dir/install.sh"; then
3875 ac_aux_dir=$ac_dir
3876 ac_install_sh="$ac_aux_dir/install.sh -c"
3877 break
3878 elif test -f "$ac_dir/shtool"; then
3879 ac_aux_dir=$ac_dir
3880 ac_install_sh="$ac_aux_dir/shtool install -c"
3881 break
3883 done
3884 if test -z "$ac_aux_dir"; then
3885 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3888 # These three variables are undocumented and unsupported,
3889 # and are intended to be withdrawn in a future Autoconf release.
3890 # They can cause serious problems if a builder's source tree is in a directory
3891 # whose full name contains unusual characters.
3892 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3893 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3894 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3898 libwine_version="1.0"
3902 # Check whether --enable-win16 was given.
3903 if test "${enable_win16+set}" = set; then :
3904 enableval=$enable_win16;
3907 # Check whether --enable-win64 was given.
3908 if test "${enable_win64+set}" = set; then :
3909 enableval=$enable_win64;
3912 # Check whether --enable-tests was given.
3913 if test "${enable_tests+set}" = set; then :
3914 enableval=$enable_tests;
3917 # Check whether --enable-build-id was given.
3918 if test "${enable_build_id+set}" = set; then :
3919 enableval=$enable_build_id;
3922 # Check whether --enable-maintainer-mode was given.
3923 if test "${enable_maintainer_mode+set}" = set; then :
3924 enableval=$enable_maintainer_mode;
3927 # Check whether --enable-silent-rules was given.
3928 if test "${enable_silent_rules+set}" = set; then :
3929 enableval=$enable_silent_rules;
3932 # Check whether --enable-werror was given.
3933 if test "${enable_werror+set}" = set; then :
3934 enableval=$enable_werror;
3939 # Check whether --with-alsa was given.
3940 if test "${with_alsa+set}" = set; then :
3941 withval=$with_alsa;
3945 # Check whether --with-capi was given.
3946 if test "${with_capi+set}" = set; then :
3947 withval=$with_capi;
3951 # Check whether --with-cms was given.
3952 if test "${with_cms+set}" = set; then :
3953 withval=$with_cms;
3957 # Check whether --with-coreaudio was given.
3958 if test "${with_coreaudio+set}" = set; then :
3959 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3963 # Check whether --with-cups was given.
3964 if test "${with_cups+set}" = set; then :
3965 withval=$with_cups;
3969 # Check whether --with-dbus was given.
3970 if test "${with_dbus+set}" = set; then :
3971 withval=$with_dbus;
3975 # Check whether --with-faudio was given.
3976 if test "${with_faudio+set}" = set; then :
3977 withval=$with_faudio;
3981 # Check whether --with-float-abi was given.
3982 if test "${with_float_abi+set}" = set; then :
3983 withval=$with_float_abi;
3987 # Check whether --with-fontconfig was given.
3988 if test "${with_fontconfig+set}" = set; then :
3989 withval=$with_fontconfig;
3993 # Check whether --with-freetype was given.
3994 if test "${with_freetype+set}" = set; then :
3995 withval=$with_freetype;
3999 # Check whether --with-gettext was given.
4000 if test "${with_gettext+set}" = set; then :
4001 withval=$with_gettext;
4005 # Check whether --with-gettextpo was given.
4006 if test "${with_gettextpo+set}" = set; then :
4007 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4011 # Check whether --with-gphoto was given.
4012 if test "${with_gphoto+set}" = set; then :
4013 withval=$with_gphoto;
4017 # Check whether --with-gnutls was given.
4018 if test "${with_gnutls+set}" = set; then :
4019 withval=$with_gnutls;
4023 # Check whether --with-gsm was given.
4024 if test "${with_gsm+set}" = set; then :
4025 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4029 # Check whether --with-gssapi was given.
4030 if test "${with_gssapi+set}" = set; then :
4031 withval=$with_gssapi;
4035 # Check whether --with-gstreamer was given.
4036 if test "${with_gstreamer+set}" = set; then :
4037 withval=$with_gstreamer;
4041 # Check whether --with-hal was given.
4042 if test "${with_hal+set}" = set; then :
4043 withval=$with_hal;
4047 # Check whether --with-inotify was given.
4048 if test "${with_inotify+set}" = set; then :
4049 withval=$with_inotify;
4053 # Check whether --with-jpeg was given.
4054 if test "${with_jpeg+set}" = set; then :
4055 withval=$with_jpeg;
4059 # Check whether --with-jxrlib was given.
4060 if test "${with_jxrlib+set}" = set; then :
4061 withval=$with_jxrlib;
4065 # Check whether --with-krb5 was given.
4066 if test "${with_krb5+set}" = set; then :
4067 withval=$with_krb5;
4071 # Check whether --with-ldap was given.
4072 if test "${with_ldap+set}" = set; then :
4073 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4077 # Check whether --with-mingw was given.
4078 if test "${with_mingw+set}" = set; then :
4079 withval=$with_mingw;
4083 # Check whether --with-mpg123 was given.
4084 if test "${with_mpg123+set}" = set; then :
4085 withval=$with_mpg123;
4089 # Check whether --with-netapi was given.
4090 if test "${with_netapi+set}" = set; then :
4091 withval=$with_netapi;
4095 # Check whether --with-openal was given.
4096 if test "${with_openal+set}" = set; then :
4097 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4101 # Check whether --with-opencl was given.
4102 if test "${with_opencl+set}" = set; then :
4103 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4107 # Check whether --with-opengl was given.
4108 if test "${with_opengl+set}" = set; then :
4109 withval=$with_opengl;
4113 # Check whether --with-osmesa was given.
4114 if test "${with_osmesa+set}" = set; then :
4115 withval=$with_osmesa;
4119 # Check whether --with-oss was given.
4120 if test "${with_oss+set}" = set; then :
4121 withval=$with_oss;
4125 # Check whether --with-pcap was given.
4126 if test "${with_pcap+set}" = set; then :
4127 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4131 # Check whether --with-png was given.
4132 if test "${with_png+set}" = set; then :
4133 withval=$with_png;
4137 # Check whether --with-pthread was given.
4138 if test "${with_pthread+set}" = set; then :
4139 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4143 # Check whether --with-pulse was given.
4144 if test "${with_pulse+set}" = set; then :
4145 withval=$with_pulse;
4149 # Check whether --with-quicktime was given.
4150 if test "${with_quicktime+set}" = set; then :
4151 withval=$with_quicktime;
4155 # Check whether --with-sane was given.
4156 if test "${with_sane+set}" = set; then :
4157 withval=$with_sane;
4161 # Check whether --with-sdl was given.
4162 if test "${with_sdl+set}" = set; then :
4163 withval=$with_sdl;
4167 # Check whether --with-tiff was given.
4168 if test "${with_tiff+set}" = set; then :
4169 withval=$with_tiff;
4173 # Check whether --with-udev was given.
4174 if test "${with_udev+set}" = set; then :
4175 withval=$with_udev;
4179 # Check whether --with-unwind was given.
4180 if test "${with_unwind+set}" = set; then :
4181 withval=$with_unwind;
4185 # Check whether --with-usb was given.
4186 if test "${with_usb+set}" = set; then :
4187 withval=$with_usb;
4191 # Check whether --with-v4l2 was given.
4192 if test "${with_v4l2+set}" = set; then :
4193 withval=$with_v4l2;
4197 # Check whether --with-vkd3d was given.
4198 if test "${with_vkd3d+set}" = set; then :
4199 withval=$with_vkd3d;
4203 # Check whether --with-vulkan was given.
4204 if test "${with_vulkan+set}" = set; then :
4205 withval=$with_vulkan;
4209 # Check whether --with-xcomposite was given.
4210 if test "${with_xcomposite+set}" = set; then :
4211 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4215 # Check whether --with-xcursor was given.
4216 if test "${with_xcursor+set}" = set; then :
4217 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4221 # Check whether --with-xfixes was given.
4222 if test "${with_xfixes+set}" = set; then :
4223 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4227 # Check whether --with-xinerama was given.
4228 if test "${with_xinerama+set}" = set; then :
4229 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4233 # Check whether --with-xinput was given.
4234 if test "${with_xinput+set}" = set; then :
4235 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4239 # Check whether --with-xinput2 was given.
4240 if test "${with_xinput2+set}" = set; then :
4241 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4245 # Check whether --with-xml was given.
4246 if test "${with_xml+set}" = set; then :
4247 withval=$with_xml;
4251 # Check whether --with-xrandr was given.
4252 if test "${with_xrandr+set}" = set; then :
4253 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4257 # Check whether --with-xrender was given.
4258 if test "${with_xrender+set}" = set; then :
4259 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4263 # Check whether --with-xshape was given.
4264 if test "${with_xshape+set}" = set; then :
4265 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4269 # Check whether --with-xshm was given.
4270 if test "${with_xshm+set}" = set; then :
4271 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4275 # Check whether --with-xslt was given.
4276 if test "${with_xslt+set}" = set; then :
4277 withval=$with_xslt;
4281 # Check whether --with-xxf86vm was given.
4282 if test "${with_xxf86vm+set}" = set; then :
4283 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
4288 # Check whether --with-wine-tools was given.
4289 if test "${with_wine_tools+set}" = set; then :
4290 withval=$with_wine_tools;
4294 # Check whether --with-wine64 was given.
4295 if test "${with_wine64+set}" = set; then :
4296 withval=$with_wine64;
4300 # Make sure we can run config.sub.
4301 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4302 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4305 $as_echo_n "checking build system type... " >&6; }
4306 if ${ac_cv_build+:} false; then :
4307 $as_echo_n "(cached) " >&6
4308 else
4309 ac_build_alias=$build_alias
4310 test "x$ac_build_alias" = x &&
4311 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4312 test "x$ac_build_alias" = x &&
4313 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4314 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4315 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4319 $as_echo "$ac_cv_build" >&6; }
4320 case $ac_cv_build in
4321 *-*-*) ;;
4322 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4323 esac
4324 build=$ac_cv_build
4325 ac_save_IFS=$IFS; IFS='-'
4326 set x $ac_cv_build
4327 shift
4328 build_cpu=$1
4329 build_vendor=$2
4330 shift; shift
4331 # Remember, the first character of IFS is used to create $*,
4332 # except with old shells:
4333 build_os=$*
4334 IFS=$ac_save_IFS
4335 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4339 $as_echo_n "checking host system type... " >&6; }
4340 if ${ac_cv_host+:} false; then :
4341 $as_echo_n "(cached) " >&6
4342 else
4343 if test "x$host_alias" = x; then
4344 ac_cv_host=$ac_cv_build
4345 else
4346 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4347 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4352 $as_echo "$ac_cv_host" >&6; }
4353 case $ac_cv_host in
4354 *-*-*) ;;
4355 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4356 esac
4357 host=$ac_cv_host
4358 ac_save_IFS=$IFS; IFS='-'
4359 set x $ac_cv_host
4360 shift
4361 host_cpu=$1
4362 host_vendor=$2
4363 shift; shift
4364 # Remember, the first character of IFS is used to create $*,
4365 # except with old shells:
4366 host_os=$*
4367 IFS=$ac_save_IFS
4368 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4374 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4375 set x ${MAKE-make}
4376 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4377 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4378 $as_echo_n "(cached) " >&6
4379 else
4380 cat >conftest.make <<\_ACEOF
4381 SHELL = /bin/sh
4382 all:
4383 @echo '@@@%%%=$(MAKE)=@@@%%%'
4384 _ACEOF
4385 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4386 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4387 *@@@%%%=?*=@@@%%%*)
4388 eval ac_cv_prog_make_${ac_make}_set=yes;;
4390 eval ac_cv_prog_make_${ac_make}_set=no;;
4391 esac
4392 rm -f conftest.make
4394 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4396 $as_echo "yes" >&6; }
4397 SET_MAKE=
4398 else
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4400 $as_echo "no" >&6; }
4401 SET_MAKE="MAKE=${MAKE-make}"
4404 ac_ext=c
4405 ac_cpp='$CPP $CPPFLAGS'
4406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4409 if test -n "$ac_tool_prefix"; then
4410 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4411 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4413 $as_echo_n "checking for $ac_word... " >&6; }
4414 if ${ac_cv_prog_CC+:} false; then :
4415 $as_echo_n "(cached) " >&6
4416 else
4417 if test -n "$CC"; then
4418 ac_cv_prog_CC="$CC" # Let the user override the test.
4419 else
4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 for as_dir in $PATH
4423 IFS=$as_save_IFS
4424 test -z "$as_dir" && as_dir=.
4425 for ac_exec_ext in '' $ac_executable_extensions; do
4426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4427 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 break 2
4431 done
4432 done
4433 IFS=$as_save_IFS
4437 CC=$ac_cv_prog_CC
4438 if test -n "$CC"; then
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4440 $as_echo "$CC" >&6; }
4441 else
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4443 $as_echo "no" >&6; }
4448 if test -z "$ac_cv_prog_CC"; then
4449 ac_ct_CC=$CC
4450 # Extract the first word of "gcc", so it can be a program name with args.
4451 set dummy gcc; ac_word=$2
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4453 $as_echo_n "checking for $ac_word... " >&6; }
4454 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4455 $as_echo_n "(cached) " >&6
4456 else
4457 if test -n "$ac_ct_CC"; then
4458 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4459 else
4460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 for as_dir in $PATH
4463 IFS=$as_save_IFS
4464 test -z "$as_dir" && as_dir=.
4465 for ac_exec_ext in '' $ac_executable_extensions; do
4466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4467 ac_cv_prog_ac_ct_CC="gcc"
4468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 break 2
4471 done
4472 done
4473 IFS=$as_save_IFS
4477 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4478 if test -n "$ac_ct_CC"; then
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4480 $as_echo "$ac_ct_CC" >&6; }
4481 else
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4483 $as_echo "no" >&6; }
4486 if test "x$ac_ct_CC" = x; then
4487 CC=""
4488 else
4489 case $cross_compiling:$ac_tool_warned in
4490 yes:)
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4493 ac_tool_warned=yes ;;
4494 esac
4495 CC=$ac_ct_CC
4497 else
4498 CC="$ac_cv_prog_CC"
4501 if test -z "$CC"; then
4502 if test -n "$ac_tool_prefix"; then
4503 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4504 set dummy ${ac_tool_prefix}cc; ac_word=$2
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4506 $as_echo_n "checking for $ac_word... " >&6; }
4507 if ${ac_cv_prog_CC+:} false; then :
4508 $as_echo_n "(cached) " >&6
4509 else
4510 if test -n "$CC"; then
4511 ac_cv_prog_CC="$CC" # Let the user override the test.
4512 else
4513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4514 for as_dir in $PATH
4516 IFS=$as_save_IFS
4517 test -z "$as_dir" && as_dir=.
4518 for ac_exec_ext in '' $ac_executable_extensions; do
4519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4520 ac_cv_prog_CC="${ac_tool_prefix}cc"
4521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 break 2
4524 done
4525 done
4526 IFS=$as_save_IFS
4530 CC=$ac_cv_prog_CC
4531 if test -n "$CC"; then
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4533 $as_echo "$CC" >&6; }
4534 else
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4536 $as_echo "no" >&6; }
4542 if test -z "$CC"; then
4543 # Extract the first word of "cc", so it can be a program name with args.
4544 set dummy cc; ac_word=$2
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546 $as_echo_n "checking for $ac_word... " >&6; }
4547 if ${ac_cv_prog_CC+:} false; then :
4548 $as_echo_n "(cached) " >&6
4549 else
4550 if test -n "$CC"; then
4551 ac_cv_prog_CC="$CC" # Let the user override the test.
4552 else
4553 ac_prog_rejected=no
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555 for as_dir in $PATH
4557 IFS=$as_save_IFS
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4561 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4562 ac_prog_rejected=yes
4563 continue
4565 ac_cv_prog_CC="cc"
4566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4567 break 2
4569 done
4570 done
4571 IFS=$as_save_IFS
4573 if test $ac_prog_rejected = yes; then
4574 # We found a bogon in the path, so make sure we never use it.
4575 set dummy $ac_cv_prog_CC
4576 shift
4577 if test $# != 0; then
4578 # We chose a different compiler from the bogus one.
4579 # However, it has the same basename, so the bogon will be chosen
4580 # first if we set CC to just the basename; use the full file name.
4581 shift
4582 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4587 CC=$ac_cv_prog_CC
4588 if test -n "$CC"; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4590 $as_echo "$CC" >&6; }
4591 else
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4593 $as_echo "no" >&6; }
4598 if test -z "$CC"; then
4599 if test -n "$ac_tool_prefix"; then
4600 for ac_prog in cl.exe
4602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if ${ac_cv_prog_CC+:} false; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 if test -n "$CC"; then
4610 ac_cv_prog_CC="$CC" # Let the user override the test.
4611 else
4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 for as_dir in $PATH
4615 IFS=$as_save_IFS
4616 test -z "$as_dir" && as_dir=.
4617 for ac_exec_ext in '' $ac_executable_extensions; do
4618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4619 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4621 break 2
4623 done
4624 done
4625 IFS=$as_save_IFS
4629 CC=$ac_cv_prog_CC
4630 if test -n "$CC"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4632 $as_echo "$CC" >&6; }
4633 else
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4639 test -n "$CC" && break
4640 done
4642 if test -z "$CC"; then
4643 ac_ct_CC=$CC
4644 for ac_prog in cl.exe
4646 # Extract the first word of "$ac_prog", so it can be a program name with args.
4647 set dummy $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_ac_ct_CC+:} false; then :
4651 $as_echo_n "(cached) " >&6
4652 else
4653 if test -n "$ac_ct_CC"; then
4654 ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="$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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4674 if test -n "$ac_ct_CC"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4676 $as_echo "$ac_ct_CC" >&6; }
4677 else
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4683 test -n "$ac_ct_CC" && break
4684 done
4686 if test "x$ac_ct_CC" = x; then
4687 CC=""
4688 else
4689 case $cross_compiling:$ac_tool_warned in
4690 yes:)
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4693 ac_tool_warned=yes ;;
4694 esac
4695 CC=$ac_ct_CC
4702 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4704 as_fn_error $? "no acceptable C compiler found in \$PATH
4705 See \`config.log' for more details" "$LINENO" 5; }
4707 # Provide some information about the compiler.
4708 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4709 set X $ac_compile
4710 ac_compiler=$2
4711 for ac_option in --version -v -V -qversion; do
4712 { { ac_try="$ac_compiler $ac_option >&5"
4713 case "(($ac_try" in
4714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4715 *) ac_try_echo=$ac_try;;
4716 esac
4717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4718 $as_echo "$ac_try_echo"; } >&5
4719 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4720 ac_status=$?
4721 if test -s conftest.err; then
4722 sed '10a\
4723 ... rest of stderr output deleted ...
4724 10q' conftest.err >conftest.er1
4725 cat conftest.er1 >&5
4727 rm -f conftest.er1 conftest.err
4728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4729 test $ac_status = 0; }
4730 done
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4736 main ()
4740 return 0;
4742 _ACEOF
4743 ac_clean_files_save=$ac_clean_files
4744 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4745 # Try to create an executable without -o first, disregard a.out.
4746 # It will help us diagnose broken compilers, and finding out an intuition
4747 # of exeext.
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4749 $as_echo_n "checking whether the C compiler works... " >&6; }
4750 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4752 # The possible output files:
4753 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4755 ac_rmfiles=
4756 for ac_file in $ac_files
4758 case $ac_file in
4759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4760 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4761 esac
4762 done
4763 rm -f $ac_rmfiles
4765 if { { ac_try="$ac_link_default"
4766 case "(($ac_try" in
4767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4768 *) ac_try_echo=$ac_try;;
4769 esac
4770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4771 $as_echo "$ac_try_echo"; } >&5
4772 (eval "$ac_link_default") 2>&5
4773 ac_status=$?
4774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4775 test $ac_status = 0; }; then :
4776 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4777 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4778 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4779 # so that the user can short-circuit this test for compilers unknown to
4780 # Autoconf.
4781 for ac_file in $ac_files ''
4783 test -f "$ac_file" || continue
4784 case $ac_file in
4785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4787 [ab].out )
4788 # We found the default executable, but exeext='' is most
4789 # certainly right.
4790 break;;
4791 *.* )
4792 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4793 then :; else
4794 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4796 # We set ac_cv_exeext here because the later test for it is not
4797 # safe: cross compilers may not add the suffix if given an `-o'
4798 # argument, so we may need to know it at that point already.
4799 # Even if this section looks crufty: it has the advantage of
4800 # actually working.
4801 break;;
4803 break;;
4804 esac
4805 done
4806 test "$ac_cv_exeext" = no && ac_cv_exeext=
4808 else
4809 ac_file=''
4811 if test -z "$ac_file"; then :
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4814 $as_echo "$as_me: failed program was:" >&5
4815 sed 's/^/| /' conftest.$ac_ext >&5
4817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4819 as_fn_error 77 "C compiler cannot create executables
4820 See \`config.log' for more details" "$LINENO" 5; }
4821 else
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4823 $as_echo "yes" >&6; }
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4826 $as_echo_n "checking for C compiler default output file name... " >&6; }
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4828 $as_echo "$ac_file" >&6; }
4829 ac_exeext=$ac_cv_exeext
4831 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4832 ac_clean_files=$ac_clean_files_save
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4834 $as_echo_n "checking for suffix of executables... " >&6; }
4835 if { { ac_try="$ac_link"
4836 case "(($ac_try" in
4837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;;
4839 esac
4840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4841 $as_echo "$ac_try_echo"; } >&5
4842 (eval "$ac_link") 2>&5
4843 ac_status=$?
4844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4845 test $ac_status = 0; }; then :
4846 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4847 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4848 # work properly (i.e., refer to `conftest.exe'), while it won't with
4849 # `rm'.
4850 for ac_file in conftest.exe conftest conftest.*; do
4851 test -f "$ac_file" || continue
4852 case $ac_file in
4853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4854 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4855 break;;
4856 * ) break;;
4857 esac
4858 done
4859 else
4860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4862 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4863 See \`config.log' for more details" "$LINENO" 5; }
4865 rm -f conftest conftest$ac_cv_exeext
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4867 $as_echo "$ac_cv_exeext" >&6; }
4869 rm -f conftest.$ac_ext
4870 EXEEXT=$ac_cv_exeext
4871 ac_exeext=$EXEEXT
4872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4874 #include <stdio.h>
4876 main ()
4878 FILE *f = fopen ("conftest.out", "w");
4879 return ferror (f) || fclose (f) != 0;
4882 return 0;
4884 _ACEOF
4885 ac_clean_files="$ac_clean_files conftest.out"
4886 # Check that the compiler produces executables we can run. If not, either
4887 # the compiler is broken, or we cross compile.
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4889 $as_echo_n "checking whether we are cross compiling... " >&6; }
4890 if test "$cross_compiling" != yes; then
4891 { { ac_try="$ac_link"
4892 case "(($ac_try" in
4893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4894 *) ac_try_echo=$ac_try;;
4895 esac
4896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4897 $as_echo "$ac_try_echo"; } >&5
4898 (eval "$ac_link") 2>&5
4899 ac_status=$?
4900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4901 test $ac_status = 0; }
4902 if { ac_try='./conftest$ac_cv_exeext'
4903 { { case "(($ac_try" in
4904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4905 *) ac_try_echo=$ac_try;;
4906 esac
4907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4908 $as_echo "$ac_try_echo"; } >&5
4909 (eval "$ac_try") 2>&5
4910 ac_status=$?
4911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4912 test $ac_status = 0; }; }; then
4913 cross_compiling=no
4914 else
4915 if test "$cross_compiling" = maybe; then
4916 cross_compiling=yes
4917 else
4918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4920 as_fn_error $? "cannot run C compiled programs.
4921 If you meant to cross compile, use \`--host'.
4922 See \`config.log' for more details" "$LINENO" 5; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4927 $as_echo "$cross_compiling" >&6; }
4929 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4930 ac_clean_files=$ac_clean_files_save
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4932 $as_echo_n "checking for suffix of object files... " >&6; }
4933 if ${ac_cv_objext+:} false; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4940 main ()
4944 return 0;
4946 _ACEOF
4947 rm -f conftest.o conftest.obj
4948 if { { ac_try="$ac_compile"
4949 case "(($ac_try" in
4950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951 *) ac_try_echo=$ac_try;;
4952 esac
4953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4954 $as_echo "$ac_try_echo"; } >&5
4955 (eval "$ac_compile") 2>&5
4956 ac_status=$?
4957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4958 test $ac_status = 0; }; then :
4959 for ac_file in conftest.o conftest.obj conftest.*; do
4960 test -f "$ac_file" || continue;
4961 case $ac_file in
4962 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4963 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4964 break;;
4965 esac
4966 done
4967 else
4968 $as_echo "$as_me: failed program was:" >&5
4969 sed 's/^/| /' conftest.$ac_ext >&5
4971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4973 as_fn_error $? "cannot compute suffix of object files: cannot compile
4974 See \`config.log' for more details" "$LINENO" 5; }
4976 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4979 $as_echo "$ac_cv_objext" >&6; }
4980 OBJEXT=$ac_cv_objext
4981 ac_objext=$OBJEXT
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4983 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4984 if ${ac_cv_c_compiler_gnu+:} false; then :
4985 $as_echo_n "(cached) " >&6
4986 else
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4991 main ()
4993 #ifndef __GNUC__
4994 choke me
4995 #endif
4998 return 0;
5000 _ACEOF
5001 if ac_fn_c_try_compile "$LINENO"; then :
5002 ac_compiler_gnu=yes
5003 else
5004 ac_compiler_gnu=no
5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5007 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5011 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5012 if test $ac_compiler_gnu = yes; then
5013 GCC=yes
5014 else
5015 GCC=
5017 ac_test_CFLAGS=${CFLAGS+set}
5018 ac_save_CFLAGS=$CFLAGS
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5020 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5021 if ${ac_cv_prog_cc_g+:} false; then :
5022 $as_echo_n "(cached) " >&6
5023 else
5024 ac_save_c_werror_flag=$ac_c_werror_flag
5025 ac_c_werror_flag=yes
5026 ac_cv_prog_cc_g=no
5027 CFLAGS="-g"
5028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5029 /* end confdefs.h. */
5032 main ()
5036 return 0;
5038 _ACEOF
5039 if ac_fn_c_try_compile "$LINENO"; then :
5040 ac_cv_prog_cc_g=yes
5041 else
5042 CFLAGS=""
5043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5044 /* end confdefs.h. */
5047 main ()
5051 return 0;
5053 _ACEOF
5054 if ac_fn_c_try_compile "$LINENO"; then :
5056 else
5057 ac_c_werror_flag=$ac_save_c_werror_flag
5058 CFLAGS="-g"
5059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5063 main ()
5067 return 0;
5069 _ACEOF
5070 if ac_fn_c_try_compile "$LINENO"; then :
5071 ac_cv_prog_cc_g=yes
5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5078 ac_c_werror_flag=$ac_save_c_werror_flag
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5081 $as_echo "$ac_cv_prog_cc_g" >&6; }
5082 if test "$ac_test_CFLAGS" = set; then
5083 CFLAGS=$ac_save_CFLAGS
5084 elif test $ac_cv_prog_cc_g = yes; then
5085 if test "$GCC" = yes; then
5086 CFLAGS="-g -O2"
5087 else
5088 CFLAGS="-g"
5090 else
5091 if test "$GCC" = yes; then
5092 CFLAGS="-O2"
5093 else
5094 CFLAGS=
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5098 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5099 if ${ac_cv_prog_cc_c89+:} false; then :
5100 $as_echo_n "(cached) " >&6
5101 else
5102 ac_cv_prog_cc_c89=no
5103 ac_save_CC=$CC
5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105 /* end confdefs.h. */
5106 #include <stdarg.h>
5107 #include <stdio.h>
5108 struct stat;
5109 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5110 struct buf { int x; };
5111 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5112 static char *e (p, i)
5113 char **p;
5114 int i;
5116 return p[i];
5118 static char *f (char * (*g) (char **, int), char **p, ...)
5120 char *s;
5121 va_list v;
5122 va_start (v,p);
5123 s = g (p, va_arg (v,int));
5124 va_end (v);
5125 return s;
5128 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5129 function prototypes and stuff, but not '\xHH' hex character constants.
5130 These don't provoke an error unfortunately, instead are silently treated
5131 as 'x'. The following induces an error, until -std is added to get
5132 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5133 array size at least. It's necessary to write '\x00'==0 to get something
5134 that's true only with -std. */
5135 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5137 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5138 inside strings and character constants. */
5139 #define FOO(x) 'x'
5140 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5142 int test (int i, double x);
5143 struct s1 {int (*f) (int a);};
5144 struct s2 {int (*f) (double a);};
5145 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5146 int argc;
5147 char **argv;
5149 main ()
5151 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5153 return 0;
5155 _ACEOF
5156 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5157 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5159 CC="$ac_save_CC $ac_arg"
5160 if ac_fn_c_try_compile "$LINENO"; then :
5161 ac_cv_prog_cc_c89=$ac_arg
5163 rm -f core conftest.err conftest.$ac_objext
5164 test "x$ac_cv_prog_cc_c89" != "xno" && break
5165 done
5166 rm -f conftest.$ac_ext
5167 CC=$ac_save_CC
5170 # AC_CACHE_VAL
5171 case "x$ac_cv_prog_cc_c89" in
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5174 $as_echo "none needed" >&6; } ;;
5175 xno)
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5177 $as_echo "unsupported" >&6; } ;;
5179 CC="$CC $ac_cv_prog_cc_c89"
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5181 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5182 esac
5183 if test "x$ac_cv_prog_cc_c89" != xno; then :
5187 ac_ext=c
5188 ac_cpp='$CPP $CPPFLAGS'
5189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5193 ac_ext=cpp
5194 ac_cpp='$CXXCPP $CPPFLAGS'
5195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5198 if test -z "$CXX"; then
5199 if test -n "$CCC"; then
5200 CXX=$CCC
5201 else
5202 if test -n "$ac_tool_prefix"; then
5203 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5205 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5206 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if ${ac_cv_prog_CXX+:} false; then :
5210 $as_echo_n "(cached) " >&6
5211 else
5212 if test -n "$CXX"; then
5213 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5214 else
5215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5216 for as_dir in $PATH
5218 IFS=$as_save_IFS
5219 test -z "$as_dir" && as_dir=.
5220 for ac_exec_ext in '' $ac_executable_extensions; do
5221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 break 2
5226 done
5227 done
5228 IFS=$as_save_IFS
5232 CXX=$ac_cv_prog_CXX
5233 if test -n "$CXX"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5235 $as_echo "$CXX" >&6; }
5236 else
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 test -n "$CXX" && break
5243 done
5245 if test -z "$CXX"; then
5246 ac_ct_CXX=$CXX
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_prog", so it can be a program name with args.
5250 set dummy $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_ac_ct_CXX+:} false; then :
5254 $as_echo_n "(cached) " >&6
5255 else
5256 if test -n "$ac_ct_CXX"; then
5257 ac_cv_prog_ac_ct_CXX="$ac_ct_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_ac_ct_CXX="$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 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5277 if test -n "$ac_ct_CXX"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5279 $as_echo "$ac_ct_CXX" >&6; }
5280 else
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5286 test -n "$ac_ct_CXX" && break
5287 done
5289 if test "x$ac_ct_CXX" = x; then
5290 CXX="g++"
5291 else
5292 case $cross_compiling:$ac_tool_warned in
5293 yes:)
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5295 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5296 ac_tool_warned=yes ;;
5297 esac
5298 CXX=$ac_ct_CXX
5304 # Provide some information about the compiler.
5305 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5306 set X $ac_compile
5307 ac_compiler=$2
5308 for ac_option in --version -v -V -qversion; do
5309 { { ac_try="$ac_compiler $ac_option >&5"
5310 case "(($ac_try" in
5311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5312 *) ac_try_echo=$ac_try;;
5313 esac
5314 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5315 $as_echo "$ac_try_echo"; } >&5
5316 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5317 ac_status=$?
5318 if test -s conftest.err; then
5319 sed '10a\
5320 ... rest of stderr output deleted ...
5321 10q' conftest.err >conftest.er1
5322 cat conftest.er1 >&5
5324 rm -f conftest.er1 conftest.err
5325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5326 test $ac_status = 0; }
5327 done
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5330 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5331 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5332 $as_echo_n "(cached) " >&6
5333 else
5334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5338 main ()
5340 #ifndef __GNUC__
5341 choke me
5342 #endif
5345 return 0;
5347 _ACEOF
5348 if ac_fn_cxx_try_compile "$LINENO"; then :
5349 ac_compiler_gnu=yes
5350 else
5351 ac_compiler_gnu=no
5353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5354 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5358 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5359 if test $ac_compiler_gnu = yes; then
5360 GXX=yes
5361 else
5362 GXX=
5364 ac_test_CXXFLAGS=${CXXFLAGS+set}
5365 ac_save_CXXFLAGS=$CXXFLAGS
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5367 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5368 if ${ac_cv_prog_cxx_g+:} false; then :
5369 $as_echo_n "(cached) " >&6
5370 else
5371 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5372 ac_cxx_werror_flag=yes
5373 ac_cv_prog_cxx_g=no
5374 CXXFLAGS="-g"
5375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5379 main ()
5383 return 0;
5385 _ACEOF
5386 if ac_fn_cxx_try_compile "$LINENO"; then :
5387 ac_cv_prog_cxx_g=yes
5388 else
5389 CXXFLAGS=""
5390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5394 main ()
5398 return 0;
5400 _ACEOF
5401 if ac_fn_cxx_try_compile "$LINENO"; then :
5403 else
5404 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5405 CXXFLAGS="-g"
5406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5407 /* end confdefs.h. */
5410 main ()
5414 return 0;
5416 _ACEOF
5417 if ac_fn_cxx_try_compile "$LINENO"; then :
5418 ac_cv_prog_cxx_g=yes
5420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5425 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5428 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5429 if test "$ac_test_CXXFLAGS" = set; then
5430 CXXFLAGS=$ac_save_CXXFLAGS
5431 elif test $ac_cv_prog_cxx_g = yes; then
5432 if test "$GXX" = yes; then
5433 CXXFLAGS="-g -O2"
5434 else
5435 CXXFLAGS="-g"
5437 else
5438 if test "$GXX" = yes; then
5439 CXXFLAGS="-O2"
5440 else
5441 CXXFLAGS=
5444 ac_ext=c
5445 ac_cpp='$CPP $CPPFLAGS'
5446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5450 if test -n "$ac_tool_prefix"; then
5451 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5452 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5454 $as_echo_n "checking for $ac_word... " >&6; }
5455 if ${ac_cv_prog_CPPBIN+:} false; then :
5456 $as_echo_n "(cached) " >&6
5457 else
5458 if test -n "$CPPBIN"; then
5459 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5460 else
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5462 for as_dir in $PATH
5464 IFS=$as_save_IFS
5465 test -z "$as_dir" && as_dir=.
5466 for ac_exec_ext in '' $ac_executable_extensions; do
5467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5468 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5470 break 2
5472 done
5473 done
5474 IFS=$as_save_IFS
5478 CPPBIN=$ac_cv_prog_CPPBIN
5479 if test -n "$CPPBIN"; then
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5481 $as_echo "$CPPBIN" >&6; }
5482 else
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484 $as_echo "no" >&6; }
5489 if test -z "$ac_cv_prog_CPPBIN"; then
5490 ac_ct_CPPBIN=$CPPBIN
5491 # Extract the first word of "cpp", so it can be a program name with args.
5492 set dummy cpp; ac_word=$2
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5494 $as_echo_n "checking for $ac_word... " >&6; }
5495 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5496 $as_echo_n "(cached) " >&6
5497 else
5498 if test -n "$ac_ct_CPPBIN"; then
5499 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5500 else
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 for as_dir in $PATH
5504 IFS=$as_save_IFS
5505 test -z "$as_dir" && as_dir=.
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5508 ac_cv_prog_ac_ct_CPPBIN="cpp"
5509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 break 2
5512 done
5513 done
5514 IFS=$as_save_IFS
5518 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5519 if test -n "$ac_ct_CPPBIN"; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5521 $as_echo "$ac_ct_CPPBIN" >&6; }
5522 else
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5524 $as_echo "no" >&6; }
5527 if test "x$ac_ct_CPPBIN" = x; then
5528 CPPBIN="cpp"
5529 else
5530 case $cross_compiling:$ac_tool_warned in
5531 yes:)
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5534 ac_tool_warned=yes ;;
5535 esac
5536 CPPBIN=$ac_ct_CPPBIN
5538 else
5539 CPPBIN="$ac_cv_prog_CPPBIN"
5543 cat >>confdefs.h <<_ACEOF
5544 #define EXEEXT "$ac_exeext"
5545 _ACEOF
5547 if test -n "$ac_tool_prefix"; then
5548 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5549 set dummy ${ac_tool_prefix}ld; ac_word=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_LD+:} false; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if test -n "$LD"; then
5556 ac_cv_prog_LD="$LD" # Let the user override the test.
5557 else
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH
5561 IFS=$as_save_IFS
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5565 ac_cv_prog_LD="${ac_tool_prefix}ld"
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5567 break 2
5569 done
5570 done
5571 IFS=$as_save_IFS
5575 LD=$ac_cv_prog_LD
5576 if test -n "$LD"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5578 $as_echo "$LD" >&6; }
5579 else
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5586 if test -z "$ac_cv_prog_LD"; then
5587 ac_ct_LD=$LD
5588 # Extract the first word of "ld", so it can be a program name with args.
5589 set dummy ld; ac_word=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5593 $as_echo_n "(cached) " >&6
5594 else
5595 if test -n "$ac_ct_LD"; then
5596 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5597 else
5598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 for as_dir in $PATH
5601 IFS=$as_save_IFS
5602 test -z "$as_dir" && as_dir=.
5603 for ac_exec_ext in '' $ac_executable_extensions; do
5604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_ac_ct_LD="ld"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5607 break 2
5609 done
5610 done
5611 IFS=$as_save_IFS
5615 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5616 if test -n "$ac_ct_LD"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5618 $as_echo "$ac_ct_LD" >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5624 if test "x$ac_ct_LD" = x; then
5625 LD=""
5626 else
5627 case $cross_compiling:$ac_tool_warned in
5628 yes:)
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5631 ac_tool_warned=yes ;;
5632 esac
5633 LD=$ac_ct_LD
5635 else
5636 LD="$ac_cv_prog_LD"
5640 case $host in
5641 *-darwin*)
5642 with_fontconfig=${with_fontconfig:-no}
5644 *-mingw32*|*-cygwin*)
5645 enable_win16=${enable_win16:-no}
5646 with_mingw=${with_mingw:-no}
5647 CFLAGS="$CFLAGS -D_WIN32"
5649 esac
5652 case $host in
5653 x86_64*|amd64*)
5654 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5655 then
5656 CC="$CC -m32"
5657 CXX="$CXX -m32"
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5660 $as_echo_n "checking whether $CC works... " >&6; }
5661 if ${wine_cv_cc_m32+:} false; then :
5662 $as_echo_n "(cached) " >&6
5663 else
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5668 main ()
5672 return 0;
5674 _ACEOF
5675 if ac_fn_c_try_link "$LINENO"; then :
5676 wine_cv_cc_m32=yes
5677 else
5678 wine_cv_cc_m32=no
5680 rm -f core conftest.err conftest.$ac_objext \
5681 conftest$ac_exeext conftest.$ac_ext
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5684 $as_echo "$wine_cv_cc_m32" >&6; }
5685 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
5686 host_cpu="i386"
5687 notice_platform="32-bit "
5688 TARGETFLAGS="$TARGETFLAGS -m32"
5689 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5690 export PKG_CONFIG_PATH
5691 enable_win16=${enable_win16:-yes}
5692 with_unwind=${with_unwind:-no}
5693 else
5694 if test "x${GCC}" = "xyes"
5695 then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5697 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5698 if ${wine_cv_builtin_ms_va_list+:} false; then :
5699 $as_echo_n "(cached) " >&6
5700 else
5701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5702 /* end confdefs.h. */
5703 #include <stdarg.h>
5705 main ()
5707 void func(__builtin_ms_va_list *args);
5709 return 0;
5711 _ACEOF
5712 if ac_fn_c_try_compile "$LINENO"; then :
5713 wine_cv_builtin_ms_va_list=yes
5714 else
5715 wine_cv_builtin_ms_va_list=no
5717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5720 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5721 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
5723 CC="$CC -m64"
5724 CXX="$CXX -m64"
5725 host_cpu="x86_64"
5726 notice_platform="64-bit "
5727 TARGETFLAGS="$TARGETFLAGS -m64"
5728 enable_wow64cpu=${enable_wow64cpu:-yes}
5731 arm*)
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5733 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5734 if ${wine_cv_thumb2+:} false; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5738 /* end confdefs.h. */
5741 main ()
5743 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5745 return 0;
5747 _ACEOF
5748 if ac_fn_c_try_link "$LINENO"; then :
5749 wine_cv_thumb2=yes
5750 else
5751 wine_cv_thumb2=no
5753 rm -f core conftest.err conftest.$ac_objext \
5754 conftest$ac_exeext conftest.$ac_ext
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5757 $as_echo "$wine_cv_thumb2" >&6; }
5758 if test x"$wine_cv_thumb2" = xyes
5759 then
5760 CFLAGS="$CFLAGS -mthumb"
5761 TARGETFLAGS="$TARGETFLAGS -mthumb"
5762 else
5763 CFLAGS="$CFLAGS -marm"
5764 TARGETFLAGS="$TARGETFLAGS -marm"
5766 case $with_float_abi in
5767 soft|softfp|hard)
5768 float_abi=$with_float_abi ;;
5770 case $host_os in
5771 *eabihf)
5772 float_abi=hard ;;
5774 float_abi=softfp
5775 saved_CFLAGS=$CFLAGS
5776 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5778 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5779 if ${wine_cv_float_abi+:} 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("vmrs r2,fpscr");
5790 return 0;
5792 _ACEOF
5793 if ac_fn_c_try_link "$LINENO"; then :
5794 wine_cv_float_abi=yes
5795 else
5796 wine_cv_float_abi=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_float_abi" >&5
5802 $as_echo "$wine_cv_float_abi" >&6; }
5803 if test $wine_cv_float_abi = no
5804 then
5805 float_abi=soft
5806 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5808 CFLAGS=$saved_CFLAGS
5809 esac
5811 esac
5812 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5813 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5815 aarch64*)
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5817 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5818 if ${wine_cv_builtin_ms_va_list+:} false; then :
5819 $as_echo_n "(cached) " >&6
5820 else
5821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5822 /* end confdefs.h. */
5823 #include <stdarg.h>
5825 main ()
5827 void func(__builtin_ms_va_list *args);
5829 return 0;
5831 _ACEOF
5832 if ac_fn_c_try_compile "$LINENO"; then :
5833 wine_cv_builtin_ms_va_list=yes
5834 else
5835 wine_cv_builtin_ms_va_list=no
5837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5840 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5841 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5843 i[3456789]86*)
5844 enable_win16=${enable_win16:-yes}
5845 with_unwind=${with_unwind:-no}
5847 esac
5849 enable_win16=${enable_win16:-no}
5850 enable_win64=${enable_win64:-no}
5851 enable_wow64cpu=${enable_wow64cpu:-no}
5853 enable_winetest=${enable_winetest:-$enable_tests}
5855 if test "x$enable_win64" = "xyes"
5856 then
5857 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5858 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5859 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5863 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5864 if ${wine_cv_toolsdir+:} false; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 wine_cv_toolsdir="$with_wine_tools"
5868 if test -z "$with_wine_tools"; then
5869 if test "$cross_compiling" = "yes"; then
5870 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5871 elif test -n "$with_wine64"; then
5872 wine_cv_toolsdir="$with_wine64"
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5877 $as_echo "$wine_cv_toolsdir" >&6; }
5878 if test -z "$wine_cv_toolsdir"; then
5879 wine_makedep=tools/makedep
5880 TOOLSDIR="."
5882 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5883 wine_makedep=$wine_cv_toolsdir/tools/makedep
5884 TOOLSDIR=$wine_cv_toolsdir
5886 enable_tools=${enable_tools:-no}
5887 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5888 else
5889 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5891 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5892 then
5893 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5896 for ac_prog in flex
5898 # Extract the first word of "$ac_prog", so it can be a program name with args.
5899 set dummy $ac_prog; ac_word=$2
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5901 $as_echo_n "checking for $ac_word... " >&6; }
5902 if ${ac_cv_prog_FLEX+:} false; then :
5903 $as_echo_n "(cached) " >&6
5904 else
5905 if test -n "$FLEX"; then
5906 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5907 else
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 for as_dir in $PATH
5911 IFS=$as_save_IFS
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915 ac_cv_prog_FLEX="$ac_prog"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 break 2
5919 done
5920 done
5921 IFS=$as_save_IFS
5925 FLEX=$ac_cv_prog_FLEX
5926 if test -n "$FLEX"; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5928 $as_echo "$FLEX" >&6; }
5929 else
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5931 $as_echo "no" >&6; }
5935 test -n "$FLEX" && break
5936 done
5937 test -n "$FLEX" || FLEX="none"
5939 if test "$FLEX" = "none"
5940 then
5941 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5944 $as_echo_n "checking whether flex is recent enough... " >&6; }
5945 if ${wine_cv_recent_flex+:} false; then :
5946 $as_echo_n "(cached) " >&6
5947 else
5948 cat >conftest.l <<EOF
5949 %top{
5950 #include "prediluvian.h"
5954 if $FLEX -t conftest.l >/dev/null 2>&5
5955 then
5956 wine_cv_recent_flex=yes
5957 else
5958 wine_cv_recent_flex=no
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5962 $as_echo "$wine_cv_recent_flex" >&6; }
5963 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
5965 for ac_prog in bison
5967 # Extract the first word of "$ac_prog", so it can be a program name with args.
5968 set dummy $ac_prog; ac_word=$2
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5970 $as_echo_n "checking for $ac_word... " >&6; }
5971 if ${ac_cv_prog_BISON+:} false; then :
5972 $as_echo_n "(cached) " >&6
5973 else
5974 if test -n "$BISON"; then
5975 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5976 else
5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5978 for as_dir in $PATH
5980 IFS=$as_save_IFS
5981 test -z "$as_dir" && as_dir=.
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5984 ac_cv_prog_BISON="$ac_prog"
5985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5986 break 2
5988 done
5989 done
5990 IFS=$as_save_IFS
5994 BISON=$ac_cv_prog_BISON
5995 if test -n "$BISON"; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5997 $as_echo "$BISON" >&6; }
5998 else
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 $as_echo "no" >&6; }
6004 test -n "$BISON" && break
6005 done
6006 test -n "$BISON" || BISON="none"
6008 if test "$BISON" = "none"
6009 then
6010 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6013 $as_echo_n "checking whether bison is recent enough... " >&6; }
6014 if ${wine_cv_recent_bison+:} false; then :
6015 $as_echo_n "(cached) " >&6
6016 else
6017 cat >conftest.y <<EOF
6018 %define parse.error verbose
6020 empty: ;
6022 if $BISON conftest.y >/dev/null 2>&5
6023 then
6024 wine_cv_recent_bison=yes
6025 else
6026 wine_cv_recent_bison=no
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6030 $as_echo "$wine_cv_recent_bison" >&6; }
6031 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
6033 if test -n "$ac_tool_prefix"; then
6034 for ac_prog in ar gar
6036 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6037 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6039 $as_echo_n "checking for $ac_word... " >&6; }
6040 if ${ac_cv_prog_AR+:} false; then :
6041 $as_echo_n "(cached) " >&6
6042 else
6043 if test -n "$AR"; then
6044 ac_cv_prog_AR="$AR" # Let the user override the test.
6045 else
6046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 for as_dir in $PATH
6049 IFS=$as_save_IFS
6050 test -z "$as_dir" && as_dir=.
6051 for ac_exec_ext in '' $ac_executable_extensions; do
6052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6053 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6055 break 2
6057 done
6058 done
6059 IFS=$as_save_IFS
6063 AR=$ac_cv_prog_AR
6064 if test -n "$AR"; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6066 $as_echo "$AR" >&6; }
6067 else
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6069 $as_echo "no" >&6; }
6073 test -n "$AR" && break
6074 done
6076 if test -z "$AR"; then
6077 ac_ct_AR=$AR
6078 for ac_prog in ar gar
6080 # Extract the first word of "$ac_prog", so it can be a program name with args.
6081 set dummy $ac_prog; ac_word=$2
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6083 $as_echo_n "checking for $ac_word... " >&6; }
6084 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6085 $as_echo_n "(cached) " >&6
6086 else
6087 if test -n "$ac_ct_AR"; then
6088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6089 else
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 for as_dir in $PATH
6093 IFS=$as_save_IFS
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6097 ac_cv_prog_ac_ct_AR="$ac_prog"
6098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 break 2
6101 done
6102 done
6103 IFS=$as_save_IFS
6107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6108 if test -n "$ac_ct_AR"; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6110 $as_echo "$ac_ct_AR" >&6; }
6111 else
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6113 $as_echo "no" >&6; }
6117 test -n "$ac_ct_AR" && break
6118 done
6120 if test "x$ac_ct_AR" = x; then
6121 AR="ar"
6122 else
6123 case $cross_compiling:$ac_tool_warned in
6124 yes:)
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6126 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6127 ac_tool_warned=yes ;;
6128 esac
6129 AR=$ac_ct_AR
6133 if test -n "$ac_tool_prefix"; then
6134 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6135 set dummy ${ac_tool_prefix}strip; ac_word=$2
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6137 $as_echo_n "checking for $ac_word... " >&6; }
6138 if ${ac_cv_prog_STRIP+:} false; then :
6139 $as_echo_n "(cached) " >&6
6140 else
6141 if test -n "$STRIP"; then
6142 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6143 else
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in $PATH
6147 IFS=$as_save_IFS
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6151 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 IFS=$as_save_IFS
6161 STRIP=$ac_cv_prog_STRIP
6162 if test -n "$STRIP"; then
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6164 $as_echo "$STRIP" >&6; }
6165 else
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 $as_echo "no" >&6; }
6172 if test -z "$ac_cv_prog_STRIP"; then
6173 ac_ct_STRIP=$STRIP
6174 # Extract the first word of "strip", so it can be a program name with args.
6175 set dummy strip; ac_word=$2
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6177 $as_echo_n "checking for $ac_word... " >&6; }
6178 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6179 $as_echo_n "(cached) " >&6
6180 else
6181 if test -n "$ac_ct_STRIP"; then
6182 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6183 else
6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 for as_dir in $PATH
6187 IFS=$as_save_IFS
6188 test -z "$as_dir" && as_dir=.
6189 for ac_exec_ext in '' $ac_executable_extensions; do
6190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6191 ac_cv_prog_ac_ct_STRIP="strip"
6192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6193 break 2
6195 done
6196 done
6197 IFS=$as_save_IFS
6201 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6202 if test -n "$ac_ct_STRIP"; then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6204 $as_echo "$ac_ct_STRIP" >&6; }
6205 else
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6207 $as_echo "no" >&6; }
6210 if test "x$ac_ct_STRIP" = x; then
6211 STRIP="strip"
6212 else
6213 case $cross_compiling:$ac_tool_warned in
6214 yes:)
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6217 ac_tool_warned=yes ;;
6218 esac
6219 STRIP=$ac_ct_STRIP
6221 else
6222 STRIP="$ac_cv_prog_STRIP"
6225 if test -n "$ac_tool_prefix"; then
6226 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6227 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229 $as_echo_n "checking for $ac_word... " >&6; }
6230 if ${ac_cv_prog_RANLIB+:} false; then :
6231 $as_echo_n "(cached) " >&6
6232 else
6233 if test -n "$RANLIB"; then
6234 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6235 else
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 for as_dir in $PATH
6239 IFS=$as_save_IFS
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6243 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6245 break 2
6247 done
6248 done
6249 IFS=$as_save_IFS
6253 RANLIB=$ac_cv_prog_RANLIB
6254 if test -n "$RANLIB"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6256 $as_echo "$RANLIB" >&6; }
6257 else
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6259 $as_echo "no" >&6; }
6264 if test -z "$ac_cv_prog_RANLIB"; then
6265 ac_ct_RANLIB=$RANLIB
6266 # Extract the first word of "ranlib", so it can be a program name with args.
6267 set dummy ranlib; ac_word=$2
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6269 $as_echo_n "checking for $ac_word... " >&6; }
6270 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6271 $as_echo_n "(cached) " >&6
6272 else
6273 if test -n "$ac_ct_RANLIB"; then
6274 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6275 else
6276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6277 for as_dir in $PATH
6279 IFS=$as_save_IFS
6280 test -z "$as_dir" && as_dir=.
6281 for ac_exec_ext in '' $ac_executable_extensions; do
6282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6283 ac_cv_prog_ac_ct_RANLIB="ranlib"
6284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6285 break 2
6287 done
6288 done
6289 IFS=$as_save_IFS
6293 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6294 if test -n "$ac_ct_RANLIB"; then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6296 $as_echo "$ac_ct_RANLIB" >&6; }
6297 else
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6299 $as_echo "no" >&6; }
6302 if test "x$ac_ct_RANLIB" = x; then
6303 RANLIB=":"
6304 else
6305 case $cross_compiling:$ac_tool_warned in
6306 yes:)
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6309 ac_tool_warned=yes ;;
6310 esac
6311 RANLIB=$ac_ct_RANLIB
6313 else
6314 RANLIB="$ac_cv_prog_RANLIB"
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6318 $as_echo_n "checking whether ln -s works... " >&6; }
6319 LN_S=$as_ln_s
6320 if test "$LN_S" = "ln -s"; then
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6322 $as_echo "yes" >&6; }
6323 else
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6325 $as_echo "no, using $LN_S" >&6; }
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6329 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6330 if ${ac_cv_path_GREP+:} false; then :
6331 $as_echo_n "(cached) " >&6
6332 else
6333 if test -z "$GREP"; then
6334 ac_path_GREP_found=false
6335 # Loop through the user's path and test for each of PROGNAME-LIST
6336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6337 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6339 IFS=$as_save_IFS
6340 test -z "$as_dir" && as_dir=.
6341 for ac_prog in grep ggrep; do
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6344 as_fn_executable_p "$ac_path_GREP" || continue
6345 # Check for GNU ac_path_GREP and select it if it is found.
6346 # Check for GNU $ac_path_GREP
6347 case `"$ac_path_GREP" --version 2>&1` in
6348 *GNU*)
6349 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6351 ac_count=0
6352 $as_echo_n 0123456789 >"conftest.in"
6353 while :
6355 cat "conftest.in" "conftest.in" >"conftest.tmp"
6356 mv "conftest.tmp" "conftest.in"
6357 cp "conftest.in" "conftest.nl"
6358 $as_echo 'GREP' >> "conftest.nl"
6359 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6360 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6361 as_fn_arith $ac_count + 1 && ac_count=$as_val
6362 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6363 # Best one so far, save it but keep looking for a better one
6364 ac_cv_path_GREP="$ac_path_GREP"
6365 ac_path_GREP_max=$ac_count
6367 # 10*(2^10) chars as input seems more than enough
6368 test $ac_count -gt 10 && break
6369 done
6370 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6371 esac
6373 $ac_path_GREP_found && break 3
6374 done
6375 done
6376 done
6377 IFS=$as_save_IFS
6378 if test -z "$ac_cv_path_GREP"; then
6379 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6381 else
6382 ac_cv_path_GREP=$GREP
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6387 $as_echo "$ac_cv_path_GREP" >&6; }
6388 GREP="$ac_cv_path_GREP"
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6392 $as_echo_n "checking for egrep... " >&6; }
6393 if ${ac_cv_path_EGREP+:} false; then :
6394 $as_echo_n "(cached) " >&6
6395 else
6396 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6397 then ac_cv_path_EGREP="$GREP -E"
6398 else
6399 if test -z "$EGREP"; then
6400 ac_path_EGREP_found=false
6401 # Loop through the user's path and test for each of PROGNAME-LIST
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6403 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6405 IFS=$as_save_IFS
6406 test -z "$as_dir" && as_dir=.
6407 for ac_prog in egrep; do
6408 for ac_exec_ext in '' $ac_executable_extensions; do
6409 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6410 as_fn_executable_p "$ac_path_EGREP" || continue
6411 # Check for GNU ac_path_EGREP and select it if it is found.
6412 # Check for GNU $ac_path_EGREP
6413 case `"$ac_path_EGREP" --version 2>&1` in
6414 *GNU*)
6415 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6417 ac_count=0
6418 $as_echo_n 0123456789 >"conftest.in"
6419 while :
6421 cat "conftest.in" "conftest.in" >"conftest.tmp"
6422 mv "conftest.tmp" "conftest.in"
6423 cp "conftest.in" "conftest.nl"
6424 $as_echo 'EGREP' >> "conftest.nl"
6425 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6426 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6427 as_fn_arith $ac_count + 1 && ac_count=$as_val
6428 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6429 # Best one so far, save it but keep looking for a better one
6430 ac_cv_path_EGREP="$ac_path_EGREP"
6431 ac_path_EGREP_max=$ac_count
6433 # 10*(2^10) chars as input seems more than enough
6434 test $ac_count -gt 10 && break
6435 done
6436 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6437 esac
6439 $ac_path_EGREP_found && break 3
6440 done
6441 done
6442 done
6443 IFS=$as_save_IFS
6444 if test -z "$ac_cv_path_EGREP"; then
6445 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6447 else
6448 ac_cv_path_EGREP=$EGREP
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6454 $as_echo "$ac_cv_path_EGREP" >&6; }
6455 EGREP="$ac_cv_path_EGREP"
6458 # Extract the first word of "ldconfig", so it can be a program name with args.
6459 set dummy ldconfig; ac_word=$2
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461 $as_echo_n "checking for $ac_word... " >&6; }
6462 if ${ac_cv_path_LDCONFIG+:} false; then :
6463 $as_echo_n "(cached) " >&6
6464 else
6465 case $LDCONFIG in
6466 [\\/]* | ?:[\\/]*)
6467 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6471 for as_dir in /sbin /usr/sbin $PATH
6473 IFS=$as_save_IFS
6474 test -z "$as_dir" && as_dir=.
6475 for ac_exec_ext in '' $ac_executable_extensions; do
6476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6477 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 break 2
6481 done
6482 done
6483 IFS=$as_save_IFS
6485 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6487 esac
6489 LDCONFIG=$ac_cv_path_LDCONFIG
6490 if test -n "$LDCONFIG"; then
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6492 $as_echo "$LDCONFIG" >&6; }
6493 else
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6495 $as_echo "no" >&6; }
6499 for ac_prog in msgfmt
6501 # Extract the first word of "$ac_prog", so it can be a program name with args.
6502 set dummy $ac_prog; ac_word=$2
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6504 $as_echo_n "checking for $ac_word... " >&6; }
6505 if ${ac_cv_prog_MSGFMT+:} false; then :
6506 $as_echo_n "(cached) " >&6
6507 else
6508 if test -n "$MSGFMT"; then
6509 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6510 else
6511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512 for as_dir in $PATH
6514 IFS=$as_save_IFS
6515 test -z "$as_dir" && as_dir=.
6516 for ac_exec_ext in '' $ac_executable_extensions; do
6517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6518 ac_cv_prog_MSGFMT="$ac_prog"
6519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6520 break 2
6522 done
6523 done
6524 IFS=$as_save_IFS
6528 MSGFMT=$ac_cv_prog_MSGFMT
6529 if test -n "$MSGFMT"; then
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6531 $as_echo "$MSGFMT" >&6; }
6532 else
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6534 $as_echo "no" >&6; }
6538 test -n "$MSGFMT" && break
6539 done
6540 test -n "$MSGFMT" || MSGFMT="false"
6542 if ${ac_tool_prefix+:} false; then :
6543 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6544 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 if test -n "$PKG_CONFIG"; then
6551 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6552 else
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 for as_dir in $PATH
6556 IFS=$as_save_IFS
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6560 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 break 2
6564 done
6565 done
6566 IFS=$as_save_IFS
6570 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6571 if test -n "$PKG_CONFIG"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6573 $as_echo "$PKG_CONFIG" >&6; }
6574 else
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6581 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6582 if test "x$cross_compiling" = xyes; then :
6584 else
6585 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6586 # Extract the first word of "pkg-config", so it can be a program name with args.
6587 set dummy pkg-config; ac_word=$2
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6589 $as_echo_n "checking for $ac_word... " >&6; }
6590 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 if test -n "$PKG_CONFIG"; then
6594 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6595 else
6596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597 for as_dir in $PATH
6599 IFS=$as_save_IFS
6600 test -z "$as_dir" && as_dir=.
6601 for ac_exec_ext in '' $ac_executable_extensions; do
6602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6603 ac_cv_prog_PKG_CONFIG="pkg-config"
6604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6605 break 2
6607 done
6608 done
6609 IFS=$as_save_IFS
6613 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6614 if test -n "$PKG_CONFIG"; then
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6616 $as_echo "$PKG_CONFIG" >&6; }
6617 else
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6624 else
6625 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6628 if test "x$enable_maintainer_mode" != "xyes"
6629 then
6630 FONTFORGE=""
6631 RSVG=""
6632 CONVERT=""
6633 ICOTOOL=""
6634 else
6635 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6636 for ac_prog in fontforge
6638 # Extract the first word of "$ac_prog", so it can be a program name with args.
6639 set dummy $ac_prog; ac_word=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641 $as_echo_n "checking for $ac_word... " >&6; }
6642 if ${ac_cv_prog_FONTFORGE+:} false; then :
6643 $as_echo_n "(cached) " >&6
6644 else
6645 if test -n "$FONTFORGE"; then
6646 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6647 else
6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6649 for as_dir in $PATH
6651 IFS=$as_save_IFS
6652 test -z "$as_dir" && as_dir=.
6653 for ac_exec_ext in '' $ac_executable_extensions; do
6654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6655 ac_cv_prog_FONTFORGE="$ac_prog"
6656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6657 break 2
6659 done
6660 done
6661 IFS=$as_save_IFS
6665 FONTFORGE=$ac_cv_prog_FONTFORGE
6666 if test -n "$FONTFORGE"; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6668 $as_echo "$FONTFORGE" >&6; }
6669 else
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6675 test -n "$FONTFORGE" && break
6676 done
6677 test -n "$FONTFORGE" || FONTFORGE="false"
6679 for ac_prog in rsvg-convert rsvg
6681 # Extract the first word of "$ac_prog", so it can be a program name with args.
6682 set dummy $ac_prog; ac_word=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if ${ac_cv_prog_RSVG+:} false; then :
6686 $as_echo_n "(cached) " >&6
6687 else
6688 if test -n "$RSVG"; then
6689 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6690 else
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 for as_dir in $PATH
6694 IFS=$as_save_IFS
6695 test -z "$as_dir" && as_dir=.
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6698 ac_cv_prog_RSVG="$ac_prog"
6699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 break 2
6702 done
6703 done
6704 IFS=$as_save_IFS
6708 RSVG=$ac_cv_prog_RSVG
6709 if test -n "$RSVG"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6711 $as_echo "$RSVG" >&6; }
6712 else
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6718 test -n "$RSVG" && break
6719 done
6720 test -n "$RSVG" || RSVG="false"
6722 for ac_prog in convert
6724 # Extract the first word of "$ac_prog", so it can be a program name with args.
6725 set dummy $ac_prog; ac_word=$2
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6727 $as_echo_n "checking for $ac_word... " >&6; }
6728 if ${ac_cv_prog_CONVERT+:} false; then :
6729 $as_echo_n "(cached) " >&6
6730 else
6731 if test -n "$CONVERT"; then
6732 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6733 else
6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 for as_dir in $PATH
6737 IFS=$as_save_IFS
6738 test -z "$as_dir" && as_dir=.
6739 for ac_exec_ext in '' $ac_executable_extensions; do
6740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6741 ac_cv_prog_CONVERT="$ac_prog"
6742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6743 break 2
6745 done
6746 done
6747 IFS=$as_save_IFS
6751 CONVERT=$ac_cv_prog_CONVERT
6752 if test -n "$CONVERT"; then
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6754 $as_echo "$CONVERT" >&6; }
6755 else
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757 $as_echo "no" >&6; }
6761 test -n "$CONVERT" && break
6762 done
6763 test -n "$CONVERT" || CONVERT="false"
6765 for ac_prog in icotool
6767 # Extract the first word of "$ac_prog", so it can be a program name with args.
6768 set dummy $ac_prog; ac_word=$2
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6770 $as_echo_n "checking for $ac_word... " >&6; }
6771 if ${ac_cv_prog_ICOTOOL+:} false; then :
6772 $as_echo_n "(cached) " >&6
6773 else
6774 if test -n "$ICOTOOL"; then
6775 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6776 else
6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6778 for as_dir in $PATH
6780 IFS=$as_save_IFS
6781 test -z "$as_dir" && as_dir=.
6782 for ac_exec_ext in '' $ac_executable_extensions; do
6783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6784 ac_cv_prog_ICOTOOL="$ac_prog"
6785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6786 break 2
6788 done
6789 done
6790 IFS=$as_save_IFS
6794 ICOTOOL=$ac_cv_prog_ICOTOOL
6795 if test -n "$ICOTOOL"; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6797 $as_echo "$ICOTOOL" >&6; }
6798 else
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6800 $as_echo "no" >&6; }
6804 test -n "$ICOTOOL" && break
6805 done
6806 test -n "$ICOTOOL" || ICOTOOL="false"
6808 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6809 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6811 if test "$CONVERT" = false
6812 then
6813 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6814 else
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6816 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6817 convert_version=`convert --version | head -n1`
6818 if test "x$convert_version" != "x"
6819 then
6820 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6821 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6822 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6823 then
6824 CONVERT=false
6827 if test "$CONVERT" = false
6828 then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6830 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6831 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6832 else
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6834 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6838 if test "$ICOTOOL" = false
6839 then
6840 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6841 else
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6843 $as_echo_n "checking for recent enough icotool... " >&6; }
6844 icotool_version=`icotool --version | head -n1`
6845 if test "x$icotool_version" != "x"
6846 then
6847 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6848 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6849 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6850 then
6851 ICOTOOL=false
6852 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6855 if test "$ICOTOOL" = false
6856 then
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6858 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6859 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6860 else
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6862 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6866 with_gettext=yes
6867 with_gettextpo=yes
6869 enable_werror=yes
6872 test "x$with_gettext" != xno || MSGFMT=false
6873 if test "$MSGFMT" != "false"
6874 then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6876 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6877 if ${wine_cv_msgfmt_contexts+:} false; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6880 cat >conftest.po <<EOF
6881 # comment
6882 msgctxt "ctxt"
6883 msgid "id"
6884 msgstr "str"
6886 if $MSGFMT -o /dev/null conftest.po 2>&5
6887 then
6888 wine_cv_msgfmt_contexts=yes
6889 else
6890 wine_cv_msgfmt_contexts=no
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6894 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6895 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6897 if test "$MSGFMT" = false; then :
6898 case "x$with_gettext" in
6899 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6900 xno) ;;
6901 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6902 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6903 esac
6904 enable_po=${enable_po:-no}
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6909 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6910 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6911 $as_echo_n "(cached) " >&6
6912 else
6913 ac_check_lib_save_LIBS=$LIBS
6914 LIBS="-li386 $LIBS"
6915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6916 /* end confdefs.h. */
6918 /* Override any GCC internal prototype to avoid an error.
6919 Use char because int might match the return type of a GCC
6920 builtin and then its argument prototype would still apply. */
6921 #ifdef __cplusplus
6922 extern "C"
6923 #endif
6924 char i386_set_ldt ();
6926 main ()
6928 return i386_set_ldt ();
6930 return 0;
6932 _ACEOF
6933 if ac_fn_c_try_link "$LINENO"; then :
6934 ac_cv_lib_i386_i386_set_ldt=yes
6935 else
6936 ac_cv_lib_i386_i386_set_ldt=no
6938 rm -f core conftest.err conftest.$ac_objext \
6939 conftest$ac_exeext conftest.$ac_ext
6940 LIBS=$ac_check_lib_save_LIBS
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6943 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6944 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6945 I386_LIBS="-li386"
6950 OPENGL_LIBS=""
6954 # Check whether --enable-largefile was given.
6955 if test "${enable_largefile+set}" = set; then :
6956 enableval=$enable_largefile;
6959 if test "$enable_largefile" != no; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6962 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6963 if ${ac_cv_sys_largefile_CC+:} false; then :
6964 $as_echo_n "(cached) " >&6
6965 else
6966 ac_cv_sys_largefile_CC=no
6967 if test "$GCC" != yes; then
6968 ac_save_CC=$CC
6969 while :; do
6970 # IRIX 6.2 and later do not support large files by default,
6971 # so use the C compiler's -n32 option if that helps.
6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6974 #include <sys/types.h>
6975 /* Check that off_t can represent 2**63 - 1 correctly.
6976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6977 since some C++ compilers masquerading as C compilers
6978 incorrectly reject 9223372036854775807. */
6979 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6981 && LARGE_OFF_T % 2147483647 == 1)
6982 ? 1 : -1];
6984 main ()
6988 return 0;
6990 _ACEOF
6991 if ac_fn_c_try_compile "$LINENO"; then :
6992 break
6994 rm -f core conftest.err conftest.$ac_objext
6995 CC="$CC -n32"
6996 if ac_fn_c_try_compile "$LINENO"; then :
6997 ac_cv_sys_largefile_CC=' -n32'; break
6999 rm -f core conftest.err conftest.$ac_objext
7000 break
7001 done
7002 CC=$ac_save_CC
7003 rm -f conftest.$ac_ext
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7007 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7008 if test "$ac_cv_sys_largefile_CC" != no; then
7009 CC=$CC$ac_cv_sys_largefile_CC
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7013 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7014 if ${ac_cv_sys_file_offset_bits+:} false; then :
7015 $as_echo_n "(cached) " >&6
7016 else
7017 while :; do
7018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h. */
7020 #include <sys/types.h>
7021 /* Check that off_t can represent 2**63 - 1 correctly.
7022 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7023 since some C++ compilers masquerading as C compilers
7024 incorrectly reject 9223372036854775807. */
7025 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7026 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7027 && LARGE_OFF_T % 2147483647 == 1)
7028 ? 1 : -1];
7030 main ()
7034 return 0;
7036 _ACEOF
7037 if ac_fn_c_try_compile "$LINENO"; then :
7038 ac_cv_sys_file_offset_bits=no; break
7040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7042 /* end confdefs.h. */
7043 #define _FILE_OFFSET_BITS 64
7044 #include <sys/types.h>
7045 /* Check that off_t can represent 2**63 - 1 correctly.
7046 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7047 since some C++ compilers masquerading as C compilers
7048 incorrectly reject 9223372036854775807. */
7049 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7050 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7051 && LARGE_OFF_T % 2147483647 == 1)
7052 ? 1 : -1];
7054 main ()
7058 return 0;
7060 _ACEOF
7061 if ac_fn_c_try_compile "$LINENO"; then :
7062 ac_cv_sys_file_offset_bits=64; break
7064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7065 ac_cv_sys_file_offset_bits=unknown
7066 break
7067 done
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7070 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7071 case $ac_cv_sys_file_offset_bits in #(
7072 no | unknown) ;;
7074 cat >>confdefs.h <<_ACEOF
7075 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7076 _ACEOF
7078 esac
7079 rm -rf conftest*
7080 if test $ac_cv_sys_file_offset_bits = unknown; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7082 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7083 if ${ac_cv_sys_large_files+:} false; then :
7084 $as_echo_n "(cached) " >&6
7085 else
7086 while :; do
7087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7088 /* end confdefs.h. */
7089 #include <sys/types.h>
7090 /* Check that off_t can represent 2**63 - 1 correctly.
7091 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7092 since some C++ compilers masquerading as C compilers
7093 incorrectly reject 9223372036854775807. */
7094 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7095 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7096 && LARGE_OFF_T % 2147483647 == 1)
7097 ? 1 : -1];
7099 main ()
7103 return 0;
7105 _ACEOF
7106 if ac_fn_c_try_compile "$LINENO"; then :
7107 ac_cv_sys_large_files=no; break
7109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7111 /* end confdefs.h. */
7112 #define _LARGE_FILES 1
7113 #include <sys/types.h>
7114 /* Check that off_t can represent 2**63 - 1 correctly.
7115 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7116 since some C++ compilers masquerading as C compilers
7117 incorrectly reject 9223372036854775807. */
7118 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7119 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7120 && LARGE_OFF_T % 2147483647 == 1)
7121 ? 1 : -1];
7123 main ()
7127 return 0;
7129 _ACEOF
7130 if ac_fn_c_try_compile "$LINENO"; then :
7131 ac_cv_sys_large_files=1; break
7133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7134 ac_cv_sys_large_files=unknown
7135 break
7136 done
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7139 $as_echo "$ac_cv_sys_large_files" >&6; }
7140 case $ac_cv_sys_large_files in #(
7141 no | unknown) ;;
7143 cat >>confdefs.h <<_ACEOF
7144 #define _LARGE_FILES $ac_cv_sys_large_files
7145 _ACEOF
7147 esac
7148 rm -rf conftest*
7155 ac_ext=c
7156 ac_cpp='$CPP $CPPFLAGS'
7157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7161 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7162 # On Suns, sometimes $CPP names a directory.
7163 if test -n "$CPP" && test -d "$CPP"; then
7164 CPP=
7166 if test -z "$CPP"; then
7167 if ${ac_cv_prog_CPP+:} false; then :
7168 $as_echo_n "(cached) " >&6
7169 else
7170 # Double quotes because CPP needs to be expanded
7171 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7173 ac_preproc_ok=false
7174 for ac_c_preproc_warn_flag in '' yes
7176 # Use a header file that comes with gcc, so configuring glibc
7177 # with a fresh cross-compiler works.
7178 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7179 # <limits.h> exists even on freestanding compilers.
7180 # On the NeXT, cc -E runs the code through the compiler's parser,
7181 # not just through cpp. "Syntax error" is here to catch this case.
7182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7183 /* end confdefs.h. */
7184 #ifdef __STDC__
7185 # include <limits.h>
7186 #else
7187 # include <assert.h>
7188 #endif
7189 Syntax error
7190 _ACEOF
7191 if ac_fn_c_try_cpp "$LINENO"; then :
7193 else
7194 # Broken: fails on valid input.
7195 continue
7197 rm -f conftest.err conftest.i conftest.$ac_ext
7199 # OK, works on sane cases. Now check whether nonexistent headers
7200 # can be detected and how.
7201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7202 /* end confdefs.h. */
7203 #include <ac_nonexistent.h>
7204 _ACEOF
7205 if ac_fn_c_try_cpp "$LINENO"; then :
7206 # Broken: success on invalid input.
7207 continue
7208 else
7209 # Passes both tests.
7210 ac_preproc_ok=:
7211 break
7213 rm -f conftest.err conftest.i conftest.$ac_ext
7215 done
7216 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7217 rm -f conftest.i conftest.err conftest.$ac_ext
7218 if $ac_preproc_ok; then :
7219 break
7222 done
7223 ac_cv_prog_CPP=$CPP
7226 CPP=$ac_cv_prog_CPP
7227 else
7228 ac_cv_prog_CPP=$CPP
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7231 $as_echo "$CPP" >&6; }
7232 ac_preproc_ok=false
7233 for ac_c_preproc_warn_flag in '' yes
7235 # Use a header file that comes with gcc, so configuring glibc
7236 # with a fresh cross-compiler works.
7237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7238 # <limits.h> exists even on freestanding compilers.
7239 # On the NeXT, cc -E runs the code through the compiler's parser,
7240 # not just through cpp. "Syntax error" is here to catch this case.
7241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242 /* end confdefs.h. */
7243 #ifdef __STDC__
7244 # include <limits.h>
7245 #else
7246 # include <assert.h>
7247 #endif
7248 Syntax error
7249 _ACEOF
7250 if ac_fn_c_try_cpp "$LINENO"; then :
7252 else
7253 # Broken: fails on valid input.
7254 continue
7256 rm -f conftest.err conftest.i conftest.$ac_ext
7258 # OK, works on sane cases. Now check whether nonexistent headers
7259 # can be detected and how.
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7262 #include <ac_nonexistent.h>
7263 _ACEOF
7264 if ac_fn_c_try_cpp "$LINENO"; then :
7265 # Broken: success on invalid input.
7266 continue
7267 else
7268 # Passes both tests.
7269 ac_preproc_ok=:
7270 break
7272 rm -f conftest.err conftest.i conftest.$ac_ext
7274 done
7275 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7276 rm -f conftest.i conftest.err conftest.$ac_ext
7277 if $ac_preproc_ok; then :
7279 else
7280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7282 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7283 See \`config.log' for more details" "$LINENO" 5; }
7286 ac_ext=c
7287 ac_cpp='$CPP $CPPFLAGS'
7288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7294 $as_echo_n "checking for ANSI C header files... " >&6; }
7295 if ${ac_cv_header_stdc+:} false; then :
7296 $as_echo_n "(cached) " >&6
7297 else
7298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7299 /* end confdefs.h. */
7300 #include <stdlib.h>
7301 #include <stdarg.h>
7302 #include <string.h>
7303 #include <float.h>
7306 main ()
7310 return 0;
7312 _ACEOF
7313 if ac_fn_c_try_compile "$LINENO"; then :
7314 ac_cv_header_stdc=yes
7315 else
7316 ac_cv_header_stdc=no
7318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7320 if test $ac_cv_header_stdc = yes; then
7321 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7323 /* end confdefs.h. */
7324 #include <string.h>
7326 _ACEOF
7327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7328 $EGREP "memchr" >/dev/null 2>&1; then :
7330 else
7331 ac_cv_header_stdc=no
7333 rm -f conftest*
7337 if test $ac_cv_header_stdc = yes; then
7338 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7340 /* end confdefs.h. */
7341 #include <stdlib.h>
7343 _ACEOF
7344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7345 $EGREP "free" >/dev/null 2>&1; then :
7347 else
7348 ac_cv_header_stdc=no
7350 rm -f conftest*
7354 if test $ac_cv_header_stdc = yes; then
7355 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7356 if test "$cross_compiling" = yes; then :
7358 else
7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h. */
7361 #include <ctype.h>
7362 #include <stdlib.h>
7363 #if ((' ' & 0x0FF) == 0x020)
7364 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7365 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7366 #else
7367 # define ISLOWER(c) \
7368 (('a' <= (c) && (c) <= 'i') \
7369 || ('j' <= (c) && (c) <= 'r') \
7370 || ('s' <= (c) && (c) <= 'z'))
7371 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7372 #endif
7374 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7376 main ()
7378 int i;
7379 for (i = 0; i < 256; i++)
7380 if (XOR (islower (i), ISLOWER (i))
7381 || toupper (i) != TOUPPER (i))
7382 return 2;
7383 return 0;
7385 _ACEOF
7386 if ac_fn_c_try_run "$LINENO"; then :
7388 else
7389 ac_cv_header_stdc=no
7391 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7392 conftest.$ac_objext conftest.beam conftest.$ac_ext
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7398 $as_echo "$ac_cv_header_stdc" >&6; }
7399 if test $ac_cv_header_stdc = yes; then
7401 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7405 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7406 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7407 inttypes.h stdint.h unistd.h
7408 do :
7409 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7410 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7412 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7413 cat >>confdefs.h <<_ACEOF
7414 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7415 _ACEOF
7419 done
7422 for ac_header in \
7423 AL/al.h \
7424 ApplicationServices/ApplicationServices.h \
7425 AudioToolbox/AudioConverter.h \
7426 AudioUnit/AudioUnit.h \
7427 AudioUnit/AudioComponent.h \
7428 CL/cl.h \
7429 Carbon/Carbon.h \
7430 CommonCrypto/CommonCryptor.h \
7431 CoreAudio/CoreAudio.h \
7432 DiskArbitration/DiskArbitration.h \
7433 EGL/egl.h \
7434 IOKit/IOKitLib.h \
7435 IOKit/hid/IOHIDLib.h \
7436 OpenAL/al.h \
7437 OpenCL/opencl.h \
7438 QuickTime/ImageCompression.h \
7439 Security/Security.h \
7440 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7441 SystemConfiguration/SCNetworkConfiguration.h \
7442 alias.h \
7443 arpa/inet.h \
7444 arpa/nameser.h \
7445 asm/types.h \
7446 asm/user.h \
7447 dirent.h \
7448 dlfcn.h \
7449 elf.h \
7450 float.h \
7451 fnmatch.h \
7452 getopt.h \
7453 gettext-po.h \
7454 grp.h \
7455 gsm.h \
7456 gsm/gsm.h \
7457 ieeefp.h \
7458 inet/mib2.h \
7459 kstat.h \
7460 libproc.h \
7461 link.h \
7462 linux/cdrom.h \
7463 linux/filter.h \
7464 linux/hdreg.h \
7465 linux/hidraw.h \
7466 linux/input.h \
7467 linux/ioctl.h \
7468 linux/joystick.h \
7469 linux/major.h \
7470 linux/param.h \
7471 linux/serial.h \
7472 linux/types.h \
7473 linux/ucdrom.h \
7474 lwp.h \
7475 mach-o/loader.h \
7476 mach/mach.h \
7477 machine/cpu.h \
7478 machine/sysarch.h \
7479 mntent.h \
7480 netdb.h \
7481 netinet/in.h \
7482 netinet/in_systm.h \
7483 netinet/tcp.h \
7484 netinet/tcp_fsm.h \
7485 pcap/pcap.h \
7486 poll.h \
7487 port.h \
7488 pthread.h \
7489 pwd.h \
7490 sasl/sasl.h \
7491 sched.h \
7492 scsi/scsi.h \
7493 scsi/scsi_ioctl.h \
7494 scsi/sg.h \
7495 stdint.h \
7496 stropts.h \
7497 sys/attr.h \
7498 sys/auxv.h \
7499 sys/cdio.h \
7500 sys/epoll.h \
7501 sys/event.h \
7502 sys/filio.h \
7503 sys/ioctl.h \
7504 sys/ipc.h \
7505 sys/link.h \
7506 sys/mman.h \
7507 sys/modem.h \
7508 sys/msg.h \
7509 sys/mtio.h \
7510 sys/param.h \
7511 sys/poll.h \
7512 sys/prctl.h \
7513 sys/protosw.h \
7514 sys/ptrace.h \
7515 sys/queue.h \
7516 sys/random.h \
7517 sys/resource.h \
7518 sys/scsiio.h \
7519 sys/shm.h \
7520 sys/signal.h \
7521 sys/socket.h \
7522 sys/socketvar.h \
7523 sys/sockio.h \
7524 sys/statvfs.h \
7525 sys/strtio.h \
7526 sys/syscall.h \
7527 sys/sysinfo.h \
7528 sys/tihdr.h \
7529 sys/time.h \
7530 sys/timeout.h \
7531 sys/times.h \
7532 sys/uio.h \
7533 sys/user.h \
7534 sys/utsname.h \
7535 sys/vnode.h \
7536 sys/wait.h \
7537 syscall.h \
7538 termios.h \
7539 unistd.h \
7540 utime.h \
7541 valgrind/memcheck.h \
7542 valgrind/valgrind.h
7544 do :
7545 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7546 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7547 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7548 cat >>confdefs.h <<_ACEOF
7549 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7550 _ACEOF
7554 done
7556 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7557 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7559 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7564 if test $ac_cv_header_sys_mkdev_h = no; then
7565 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7566 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7568 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7575 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7576 if ${ac_cv_header_stat_broken+:} false; then :
7577 $as_echo_n "(cached) " >&6
7578 else
7579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580 /* end confdefs.h. */
7581 #include <sys/types.h>
7582 #include <sys/stat.h>
7584 #if defined S_ISBLK && defined S_IFDIR
7585 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7586 #endif
7588 #if defined S_ISBLK && defined S_IFCHR
7589 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7590 #endif
7592 #if defined S_ISLNK && defined S_IFREG
7593 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7594 #endif
7596 #if defined S_ISSOCK && defined S_IFREG
7597 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7598 #endif
7600 _ACEOF
7601 if ac_fn_c_try_compile "$LINENO"; then :
7602 ac_cv_header_stat_broken=no
7603 else
7604 ac_cv_header_stat_broken=yes
7606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7609 $as_echo "$ac_cv_header_stat_broken" >&6; }
7610 if test $ac_cv_header_stat_broken = yes; then
7612 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7618 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7619 do :
7620 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7621 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7622 #ifdef HAVE_SYS_PARAM_H
7623 # include <sys/param.h>
7624 #endif
7626 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7627 cat >>confdefs.h <<_ACEOF
7628 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7629 _ACEOF
7633 done
7636 saved_sysctl_h_CFLAGS=$CFLAGS
7637 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7638 for ac_header in sys/sysctl.h
7639 do :
7640 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7641 #ifdef HAVE_SYS_PARAM_H
7642 # include <sys/param.h>
7643 #endif
7645 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7646 cat >>confdefs.h <<_ACEOF
7647 #define HAVE_SYS_SYSCTL_H 1
7648 _ACEOF
7652 done
7654 CFLAGS=$saved_sysctl_h_CFLAGS
7656 for ac_header in \
7657 netinet/ip.h \
7658 net/if.h \
7659 net/if_arp.h \
7660 net/if_dl.h \
7661 net/if_types.h \
7662 net/route.h \
7663 netinet/if_ether.h \
7664 netinet/if_inarp.h \
7665 netinet/in_pcb.h \
7666 netinet/ip_icmp.h \
7667 netinet/ip_var.h \
7668 netinet/udp.h \
7669 netipx/ipx.h \
7670 sys/un.h \
7672 do :
7673 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7674 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7675 #ifdef HAVE_SYS_SOCKET_H
7676 # include <sys/socket.h>
7677 #endif
7678 #ifdef HAVE_SYS_SOCKETVAR_H
7679 # include <sys/socketvar.h>
7680 #endif
7681 #ifdef HAVE_NET_ROUTE_H
7682 # include <net/route.h>
7683 #endif
7684 #ifdef HAVE_NETINET_IN_H
7685 # include <netinet/in.h>
7686 #endif
7687 #ifdef HAVE_NETINET_IN_SYSTM_H
7688 # include <netinet/in_systm.h>
7689 #endif
7690 #ifdef HAVE_NET_IF_H
7691 # include <net/if.h>
7692 #endif
7693 #ifdef HAVE_NETINET_IP_H
7694 # include <netinet/ip.h>
7695 #endif
7697 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7698 cat >>confdefs.h <<_ACEOF
7699 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7700 _ACEOF
7704 done
7707 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7708 do :
7709 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7710 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7711 #ifdef HAVE_ALIAS_H
7712 # include <alias.h>
7713 #endif
7714 #ifdef HAVE_SYS_SOCKET_H
7715 # include <sys/socket.h>
7716 #endif
7717 #ifdef HAVE_SYS_SOCKETVAR_H
7718 # include <sys/socketvar.h>
7719 #endif
7720 #ifdef HAVE_SYS_TIMEOUT_H
7721 # include <sys/timeout.h>
7722 #endif
7723 #ifdef HAVE_NETINET_IN_H
7724 # include <netinet/in.h>
7725 #endif
7726 #ifdef HAVE_NETINET_IN_SYSTM_H
7727 # include <netinet/in_systm.h>
7728 #endif
7729 #ifdef HAVE_NETINET_IP_H
7730 # include <netinet/ip.h>
7731 #endif
7732 #ifdef HAVE_NETINET_IP_VAR_H
7733 # include <netinet/ip_var.h>
7734 #endif
7735 #ifdef HAVE_NETINET_IP_ICMP_H
7736 # include <netinet/ip_icmp.h>
7737 #endif
7738 #ifdef HAVE_NETINET_UDP_H
7739 # include <netinet/udp.h>
7740 #endif
7741 #ifdef HAVE_NETINET_TCP_H
7742 # include <netinet/tcp.h>
7743 #endif
7744 #ifdef HAVE_NETINET_TCP_TIMER_H
7745 #include <netinet/tcp_timer.h>
7746 #endif
7748 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7749 cat >>confdefs.h <<_ACEOF
7750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7751 _ACEOF
7755 done
7758 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7759 do :
7760 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7761 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7762 #ifdef HAVE_ASM_TYPES_H
7763 # include <asm/types.h>
7764 #endif
7765 #ifdef HAVE_SYS_SOCKET_H
7766 # include <sys/socket.h>
7767 #endif
7768 #ifdef HAVE_LINUX_TYPES_H
7769 # include <linux/types.h>
7770 #endif
7772 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7773 cat >>confdefs.h <<_ACEOF
7774 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7775 _ACEOF
7779 done
7782 for ac_header in resolv.h
7783 do :
7784 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7785 #ifdef HAVE_SYS_SOCKET_H
7786 # include <sys/socket.h>
7787 #endif
7788 #ifdef HAVE_NETINET_IN_H
7789 # include <netinet/in.h>
7790 #endif
7791 #ifdef HAVE_ARPA_NAMESER_H
7792 # include <arpa/nameser.h>
7793 #endif
7795 if test "x$ac_cv_header_resolv_h" = xyes; then :
7796 cat >>confdefs.h <<_ACEOF
7797 #define HAVE_RESOLV_H 1
7798 _ACEOF
7802 done
7805 for ac_header in ifaddrs.h
7806 do :
7807 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7809 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7810 cat >>confdefs.h <<_ACEOF
7811 #define HAVE_IFADDRS_H 1
7812 _ACEOF
7816 done
7819 for ac_header in sys/ucontext.h
7820 do :
7821 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7823 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7824 cat >>confdefs.h <<_ACEOF
7825 #define HAVE_SYS_UCONTEXT_H 1
7826 _ACEOF
7830 done
7833 for ac_header in sys/thr.h
7834 do :
7835 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7836 #ifdef HAVE_SYS_UCONTEXT_H
7837 #include <sys/ucontext.h>
7838 #endif
7840 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7841 cat >>confdefs.h <<_ACEOF
7842 #define HAVE_SYS_THR_H 1
7843 _ACEOF
7847 done
7850 for ac_header in pthread_np.h
7851 do :
7852 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7853 #include <pthread.h>
7854 #endif
7856 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7857 cat >>confdefs.h <<_ACEOF
7858 #define HAVE_PTHREAD_NP_H 1
7859 _ACEOF
7863 done
7866 for ac_header in linux/videodev2.h
7867 do :
7868 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7869 #include <sys/time.h>
7870 #endif
7871 #include <sys/types.h>
7872 #ifdef HAVE_ASM_TYPES_H
7873 #include <asm/types.h>
7874 #endif
7876 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7877 cat >>confdefs.h <<_ACEOF
7878 #define HAVE_LINUX_VIDEODEV2_H 1
7879 _ACEOF
7883 done
7886 for ac_header in libprocstat.h
7887 do :
7888 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7889 #include <sys/param.h>
7890 #endif
7891 #ifdef HAVE_SYS_QUEUE_H
7892 #include <sys/queue.h>
7893 #endif
7894 #ifdef HAVE_SYS_SOCKET_H
7895 #include <sys/socket.h>
7896 #endif
7898 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7899 cat >>confdefs.h <<_ACEOF
7900 #define HAVE_LIBPROCSTAT_H 1
7901 _ACEOF
7905 done
7909 DLLFLAGS="-D_REENTRANT"
7911 LDDLLFLAGS=""
7913 LDEXECFLAGS=""
7915 TOP_INSTALL_LIB=""
7917 TOP_INSTALL_DEV=""
7919 WINELOADER_LDFLAGS=""
7921 WINEPRELOADER_LDFLAGS=""
7923 LIBEXT="so"
7924 DLLEXT=".so"
7925 # Extract the first word of "ldd", so it can be a program name with args.
7926 set dummy ldd; ac_word=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 $as_echo_n "checking for $ac_word... " >&6; }
7929 if ${ac_cv_path_LDD+:} false; then :
7930 $as_echo_n "(cached) " >&6
7931 else
7932 case $LDD in
7933 [\\/]* | ?:[\\/]*)
7934 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7938 as_dummy="/sbin:/usr/sbin:$PATH"
7939 for as_dir in $as_dummy
7941 IFS=$as_save_IFS
7942 test -z "$as_dir" && as_dir=.
7943 for ac_exec_ext in '' $ac_executable_extensions; do
7944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7945 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 break 2
7949 done
7950 done
7951 IFS=$as_save_IFS
7953 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7955 esac
7957 LDD=$ac_cv_path_LDD
7958 if test -n "$LDD"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7960 $as_echo "$LDD" >&6; }
7961 else
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7963 $as_echo "no" >&6; }
7967 if test -n "$ac_tool_prefix"; then
7968 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7969 set dummy ${ac_tool_prefix}otool; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_prog_OTOOL+:} false; then :
7973 $as_echo_n "(cached) " >&6
7974 else
7975 if test -n "$OTOOL"; then
7976 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7977 else
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979 for as_dir in $PATH
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_prog_OTOOL="${ac_tool_prefix}otool"
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
7995 OTOOL=$ac_cv_prog_OTOOL
7996 if test -n "$OTOOL"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7998 $as_echo "$OTOOL" >&6; }
7999 else
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8006 if test -z "$ac_cv_prog_OTOOL"; then
8007 ac_ct_OTOOL=$OTOOL
8008 # Extract the first word of "otool", so it can be a program name with args.
8009 set dummy 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_ac_ct_OTOOL+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 if test -n "$ac_ct_OTOOL"; then
8016 ac_cv_prog_ac_ct_OTOOL="$ac_ct_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_ac_ct_OTOOL="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 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8036 if test -n "$ac_ct_OTOOL"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8038 $as_echo "$ac_ct_OTOOL" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8044 if test "x$ac_ct_OTOOL" = x; then
8045 OTOOL="otool"
8046 else
8047 case $cross_compiling:$ac_tool_warned in
8048 yes:)
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8051 ac_tool_warned=yes ;;
8052 esac
8053 OTOOL=$ac_ct_OTOOL
8055 else
8056 OTOOL="$ac_cv_prog_OTOOL"
8059 if test -n "$ac_tool_prefix"; then
8060 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8061 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063 $as_echo_n "checking for $ac_word... " >&6; }
8064 if ${ac_cv_prog_READELF+:} false; then :
8065 $as_echo_n "(cached) " >&6
8066 else
8067 if test -n "$READELF"; then
8068 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8069 else
8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071 for as_dir in $PATH
8073 IFS=$as_save_IFS
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 break 2
8081 done
8082 done
8083 IFS=$as_save_IFS
8087 READELF=$ac_cv_prog_READELF
8088 if test -n "$READELF"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8090 $as_echo "$READELF" >&6; }
8091 else
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8098 if test -z "$ac_cv_prog_READELF"; then
8099 ac_ct_READELF=$READELF
8100 # Extract the first word of "readelf", so it can be a program name with args.
8101 set dummy 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_ac_ct_READELF+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 if test -n "$ac_ct_READELF"; then
8108 ac_cv_prog_ac_ct_READELF="$ac_ct_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_ac_ct_READELF="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 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8128 if test -n "$ac_ct_READELF"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8130 $as_echo "$ac_ct_READELF" >&6; }
8131 else
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8136 if test "x$ac_ct_READELF" = x; then
8137 READELF="true"
8138 else
8139 case $cross_compiling:$ac_tool_warned in
8140 yes:)
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8143 ac_tool_warned=yes ;;
8144 esac
8145 READELF=$ac_ct_READELF
8147 else
8148 READELF="$ac_cv_prog_READELF"
8151 wine_rules_file=conf$$rules.make
8152 rm -f $wine_rules_file
8153 SUBDIRS=""
8155 DISABLED_SUBDIRS=""
8157 CONFIGURE_TARGETS=""
8160 wine_fn_append_file ()
8162 as_fn_append $1 " \\$as_nl $2"
8165 wine_fn_append_rule ()
8167 $as_echo "$1" >>$wine_rules_file
8170 wine_fn_config_makefile ()
8172 wine_fn_append_file SUBDIRS $1
8173 if eval test \"x\$"$2"\" = x"no"; then :
8174 wine_fn_append_file DISABLED_SUBDIRS $1
8178 wine_fn_config_symlink ()
8180 ac_links=$@
8181 wine_fn_append_rule \
8182 "$ac_links:
8183 @./config.status \$@"
8184 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8187 wine_binary="wine"
8188 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8189 WINELOADER_PROGRAMS="$wine_binary"
8191 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8193 case $host_os in
8194 cygwin*|mingw32*)
8195 if test -n "$ac_tool_prefix"; then
8196 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8197 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8199 $as_echo_n "checking for $ac_word... " >&6; }
8200 if ${ac_cv_prog_DLLTOOL+:} false; then :
8201 $as_echo_n "(cached) " >&6
8202 else
8203 if test -n "$DLLTOOL"; then
8204 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8205 else
8206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8207 for as_dir in $PATH
8209 IFS=$as_save_IFS
8210 test -z "$as_dir" && as_dir=.
8211 for ac_exec_ext in '' $ac_executable_extensions; do
8212 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8213 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8214 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8215 break 2
8217 done
8218 done
8219 IFS=$as_save_IFS
8223 DLLTOOL=$ac_cv_prog_DLLTOOL
8224 if test -n "$DLLTOOL"; then
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8226 $as_echo "$DLLTOOL" >&6; }
8227 else
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8229 $as_echo "no" >&6; }
8234 if test -z "$ac_cv_prog_DLLTOOL"; then
8235 ac_ct_DLLTOOL=$DLLTOOL
8236 # Extract the first word of "dlltool", so it can be a program name with args.
8237 set dummy 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_ac_ct_DLLTOOL+:} false; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 if test -n "$ac_ct_DLLTOOL"; then
8244 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_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_ac_ct_DLLTOOL="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 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8264 if test -n "$ac_ct_DLLTOOL"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8266 $as_echo "$ac_ct_DLLTOOL" >&6; }
8267 else
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8269 $as_echo "no" >&6; }
8272 if test "x$ac_ct_DLLTOOL" = x; then
8273 DLLTOOL="false"
8274 else
8275 case $cross_compiling:$ac_tool_warned in
8276 yes:)
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8279 ac_tool_warned=yes ;;
8280 esac
8281 DLLTOOL=$ac_ct_DLLTOOL
8283 else
8284 DLLTOOL="$ac_cv_prog_DLLTOOL"
8287 LIBEXT="dll"
8288 DLLEXT=""
8289 case $host_cpu in
8290 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8291 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8292 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8293 $as_echo_n "(cached) " >&6
8294 else
8295 ac_wine_try_cflags_saved=$CFLAGS
8296 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8299 int main(int argc, char **argv) { return 0; }
8300 _ACEOF
8301 if ac_fn_c_try_link "$LINENO"; then :
8302 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8303 else
8304 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8306 rm -f core conftest.err conftest.$ac_objext \
8307 conftest$ac_exeext conftest.$ac_ext
8308 CFLAGS=$ac_wine_try_cflags_saved
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8311 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8312 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8313 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8314 fi ;;
8315 esac
8316 enable_iphlpapi=${enable_iphlpapi:-no}
8317 enable_ws2_32=${enable_ws2_32:-no}
8318 enable_loader=${enable_loader:-no}
8319 enable_server=${enable_server:-no}
8320 with_x=${with_x:-no}
8321 with_pthread=${with_pthread:-no}
8324 darwin*|macosx*)
8325 ac_ext=m
8326 ac_cpp='$OBJCPP $CPPFLAGS'
8327 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8328 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8329 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8331 ac_ext=m
8332 ac_cpp='$OBJCPP $CPPFLAGS'
8333 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8334 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8335 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8336 if test -n "$ac_tool_prefix"; then
8337 for ac_prog in gcc objcc objc cc CC
8339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8340 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8342 $as_echo_n "checking for $ac_word... " >&6; }
8343 if ${ac_cv_prog_OBJC+:} false; then :
8344 $as_echo_n "(cached) " >&6
8345 else
8346 if test -n "$OBJC"; then
8347 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8348 else
8349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8350 for as_dir in $PATH
8352 IFS=$as_save_IFS
8353 test -z "$as_dir" && as_dir=.
8354 for ac_exec_ext in '' $ac_executable_extensions; do
8355 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8356 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8358 break 2
8360 done
8361 done
8362 IFS=$as_save_IFS
8366 OBJC=$ac_cv_prog_OBJC
8367 if test -n "$OBJC"; then
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8369 $as_echo "$OBJC" >&6; }
8370 else
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8376 test -n "$OBJC" && break
8377 done
8379 if test -z "$OBJC"; then
8380 ac_ct_OBJC=$OBJC
8381 for ac_prog in gcc objcc objc cc CC
8383 # Extract the first word of "$ac_prog", so it can be a program name with args.
8384 set dummy $ac_prog; ac_word=$2
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8386 $as_echo_n "checking for $ac_word... " >&6; }
8387 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8388 $as_echo_n "(cached) " >&6
8389 else
8390 if test -n "$ac_ct_OBJC"; then
8391 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8392 else
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8394 for as_dir in $PATH
8396 IFS=$as_save_IFS
8397 test -z "$as_dir" && as_dir=.
8398 for ac_exec_ext in '' $ac_executable_extensions; do
8399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8400 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8402 break 2
8404 done
8405 done
8406 IFS=$as_save_IFS
8410 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8411 if test -n "$ac_ct_OBJC"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8413 $as_echo "$ac_ct_OBJC" >&6; }
8414 else
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8416 $as_echo "no" >&6; }
8420 test -n "$ac_ct_OBJC" && break
8421 done
8423 if test "x$ac_ct_OBJC" = x; then
8424 OBJC="gcc"
8425 else
8426 case $cross_compiling:$ac_tool_warned in
8427 yes:)
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8430 ac_tool_warned=yes ;;
8431 esac
8432 OBJC=$ac_ct_OBJC
8436 # Provide some information about the compiler.
8437 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8438 set X $ac_compile
8439 ac_compiler=$2
8440 for ac_option in --version -v -V -qversion; do
8441 { { ac_try="$ac_compiler $ac_option >&5"
8442 case "(($ac_try" in
8443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8444 *) ac_try_echo=$ac_try;;
8445 esac
8446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8447 $as_echo "$ac_try_echo"; } >&5
8448 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8449 ac_status=$?
8450 if test -s conftest.err; then
8451 sed '10a\
8452 ... rest of stderr output deleted ...
8453 10q' conftest.err >conftest.er1
8454 cat conftest.er1 >&5
8456 rm -f conftest.er1 conftest.err
8457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8458 test $ac_status = 0; }
8459 done
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8462 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8463 if ${ac_cv_objc_compiler_gnu+:} false; then :
8464 $as_echo_n "(cached) " >&6
8465 else
8466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8470 main ()
8472 #ifndef __GNUC__
8473 choke me
8474 #endif
8477 return 0;
8479 _ACEOF
8480 if ac_fn_objc_try_compile "$LINENO"; then :
8481 ac_compiler_gnu=yes
8482 else
8483 ac_compiler_gnu=no
8485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8486 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8490 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8491 if test $ac_compiler_gnu = yes; then
8492 GOBJC=yes
8493 else
8494 GOBJC=
8496 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8497 ac_save_OBJCFLAGS=$OBJCFLAGS
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8499 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8500 if ${ac_cv_prog_objc_g+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 ac_save_objc_werror_flag=$ac_objc_werror_flag
8504 ac_objc_werror_flag=yes
8505 ac_cv_prog_objc_g=no
8506 OBJCFLAGS="-g"
8507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8511 main ()
8515 return 0;
8517 _ACEOF
8518 if ac_fn_objc_try_compile "$LINENO"; then :
8519 ac_cv_prog_objc_g=yes
8520 else
8521 OBJCFLAGS=""
8522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8526 main ()
8530 return 0;
8532 _ACEOF
8533 if ac_fn_objc_try_compile "$LINENO"; then :
8535 else
8536 ac_objc_werror_flag=$ac_save_objc_werror_flag
8537 OBJCFLAGS="-g"
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8542 main ()
8546 return 0;
8548 _ACEOF
8549 if ac_fn_objc_try_compile "$LINENO"; then :
8550 ac_cv_prog_objc_g=yes
8552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 ac_objc_werror_flag=$ac_save_objc_werror_flag
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8560 $as_echo "$ac_cv_prog_objc_g" >&6; }
8561 if test "$ac_test_OBJCFLAGS" = set; then
8562 OBJCFLAGS=$ac_save_OBJCFLAGS
8563 elif test $ac_cv_prog_objc_g = yes; then
8564 if test "$GOBJC" = yes; then
8565 OBJCFLAGS="-g -O2"
8566 else
8567 OBJCFLAGS="-g"
8569 else
8570 if test "$GOBJC" = yes; then
8571 OBJCFLAGS="-O2"
8572 else
8573 OBJCFLAGS=
8576 ac_ext=m
8577 ac_cpp='$OBJCPP $CPPFLAGS'
8578 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8579 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8580 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8583 ac_ext=m
8584 ac_cpp='$OBJCPP $CPPFLAGS'
8585 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8586 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8587 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8589 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8590 if test -z "$OBJCPP"; then
8591 if ${ac_cv_prog_OBJCPP+:} false; then :
8592 $as_echo_n "(cached) " >&6
8593 else
8594 # Double quotes because OBJCPP needs to be expanded
8595 for OBJCPP in "$OBJC -E" "/lib/cpp"
8597 ac_preproc_ok=false
8598 for ac_objc_preproc_warn_flag in '' yes
8600 # Use a header file that comes with gcc, so configuring glibc
8601 # with a fresh cross-compiler works.
8602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8603 # <limits.h> exists even on freestanding compilers.
8604 # On the NeXT, cc -E runs the code through the compiler's parser,
8605 # not just through cpp. "Syntax error" is here to catch this case.
8606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8607 /* end confdefs.h. */
8608 #ifdef __STDC__
8609 # include <limits.h>
8610 #else
8611 # include <assert.h>
8612 #endif
8613 Syntax error
8614 _ACEOF
8615 if ac_fn_objc_try_cpp "$LINENO"; then :
8617 else
8618 # Broken: fails on valid input.
8619 continue
8621 rm -f conftest.err conftest.i conftest.$ac_ext
8623 # OK, works on sane cases. Now check whether nonexistent headers
8624 # can be detected and how.
8625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8626 /* end confdefs.h. */
8627 #include <ac_nonexistent.h>
8628 _ACEOF
8629 if ac_fn_objc_try_cpp "$LINENO"; then :
8630 # Broken: success on invalid input.
8631 continue
8632 else
8633 # Passes both tests.
8634 ac_preproc_ok=:
8635 break
8637 rm -f conftest.err conftest.i conftest.$ac_ext
8639 done
8640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8641 rm -f conftest.i conftest.err conftest.$ac_ext
8642 if $ac_preproc_ok; then :
8643 break
8646 done
8647 ac_cv_prog_OBJCPP=$OBJCPP
8650 OBJCPP=$ac_cv_prog_OBJCPP
8651 else
8652 ac_cv_prog_OBJCPP=$OBJCPP
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8655 $as_echo "$OBJCPP" >&6; }
8656 ac_preproc_ok=false
8657 for ac_objc_preproc_warn_flag in '' yes
8659 # Use a header file that comes with gcc, so configuring glibc
8660 # with a fresh cross-compiler works.
8661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8662 # <limits.h> exists even on freestanding compilers.
8663 # On the NeXT, cc -E runs the code through the compiler's parser,
8664 # not just through cpp. "Syntax error" is here to catch this case.
8665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8666 /* end confdefs.h. */
8667 #ifdef __STDC__
8668 # include <limits.h>
8669 #else
8670 # include <assert.h>
8671 #endif
8672 Syntax error
8673 _ACEOF
8674 if ac_fn_objc_try_cpp "$LINENO"; then :
8676 else
8677 # Broken: fails on valid input.
8678 continue
8680 rm -f conftest.err conftest.i conftest.$ac_ext
8682 # OK, works on sane cases. Now check whether nonexistent headers
8683 # can be detected and how.
8684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8685 /* end confdefs.h. */
8686 #include <ac_nonexistent.h>
8687 _ACEOF
8688 if ac_fn_objc_try_cpp "$LINENO"; then :
8689 # Broken: success on invalid input.
8690 continue
8691 else
8692 # Passes both tests.
8693 ac_preproc_ok=:
8694 break
8696 rm -f conftest.err conftest.i conftest.$ac_ext
8698 done
8699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8700 rm -f conftest.i conftest.err conftest.$ac_ext
8701 if $ac_preproc_ok; then :
8703 else
8704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8706 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8707 See \`config.log' for more details" "$LINENO" 5; }
8710 ac_ext=m
8711 ac_cpp='$OBJCPP $CPPFLAGS'
8712 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8713 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8714 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8717 for ac_header in Metal/Metal.h
8718 do :
8719 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8720 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8721 cat >>confdefs.h <<_ACEOF
8722 #define HAVE_METAL_METAL_H 1
8723 _ACEOF
8727 done
8729 ac_ext=c
8730 ac_cpp='$CPP $CPPFLAGS'
8731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8735 LIBEXT="dylib"
8736 DLLFLAGS="$DLLFLAGS -fPIC"
8737 LDDLLFLAGS="-fPIC"
8738 COREFOUNDATION_LIBS="-framework CoreFoundation"
8740 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8742 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8744 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8746 CORESERVICES_LIBS="-framework CoreServices"
8748 APPKIT_LIBS="-framework AppKit"
8750 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8753 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8755 wine_can_build_preloader=yes
8756 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8758 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8759 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8760 $as_echo_n "(cached) " >&6
8761 else
8762 ac_wine_try_cflags_saved=$CFLAGS
8763 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8765 /* end confdefs.h. */
8766 int main(int argc, char **argv) { return 0; }
8767 _ACEOF
8768 if ac_fn_c_try_link "$LINENO"; then :
8769 ac_cv_cflags__Wl__no_new_main__e__main=yes
8770 else
8771 ac_cv_cflags__Wl__no_new_main__e__main=no
8773 rm -f core conftest.err conftest.$ac_objext \
8774 conftest$ac_exeext conftest.$ac_ext
8775 CFLAGS=$ac_wine_try_cflags_saved
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8778 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8779 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8780 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8782 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8783 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8784 $as_echo_n "(cached) " >&6
8785 else
8786 ac_wine_try_cflags_saved=$CFLAGS
8787 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8789 /* end confdefs.h. */
8790 int main(int argc, char **argv) { return 0; }
8791 _ACEOF
8792 if ac_fn_c_try_link "$LINENO"; then :
8793 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8794 else
8795 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8797 rm -f core conftest.err conftest.$ac_objext \
8798 conftest$ac_exeext conftest.$ac_ext
8799 CFLAGS=$ac_wine_try_cflags_saved
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8802 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8803 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8804 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8805 else
8806 { $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
8807 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8808 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8809 $as_echo_n "(cached) " >&6
8810 else
8811 ac_wine_try_cflags_saved=$CFLAGS
8812 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8814 /* end confdefs.h. */
8815 int main(int argc, char **argv) { return 0; }
8816 _ACEOF
8817 if ac_fn_c_try_link "$LINENO"; then :
8818 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8819 else
8820 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8822 rm -f core conftest.err conftest.$ac_objext \
8823 conftest$ac_exeext conftest.$ac_ext
8824 CFLAGS=$ac_wine_try_cflags_saved
8826 { $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
8827 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8828 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8829 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8830 else
8831 wine_can_build_preloader=no
8834 else
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8836 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8837 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8838 $as_echo_n "(cached) " >&6
8839 else
8840 ac_wine_try_cflags_saved=$CFLAGS
8841 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843 /* end confdefs.h. */
8844 int main(int argc, char **argv) { return 0; }
8845 _ACEOF
8846 if ac_fn_c_try_link "$LINENO"; then :
8847 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8848 else
8849 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8851 rm -f core conftest.err conftest.$ac_objext \
8852 conftest$ac_exeext conftest.$ac_ext
8853 CFLAGS=$ac_wine_try_cflags_saved
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8856 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8857 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8858 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8859 else
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8861 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8862 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 ac_wine_try_cflags_saved=$CFLAGS
8866 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8869 int main(int argc, char **argv) { return 0; }
8870 _ACEOF
8871 if ac_fn_c_try_link "$LINENO"; then :
8872 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8873 else
8874 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8876 rm -f core conftest.err conftest.$ac_objext \
8877 conftest$ac_exeext conftest.$ac_ext
8878 CFLAGS=$ac_wine_try_cflags_saved
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8881 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8882 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8883 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8884 else
8885 wine_can_build_preloader=no
8889 if test "$wine_can_build_preloader" = "yes"
8890 then
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8892 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8893 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 ac_wine_try_cflags_saved=$CFLAGS
8897 CFLAGS="$CFLAGS -Wl,-no_pie"
8898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8900 int main(int argc, char **argv) { return 0; }
8901 _ACEOF
8902 if ac_fn_c_try_link "$LINENO"; then :
8903 ac_cv_cflags__Wl__no_pie=yes
8904 else
8905 ac_cv_cflags__Wl__no_pie=no
8907 rm -f core conftest.err conftest.$ac_objext \
8908 conftest$ac_exeext conftest.$ac_ext
8909 CFLAGS=$ac_wine_try_cflags_saved
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8912 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8913 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8914 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8916 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8917 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8918 else
8919 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8922 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8923 then
8924 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8927 if test "$ac_cv_header_Security_Security_h" = "yes"
8928 then
8929 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8931 ac_save_LIBS="$LIBS"
8932 LIBS="$LIBS $SECURITY_LIBS"
8933 for ac_func in SSLCopyPeerCertificates
8934 do :
8935 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8936 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8937 cat >>confdefs.h <<_ACEOF
8938 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8939 _ACEOF
8942 done
8944 LIBS="$ac_save_LIBS"
8946 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8947 then
8948 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8949 then
8950 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8952 else
8953 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8956 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8957 ac_save_LIBS="$LIBS"
8958 LIBS="$LIBS $COREAUDIO_LIBS"
8959 for ac_func in AUGraphAddNode
8960 do :
8961 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8962 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8963 cat >>confdefs.h <<_ACEOF
8964 #define HAVE_AUGRAPHADDNODE 1
8965 _ACEOF
8968 done
8970 LIBS="$ac_save_LIBS"
8972 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8973 then
8974 OPENAL_LIBS="-framework OpenAL"
8977 cat >>confdefs.h <<_ACEOF
8978 #define HAVE_OPENAL 1
8979 _ACEOF
8981 ac_cv_lib_openal=yes
8983 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8984 then
8985 OPENCL_LIBS="-framework OpenCL"
8987 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8989 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8990 then
8991 ac_save_LIBS="$LIBS"
8992 LIBS="$LIBS $IOKIT_LIBS"
8993 for ac_func in IOHIDManagerCreate
8994 do :
8995 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8996 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8997 cat >>confdefs.h <<_ACEOF
8998 #define HAVE_IOHIDMANAGERCREATE 1
8999 _ACEOF
9002 done
9004 LIBS="$ac_save_LIBS"
9007 if test "x$with_quicktime" != "xno"
9008 then
9009 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9010 then
9011 ac_save_LIBS="$LIBS"
9012 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9014 $as_echo_n "checking for the QuickTime framework... " >&6; }
9015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9016 /* end confdefs.h. */
9017 #include <QuickTime/ImageCompression.h>
9019 main ()
9021 CodecManagerVersion(NULL);
9023 return 0;
9025 _ACEOF
9026 if ac_fn_c_try_link "$LINENO"; then :
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9028 $as_echo "yes" >&6; }
9029 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9031 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9032 else
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9034 $as_echo "no" >&6; }
9035 ac_cv_header_QuickTime_ImageCompression_h=no
9037 rm -f core conftest.err conftest.$ac_objext \
9038 conftest$ac_exeext conftest.$ac_ext
9039 LIBS="$ac_save_LIBS"
9042 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9043 case "x$with_quicktime" in
9044 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9045 xno) ;;
9046 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9047 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9048 esac
9052 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9053 then
9054 CARBON_LIBS="-framework Carbon"
9057 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9058 then
9059 METAL_LIBS="-framework Metal -framework QuartzCore"
9063 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9064 then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9066 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9067 ac_ext=m
9068 ac_cpp='$OBJCPP $CPPFLAGS'
9069 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9070 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9071 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9074 /* end confdefs.h. */
9075 #include <Metal/Metal.h>
9077 main ()
9079 id<MTLDevice> device; device.registryID;
9081 return 0;
9083 _ACEOF
9084 if ac_fn_objc_try_compile "$LINENO"; then :
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9086 $as_echo "yes" >&6; }
9088 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9090 else
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9092 $as_echo "no" >&6; }
9094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9095 ac_ext=c
9096 ac_cpp='$CPP $CPPFLAGS'
9097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9103 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9104 then
9105 ac_save_LIBS="$LIBS"
9106 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9107 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9108 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9109 enable_winemac_drv=${enable_winemac_drv:-yes}
9112 LIBS="$ac_save_LIBS"
9115 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9117 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9119 WINELOADER_DEPENDS="wine_info.plist"
9121 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9124 linux-android*)
9125 DLLFLAGS="$DLLFLAGS -fPIC"
9126 LDDLLFLAGS="-fPIC"
9127 LDEXECFLAGS="-Wl,-pie"
9128 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9130 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9131 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9132 $as_echo_n "(cached) " >&6
9133 else
9134 ac_wine_try_cflags_saved=$CFLAGS
9135 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9137 /* end confdefs.h. */
9138 int main(int argc, char **argv) { return 0; }
9139 _ACEOF
9140 if ac_fn_c_try_link "$LINENO"; then :
9141 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9142 else
9143 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9145 rm -f core conftest.err conftest.$ac_objext \
9146 conftest$ac_exeext conftest.$ac_ext
9147 CFLAGS=$ac_wine_try_cflags_saved
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9150 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9151 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9152 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9154 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9156 LIBWINE_SHAREDLIB="libwine.so"
9158 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9160 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9163 $as_echo_n "checking for -lEGL... " >&6; }
9164 if ${ac_cv_lib_soname_EGL+:} false; then :
9165 $as_echo_n "(cached) " >&6
9166 else
9167 ac_check_soname_save_LIBS=$LIBS
9168 LIBS="-lEGL $LIBS"
9169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9170 /* end confdefs.h. */
9172 /* Override any GCC internal prototype to avoid an error.
9173 Use char because int might match the return type of a GCC
9174 builtin and then its argument prototype would still apply. */
9175 #ifdef __cplusplus
9176 extern "C"
9177 #endif
9178 char eglGetProcAddress ();
9180 main ()
9182 return eglGetProcAddress ();
9184 return 0;
9186 _ACEOF
9187 if ac_fn_c_try_link "$LINENO"; then :
9188 case "$LIBEXT" in
9189 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9190 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'` ;;
9191 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9192 if ${ac_cv_lib_soname_EGL:+false} :; then :
9193 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9194 fi ;;
9195 esac
9196 else
9197 ac_cv_lib_soname_EGL=
9199 rm -f core conftest.err conftest.$ac_objext \
9200 conftest$ac_exeext conftest.$ac_ext
9201 LIBS=$ac_check_soname_save_LIBS
9203 if ${ac_cv_lib_soname_EGL:+false} :; then :
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9205 $as_echo "not found" >&6; }
9207 else
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9209 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9211 cat >>confdefs.h <<_ACEOF
9212 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9213 _ACEOF
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9218 $as_echo_n "checking for -lGLESv2... " >&6; }
9219 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9220 $as_echo_n "(cached) " >&6
9221 else
9222 ac_check_soname_save_LIBS=$LIBS
9223 LIBS="-lGLESv2 $LIBS"
9224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9225 /* end confdefs.h. */
9227 /* Override any GCC internal prototype to avoid an error.
9228 Use char because int might match the return type of a GCC
9229 builtin and then its argument prototype would still apply. */
9230 #ifdef __cplusplus
9231 extern "C"
9232 #endif
9233 char glFlush ();
9235 main ()
9237 return glFlush ();
9239 return 0;
9241 _ACEOF
9242 if ac_fn_c_try_link "$LINENO"; then :
9243 case "$LIBEXT" in
9244 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9245 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'` ;;
9246 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9247 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9248 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9249 fi ;;
9250 esac
9251 else
9252 ac_cv_lib_soname_GLESv2=
9254 rm -f core conftest.err conftest.$ac_objext \
9255 conftest$ac_exeext conftest.$ac_ext
9256 LIBS=$ac_check_soname_save_LIBS
9258 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9260 $as_echo "not found" >&6; }
9262 else
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9264 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9266 cat >>confdefs.h <<_ACEOF
9267 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9268 _ACEOF
9273 if test "x$exec_prefix" = xNONE
9274 then
9275 case $host_cpu in
9276 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9277 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9278 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9279 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9280 esac
9285 case $host_cpu in
9286 *i[3456789]86*)
9287 DLLFLAGS="$DLLFLAGS -fno-PIC"
9288 LDDLLFLAGS="-fno-PIC"
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9290 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9291 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9292 $as_echo_n "(cached) " >&6
9293 else
9294 ac_wine_try_cflags_saved=$CFLAGS
9295 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9298 int main(int argc, char **argv) { return 0; }
9299 _ACEOF
9300 if ac_fn_c_try_link "$LINENO"; then :
9301 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9302 else
9303 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9305 rm -f core conftest.err conftest.$ac_objext \
9306 conftest$ac_exeext conftest.$ac_ext
9307 CFLAGS=$ac_wine_try_cflags_saved
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9310 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9311 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9312 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9316 DLLFLAGS="$DLLFLAGS -fPIC"
9317 LDDLLFLAGS="-fPIC" ;;
9318 esac
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9320 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9321 if ${ac_cv_c_dll_gnuelf+:} false; then :
9322 $as_echo_n "(cached) " >&6
9323 else
9324 ac_wine_try_cflags_saved=$CFLAGS
9325 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9327 /* end confdefs.h. */
9328 void myfunc() {}
9329 _ACEOF
9330 if ac_fn_c_try_link "$LINENO"; then :
9331 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9332 else
9333 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9335 rm -f core conftest.err conftest.$ac_objext \
9336 conftest$ac_exeext conftest.$ac_ext
9337 CFLAGS=$ac_wine_try_cflags_saved
9338 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9339 ac_cv_c_dll_gnuelf="yes"
9340 else
9341 ac_cv_c_dll_gnuelf="no"
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9345 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9346 if test "$ac_cv_c_dll_gnuelf" = "yes"
9347 then
9348 LIBWINE_LDFLAGS="-shared"
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9350 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9351 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9352 $as_echo_n "(cached) " >&6
9353 else
9354 ac_wine_try_cflags_saved=$CFLAGS
9355 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9358 int main(int argc, char **argv) { return 0; }
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9362 else
9363 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 CFLAGS=$ac_wine_try_cflags_saved
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9370 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9371 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9372 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9373 else
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9375 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9376 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9377 $as_echo_n "(cached) " >&6
9378 else
9379 ac_wine_try_cflags_saved=$CFLAGS
9380 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9383 int main(int argc, char **argv) { return 0; }
9384 _ACEOF
9385 if ac_fn_c_try_link "$LINENO"; then :
9386 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9387 else
9388 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9390 rm -f core conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 CFLAGS=$ac_wine_try_cflags_saved
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9395 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9396 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9397 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9401 echo '{ global: *; };' >conftest.map
9402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9403 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9404 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9405 $as_echo_n "(cached) " >&6
9406 else
9407 ac_wine_try_cflags_saved=$CFLAGS
9408 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9410 /* end confdefs.h. */
9411 int main(int argc, char **argv) { return 0; }
9412 _ACEOF
9413 if ac_fn_c_try_link "$LINENO"; then :
9414 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9415 else
9416 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9418 rm -f core conftest.err conftest.$ac_objext \
9419 conftest$ac_exeext conftest.$ac_ext
9420 CFLAGS=$ac_wine_try_cflags_saved
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9423 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9424 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9425 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9427 rm -f conftest.map
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9430 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9431 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9432 $as_echo_n "(cached) " >&6
9433 else
9434 ac_wine_try_cflags_saved=$CFLAGS
9435 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9438 int main(int argc, char **argv) { return 0; }
9439 _ACEOF
9440 if ac_fn_c_try_link "$LINENO"; then :
9441 ac_cv_cflags__Wl___export_dynamic=yes
9442 else
9443 ac_cv_cflags__Wl___export_dynamic=no
9445 rm -f core conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 CFLAGS=$ac_wine_try_cflags_saved
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9450 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9451 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9452 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9454 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9456 case $host_cpu in
9457 *i[3456789]86* | x86_64 | *aarch64*)
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9459 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9460 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9461 $as_echo_n "(cached) " >&6
9462 else
9463 ac_wine_try_cflags_saved=$CFLAGS
9464 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9466 /* end confdefs.h. */
9467 int main(int argc, char **argv) { return 0; }
9468 _ACEOF
9469 if ac_fn_c_try_link "$LINENO"; then :
9470 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9471 else
9472 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9474 rm -f core conftest.err conftest.$ac_objext \
9475 conftest$ac_exeext conftest.$ac_ext
9476 CFLAGS=$ac_wine_try_cflags_saved
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9479 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9480 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9481 case $host_os in
9482 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9483 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9484 esac
9485 else
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9487 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9488 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9489 $as_echo_n "(cached) " >&6
9490 else
9491 ac_wine_try_cflags_saved=$CFLAGS
9492 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9494 /* end confdefs.h. */
9495 int main(int argc, char **argv) { return 0; }
9496 _ACEOF
9497 if ac_fn_c_try_link "$LINENO"; then :
9498 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9499 else
9500 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9502 rm -f core conftest.err conftest.$ac_objext \
9503 conftest$ac_exeext conftest.$ac_ext
9504 CFLAGS=$ac_wine_try_cflags_saved
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9507 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9508 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9509 case $host_os in
9510 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9511 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9512 esac
9514 # Extract the first word of "prelink", so it can be a program name with args.
9515 set dummy prelink; ac_word=$2
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9517 $as_echo_n "checking for $ac_word... " >&6; }
9518 if ${ac_cv_path_PRELINK+:} false; then :
9519 $as_echo_n "(cached) " >&6
9520 else
9521 case $PRELINK in
9522 [\\/]* | ?:[\\/]*)
9523 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9527 for as_dir in /sbin /usr/sbin $PATH
9529 IFS=$as_save_IFS
9530 test -z "$as_dir" && as_dir=.
9531 for ac_exec_ext in '' $ac_executable_extensions; do
9532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9533 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9535 break 2
9537 done
9538 done
9539 IFS=$as_save_IFS
9541 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9543 esac
9545 PRELINK=$ac_cv_path_PRELINK
9546 if test -n "$PRELINK"; then
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9548 $as_echo "$PRELINK" >&6; }
9549 else
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9551 $as_echo "no" >&6; }
9555 if test "x$PRELINK" = xfalse
9556 then
9557 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9561 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9562 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9563 $as_echo_n "(cached) " >&6
9564 else
9565 ac_wine_try_cflags_saved=$CFLAGS
9566 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9569 int main(int argc, char **argv) { return 0; }
9570 _ACEOF
9571 if ac_fn_c_try_link "$LINENO"; then :
9572 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9573 else
9574 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 CFLAGS=$ac_wine_try_cflags_saved
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9581 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9582 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9583 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9586 esac
9588 else
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9590 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9591 if ${ac_cv_c_dll_unixware+:} false; then :
9592 $as_echo_n "(cached) " >&6
9593 else
9594 ac_wine_try_cflags_saved=$CFLAGS
9595 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9597 /* end confdefs.h. */
9598 void myfunc() {}
9599 _ACEOF
9600 if ac_fn_c_try_link "$LINENO"; then :
9601 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9602 else
9603 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9605 rm -f core conftest.err conftest.$ac_objext \
9606 conftest$ac_exeext conftest.$ac_ext
9607 CFLAGS=$ac_wine_try_cflags_saved
9608 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9609 ac_cv_c_dll_unixware="yes"
9610 else
9611 ac_cv_c_dll_unixware="no"
9614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9615 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9616 if test "$ac_cv_c_dll_unixware" = "yes"
9617 then
9618 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9621 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9623 LIBWINE_DEPENDS="wine.map"
9625 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9627 esac
9629 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9630 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9631 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9632 enable_winemac_drv=${enable_winemac_drv:-no}
9633 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9636 if test "x$with_mingw" != xno
9637 then
9638 case "x$with_mingw" in
9639 x|xyes) case "$host_cpu" in
9640 aarch64*)
9641 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9642 arm*)
9643 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9644 i[3456789]86*)
9645 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
9646 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9647 mingw32-gcc" ;;
9648 x86_64)
9649 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
9650 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9652 ac_prefix_list="" ;;
9653 esac
9654 for ac_prog in $ac_prefix_list
9656 # Extract the first word of "$ac_prog", so it can be a program name with args.
9657 set dummy $ac_prog; ac_word=$2
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9659 $as_echo_n "checking for $ac_word... " >&6; }
9660 if ${ac_cv_prog_CROSSCC+:} false; then :
9661 $as_echo_n "(cached) " >&6
9662 else
9663 if test -n "$CROSSCC"; then
9664 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9665 else
9666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9667 for as_dir in $PATH
9669 IFS=$as_save_IFS
9670 test -z "$as_dir" && as_dir=.
9671 for ac_exec_ext in '' $ac_executable_extensions; do
9672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9673 ac_cv_prog_CROSSCC="$ac_prog"
9674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9675 break 2
9677 done
9678 done
9679 IFS=$as_save_IFS
9683 CROSSCC=$ac_cv_prog_CROSSCC
9684 if test -n "$CROSSCC"; then
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9686 $as_echo "$CROSSCC" >&6; }
9687 else
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9689 $as_echo "no" >&6; }
9693 test -n "$CROSSCC" && break
9694 done
9695 test -n "$CROSSCC" || CROSSCC="false"
9697 *) CROSSCC=$with_mingw ;;
9698 esac
9699 if test "$CROSSCC" != "false"
9700 then
9701 ac_save_CC="$CC"
9702 saved_CFLAGS=$CFLAGS
9703 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9705 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9709 CC="$CROSSCC"
9710 CFLAGS=$CROSSCFLAGS
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9712 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9713 if ${wine_cv_crosscc+:} false; then :
9714 $as_echo_n "(cached) " >&6
9715 else
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9720 main ()
9724 return 0;
9726 _ACEOF
9727 if ac_fn_c_try_compile "$LINENO"; then :
9728 wine_cv_crosscc=yes
9729 else
9730 wine_cv_crosscc=no
9732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9735 $as_echo "$wine_cv_crosscc" >&6; }
9736 if test $wine_cv_crosscc = yes
9737 then
9738 set x $CROSSCC
9739 shift
9740 while test $# -ge 1
9742 case "$1" in
9743 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9744 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9745 esac
9746 shift
9747 done
9749 llvm_target=$CROSSTARGET
9750 llvm_cflags="-fuse-ld=lld"
9751 if test -z "$llvm_target"
9752 then
9753 case $host_cpu in
9754 *i[3456789]86*) llvm_target=i686-windows ;;
9755 *) llvm_target=$host_cpu-windows ;;
9756 esac
9758 case $llvm_target in
9759 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9760 esac
9761 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9763 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9764 if eval \${$as_ac_var+:} false; then :
9765 $as_echo_n "(cached) " >&6
9766 else
9767 ac_wine_try_cflags_saved=$CFLAGS
9768 ac_wine_try_cflags_saved_cc=$CC
9769 ac_wine_try_cflags_saved_exeext=$ac_exeext
9770 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9771 CC="$CROSSCC"
9772 ac_exeext=".exe"
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9775 int __cdecl mainCRTStartup(void) { return 0; }
9776 _ACEOF
9777 if ac_fn_c_try_link "$LINENO"; then :
9778 eval "$as_ac_var=yes"
9779 else
9780 eval "$as_ac_var=no"
9782 rm -f core conftest.err conftest.$ac_objext \
9783 conftest$ac_exeext conftest.$ac_ext
9784 CFLAGS=$ac_wine_try_cflags_saved
9785 CC=$ac_wine_try_cflags_saved_cc
9786 ac_exeext=$ac_wine_try_cflags_saved_exeext
9788 eval ac_res=\$$as_ac_var
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9790 $as_echo "$ac_res" >&6; }
9791 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9792 CROSSTARGET=$llvm_target
9793 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9794 DELAYLOADFLAG="-Wl,-delayload,"
9796 CFLAGS="$CFLAGS $llvm_cflags"
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9800 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9801 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9802 $as_echo_n "(cached) " >&6
9803 else
9804 ac_wine_try_cflags_saved=$CFLAGS
9805 ac_wine_try_cflags_saved_cc=$CC
9806 ac_wine_try_cflags_saved_exeext=$ac_exeext
9807 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9808 CC="$CROSSCC"
9809 ac_exeext=".exe"
9810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9811 /* end confdefs.h. */
9812 int __cdecl mainCRTStartup(void) { return 0; }
9813 _ACEOF
9814 if ac_fn_c_try_link "$LINENO"; then :
9815 ac_cv_crosscflags__fno_strict_aliasing=yes
9816 else
9817 ac_cv_crosscflags__fno_strict_aliasing=no
9819 rm -f core conftest.err conftest.$ac_objext \
9820 conftest$ac_exeext conftest.$ac_ext
9821 CFLAGS=$ac_wine_try_cflags_saved
9822 CC=$ac_wine_try_cflags_saved_cc
9823 ac_exeext=$ac_wine_try_cflags_saved_exeext
9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9826 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9827 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9828 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9831 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9832 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9833 $as_echo_n "(cached) " >&6
9834 else
9835 ac_wine_try_cflags_saved=$CFLAGS
9836 ac_wine_try_cflags_saved_cc=$CC
9837 ac_wine_try_cflags_saved_exeext=$ac_exeext
9838 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9839 CC="$CROSSCC"
9840 ac_exeext=".exe"
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9843 int __cdecl mainCRTStartup(void) { return 0; }
9844 _ACEOF
9845 if ac_fn_c_try_link "$LINENO"; then :
9846 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9847 else
9848 ac_cv_crosscflags__Werror_unknown_warning_option=no
9850 rm -f core conftest.err conftest.$ac_objext \
9851 conftest$ac_exeext conftest.$ac_ext
9852 CFLAGS=$ac_wine_try_cflags_saved
9853 CC=$ac_wine_try_cflags_saved_cc
9854 ac_exeext=$ac_wine_try_cflags_saved_exeext
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9857 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9858 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9859 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9862 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9863 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9864 $as_echo_n "(cached) " >&6
9865 else
9866 ac_wine_try_cflags_saved=$CFLAGS
9867 ac_wine_try_cflags_saved_cc=$CC
9868 ac_wine_try_cflags_saved_exeext=$ac_exeext
9869 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9870 CC="$CROSSCC"
9871 ac_exeext=".exe"
9872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9873 /* end confdefs.h. */
9874 int __cdecl mainCRTStartup(void) { return 0; }
9875 _ACEOF
9876 if ac_fn_c_try_link "$LINENO"; then :
9877 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9878 else
9879 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9881 rm -f core conftest.err conftest.$ac_objext \
9882 conftest$ac_exeext conftest.$ac_ext
9883 CFLAGS=$ac_wine_try_cflags_saved
9884 CC=$ac_wine_try_cflags_saved_cc
9885 ac_exeext=$ac_wine_try_cflags_saved_exeext
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9888 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9889 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9890 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9893 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9894 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9895 $as_echo_n "(cached) " >&6
9896 else
9897 ac_wine_try_cflags_saved=$CFLAGS
9898 ac_wine_try_cflags_saved_cc=$CC
9899 ac_wine_try_cflags_saved_exeext=$ac_exeext
9900 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9901 CC="$CROSSCC"
9902 ac_exeext=".exe"
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9905 int __cdecl mainCRTStartup(void) { return 0; }
9906 _ACEOF
9907 if ac_fn_c_try_link "$LINENO"; then :
9908 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9909 else
9910 ac_cv_crosscflags__Wdeclaration_after_statement=no
9912 rm -f core conftest.err conftest.$ac_objext \
9913 conftest$ac_exeext conftest.$ac_ext
9914 CFLAGS=$ac_wine_try_cflags_saved
9915 CC=$ac_wine_try_cflags_saved_cc
9916 ac_exeext=$ac_wine_try_cflags_saved_exeext
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9919 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9920 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9921 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9924 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9925 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9926 $as_echo_n "(cached) " >&6
9927 else
9928 ac_wine_try_cflags_saved=$CFLAGS
9929 ac_wine_try_cflags_saved_cc=$CC
9930 ac_wine_try_cflags_saved_exeext=$ac_exeext
9931 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9932 CC="$CROSSCC"
9933 ac_exeext=".exe"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9936 int __cdecl mainCRTStartup(void) { return 0; }
9937 _ACEOF
9938 if ac_fn_c_try_link "$LINENO"; then :
9939 ac_cv_crosscflags__Wempty_body=yes
9940 else
9941 ac_cv_crosscflags__Wempty_body=no
9943 rm -f core conftest.err conftest.$ac_objext \
9944 conftest$ac_exeext conftest.$ac_ext
9945 CFLAGS=$ac_wine_try_cflags_saved
9946 CC=$ac_wine_try_cflags_saved_cc
9947 ac_exeext=$ac_wine_try_cflags_saved_exeext
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9950 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9951 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9952 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9955 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9956 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9957 $as_echo_n "(cached) " >&6
9958 else
9959 ac_wine_try_cflags_saved=$CFLAGS
9960 ac_wine_try_cflags_saved_cc=$CC
9961 ac_wine_try_cflags_saved_exeext=$ac_exeext
9962 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9963 CC="$CROSSCC"
9964 ac_exeext=".exe"
9965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9967 int __cdecl mainCRTStartup(void) { return 0; }
9968 _ACEOF
9969 if ac_fn_c_try_link "$LINENO"; then :
9970 ac_cv_crosscflags__Wignored_qualifiers=yes
9971 else
9972 ac_cv_crosscflags__Wignored_qualifiers=no
9974 rm -f core conftest.err conftest.$ac_objext \
9975 conftest$ac_exeext conftest.$ac_ext
9976 CFLAGS=$ac_wine_try_cflags_saved
9977 CC=$ac_wine_try_cflags_saved_cc
9978 ac_exeext=$ac_wine_try_cflags_saved_exeext
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9981 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9982 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9983 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9986 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9987 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9988 $as_echo_n "(cached) " >&6
9989 else
9990 ac_wine_try_cflags_saved=$CFLAGS
9991 ac_wine_try_cflags_saved_cc=$CC
9992 ac_wine_try_cflags_saved_exeext=$ac_exeext
9993 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9994 CC="$CROSSCC"
9995 ac_exeext=".exe"
9996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9997 /* end confdefs.h. */
9998 int __cdecl mainCRTStartup(void) { return 0; }
9999 _ACEOF
10000 if ac_fn_c_try_link "$LINENO"; then :
10001 ac_cv_crosscflags__Winit_self=yes
10002 else
10003 ac_cv_crosscflags__Winit_self=no
10005 rm -f core conftest.err conftest.$ac_objext \
10006 conftest$ac_exeext conftest.$ac_ext
10007 CFLAGS=$ac_wine_try_cflags_saved
10008 CC=$ac_wine_try_cflags_saved_cc
10009 ac_exeext=$ac_wine_try_cflags_saved_exeext
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10012 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10013 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10014 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10017 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10018 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10019 $as_echo_n "(cached) " >&6
10020 else
10021 ac_wine_try_cflags_saved=$CFLAGS
10022 ac_wine_try_cflags_saved_cc=$CC
10023 ac_wine_try_cflags_saved_exeext=$ac_exeext
10024 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10025 CC="$CROSSCC"
10026 ac_exeext=".exe"
10027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10029 int __cdecl mainCRTStartup(void) { return 0; }
10030 _ACEOF
10031 if ac_fn_c_try_link "$LINENO"; then :
10032 ac_cv_crosscflags__Wpacked_not_aligned=yes
10033 else
10034 ac_cv_crosscflags__Wpacked_not_aligned=no
10036 rm -f core conftest.err conftest.$ac_objext \
10037 conftest$ac_exeext conftest.$ac_ext
10038 CFLAGS=$ac_wine_try_cflags_saved
10039 CC=$ac_wine_try_cflags_saved_cc
10040 ac_exeext=$ac_wine_try_cflags_saved_exeext
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10043 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10044 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10045 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10048 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10049 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10050 $as_echo_n "(cached) " >&6
10051 else
10052 ac_wine_try_cflags_saved=$CFLAGS
10053 ac_wine_try_cflags_saved_cc=$CC
10054 ac_wine_try_cflags_saved_exeext=$ac_exeext
10055 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10056 CC="$CROSSCC"
10057 ac_exeext=".exe"
10058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10060 int __cdecl mainCRTStartup(void) { return 0; }
10061 _ACEOF
10062 if ac_fn_c_try_link "$LINENO"; then :
10063 ac_cv_crosscflags__Wpragma_pack=yes
10064 else
10065 ac_cv_crosscflags__Wpragma_pack=no
10067 rm -f core conftest.err conftest.$ac_objext \
10068 conftest$ac_exeext conftest.$ac_ext
10069 CFLAGS=$ac_wine_try_cflags_saved
10070 CC=$ac_wine_try_cflags_saved_cc
10071 ac_exeext=$ac_wine_try_cflags_saved_exeext
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10074 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10075 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10076 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10079 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10080 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10081 $as_echo_n "(cached) " >&6
10082 else
10083 ac_wine_try_cflags_saved=$CFLAGS
10084 ac_wine_try_cflags_saved_cc=$CC
10085 ac_wine_try_cflags_saved_exeext=$ac_exeext
10086 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10087 CC="$CROSSCC"
10088 ac_exeext=".exe"
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10091 int __cdecl mainCRTStartup(void) { return 0; }
10092 _ACEOF
10093 if ac_fn_c_try_link "$LINENO"; then :
10094 ac_cv_crosscflags__Wshift_overflow_2=yes
10095 else
10096 ac_cv_crosscflags__Wshift_overflow_2=no
10098 rm -f core conftest.err conftest.$ac_objext \
10099 conftest$ac_exeext conftest.$ac_ext
10100 CFLAGS=$ac_wine_try_cflags_saved
10101 CC=$ac_wine_try_cflags_saved_cc
10102 ac_exeext=$ac_wine_try_cflags_saved_exeext
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10105 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10106 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10107 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10110 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10111 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10112 $as_echo_n "(cached) " >&6
10113 else
10114 ac_wine_try_cflags_saved=$CFLAGS
10115 ac_wine_try_cflags_saved_cc=$CC
10116 ac_wine_try_cflags_saved_exeext=$ac_exeext
10117 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10118 CC="$CROSSCC"
10119 ac_exeext=".exe"
10120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10121 /* end confdefs.h. */
10122 int __cdecl mainCRTStartup(void) { return 0; }
10123 _ACEOF
10124 if ac_fn_c_try_link "$LINENO"; then :
10125 ac_cv_crosscflags__Wstrict_prototypes=yes
10126 else
10127 ac_cv_crosscflags__Wstrict_prototypes=no
10129 rm -f core conftest.err conftest.$ac_objext \
10130 conftest$ac_exeext conftest.$ac_ext
10131 CFLAGS=$ac_wine_try_cflags_saved
10132 CC=$ac_wine_try_cflags_saved_cc
10133 ac_exeext=$ac_wine_try_cflags_saved_exeext
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10136 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10137 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10138 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10141 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10142 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10143 $as_echo_n "(cached) " >&6
10144 else
10145 ac_wine_try_cflags_saved=$CFLAGS
10146 ac_wine_try_cflags_saved_cc=$CC
10147 ac_wine_try_cflags_saved_exeext=$ac_exeext
10148 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10149 CC="$CROSSCC"
10150 ac_exeext=".exe"
10151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10153 int __cdecl mainCRTStartup(void) { return 0; }
10154 _ACEOF
10155 if ac_fn_c_try_link "$LINENO"; then :
10156 ac_cv_crosscflags__Wtype_limits=yes
10157 else
10158 ac_cv_crosscflags__Wtype_limits=no
10160 rm -f core conftest.err conftest.$ac_objext \
10161 conftest$ac_exeext conftest.$ac_ext
10162 CFLAGS=$ac_wine_try_cflags_saved
10163 CC=$ac_wine_try_cflags_saved_cc
10164 ac_exeext=$ac_wine_try_cflags_saved_exeext
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10167 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10168 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10169 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10172 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10173 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10174 $as_echo_n "(cached) " >&6
10175 else
10176 ac_wine_try_cflags_saved=$CFLAGS
10177 ac_wine_try_cflags_saved_cc=$CC
10178 ac_wine_try_cflags_saved_exeext=$ac_exeext
10179 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10180 CC="$CROSSCC"
10181 ac_exeext=".exe"
10182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10183 /* end confdefs.h. */
10184 int __cdecl mainCRTStartup(void) { return 0; }
10185 _ACEOF
10186 if ac_fn_c_try_link "$LINENO"; then :
10187 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10188 else
10189 ac_cv_crosscflags__Wunused_but_set_parameter=no
10191 rm -f core conftest.err conftest.$ac_objext \
10192 conftest$ac_exeext conftest.$ac_ext
10193 CFLAGS=$ac_wine_try_cflags_saved
10194 CC=$ac_wine_try_cflags_saved_cc
10195 ac_exeext=$ac_wine_try_cflags_saved_exeext
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10198 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10199 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10200 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10203 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10204 if ${ac_cv_crosscflags__Wvla+:} false; then :
10205 $as_echo_n "(cached) " >&6
10206 else
10207 ac_wine_try_cflags_saved=$CFLAGS
10208 ac_wine_try_cflags_saved_cc=$CC
10209 ac_wine_try_cflags_saved_exeext=$ac_exeext
10210 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10211 CC="$CROSSCC"
10212 ac_exeext=".exe"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10215 int __cdecl mainCRTStartup(void) { return 0; }
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"; then :
10218 ac_cv_crosscflags__Wvla=yes
10219 else
10220 ac_cv_crosscflags__Wvla=no
10222 rm -f core conftest.err conftest.$ac_objext \
10223 conftest$ac_exeext conftest.$ac_ext
10224 CFLAGS=$ac_wine_try_cflags_saved
10225 CC=$ac_wine_try_cflags_saved_cc
10226 ac_exeext=$ac_wine_try_cflags_saved_exeext
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10229 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10230 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10231 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10234 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10235 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10236 $as_echo_n "(cached) " >&6
10237 else
10238 ac_wine_try_cflags_saved=$CFLAGS
10239 ac_wine_try_cflags_saved_cc=$CC
10240 ac_wine_try_cflags_saved_exeext=$ac_exeext
10241 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10242 CC="$CROSSCC"
10243 ac_exeext=".exe"
10244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10246 int __cdecl mainCRTStartup(void) { return 0; }
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"; then :
10249 ac_cv_crosscflags__Wwrite_strings=yes
10250 else
10251 ac_cv_crosscflags__Wwrite_strings=no
10253 rm -f core conftest.err conftest.$ac_objext \
10254 conftest$ac_exeext conftest.$ac_ext
10255 CFLAGS=$ac_wine_try_cflags_saved
10256 CC=$ac_wine_try_cflags_saved_cc
10257 ac_exeext=$ac_wine_try_cflags_saved_exeext
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10260 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10261 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10262 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10265 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10266 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10267 $as_echo_n "(cached) " >&6
10268 else
10269 ac_wine_try_cflags_saved=$CFLAGS
10270 ac_wine_try_cflags_saved_cc=$CC
10271 ac_wine_try_cflags_saved_exeext=$ac_exeext
10272 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10273 CC="$CROSSCC"
10274 ac_exeext=".exe"
10275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10276 /* end confdefs.h. */
10277 int __cdecl mainCRTStartup(void) { return 0; }
10278 _ACEOF
10279 if ac_fn_c_try_link "$LINENO"; then :
10280 ac_cv_crosscflags__Wpointer_arith=yes
10281 else
10282 ac_cv_crosscflags__Wpointer_arith=no
10284 rm -f core conftest.err conftest.$ac_objext \
10285 conftest$ac_exeext conftest.$ac_ext
10286 CFLAGS=$ac_wine_try_cflags_saved
10287 CC=$ac_wine_try_cflags_saved_cc
10288 ac_exeext=$ac_wine_try_cflags_saved_exeext
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10291 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10292 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10293 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10296 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10297 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10298 $as_echo_n "(cached) " >&6
10299 else
10300 ac_wine_try_cflags_saved=$CFLAGS
10301 ac_wine_try_cflags_saved_cc=$CC
10302 ac_wine_try_cflags_saved_exeext=$ac_exeext
10303 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10304 CC="$CROSSCC"
10305 ac_exeext=".exe"
10306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10308 int __cdecl mainCRTStartup(void) { return 0; }
10309 _ACEOF
10310 if ac_fn_c_try_link "$LINENO"; then :
10311 ac_cv_crosscflags__Wlogical_op=yes
10312 else
10313 ac_cv_crosscflags__Wlogical_op=no
10315 rm -f core conftest.err conftest.$ac_objext \
10316 conftest$ac_exeext conftest.$ac_ext
10317 CFLAGS=$ac_wine_try_cflags_saved
10318 CC=$ac_wine_try_cflags_saved_cc
10319 ac_exeext=$ac_wine_try_cflags_saved_exeext
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10322 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10323 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10324 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10327 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10328 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10329 $as_echo_n "(cached) " >&6
10330 else
10331 ac_wine_try_cflags_saved=$CFLAGS
10332 ac_wine_try_cflags_saved_cc=$CC
10333 ac_wine_try_cflags_saved_exeext=$ac_exeext
10334 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10335 CC="$CROSSCC"
10336 ac_exeext=".exe"
10337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10338 /* end confdefs.h. */
10339 int __cdecl mainCRTStartup(void) { return 0; }
10340 _ACEOF
10341 if ac_fn_c_try_link "$LINENO"; then :
10342 ac_cv_crosscflags__Wabsolute_value=yes
10343 else
10344 ac_cv_crosscflags__Wabsolute_value=no
10346 rm -f core conftest.err conftest.$ac_objext \
10347 conftest$ac_exeext conftest.$ac_ext
10348 CFLAGS=$ac_wine_try_cflags_saved
10349 CC=$ac_wine_try_cflags_saved_cc
10350 ac_exeext=$ac_wine_try_cflags_saved_exeext
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10353 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10354 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10355 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10358 case $host_cpu in
10359 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10360 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10361 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10362 $as_echo_n "(cached) " >&6
10363 else
10364 ac_wine_try_cflags_saved=$CFLAGS
10365 ac_wine_try_cflags_saved_cc=$CC
10366 ac_wine_try_cflags_saved_exeext=$ac_exeext
10367 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10368 CC="$CROSSCC"
10369 ac_exeext=".exe"
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10372 int __cdecl mainCRTStartup(void) { return 0; }
10373 _ACEOF
10374 if ac_fn_c_try_link "$LINENO"; then :
10375 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10376 else
10377 ac_cv_crosscflags__fno_omit_frame_pointer=no
10379 rm -f core conftest.err conftest.$ac_objext \
10380 conftest$ac_exeext conftest.$ac_ext
10381 CFLAGS=$ac_wine_try_cflags_saved
10382 CC=$ac_wine_try_cflags_saved_cc
10383 ac_exeext=$ac_wine_try_cflags_saved_exeext
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10386 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10387 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10388 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10389 fi ;;
10390 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10391 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10392 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10393 $as_echo_n "(cached) " >&6
10394 else
10395 ac_wine_try_cflags_saved=$CFLAGS
10396 ac_wine_try_cflags_saved_cc=$CC
10397 ac_wine_try_cflags_saved_exeext=$ac_exeext
10398 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10399 CC="$CROSSCC"
10400 ac_exeext=".exe"
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10403 int __cdecl mainCRTStartup(void) { return 0; }
10404 _ACEOF
10405 if ac_fn_c_try_link "$LINENO"; then :
10406 ac_cv_crosscflags__Wno_format=yes
10407 else
10408 ac_cv_crosscflags__Wno_format=no
10410 rm -f core conftest.err conftest.$ac_objext \
10411 conftest$ac_exeext conftest.$ac_ext
10412 CFLAGS=$ac_wine_try_cflags_saved
10413 CC=$ac_wine_try_cflags_saved_cc
10414 ac_exeext=$ac_wine_try_cflags_saved_exeext
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10417 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10418 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10419 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10422 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10423 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10424 $as_echo_n "(cached) " >&6
10425 else
10426 ac_wine_try_cflags_saved=$CFLAGS
10427 ac_wine_try_cflags_saved_cc=$CC
10428 ac_wine_try_cflags_saved_exeext=$ac_exeext
10429 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10430 CC="$CROSSCC"
10431 ac_exeext=".exe"
10432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10434 int __cdecl mainCRTStartup(void) { return 0; }
10435 _ACEOF
10436 if ac_fn_c_try_link "$LINENO"; then :
10437 ac_cv_crosscflags__Wformat_overflow=yes
10438 else
10439 ac_cv_crosscflags__Wformat_overflow=no
10441 rm -f core conftest.err conftest.$ac_objext \
10442 conftest$ac_exeext conftest.$ac_ext
10443 CFLAGS=$ac_wine_try_cflags_saved
10444 CC=$ac_wine_try_cflags_saved_cc
10445 ac_exeext=$ac_wine_try_cflags_saved_exeext
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10448 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10449 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10450 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10453 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10454 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10455 $as_echo_n "(cached) " >&6
10456 else
10457 ac_wine_try_cflags_saved=$CFLAGS
10458 ac_wine_try_cflags_saved_cc=$CC
10459 ac_wine_try_cflags_saved_exeext=$ac_exeext
10460 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10461 CC="$CROSSCC"
10462 ac_exeext=".exe"
10463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10465 int __cdecl mainCRTStartup(void) { return 0; }
10466 _ACEOF
10467 if ac_fn_c_try_link "$LINENO"; then :
10468 ac_cv_crosscflags__Wnonnull=yes
10469 else
10470 ac_cv_crosscflags__Wnonnull=no
10472 rm -f core conftest.err conftest.$ac_objext \
10473 conftest$ac_exeext conftest.$ac_ext
10474 CFLAGS=$ac_wine_try_cflags_saved
10475 CC=$ac_wine_try_cflags_saved_cc
10476 ac_exeext=$ac_wine_try_cflags_saved_exeext
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10479 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10480 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10481 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10484 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10485 if ${ac_cv_crosscflags__mcx16+:} false; then :
10486 $as_echo_n "(cached) " >&6
10487 else
10488 ac_wine_try_cflags_saved=$CFLAGS
10489 ac_wine_try_cflags_saved_cc=$CC
10490 ac_wine_try_cflags_saved_exeext=$ac_exeext
10491 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10492 CC="$CROSSCC"
10493 ac_exeext=".exe"
10494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10495 /* end confdefs.h. */
10496 int __cdecl mainCRTStartup(void) { return 0; }
10497 _ACEOF
10498 if ac_fn_c_try_link "$LINENO"; then :
10499 ac_cv_crosscflags__mcx16=yes
10500 else
10501 ac_cv_crosscflags__mcx16=no
10503 rm -f core conftest.err conftest.$ac_objext \
10504 conftest$ac_exeext conftest.$ac_ext
10505 CFLAGS=$ac_wine_try_cflags_saved
10506 CC=$ac_wine_try_cflags_saved_cc
10507 ac_exeext=$ac_wine_try_cflags_saved_exeext
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10510 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10511 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10512 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10513 fi ;;
10514 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10515 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10516 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10517 $as_echo_n "(cached) " >&6
10518 else
10519 ac_wine_try_cflags_saved=$CFLAGS
10520 ac_wine_try_cflags_saved_cc=$CC
10521 ac_wine_try_cflags_saved_exeext=$ac_exeext
10522 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10523 CC="$CROSSCC"
10524 ac_exeext=".exe"
10525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10527 int __cdecl mainCRTStartup(void) { return 0; }
10528 _ACEOF
10529 if ac_fn_c_try_link "$LINENO"; then :
10530 ac_cv_crosscflags__Wno_format=yes
10531 else
10532 ac_cv_crosscflags__Wno_format=no
10534 rm -f core conftest.err conftest.$ac_objext \
10535 conftest$ac_exeext conftest.$ac_ext
10536 CFLAGS=$ac_wine_try_cflags_saved
10537 CC=$ac_wine_try_cflags_saved_cc
10538 ac_exeext=$ac_wine_try_cflags_saved_exeext
10540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10541 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10542 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10543 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10544 fi ;;
10545 esac
10548 if test -z "$CROSSDEBUG"
10549 then
10550 for ac_flag in $CROSSCFLAGS; do
10551 case $ac_flag in
10552 -gdwarf*) CROSSDEBUG=dwarf ;;
10553 -gcodeview) CROSSDEBUG=pdb ;;
10554 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10555 esac
10556 done
10558 case $CROSSDEBUG in
10559 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10560 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10561 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10562 $as_echo_n "(cached) " >&6
10563 else
10564 ac_wine_try_cflags_saved=$CFLAGS
10565 ac_wine_try_cflags_saved_cc=$CC
10566 ac_wine_try_cflags_saved_exeext=$ac_exeext
10567 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10568 CC="$CROSSCC"
10569 ac_exeext=".exe"
10570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10571 /* end confdefs.h. */
10572 int __cdecl mainCRTStartup(void) { return 0; }
10573 _ACEOF
10574 if ac_fn_c_try_link "$LINENO"; then :
10575 ac_cv_crosscflags__gdwarf_2=yes
10576 else
10577 ac_cv_crosscflags__gdwarf_2=no
10579 rm -f core conftest.err conftest.$ac_objext \
10580 conftest$ac_exeext conftest.$ac_ext
10581 CFLAGS=$ac_wine_try_cflags_saved
10582 CC=$ac_wine_try_cflags_saved_cc
10583 ac_exeext=$ac_wine_try_cflags_saved_exeext
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10586 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10587 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10588 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10591 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10592 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10593 $as_echo_n "(cached) " >&6
10594 else
10595 ac_wine_try_cflags_saved=$CFLAGS
10596 ac_wine_try_cflags_saved_cc=$CC
10597 ac_wine_try_cflags_saved_exeext=$ac_exeext
10598 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10599 CC="$CROSSCC"
10600 ac_exeext=".exe"
10601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10603 int __cdecl mainCRTStartup(void) { return 0; }
10604 _ACEOF
10605 if ac_fn_c_try_link "$LINENO"; then :
10606 ac_cv_crosscflags__gstrict_dwarf=yes
10607 else
10608 ac_cv_crosscflags__gstrict_dwarf=no
10610 rm -f core conftest.err conftest.$ac_objext \
10611 conftest$ac_exeext conftest.$ac_ext
10612 CFLAGS=$ac_wine_try_cflags_saved
10613 CC=$ac_wine_try_cflags_saved_cc
10614 ac_exeext=$ac_wine_try_cflags_saved_exeext
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10617 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10618 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10619 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10620 fi ;;
10621 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10622 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10623 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10624 $as_echo_n "(cached) " >&6
10625 else
10626 ac_wine_try_cflags_saved=$CFLAGS
10627 ac_wine_try_cflags_saved_cc=$CC
10628 ac_wine_try_cflags_saved_exeext=$ac_exeext
10629 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10630 CC="$CROSSCC"
10631 ac_exeext=".exe"
10632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10634 int __cdecl mainCRTStartup(void) { return 0; }
10635 _ACEOF
10636 if ac_fn_c_try_link "$LINENO"; then :
10637 ac_cv_crosscflags__gcodeview=yes
10638 else
10639 ac_cv_crosscflags__gcodeview=no
10641 rm -f core conftest.err conftest.$ac_objext \
10642 conftest$ac_exeext conftest.$ac_ext
10643 CFLAGS=$ac_wine_try_cflags_saved
10644 CC=$ac_wine_try_cflags_saved_cc
10645 ac_exeext=$ac_wine_try_cflags_saved_exeext
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10648 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10649 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10650 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10651 fi ;;
10652 esac
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10655 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10656 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10657 $as_echo_n "(cached) " >&6
10658 else
10659 ac_wine_try_cflags_saved=$CFLAGS
10660 ac_wine_try_cflags_saved_cc=$CC
10661 ac_wine_try_cflags_saved_exeext=$ac_exeext
10662 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10663 CC="$CROSSCC"
10664 ac_exeext=".exe"
10665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10666 /* end confdefs.h. */
10667 int __cdecl mainCRTStartup(void) { return 0; }
10668 _ACEOF
10669 if ac_fn_c_try_link "$LINENO"; then :
10670 ac_cv_crosscflags__fexcess_precision_standard=yes
10671 else
10672 ac_cv_crosscflags__fexcess_precision_standard=no
10674 rm -f core conftest.err conftest.$ac_objext \
10675 conftest$ac_exeext conftest.$ac_ext
10676 CFLAGS=$ac_wine_try_cflags_saved
10677 CC=$ac_wine_try_cflags_saved_cc
10678 ac_exeext=$ac_wine_try_cflags_saved_exeext
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10681 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10682 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10683 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10687 if test "x$enable_werror" = "xyes"
10688 then
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10690 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10691 if ${ac_cv_crosscflags__Werror+:} false; then :
10692 $as_echo_n "(cached) " >&6
10693 else
10694 ac_wine_try_cflags_saved=$CFLAGS
10695 ac_wine_try_cflags_saved_cc=$CC
10696 ac_wine_try_cflags_saved_exeext=$ac_exeext
10697 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10698 CC="$CROSSCC"
10699 ac_exeext=".exe"
10700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10701 /* end confdefs.h. */
10702 int __cdecl mainCRTStartup(void) { return 0; }
10703 _ACEOF
10704 if ac_fn_c_try_link "$LINENO"; then :
10705 ac_cv_crosscflags__Werror=yes
10706 else
10707 ac_cv_crosscflags__Werror=no
10709 rm -f core conftest.err conftest.$ac_objext \
10710 conftest$ac_exeext conftest.$ac_ext
10711 CFLAGS=$ac_wine_try_cflags_saved
10712 CC=$ac_wine_try_cflags_saved_cc
10713 ac_exeext=$ac_wine_try_cflags_saved_exeext
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10716 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10717 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10718 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10721 if test "x$enable_build_id" = "xyes"
10722 then
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10724 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10725 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10726 $as_echo_n "(cached) " >&6
10727 else
10728 ac_wine_try_cflags_saved=$CFLAGS
10729 ac_wine_try_cflags_saved_cc=$CC
10730 ac_wine_try_cflags_saved_exeext=$ac_exeext
10731 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10732 CC="$CROSSCC"
10733 ac_exeext=".exe"
10734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10736 int __cdecl mainCRTStartup(void) { return 0; }
10737 _ACEOF
10738 if ac_fn_c_try_link "$LINENO"; then :
10739 ac_cv_crosscflags__Wl___build_id=yes
10740 else
10741 ac_cv_crosscflags__Wl___build_id=no
10743 rm -f core conftest.err conftest.$ac_objext \
10744 conftest$ac_exeext conftest.$ac_ext
10745 CFLAGS=$ac_wine_try_cflags_saved
10746 CC=$ac_wine_try_cflags_saved_cc
10747 ac_exeext=$ac_wine_try_cflags_saved_exeext
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10750 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10751 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10752 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10753 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10757 CFLAGS=$saved_CFLAGS
10758 CC="$ac_save_CC"
10761 if test "x$CROSSTARGET" = "x"; then :
10762 case "x$with_mingw" in
10763 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10764 xno) ;;
10765 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10766 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10767 esac
10772 if test "$ac_cv_header_pthread_h" = "yes"
10773 then
10774 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10775 if test "x$ac_cv_func_pthread_create" = xyes; then :
10777 else
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10779 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10780 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10781 $as_echo_n "(cached) " >&6
10782 else
10783 ac_check_lib_save_LIBS=$LIBS
10784 LIBS="-lpthread $LIBS"
10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10788 /* Override any GCC internal prototype to avoid an error.
10789 Use char because int might match the return type of a GCC
10790 builtin and then its argument prototype would still apply. */
10791 #ifdef __cplusplus
10792 extern "C"
10793 #endif
10794 char pthread_create ();
10796 main ()
10798 return pthread_create ();
10800 return 0;
10802 _ACEOF
10803 if ac_fn_c_try_link "$LINENO"; then :
10804 ac_cv_lib_pthread_pthread_create=yes
10805 else
10806 ac_cv_lib_pthread_pthread_create=no
10808 rm -f core conftest.err conftest.$ac_objext \
10809 conftest$ac_exeext conftest.$ac_ext
10810 LIBS=$ac_check_lib_save_LIBS
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10813 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10814 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10815 PTHREAD_LIBS="-lpthread"
10822 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10823 case "x$with_pthread" in
10824 xno) ;;
10825 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10826 Wine cannot support threads without libpthread.
10827 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10828 esac
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10834 $as_echo_n "checking for X... " >&6; }
10837 # Check whether --with-x was given.
10838 if test "${with_x+set}" = set; then :
10839 withval=$with_x;
10842 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10843 if test "x$with_x" = xno; then
10844 # The user explicitly disabled X.
10845 have_x=disabled
10846 else
10847 case $x_includes,$x_libraries in #(
10848 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10849 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10850 $as_echo_n "(cached) " >&6
10851 else
10852 # One or both of the vars are not set, and there is no cached value.
10853 ac_x_includes=no ac_x_libraries=no
10854 rm -f -r conftest.dir
10855 if mkdir conftest.dir; then
10856 cd conftest.dir
10857 cat >Imakefile <<'_ACEOF'
10858 incroot:
10859 @echo incroot='${INCROOT}'
10860 usrlibdir:
10861 @echo usrlibdir='${USRLIBDIR}'
10862 libdir:
10863 @echo libdir='${LIBDIR}'
10864 _ACEOF
10865 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10866 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10867 for ac_var in incroot usrlibdir libdir; do
10868 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10869 done
10870 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10871 for ac_extension in a so sl dylib la dll; do
10872 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10873 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10874 ac_im_usrlibdir=$ac_im_libdir; break
10876 done
10877 # Screen out bogus values from the imake configuration. They are
10878 # bogus both because they are the default anyway, and because
10879 # using them would break gcc on systems where it needs fixed includes.
10880 case $ac_im_incroot in
10881 /usr/include) ac_x_includes= ;;
10882 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10883 esac
10884 case $ac_im_usrlibdir in
10885 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10886 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10887 esac
10889 cd ..
10890 rm -f -r conftest.dir
10893 # Standard set of common directories for X headers.
10894 # Check X11 before X11Rn because it is often a symlink to the current release.
10895 ac_x_header_dirs='
10896 /usr/X11/include
10897 /usr/X11R7/include
10898 /usr/X11R6/include
10899 /usr/X11R5/include
10900 /usr/X11R4/include
10902 /usr/include/X11
10903 /usr/include/X11R7
10904 /usr/include/X11R6
10905 /usr/include/X11R5
10906 /usr/include/X11R4
10908 /usr/local/X11/include
10909 /usr/local/X11R7/include
10910 /usr/local/X11R6/include
10911 /usr/local/X11R5/include
10912 /usr/local/X11R4/include
10914 /usr/local/include/X11
10915 /usr/local/include/X11R7
10916 /usr/local/include/X11R6
10917 /usr/local/include/X11R5
10918 /usr/local/include/X11R4
10920 /usr/X386/include
10921 /usr/x386/include
10922 /usr/XFree86/include/X11
10924 /usr/include
10925 /usr/local/include
10926 /usr/unsupported/include
10927 /usr/athena/include
10928 /usr/local/x11r5/include
10929 /usr/lpp/Xamples/include
10931 /usr/openwin/include
10932 /usr/openwin/share/include'
10934 if test "$ac_x_includes" = no; then
10935 # Guess where to find include files, by looking for Xlib.h.
10936 # First, try using that file with no special directory specified.
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10939 #include <X11/Xlib.h>
10940 _ACEOF
10941 if ac_fn_c_try_cpp "$LINENO"; then :
10942 # We can compile using X headers with no special include directory.
10943 ac_x_includes=
10944 else
10945 for ac_dir in $ac_x_header_dirs; do
10946 if test -r "$ac_dir/X11/Xlib.h"; then
10947 ac_x_includes=$ac_dir
10948 break
10950 done
10952 rm -f conftest.err conftest.i conftest.$ac_ext
10953 fi # $ac_x_includes = no
10955 if test "$ac_x_libraries" = no; then
10956 # Check for the libraries.
10957 # See if we find them without any special options.
10958 # Don't add to $LIBS permanently.
10959 ac_save_LIBS=$LIBS
10960 LIBS="-lX11 $LIBS"
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10963 #include <X11/Xlib.h>
10965 main ()
10967 XrmInitialize ()
10969 return 0;
10971 _ACEOF
10972 if ac_fn_c_try_link "$LINENO"; then :
10973 LIBS=$ac_save_LIBS
10974 # We can link X programs with no special library path.
10975 ac_x_libraries=
10976 else
10977 LIBS=$ac_save_LIBS
10978 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10980 # Don't even attempt the hair of trying to link an X program!
10981 for ac_extension in a so sl dylib la dll; do
10982 if test -r "$ac_dir/libX11.$ac_extension"; then
10983 ac_x_libraries=$ac_dir
10984 break 2
10986 done
10987 done
10989 rm -f core conftest.err conftest.$ac_objext \
10990 conftest$ac_exeext conftest.$ac_ext
10991 fi # $ac_x_libraries = no
10993 case $ac_x_includes,$ac_x_libraries in #(
10994 no,* | *,no | *\'*)
10995 # Didn't find X, or a directory has "'" in its name.
10996 ac_cv_have_x="have_x=no";; #(
10998 # Record where we found X for the cache.
10999 ac_cv_have_x="have_x=yes\
11000 ac_x_includes='$ac_x_includes'\
11001 ac_x_libraries='$ac_x_libraries'"
11002 esac
11004 ;; #(
11005 *) have_x=yes;;
11006 esac
11007 eval "$ac_cv_have_x"
11008 fi # $with_x != no
11010 if test "$have_x" != yes; then
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11012 $as_echo "$have_x" >&6; }
11013 no_x=yes
11014 else
11015 # If each of the values was on the command line, it overrides each guess.
11016 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11017 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11018 # Update the cache value to reflect the command line values.
11019 ac_cv_have_x="have_x=yes\
11020 ac_x_includes='$x_includes'\
11021 ac_x_libraries='$x_libraries'"
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11023 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11026 if test "$no_x" = yes; then
11027 # Not all programs may use this symbol, but it does not hurt to define it.
11029 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11031 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11032 else
11033 if test -n "$x_includes"; then
11034 X_CFLAGS="$X_CFLAGS -I$x_includes"
11037 # It would also be nice to do this for all -L options, not just this one.
11038 if test -n "$x_libraries"; then
11039 X_LIBS="$X_LIBS -L$x_libraries"
11040 # For Solaris; some versions of Sun CC require a space after -R and
11041 # others require no space. Words are not sufficient . . . .
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11043 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11044 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11045 ac_xsave_c_werror_flag=$ac_c_werror_flag
11046 ac_c_werror_flag=yes
11047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11051 main ()
11055 return 0;
11057 _ACEOF
11058 if ac_fn_c_try_link "$LINENO"; then :
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11060 $as_echo "no" >&6; }
11061 X_LIBS="$X_LIBS -R$x_libraries"
11062 else
11063 LIBS="$ac_xsave_LIBS -R $x_libraries"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11068 main ()
11072 return 0;
11074 _ACEOF
11075 if ac_fn_c_try_link "$LINENO"; then :
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11077 $as_echo "yes" >&6; }
11078 X_LIBS="$X_LIBS -R $x_libraries"
11079 else
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11081 $as_echo "neither works" >&6; }
11083 rm -f core conftest.err conftest.$ac_objext \
11084 conftest$ac_exeext conftest.$ac_ext
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 ac_c_werror_flag=$ac_xsave_c_werror_flag
11089 LIBS=$ac_xsave_LIBS
11092 # Check for system-dependent libraries X programs must link with.
11093 # Do this before checking for the system-independent R6 libraries
11094 # (-lICE), since we may need -lsocket or whatever for X linking.
11096 if test "$ISC" = yes; then
11097 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11098 else
11099 # Martyn Johnson says this is needed for Ultrix, if the X
11100 # libraries were built with DECnet support. And Karl Berry says
11101 # the Alpha needs dnet_stub (dnet does not exist).
11102 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11104 /* end confdefs.h. */
11106 /* Override any GCC internal prototype to avoid an error.
11107 Use char because int might match the return type of a GCC
11108 builtin and then its argument prototype would still apply. */
11109 #ifdef __cplusplus
11110 extern "C"
11111 #endif
11112 char XOpenDisplay ();
11114 main ()
11116 return XOpenDisplay ();
11118 return 0;
11120 _ACEOF
11121 if ac_fn_c_try_link "$LINENO"; then :
11123 else
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11125 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11126 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11127 $as_echo_n "(cached) " >&6
11128 else
11129 ac_check_lib_save_LIBS=$LIBS
11130 LIBS="-ldnet $LIBS"
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11134 /* Override any GCC internal prototype to avoid an error.
11135 Use char because int might match the return type of a GCC
11136 builtin and then its argument prototype would still apply. */
11137 #ifdef __cplusplus
11138 extern "C"
11139 #endif
11140 char dnet_ntoa ();
11142 main ()
11144 return dnet_ntoa ();
11146 return 0;
11148 _ACEOF
11149 if ac_fn_c_try_link "$LINENO"; then :
11150 ac_cv_lib_dnet_dnet_ntoa=yes
11151 else
11152 ac_cv_lib_dnet_dnet_ntoa=no
11154 rm -f core conftest.err conftest.$ac_objext \
11155 conftest$ac_exeext conftest.$ac_ext
11156 LIBS=$ac_check_lib_save_LIBS
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11159 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11160 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11161 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11164 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11166 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11167 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11168 $as_echo_n "(cached) " >&6
11169 else
11170 ac_check_lib_save_LIBS=$LIBS
11171 LIBS="-ldnet_stub $LIBS"
11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11178 #ifdef __cplusplus
11179 extern "C"
11180 #endif
11181 char dnet_ntoa ();
11183 main ()
11185 return dnet_ntoa ();
11187 return 0;
11189 _ACEOF
11190 if ac_fn_c_try_link "$LINENO"; then :
11191 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11192 else
11193 ac_cv_lib_dnet_stub_dnet_ntoa=no
11195 rm -f core conftest.err conftest.$ac_objext \
11196 conftest$ac_exeext conftest.$ac_ext
11197 LIBS=$ac_check_lib_save_LIBS
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11200 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11201 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11202 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11207 rm -f core conftest.err conftest.$ac_objext \
11208 conftest$ac_exeext conftest.$ac_ext
11209 LIBS="$ac_xsave_LIBS"
11211 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11212 # to get the SysV transport functions.
11213 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11214 # needs -lnsl.
11215 # The nsl library prevents programs from opening the X display
11216 # on Irix 5.2, according to T.E. Dickey.
11217 # The functions gethostbyname, getservbyname, and inet_addr are
11218 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11219 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11220 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11224 if test $ac_cv_func_gethostbyname = no; then
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11226 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11227 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11228 $as_echo_n "(cached) " >&6
11229 else
11230 ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-lnsl $LIBS"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11235 /* Override any GCC internal prototype to avoid an error.
11236 Use char because int might match the return type of a GCC
11237 builtin and then its argument prototype would still apply. */
11238 #ifdef __cplusplus
11239 extern "C"
11240 #endif
11241 char gethostbyname ();
11243 main ()
11245 return gethostbyname ();
11247 return 0;
11249 _ACEOF
11250 if ac_fn_c_try_link "$LINENO"; then :
11251 ac_cv_lib_nsl_gethostbyname=yes
11252 else
11253 ac_cv_lib_nsl_gethostbyname=no
11255 rm -f core conftest.err conftest.$ac_objext \
11256 conftest$ac_exeext conftest.$ac_ext
11257 LIBS=$ac_check_lib_save_LIBS
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11260 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11261 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11262 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11265 if test $ac_cv_lib_nsl_gethostbyname = no; then
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11267 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11268 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11269 $as_echo_n "(cached) " >&6
11270 else
11271 ac_check_lib_save_LIBS=$LIBS
11272 LIBS="-lbsd $LIBS"
11273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11276 /* Override any GCC internal prototype to avoid an error.
11277 Use char because int might match the return type of a GCC
11278 builtin and then its argument prototype would still apply. */
11279 #ifdef __cplusplus
11280 extern "C"
11281 #endif
11282 char gethostbyname ();
11284 main ()
11286 return gethostbyname ();
11288 return 0;
11290 _ACEOF
11291 if ac_fn_c_try_link "$LINENO"; then :
11292 ac_cv_lib_bsd_gethostbyname=yes
11293 else
11294 ac_cv_lib_bsd_gethostbyname=no
11296 rm -f core conftest.err conftest.$ac_objext \
11297 conftest$ac_exeext conftest.$ac_ext
11298 LIBS=$ac_check_lib_save_LIBS
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11301 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11302 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11303 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11309 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11310 # socket/setsockopt and other routines are undefined under SCO ODT
11311 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11312 # on later versions), says Simon Leinen: it contains gethostby*
11313 # variants that don't use the name server (or something). -lsocket
11314 # must be given before -lnsl if both are needed. We assume that
11315 # if connect needs -lnsl, so does gethostbyname.
11316 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11317 if test "x$ac_cv_func_connect" = xyes; then :
11321 if test $ac_cv_func_connect = no; then
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11323 $as_echo_n "checking for connect in -lsocket... " >&6; }
11324 if ${ac_cv_lib_socket_connect+:} false; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 ac_check_lib_save_LIBS=$LIBS
11328 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11332 /* Override any GCC internal prototype to avoid an error.
11333 Use char because int might match the return type of a GCC
11334 builtin and then its argument prototype would still apply. */
11335 #ifdef __cplusplus
11336 extern "C"
11337 #endif
11338 char connect ();
11340 main ()
11342 return connect ();
11344 return 0;
11346 _ACEOF
11347 if ac_fn_c_try_link "$LINENO"; then :
11348 ac_cv_lib_socket_connect=yes
11349 else
11350 ac_cv_lib_socket_connect=no
11352 rm -f core conftest.err conftest.$ac_objext \
11353 conftest$ac_exeext conftest.$ac_ext
11354 LIBS=$ac_check_lib_save_LIBS
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11357 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11358 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11359 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11364 # Guillermo Gomez says -lposix is necessary on A/UX.
11365 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11366 if test "x$ac_cv_func_remove" = xyes; then :
11370 if test $ac_cv_func_remove = no; then
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11372 $as_echo_n "checking for remove in -lposix... " >&6; }
11373 if ${ac_cv_lib_posix_remove+:} false; then :
11374 $as_echo_n "(cached) " >&6
11375 else
11376 ac_check_lib_save_LIBS=$LIBS
11377 LIBS="-lposix $LIBS"
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11381 /* Override any GCC internal prototype to avoid an error.
11382 Use char because int might match the return type of a GCC
11383 builtin and then its argument prototype would still apply. */
11384 #ifdef __cplusplus
11385 extern "C"
11386 #endif
11387 char remove ();
11389 main ()
11391 return remove ();
11393 return 0;
11395 _ACEOF
11396 if ac_fn_c_try_link "$LINENO"; then :
11397 ac_cv_lib_posix_remove=yes
11398 else
11399 ac_cv_lib_posix_remove=no
11401 rm -f core conftest.err conftest.$ac_objext \
11402 conftest$ac_exeext conftest.$ac_ext
11403 LIBS=$ac_check_lib_save_LIBS
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11406 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11407 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11408 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11413 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11414 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11415 if test "x$ac_cv_func_shmat" = xyes; then :
11419 if test $ac_cv_func_shmat = no; then
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11421 $as_echo_n "checking for shmat in -lipc... " >&6; }
11422 if ${ac_cv_lib_ipc_shmat+:} false; then :
11423 $as_echo_n "(cached) " >&6
11424 else
11425 ac_check_lib_save_LIBS=$LIBS
11426 LIBS="-lipc $LIBS"
11427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11428 /* end confdefs.h. */
11430 /* Override any GCC internal prototype to avoid an error.
11431 Use char because int might match the return type of a GCC
11432 builtin and then its argument prototype would still apply. */
11433 #ifdef __cplusplus
11434 extern "C"
11435 #endif
11436 char shmat ();
11438 main ()
11440 return shmat ();
11442 return 0;
11444 _ACEOF
11445 if ac_fn_c_try_link "$LINENO"; then :
11446 ac_cv_lib_ipc_shmat=yes
11447 else
11448 ac_cv_lib_ipc_shmat=no
11450 rm -f core conftest.err conftest.$ac_objext \
11451 conftest$ac_exeext conftest.$ac_ext
11452 LIBS=$ac_check_lib_save_LIBS
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11455 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11456 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11457 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11463 # Check for libraries that X11R6 Xt/Xaw programs need.
11464 ac_save_LDFLAGS=$LDFLAGS
11465 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11466 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11467 # check for ICE first), but we must link in the order -lSM -lICE or
11468 # we get undefined symbols. So assume we have SM if we have ICE.
11469 # These have to be linked with before -lX11, unlike the other
11470 # libraries we check for below, so use a different variable.
11471 # John Interrante, Karl Berry
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11473 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11474 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11475 $as_echo_n "(cached) " >&6
11476 else
11477 ac_check_lib_save_LIBS=$LIBS
11478 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11485 #ifdef __cplusplus
11486 extern "C"
11487 #endif
11488 char IceConnectionNumber ();
11490 main ()
11492 return IceConnectionNumber ();
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 ac_cv_lib_ICE_IceConnectionNumber=yes
11499 else
11500 ac_cv_lib_ICE_IceConnectionNumber=no
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LIBS=$ac_check_lib_save_LIBS
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11507 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11508 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11509 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11512 LDFLAGS=$ac_save_LDFLAGS
11517 if test "$have_x" = "yes"
11518 then
11519 ac_save_CPPFLAGS="$CPPFLAGS"
11520 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11523 $as_echo_n "checking for -lX11... " >&6; }
11524 if ${ac_cv_lib_soname_X11+:} false; then :
11525 $as_echo_n "(cached) " >&6
11526 else
11527 ac_check_soname_save_LIBS=$LIBS
11528 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11535 #ifdef __cplusplus
11536 extern "C"
11537 #endif
11538 char XCreateWindow ();
11540 main ()
11542 return XCreateWindow ();
11544 return 0;
11546 _ACEOF
11547 if ac_fn_c_try_link "$LINENO"; then :
11548 case "$LIBEXT" in
11549 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11550 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'` ;;
11551 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11552 if ${ac_cv_lib_soname_X11:+false} :; then :
11553 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11554 fi ;;
11555 esac
11556 else
11557 ac_cv_lib_soname_X11=
11559 rm -f core conftest.err conftest.$ac_objext \
11560 conftest$ac_exeext conftest.$ac_ext
11561 LIBS=$ac_check_soname_save_LIBS
11563 if ${ac_cv_lib_soname_X11:+false} :; then :
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11565 $as_echo "not found" >&6; }
11567 else
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11569 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11571 cat >>confdefs.h <<_ACEOF
11572 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11573 _ACEOF
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11578 $as_echo_n "checking for -lXext... " >&6; }
11579 if ${ac_cv_lib_soname_Xext+:} false; then :
11580 $as_echo_n "(cached) " >&6
11581 else
11582 ac_check_soname_save_LIBS=$LIBS
11583 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11587 /* Override any GCC internal prototype to avoid an error.
11588 Use char because int might match the return type of a GCC
11589 builtin and then its argument prototype would still apply. */
11590 #ifdef __cplusplus
11591 extern "C"
11592 #endif
11593 char XextCreateExtension ();
11595 main ()
11597 return XextCreateExtension ();
11599 return 0;
11601 _ACEOF
11602 if ac_fn_c_try_link "$LINENO"; then :
11603 case "$LIBEXT" in
11604 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11605 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'` ;;
11606 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11607 if ${ac_cv_lib_soname_Xext:+false} :; then :
11608 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11609 fi ;;
11610 esac
11611 else
11612 ac_cv_lib_soname_Xext=
11614 rm -f core conftest.err conftest.$ac_objext \
11615 conftest$ac_exeext conftest.$ac_ext
11616 LIBS=$ac_check_soname_save_LIBS
11618 if ${ac_cv_lib_soname_Xext:+false} :; then :
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11620 $as_echo "not found" >&6; }
11622 else
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11624 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11626 cat >>confdefs.h <<_ACEOF
11627 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11628 _ACEOF
11630 X_LIBS="$X_LIBS -lXext"
11632 X_LIBS="$X_LIBS -lX11"
11634 for ac_header in X11/Xlib.h \
11635 X11/XKBlib.h \
11636 X11/Xutil.h \
11637 X11/Xcursor/Xcursor.h \
11638 X11/extensions/shape.h \
11639 X11/extensions/XInput.h \
11640 X11/extensions/XInput2.h \
11641 X11/extensions/XShm.h \
11642 X11/extensions/Xcomposite.h \
11643 X11/extensions/Xfixes.h \
11644 X11/extensions/Xinerama.h \
11645 X11/extensions/Xrandr.h \
11646 X11/extensions/Xrender.h \
11647 X11/extensions/xf86vmode.h \
11648 X11/extensions/xf86vmproto.h
11649 do :
11650 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11651 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11652 # include <X11/Xlib.h>
11653 #endif
11654 #ifdef HAVE_X11_XUTIL_H
11655 # include <X11/Xutil.h>
11656 #endif
11658 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11659 cat >>confdefs.h <<_ACEOF
11660 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11661 _ACEOF
11665 done
11668 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11669 then
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11671 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11672 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11673 $as_echo_n "(cached) " >&6
11674 else
11675 ac_check_lib_save_LIBS=$LIBS
11676 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11680 /* Override any GCC internal prototype to avoid an error.
11681 Use char because int might match the return type of a GCC
11682 builtin and then its argument prototype would still apply. */
11683 #ifdef __cplusplus
11684 extern "C"
11685 #endif
11686 char XkbQueryExtension ();
11688 main ()
11690 return XkbQueryExtension ();
11692 return 0;
11694 _ACEOF
11695 if ac_fn_c_try_link "$LINENO"; then :
11696 ac_cv_lib_X11_XkbQueryExtension=yes
11697 else
11698 ac_cv_lib_X11_XkbQueryExtension=no
11700 rm -f core conftest.err conftest.$ac_objext \
11701 conftest$ac_exeext conftest.$ac_ext
11702 LIBS=$ac_check_lib_save_LIBS
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11705 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11706 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11708 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11714 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11715 then
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11717 $as_echo_n "checking for -lXcursor... " >&6; }
11718 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11719 $as_echo_n "(cached) " >&6
11720 else
11721 ac_check_soname_save_LIBS=$LIBS
11722 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11724 /* end confdefs.h. */
11726 /* Override any GCC internal prototype to avoid an error.
11727 Use char because int might match the return type of a GCC
11728 builtin and then its argument prototype would still apply. */
11729 #ifdef __cplusplus
11730 extern "C"
11731 #endif
11732 char XcursorImageLoadCursor ();
11734 main ()
11736 return XcursorImageLoadCursor ();
11738 return 0;
11740 _ACEOF
11741 if ac_fn_c_try_link "$LINENO"; then :
11742 case "$LIBEXT" in
11743 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11744 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'` ;;
11745 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11746 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11747 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11748 fi ;;
11749 esac
11750 else
11751 ac_cv_lib_soname_Xcursor=
11753 rm -f core conftest.err conftest.$ac_objext \
11754 conftest$ac_exeext conftest.$ac_ext
11755 LIBS=$ac_check_soname_save_LIBS
11757 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11759 $as_echo "not found" >&6; }
11761 else
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11763 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11765 cat >>confdefs.h <<_ACEOF
11766 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11767 _ACEOF
11772 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11773 case "x$with_xcursor" in
11774 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11775 xno) ;;
11776 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11777 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11778 esac
11782 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11783 then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11785 $as_echo_n "checking for -lXi... " >&6; }
11786 if ${ac_cv_lib_soname_Xi+:} false; then :
11787 $as_echo_n "(cached) " >&6
11788 else
11789 ac_check_soname_save_LIBS=$LIBS
11790 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11794 /* Override any GCC internal prototype to avoid an error.
11795 Use char because int might match the return type of a GCC
11796 builtin and then its argument prototype would still apply. */
11797 #ifdef __cplusplus
11798 extern "C"
11799 #endif
11800 char XOpenDevice ();
11802 main ()
11804 return XOpenDevice ();
11806 return 0;
11808 _ACEOF
11809 if ac_fn_c_try_link "$LINENO"; then :
11810 case "$LIBEXT" in
11811 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11812 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'` ;;
11813 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11814 if ${ac_cv_lib_soname_Xi:+false} :; then :
11815 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11816 fi ;;
11817 esac
11818 else
11819 ac_cv_lib_soname_Xi=
11821 rm -f core conftest.err conftest.$ac_objext \
11822 conftest$ac_exeext conftest.$ac_ext
11823 LIBS=$ac_check_soname_save_LIBS
11825 if ${ac_cv_lib_soname_Xi:+false} :; then :
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11827 $as_echo "not found" >&6; }
11829 else
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11831 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11833 cat >>confdefs.h <<_ACEOF
11834 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11835 _ACEOF
11840 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11841 case "x$with_xinput" in
11842 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11843 xno) ;;
11844 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11845 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11846 esac
11850 if test "x$ac_cv_lib_soname_Xi" != x
11851 then
11852 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11853 case "x$with_xinput2" in
11854 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11855 xno) ;;
11856 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11857 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11858 esac
11863 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11864 then
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11866 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11867 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11868 $as_echo_n "(cached) " >&6
11869 else
11870 ac_check_lib_save_LIBS=$LIBS
11871 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11878 #ifdef __cplusplus
11879 extern "C"
11880 #endif
11881 char XShmQueryExtension ();
11883 main ()
11885 return XShmQueryExtension ();
11887 return 0;
11889 _ACEOF
11890 if ac_fn_c_try_link "$LINENO"; then :
11891 ac_cv_lib_Xext_XShmQueryExtension=yes
11892 else
11893 ac_cv_lib_Xext_XShmQueryExtension=no
11895 rm -f core conftest.err conftest.$ac_objext \
11896 conftest$ac_exeext conftest.$ac_ext
11897 LIBS=$ac_check_lib_save_LIBS
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11900 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11901 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11903 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11908 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11909 case "x$with_xshm" in
11910 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11911 xno) ;;
11912 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11913 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11914 esac
11918 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11919 then
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11921 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11922 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11923 $as_echo_n "(cached) " >&6
11924 else
11925 ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11933 #ifdef __cplusplus
11934 extern "C"
11935 #endif
11936 char XShapeQueryExtension ();
11938 main ()
11940 return XShapeQueryExtension ();
11942 return 0;
11944 _ACEOF
11945 if ac_fn_c_try_link "$LINENO"; then :
11946 ac_cv_lib_Xext_XShapeQueryExtension=yes
11947 else
11948 ac_cv_lib_Xext_XShapeQueryExtension=no
11950 rm -f core conftest.err conftest.$ac_objext \
11951 conftest$ac_exeext conftest.$ac_ext
11952 LIBS=$ac_check_lib_save_LIBS
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11955 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11956 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11958 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11963 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11964 case "x$with_xshape" in
11965 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11966 xno) ;;
11967 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11968 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11969 esac
11973 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11974 then
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11976 $as_echo_n "checking for -lXxf86vm... " >&6; }
11977 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11978 $as_echo_n "(cached) " >&6
11979 else
11980 ac_check_soname_save_LIBS=$LIBS
11981 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11983 /* end confdefs.h. */
11985 /* Override any GCC internal prototype to avoid an error.
11986 Use char because int might match the return type of a GCC
11987 builtin and then its argument prototype would still apply. */
11988 #ifdef __cplusplus
11989 extern "C"
11990 #endif
11991 char XF86VidModeQueryExtension ();
11993 main ()
11995 return XF86VidModeQueryExtension ();
11997 return 0;
11999 _ACEOF
12000 if ac_fn_c_try_link "$LINENO"; then :
12001 case "$LIBEXT" in
12002 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12003 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'` ;;
12004 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12005 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12006 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12007 fi ;;
12008 esac
12009 else
12010 ac_cv_lib_soname_Xxf86vm=
12012 rm -f core conftest.err conftest.$ac_objext \
12013 conftest$ac_exeext conftest.$ac_ext
12014 LIBS=$ac_check_soname_save_LIBS
12016 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12018 $as_echo "not found" >&6; }
12020 else
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12022 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12024 cat >>confdefs.h <<_ACEOF
12025 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12026 _ACEOF
12031 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12032 case "x$with_xxf86vm" in
12033 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12034 xno) ;;
12035 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12036 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12037 esac
12041 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12042 then
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12044 $as_echo_n "checking for -lXrender... " >&6; }
12045 if ${ac_cv_lib_soname_Xrender+:} false; then :
12046 $as_echo_n "(cached) " >&6
12047 else
12048 ac_check_soname_save_LIBS=$LIBS
12049 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12051 /* end confdefs.h. */
12053 /* Override any GCC internal prototype to avoid an error.
12054 Use char because int might match the return type of a GCC
12055 builtin and then its argument prototype would still apply. */
12056 #ifdef __cplusplus
12057 extern "C"
12058 #endif
12059 char XRenderQueryExtension ();
12061 main ()
12063 return XRenderQueryExtension ();
12065 return 0;
12067 _ACEOF
12068 if ac_fn_c_try_link "$LINENO"; then :
12069 case "$LIBEXT" in
12070 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12071 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'` ;;
12072 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12073 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12074 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12075 fi ;;
12076 esac
12077 else
12078 ac_cv_lib_soname_Xrender=
12080 rm -f core conftest.err conftest.$ac_objext \
12081 conftest$ac_exeext conftest.$ac_ext
12082 LIBS=$ac_check_soname_save_LIBS
12084 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12086 $as_echo "not found" >&6; }
12088 else
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12090 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12092 cat >>confdefs.h <<_ACEOF
12093 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12094 _ACEOF
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12097 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12098 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12099 $as_echo_n "(cached) " >&6
12100 else
12101 ac_check_lib_save_LIBS=$LIBS
12102 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 /* Override any GCC internal prototype to avoid an error.
12107 Use char because int might match the return type of a GCC
12108 builtin and then its argument prototype would still apply. */
12109 #ifdef __cplusplus
12110 extern "C"
12111 #endif
12112 char XRenderSetPictureTransform ();
12114 main ()
12116 return XRenderSetPictureTransform ();
12118 return 0;
12120 _ACEOF
12121 if ac_fn_c_try_link "$LINENO"; then :
12122 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12123 else
12124 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12126 rm -f core conftest.err conftest.$ac_objext \
12127 conftest$ac_exeext conftest.$ac_ext
12128 LIBS=$ac_check_lib_save_LIBS
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12131 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12132 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12134 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12139 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12140 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12141 $as_echo_n "(cached) " >&6
12142 else
12143 ac_check_lib_save_LIBS=$LIBS
12144 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12151 #ifdef __cplusplus
12152 extern "C"
12153 #endif
12154 char XRenderCreateLinearGradient ();
12156 main ()
12158 return XRenderCreateLinearGradient ();
12160 return 0;
12162 _ACEOF
12163 if ac_fn_c_try_link "$LINENO"; then :
12164 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12165 else
12166 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12168 rm -f core conftest.err conftest.$ac_objext \
12169 conftest$ac_exeext conftest.$ac_ext
12170 LIBS=$ac_check_lib_save_LIBS
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12173 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12174 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12176 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12183 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12184 case "x$with_xrender" in
12185 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12186 xno) ;;
12187 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12188 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12189 esac
12193 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12194 then
12195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12196 /* end confdefs.h. */
12197 #include <X11/Xlib.h>
12198 #include <X11/extensions/Xrandr.h>
12200 main ()
12202 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12204 return 0;
12206 _ACEOF
12207 if ac_fn_c_try_compile "$LINENO"; then :
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12209 $as_echo_n "checking for -lXrandr... " >&6; }
12210 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12211 $as_echo_n "(cached) " >&6
12212 else
12213 ac_check_soname_save_LIBS=$LIBS
12214 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h. */
12218 /* Override any GCC internal prototype to avoid an error.
12219 Use char because int might match the return type of a GCC
12220 builtin and then its argument prototype would still apply. */
12221 #ifdef __cplusplus
12222 extern "C"
12223 #endif
12224 char XRRQueryExtension ();
12226 main ()
12228 return XRRQueryExtension ();
12230 return 0;
12232 _ACEOF
12233 if ac_fn_c_try_link "$LINENO"; then :
12234 case "$LIBEXT" in
12235 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12236 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'` ;;
12237 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12238 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12239 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12240 fi ;;
12241 esac
12242 else
12243 ac_cv_lib_soname_Xrandr=
12245 rm -f core conftest.err conftest.$ac_objext \
12246 conftest$ac_exeext conftest.$ac_ext
12247 LIBS=$ac_check_soname_save_LIBS
12249 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12251 $as_echo "not found" >&6; }
12253 else
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12255 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12257 cat >>confdefs.h <<_ACEOF
12258 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12259 _ACEOF
12261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12263 #include <X11/Xlib.h>
12264 #include <X11/extensions/Xrandr.h>
12266 main ()
12268 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12270 return 0;
12272 _ACEOF
12273 if ac_fn_c_try_compile "$LINENO"; then :
12275 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12277 else
12278 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12285 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12286 case "x$with_xrandr" in
12287 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12288 xno) ;;
12289 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12290 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12291 esac
12295 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12296 then
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12299 #include <X11/Xlib.h>
12300 #include <X11/extensions/Xfixes.h>
12302 main ()
12304 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12306 return 0;
12308 _ACEOF
12309 if ac_fn_c_try_compile "$LINENO"; then :
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12311 $as_echo_n "checking for -lXfixes... " >&6; }
12312 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12313 $as_echo_n "(cached) " >&6
12314 else
12315 ac_check_soname_save_LIBS=$LIBS
12316 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12318 /* end confdefs.h. */
12320 /* Override any GCC internal prototype to avoid an error.
12321 Use char because int might match the return type of a GCC
12322 builtin and then its argument prototype would still apply. */
12323 #ifdef __cplusplus
12324 extern "C"
12325 #endif
12326 char XFixesQueryVersion ();
12328 main ()
12330 return XFixesQueryVersion ();
12332 return 0;
12334 _ACEOF
12335 if ac_fn_c_try_link "$LINENO"; then :
12336 case "$LIBEXT" in
12337 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12338 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'` ;;
12339 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12340 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12341 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12342 fi ;;
12343 esac
12344 else
12345 ac_cv_lib_soname_Xfixes=
12347 rm -f core conftest.err conftest.$ac_objext \
12348 conftest$ac_exeext conftest.$ac_ext
12349 LIBS=$ac_check_soname_save_LIBS
12351 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12353 $as_echo "not found" >&6; }
12355 else
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12357 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12359 cat >>confdefs.h <<_ACEOF
12360 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12361 _ACEOF
12366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12368 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12369 case "x$with_xfixes" in
12370 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12371 xno) ;;
12372 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12373 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12374 esac
12378 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12379 then
12380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12381 /* end confdefs.h. */
12382 #include <X11/Xlib.h>
12383 #include <X11/extensions/Xinerama.h>
12385 main ()
12387 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12389 return 0;
12391 _ACEOF
12392 if ac_fn_c_try_compile "$LINENO"; then :
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12394 $as_echo_n "checking for -lXinerama... " >&6; }
12395 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12396 $as_echo_n "(cached) " >&6
12397 else
12398 ac_check_soname_save_LIBS=$LIBS
12399 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12403 /* Override any GCC internal prototype to avoid an error.
12404 Use char because int might match the return type of a GCC
12405 builtin and then its argument prototype would still apply. */
12406 #ifdef __cplusplus
12407 extern "C"
12408 #endif
12409 char XineramaQueryScreens ();
12411 main ()
12413 return XineramaQueryScreens ();
12415 return 0;
12417 _ACEOF
12418 if ac_fn_c_try_link "$LINENO"; then :
12419 case "$LIBEXT" in
12420 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12421 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'` ;;
12422 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12423 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12424 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12425 fi ;;
12426 esac
12427 else
12428 ac_cv_lib_soname_Xinerama=
12430 rm -f core conftest.err conftest.$ac_objext \
12431 conftest$ac_exeext conftest.$ac_ext
12432 LIBS=$ac_check_soname_save_LIBS
12434 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12436 $as_echo "not found" >&6; }
12438 else
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12440 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12442 cat >>confdefs.h <<_ACEOF
12443 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12444 _ACEOF
12449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12451 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12452 case "x$with_xinerama" in
12453 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12454 xno) ;;
12455 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12456 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12457 esac
12461 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12462 then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12464 $as_echo_n "checking for -lXcomposite... " >&6; }
12465 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12466 $as_echo_n "(cached) " >&6
12467 else
12468 ac_check_soname_save_LIBS=$LIBS
12469 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12473 /* Override any GCC internal prototype to avoid an error.
12474 Use char because int might match the return type of a GCC
12475 builtin and then its argument prototype would still apply. */
12476 #ifdef __cplusplus
12477 extern "C"
12478 #endif
12479 char XCompositeRedirectWindow ();
12481 main ()
12483 return XCompositeRedirectWindow ();
12485 return 0;
12487 _ACEOF
12488 if ac_fn_c_try_link "$LINENO"; then :
12489 case "$LIBEXT" in
12490 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12491 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'` ;;
12492 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12493 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12494 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12495 fi ;;
12496 esac
12497 else
12498 ac_cv_lib_soname_Xcomposite=
12500 rm -f core conftest.err conftest.$ac_objext \
12501 conftest$ac_exeext conftest.$ac_ext
12502 LIBS=$ac_check_soname_save_LIBS
12504 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12506 $as_echo "not found" >&6; }
12508 else
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12510 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12512 cat >>confdefs.h <<_ACEOF
12513 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12514 _ACEOF
12519 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12520 case "x$with_xcomposite" in
12521 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12522 xno) ;;
12523 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12524 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12525 esac
12529 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12530 #include <X11/Xlib.h>
12531 #endif
12533 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12535 cat >>confdefs.h <<_ACEOF
12536 #define HAVE_XICCALLBACK_CALLBACK 1
12537 _ACEOF
12541 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12542 #include <X11/Xlib.h>
12543 #endif
12545 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12547 cat >>confdefs.h <<_ACEOF
12548 #define HAVE_XEVENT_XCOOKIE 1
12549 _ACEOF
12556 opengl_msg=""
12557 if test "x$with_opengl" != "xno"
12558 then
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12560 $as_echo_n "checking for -lGL... " >&6; }
12561 if ${ac_cv_lib_soname_GL+:} false; then :
12562 $as_echo_n "(cached) " >&6
12563 else
12564 ac_check_soname_save_LIBS=$LIBS
12565 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12569 /* Override any GCC internal prototype to avoid an error.
12570 Use char because int might match the return type of a GCC
12571 builtin and then its argument prototype would still apply. */
12572 #ifdef __cplusplus
12573 extern "C"
12574 #endif
12575 char glXCreateContext ();
12577 main ()
12579 return glXCreateContext ();
12581 return 0;
12583 _ACEOF
12584 if ac_fn_c_try_link "$LINENO"; then :
12585 case "$LIBEXT" in
12586 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12587 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'` ;;
12588 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12589 if ${ac_cv_lib_soname_GL:+false} :; then :
12590 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12591 fi ;;
12592 esac
12593 else
12594 ac_cv_lib_soname_GL=
12596 rm -f core conftest.err conftest.$ac_objext \
12597 conftest$ac_exeext conftest.$ac_ext
12598 LIBS=$ac_check_soname_save_LIBS
12600 if ${ac_cv_lib_soname_GL:+false} :; then :
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12602 $as_echo "not found" >&6; }
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12604 $as_echo_n "checking for -lGL... " >&6; }
12605 if ${ac_cv_lib_soname_GL+:} false; then :
12606 $as_echo_n "(cached) " >&6
12607 else
12608 ac_check_soname_save_LIBS=$LIBS
12609 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"
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 /* Override any GCC internal prototype to avoid an error.
12614 Use char because int might match the return type of a GCC
12615 builtin and then its argument prototype would still apply. */
12616 #ifdef __cplusplus
12617 extern "C"
12618 #endif
12619 char glXCreateContext ();
12621 main ()
12623 return glXCreateContext ();
12625 return 0;
12627 _ACEOF
12628 if ac_fn_c_try_link "$LINENO"; then :
12629 case "$LIBEXT" in
12630 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12631 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'` ;;
12632 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12633 if ${ac_cv_lib_soname_GL:+false} :; then :
12634 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12635 fi ;;
12636 esac
12637 else
12638 ac_cv_lib_soname_GL=
12640 rm -f core conftest.err conftest.$ac_objext \
12641 conftest$ac_exeext conftest.$ac_ext
12642 LIBS=$ac_check_soname_save_LIBS
12644 if ${ac_cv_lib_soname_GL:+false} :; then :
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12646 $as_echo "not found" >&6; }
12647 if test -f /usr/X11R6/lib/libGL.a
12648 then
12649 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12650 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12651 else
12652 opengl_msg="No OpenGL library found on this system."
12654 else
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12656 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12658 cat >>confdefs.h <<_ACEOF
12659 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12660 _ACEOF
12662 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"
12664 else
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12666 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12668 cat >>confdefs.h <<_ACEOF
12669 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12670 _ACEOF
12672 OPENGL_LIBS="-lGL"
12674 if test "x$with_osmesa" != "xno"
12675 then
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12677 $as_echo_n "checking for -lOSMesa... " >&6; }
12678 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12679 $as_echo_n "(cached) " >&6
12680 else
12681 ac_check_soname_save_LIBS=$LIBS
12682 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h. */
12686 /* Override any GCC internal prototype to avoid an error.
12687 Use char because int might match the return type of a GCC
12688 builtin and then its argument prototype would still apply. */
12689 #ifdef __cplusplus
12690 extern "C"
12691 #endif
12692 char OSMesaGetProcAddress ();
12694 main ()
12696 return OSMesaGetProcAddress ();
12698 return 0;
12700 _ACEOF
12701 if ac_fn_c_try_link "$LINENO"; then :
12702 case "$LIBEXT" in
12703 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12704 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'` ;;
12705 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12706 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12707 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12708 fi ;;
12709 esac
12710 else
12711 ac_cv_lib_soname_OSMesa=
12713 rm -f core conftest.err conftest.$ac_objext \
12714 conftest$ac_exeext conftest.$ac_ext
12715 LIBS=$ac_check_soname_save_LIBS
12717 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12719 $as_echo "not found" >&6; }
12721 else
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12723 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12725 cat >>confdefs.h <<_ACEOF
12726 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12727 _ACEOF
12731 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12732 case "x$with_osmesa" in
12733 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12734 xno) ;;
12735 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12736 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12737 esac
12742 if test -n "$opengl_msg"; then :
12743 case "x$with_opengl" in
12744 x) as_fn_append wine_warnings "|$opengl_msg
12745 OpenGL and Direct3D won't be supported." ;;
12746 xno) ;;
12747 *) as_fn_error $? "$opengl_msg
12748 OpenGL and Direct3D won't be supported.
12749 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12750 esac
12754 CPPFLAGS="$ac_save_CPPFLAGS"
12755 else
12756 X_CFLAGS=""
12757 X_LIBS=""
12760 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12761 then
12762 if test "x$X_LIBS" = "x"; then :
12763 case "x$with_x" in
12764 xno) ;;
12765 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12766 without X support, which probably isn't what you want. You will need
12767 to install ${notice_platform}development packages of Xlib at the very least.
12768 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12769 esac
12770 enable_winex11_drv=${enable_winex11_drv:-no}
12772 else
12773 if test "x$X_LIBS" = "x"; then :
12774 case "x$with_x" in
12775 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12776 xno) ;;
12777 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12778 This is an error since --with-x was requested." "$LINENO" 5 ;;
12779 esac
12780 enable_winex11_drv=${enable_winex11_drv:-no}
12784 if test "$ac_cv_header_CL_cl_h" = "yes"
12785 then
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12787 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12788 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12789 $as_echo_n "(cached) " >&6
12790 else
12791 ac_check_lib_save_LIBS=$LIBS
12792 LIBS="-lOpenCL $LIBS"
12793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12796 /* Override any GCC internal prototype to avoid an error.
12797 Use char because int might match the return type of a GCC
12798 builtin and then its argument prototype would still apply. */
12799 #ifdef __cplusplus
12800 extern "C"
12801 #endif
12802 char clGetPlatformInfo ();
12804 main ()
12806 return clGetPlatformInfo ();
12808 return 0;
12810 _ACEOF
12811 if ac_fn_c_try_link "$LINENO"; then :
12812 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12813 else
12814 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12816 rm -f core conftest.err conftest.$ac_objext \
12817 conftest$ac_exeext conftest.$ac_ext
12818 LIBS=$ac_check_lib_save_LIBS
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12821 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12822 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12823 OPENCL_LIBS="-lOpenCL"
12828 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12829 case "x$with_opencl" in
12830 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12831 xno) ;;
12832 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12833 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12834 esac
12835 enable_opencl=${enable_opencl:-no}
12838 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12839 then
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12841 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12842 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12843 $as_echo_n "(cached) " >&6
12844 else
12845 ac_check_lib_save_LIBS=$LIBS
12846 LIBS="-lpcap $LIBS"
12847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12848 /* end confdefs.h. */
12850 /* Override any GCC internal prototype to avoid an error.
12851 Use char because int might match the return type of a GCC
12852 builtin and then its argument prototype would still apply. */
12853 #ifdef __cplusplus
12854 extern "C"
12855 #endif
12856 char pcap_create ();
12858 main ()
12860 return pcap_create ();
12862 return 0;
12864 _ACEOF
12865 if ac_fn_c_try_link "$LINENO"; then :
12866 ac_cv_lib_pcap_pcap_create=yes
12867 else
12868 ac_cv_lib_pcap_pcap_create=no
12870 rm -f core conftest.err conftest.$ac_objext \
12871 conftest$ac_exeext conftest.$ac_ext
12872 LIBS=$ac_check_lib_save_LIBS
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12875 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12876 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12877 PCAP_LIBS="-lpcap"
12882 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12883 case "x$with_pcap" in
12884 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12885 xno) ;;
12886 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12887 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12888 esac
12889 enable_wpcap=${enable_wpcap:-no}
12893 if test "x$with_xml" != "xno"
12894 then
12895 if ${XML2_CFLAGS:+false} :; then :
12896 if ${PKG_CONFIG+:} false; then :
12897 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12900 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12901 if ${XML2_LIBS:+false} :; then :
12902 if ${PKG_CONFIG+:} false; then :
12903 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12906 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12907 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12908 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12909 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12910 ac_save_CPPFLAGS=$CPPFLAGS
12911 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12912 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12913 do :
12914 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12915 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12916 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12917 cat >>confdefs.h <<_ACEOF
12918 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12919 _ACEOF
12923 done
12925 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"
12926 then
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12928 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12929 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12930 $as_echo_n "(cached) " >&6
12931 else
12932 ac_check_lib_save_LIBS=$LIBS
12933 LIBS="-lxml2 $XML2_LIBS $LIBS"
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12937 /* Override any GCC internal prototype to avoid an error.
12938 Use char because int might match the return type of a GCC
12939 builtin and then its argument prototype would still apply. */
12940 #ifdef __cplusplus
12941 extern "C"
12942 #endif
12943 char xmlParseMemory ();
12945 main ()
12947 return xmlParseMemory ();
12949 return 0;
12951 _ACEOF
12952 if ac_fn_c_try_link "$LINENO"; then :
12953 ac_cv_lib_xml2_xmlParseMemory=yes
12954 else
12955 ac_cv_lib_xml2_xmlParseMemory=no
12957 rm -f core conftest.err conftest.$ac_objext \
12958 conftest$ac_exeext conftest.$ac_ext
12959 LIBS=$ac_check_lib_save_LIBS
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12962 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12963 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12965 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12967 else
12968 XML2_LIBS=""
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12972 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12973 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12974 $as_echo_n "(cached) " >&6
12975 else
12976 ac_check_lib_save_LIBS=$LIBS
12977 LIBS="-lxml2 $XML2_LIBS $LIBS"
12978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h. */
12981 /* Override any GCC internal prototype to avoid an error.
12982 Use char because int might match the return type of a GCC
12983 builtin and then its argument prototype would still apply. */
12984 #ifdef __cplusplus
12985 extern "C"
12986 #endif
12987 char xmlReadMemory ();
12989 main ()
12991 return xmlReadMemory ();
12993 return 0;
12995 _ACEOF
12996 if ac_fn_c_try_link "$LINENO"; then :
12997 ac_cv_lib_xml2_xmlReadMemory=yes
12998 else
12999 ac_cv_lib_xml2_xmlReadMemory=no
13001 rm -f core conftest.err conftest.$ac_objext \
13002 conftest$ac_exeext conftest.$ac_ext
13003 LIBS=$ac_check_lib_save_LIBS
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13006 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13007 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13009 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13014 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13015 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13016 $as_echo_n "(cached) " >&6
13017 else
13018 ac_check_lib_save_LIBS=$LIBS
13019 LIBS="-lxml2 $XML2_LIBS $LIBS"
13020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13021 /* end confdefs.h. */
13023 /* Override any GCC internal prototype to avoid an error.
13024 Use char because int might match the return type of a GCC
13025 builtin and then its argument prototype would still apply. */
13026 #ifdef __cplusplus
13027 extern "C"
13028 #endif
13029 char xmlNewDocPI ();
13031 main ()
13033 return xmlNewDocPI ();
13035 return 0;
13037 _ACEOF
13038 if ac_fn_c_try_link "$LINENO"; then :
13039 ac_cv_lib_xml2_xmlNewDocPI=yes
13040 else
13041 ac_cv_lib_xml2_xmlNewDocPI=no
13043 rm -f core conftest.err conftest.$ac_objext \
13044 conftest$ac_exeext conftest.$ac_ext
13045 LIBS=$ac_check_lib_save_LIBS
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13048 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13049 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13051 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13056 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13057 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13058 $as_echo_n "(cached) " >&6
13059 else
13060 ac_check_lib_save_LIBS=$LIBS
13061 LIBS="-lxml2 $XML2_LIBS $LIBS"
13062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13063 /* end confdefs.h. */
13065 /* Override any GCC internal prototype to avoid an error.
13066 Use char because int might match the return type of a GCC
13067 builtin and then its argument prototype would still apply. */
13068 #ifdef __cplusplus
13069 extern "C"
13070 #endif
13071 char xmlSchemaSetParserStructuredErrors ();
13073 main ()
13075 return xmlSchemaSetParserStructuredErrors ();
13077 return 0;
13079 _ACEOF
13080 if ac_fn_c_try_link "$LINENO"; then :
13081 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13082 else
13083 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13085 rm -f core conftest.err conftest.$ac_objext \
13086 conftest$ac_exeext conftest.$ac_ext
13087 LIBS=$ac_check_lib_save_LIBS
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13090 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13091 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13093 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13098 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13099 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13100 $as_echo_n "(cached) " >&6
13101 else
13102 ac_check_lib_save_LIBS=$LIBS
13103 LIBS="-lxml2 $XML2_LIBS $LIBS"
13104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13107 /* Override any GCC internal prototype to avoid an error.
13108 Use char because int might match the return type of a GCC
13109 builtin and then its argument prototype would still apply. */
13110 #ifdef __cplusplus
13111 extern "C"
13112 #endif
13113 char xmlSchemaSetValidStructuredErrors ();
13115 main ()
13117 return xmlSchemaSetValidStructuredErrors ();
13119 return 0;
13121 _ACEOF
13122 if ac_fn_c_try_link "$LINENO"; then :
13123 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13124 else
13125 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13127 rm -f core conftest.err conftest.$ac_objext \
13128 conftest$ac_exeext conftest.$ac_ext
13129 LIBS=$ac_check_lib_save_LIBS
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13132 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13133 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13135 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13140 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13141 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13142 $as_echo_n "(cached) " >&6
13143 else
13144 ac_check_lib_save_LIBS=$LIBS
13145 LIBS="-lxml2 $XML2_LIBS $LIBS"
13146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13149 /* Override any GCC internal prototype to avoid an error.
13150 Use char because int might match the return type of a GCC
13151 builtin and then its argument prototype would still apply. */
13152 #ifdef __cplusplus
13153 extern "C"
13154 #endif
13155 char xmlFirstElementChild ();
13157 main ()
13159 return xmlFirstElementChild ();
13161 return 0;
13163 _ACEOF
13164 if ac_fn_c_try_link "$LINENO"; then :
13165 ac_cv_lib_xml2_xmlFirstElementChild=yes
13166 else
13167 ac_cv_lib_xml2_xmlFirstElementChild=no
13169 rm -f core conftest.err conftest.$ac_objext \
13170 conftest$ac_exeext conftest.$ac_ext
13171 LIBS=$ac_check_lib_save_LIBS
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13174 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13175 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13177 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13181 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13183 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13185 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13189 else
13190 XML2_CFLAGS=""
13191 XML2_LIBS=""
13193 CPPFLAGS=$ac_save_CPPFLAGS
13196 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13197 case "x$with_xml" in
13198 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13199 xno) ;;
13200 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13201 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13202 esac
13206 if test "x$with_xslt" != "xno"
13207 then
13208 if ${XSLT_CFLAGS:+false} :; then :
13209 if ${PKG_CONFIG+:} false; then :
13210 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13213 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13214 if ${XSLT_LIBS:+false} :; then :
13215 if ${PKG_CONFIG+:} false; then :
13216 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13219 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13220 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13221 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13222 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13223 ac_save_CPPFLAGS=$CPPFLAGS
13224 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13225 for ac_header in libxslt/pattern.h libxslt/transform.h
13226 do :
13227 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13228 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13229 # include <libxslt/pattern.h>
13230 #endif
13232 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13233 cat >>confdefs.h <<_ACEOF
13234 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13235 _ACEOF
13239 done
13241 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13242 then
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13244 $as_echo_n "checking for -lxslt... " >&6; }
13245 if ${ac_cv_lib_soname_xslt+:} false; then :
13246 $as_echo_n "(cached) " >&6
13247 else
13248 ac_check_soname_save_LIBS=$LIBS
13249 LIBS="-lxslt $XSLT_LIBS $LIBS"
13250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13251 /* end confdefs.h. */
13253 /* Override any GCC internal prototype to avoid an error.
13254 Use char because int might match the return type of a GCC
13255 builtin and then its argument prototype would still apply. */
13256 #ifdef __cplusplus
13257 extern "C"
13258 #endif
13259 char xsltCompilePattern ();
13261 main ()
13263 return xsltCompilePattern ();
13265 return 0;
13267 _ACEOF
13268 if ac_fn_c_try_link "$LINENO"; then :
13269 case "$LIBEXT" in
13270 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13271 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'` ;;
13272 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13273 if ${ac_cv_lib_soname_xslt:+false} :; then :
13274 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13275 fi ;;
13276 esac
13277 else
13278 ac_cv_lib_soname_xslt=
13280 rm -f core conftest.err conftest.$ac_objext \
13281 conftest$ac_exeext conftest.$ac_ext
13282 LIBS=$ac_check_soname_save_LIBS
13284 if ${ac_cv_lib_soname_xslt:+false} :; then :
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13286 $as_echo "not found" >&6; }
13288 else
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13290 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13292 cat >>confdefs.h <<_ACEOF
13293 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13294 _ACEOF
13298 else
13299 XSLT_CFLAGS=""
13301 CPPFLAGS=$ac_save_CPPFLAGS
13304 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13305 case "x$with_xslt" in
13306 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13307 xno) ;;
13308 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13309 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13310 esac
13314 if test "x$with_inotify" != "xno"
13315 then
13316 if ${INOTIFY_CFLAGS:+false} :; then :
13317 if ${PKG_CONFIG+:} false; then :
13318 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13322 if ${INOTIFY_LIBS:+false} :; then :
13323 if ${PKG_CONFIG+:} false; then :
13324 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13329 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13330 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13331 ac_save_CPPFLAGS=$CPPFLAGS
13332 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13333 for ac_header in sys/inotify.h
13334 do :
13335 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13336 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13337 cat >>confdefs.h <<_ACEOF
13338 #define HAVE_SYS_INOTIFY_H 1
13339 _ACEOF
13343 done
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13346 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13347 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13348 $as_echo_n "(cached) " >&6
13349 else
13350 ac_check_lib_save_LIBS=$LIBS
13351 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13355 /* Override any GCC internal prototype to avoid an error.
13356 Use char because int might match the return type of a GCC
13357 builtin and then its argument prototype would still apply. */
13358 #ifdef __cplusplus
13359 extern "C"
13360 #endif
13361 char inotify_add_watch ();
13363 main ()
13365 return inotify_add_watch ();
13367 return 0;
13369 _ACEOF
13370 if ac_fn_c_try_link "$LINENO"; then :
13371 ac_cv_lib_inotify_inotify_add_watch=yes
13372 else
13373 ac_cv_lib_inotify_inotify_add_watch=no
13375 rm -f core conftest.err conftest.$ac_objext \
13376 conftest$ac_exeext conftest.$ac_ext
13377 LIBS=$ac_check_lib_save_LIBS
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13380 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13381 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13383 else
13384 INOTIFY_LIBS=""
13387 CPPFLAGS=$ac_save_CPPFLAGS
13390 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13391 case "x$with_inotify" in
13392 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13393 xno) ;;
13394 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13395 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13396 esac
13400 if test "x$with_dbus" != "xno"
13401 then
13402 if ${DBUS_CFLAGS:+false} :; then :
13403 if ${PKG_CONFIG+:} false; then :
13404 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13408 if ${DBUS_LIBS:+false} :; then :
13409 if ${PKG_CONFIG+:} false; then :
13410 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13415 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13416 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13417 ac_save_CPPFLAGS=$CPPFLAGS
13418 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13419 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13420 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13422 $as_echo_n "checking for -ldbus-1... " >&6; }
13423 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13424 $as_echo_n "(cached) " >&6
13425 else
13426 ac_check_soname_save_LIBS=$LIBS
13427 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13431 /* Override any GCC internal prototype to avoid an error.
13432 Use char because int might match the return type of a GCC
13433 builtin and then its argument prototype would still apply. */
13434 #ifdef __cplusplus
13435 extern "C"
13436 #endif
13437 char dbus_connection_close ();
13439 main ()
13441 return dbus_connection_close ();
13443 return 0;
13445 _ACEOF
13446 if ac_fn_c_try_link "$LINENO"; then :
13447 case "$LIBEXT" in
13448 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13449 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'` ;;
13450 *) 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'`
13451 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13452 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13453 fi ;;
13454 esac
13455 else
13456 ac_cv_lib_soname_dbus_1=
13458 rm -f core conftest.err conftest.$ac_objext \
13459 conftest$ac_exeext conftest.$ac_ext
13460 LIBS=$ac_check_soname_save_LIBS
13462 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13464 $as_echo "not found" >&6; }
13465 DBUS_CFLAGS=""
13466 else
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13468 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13470 cat >>confdefs.h <<_ACEOF
13471 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13472 _ACEOF
13476 else
13477 DBUS_CFLAGS=""
13481 CPPFLAGS=$ac_save_CPPFLAGS
13484 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13485 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13486 case "x$with_dbus" in
13487 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13488 xno) ;;
13489 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13490 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13491 esac
13495 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13496 then
13497 if ${HAL_CFLAGS:+false} :; then :
13498 if ${PKG_CONFIG+:} false; then :
13499 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13503 if ${HAL_LIBS:+false} :; then :
13504 if ${PKG_CONFIG+:} false; then :
13505 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13509 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13510 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13511 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13512 ac_save_CPPFLAGS=$CPPFLAGS
13513 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13514 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13515 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13517 $as_echo_n "checking for -lhal... " >&6; }
13518 if ${ac_cv_lib_soname_hal+:} false; then :
13519 $as_echo_n "(cached) " >&6
13520 else
13521 ac_check_soname_save_LIBS=$LIBS
13522 LIBS="-lhal $HAL_LIBS $LIBS"
13523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13526 /* Override any GCC internal prototype to avoid an error.
13527 Use char because int might match the return type of a GCC
13528 builtin and then its argument prototype would still apply. */
13529 #ifdef __cplusplus
13530 extern "C"
13531 #endif
13532 char libhal_ctx_new ();
13534 main ()
13536 return libhal_ctx_new ();
13538 return 0;
13540 _ACEOF
13541 if ac_fn_c_try_link "$LINENO"; then :
13542 case "$LIBEXT" in
13543 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13544 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'` ;;
13545 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13546 if ${ac_cv_lib_soname_hal:+false} :; then :
13547 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13548 fi ;;
13549 esac
13550 else
13551 ac_cv_lib_soname_hal=
13553 rm -f core conftest.err conftest.$ac_objext \
13554 conftest$ac_exeext conftest.$ac_ext
13555 LIBS=$ac_check_soname_save_LIBS
13557 if ${ac_cv_lib_soname_hal:+false} :; then :
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13559 $as_echo "not found" >&6; }
13560 HAL_CFLAGS=""
13561 else
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13563 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13565 cat >>confdefs.h <<_ACEOF
13566 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13567 _ACEOF
13571 else
13572 HAL_CFLAGS=""
13576 CPPFLAGS=$ac_save_CPPFLAGS
13578 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13579 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13580 case "x$with_hal" in
13581 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13582 xno) ;;
13583 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13584 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13585 esac
13590 if test "x$with_gnutls" != "xno"
13591 then
13592 if ${GNUTLS_CFLAGS:+false} :; then :
13593 if ${PKG_CONFIG+:} false; then :
13594 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13598 if ${GNUTLS_LIBS:+false} :; then :
13599 if ${PKG_CONFIG+:} false; then :
13600 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13604 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13605 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13606 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13607 ac_save_CPPFLAGS=$CPPFLAGS
13608 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13609 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13610 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612 /* end confdefs.h. */
13613 #include <gnutls/gnutls.h>
13614 #include <gnutls/crypto.h>
13616 main ()
13618 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13620 return 0;
13622 _ACEOF
13623 if ac_fn_c_try_compile "$LINENO"; then :
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13625 $as_echo_n "checking for -lgnutls... " >&6; }
13626 if ${ac_cv_lib_soname_gnutls+:} false; then :
13627 $as_echo_n "(cached) " >&6
13628 else
13629 ac_check_soname_save_LIBS=$LIBS
13630 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13632 /* end confdefs.h. */
13634 /* Override any GCC internal prototype to avoid an error.
13635 Use char because int might match the return type of a GCC
13636 builtin and then its argument prototype would still apply. */
13637 #ifdef __cplusplus
13638 extern "C"
13639 #endif
13640 char gnutls_global_init ();
13642 main ()
13644 return gnutls_global_init ();
13646 return 0;
13648 _ACEOF
13649 if ac_fn_c_try_link "$LINENO"; then :
13650 case "$LIBEXT" in
13651 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13652 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'` ;;
13653 *) 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'`
13654 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13655 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'`
13656 fi ;;
13657 esac
13658 else
13659 ac_cv_lib_soname_gnutls=
13661 rm -f core conftest.err conftest.$ac_objext \
13662 conftest$ac_exeext conftest.$ac_ext
13663 LIBS=$ac_check_soname_save_LIBS
13665 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13667 $as_echo "not found" >&6; }
13668 GNUTLS_CFLAGS=""
13669 else
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13671 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13673 cat >>confdefs.h <<_ACEOF
13674 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13675 _ACEOF
13679 ac_wine_check_funcs_save_LIBS="$LIBS"
13680 LIBS="$LIBS $GNUTLS_LIBS"
13681 for ac_func in gnutls_cipher_init
13682 do :
13683 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13684 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13685 cat >>confdefs.h <<_ACEOF
13686 #define HAVE_GNUTLS_CIPHER_INIT 1
13687 _ACEOF
13689 else
13690 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13692 done
13694 LIBS="$ac_wine_check_funcs_save_LIBS"
13696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13697 else
13698 GNUTLS_CFLAGS=""
13702 CPPFLAGS=$ac_save_CPPFLAGS
13705 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13706 case "x$with_gnutls" in
13707 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13708 xno) ;;
13709 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13710 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13711 esac
13715 if test "x$with_sane" != "xno"
13716 then
13717 if ${SANE_CFLAGS:+false} :; then :
13718 if ${PKG_CONFIG+:} false; then :
13719 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13722 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13723 if ${SANE_LIBS:+false} :; then :
13724 if ${PKG_CONFIG+:} false; then :
13725 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13728 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13730 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13731 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13732 ac_save_CPPFLAGS=$CPPFLAGS
13733 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13734 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13735 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13737 $as_echo_n "checking for -lsane... " >&6; }
13738 if ${ac_cv_lib_soname_sane+:} false; then :
13739 $as_echo_n "(cached) " >&6
13740 else
13741 ac_check_soname_save_LIBS=$LIBS
13742 LIBS="-lsane $SANE_LIBS $LIBS"
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13746 /* Override any GCC internal prototype to avoid an error.
13747 Use char because int might match the return type of a GCC
13748 builtin and then its argument prototype would still apply. */
13749 #ifdef __cplusplus
13750 extern "C"
13751 #endif
13752 char sane_init ();
13754 main ()
13756 return sane_init ();
13758 return 0;
13760 _ACEOF
13761 if ac_fn_c_try_link "$LINENO"; then :
13762 case "$LIBEXT" in
13763 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13764 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'` ;;
13765 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13766 if ${ac_cv_lib_soname_sane:+false} :; then :
13767 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13768 fi ;;
13769 esac
13770 else
13771 ac_cv_lib_soname_sane=
13773 rm -f core conftest.err conftest.$ac_objext \
13774 conftest$ac_exeext conftest.$ac_ext
13775 LIBS=$ac_check_soname_save_LIBS
13777 if ${ac_cv_lib_soname_sane:+false} :; then :
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13779 $as_echo "not found" >&6; }
13780 SANE_CFLAGS=""
13781 else
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13783 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13785 cat >>confdefs.h <<_ACEOF
13786 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13787 _ACEOF
13791 else
13792 SANE_CFLAGS=""
13796 CPPFLAGS=$ac_save_CPPFLAGS
13799 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13800 case "x$with_sane" in
13801 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13802 xno) ;;
13803 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13804 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13805 esac
13809 if test "x$with_usb" != "xno"
13810 then
13811 if ${USB_CFLAGS:+false} :; then :
13812 if ${PKG_CONFIG+:} false; then :
13813 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13817 if ${USB_LIBS:+false} :; then :
13818 if ${PKG_CONFIG+:} false; then :
13819 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13823 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13824 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13825 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13826 ac_save_CPPFLAGS=$CPPFLAGS
13827 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13828 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13829 if test "x$ac_cv_header_libusb_h" = xyes; then :
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13831 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13832 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 ac_check_lib_save_LIBS=$LIBS
13836 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13840 /* Override any GCC internal prototype to avoid an error.
13841 Use char because int might match the return type of a GCC
13842 builtin and then its argument prototype would still apply. */
13843 #ifdef __cplusplus
13844 extern "C"
13845 #endif
13846 char libusb_interrupt_event_handler ();
13848 main ()
13850 return libusb_interrupt_event_handler ();
13852 return 0;
13854 _ACEOF
13855 if ac_fn_c_try_link "$LINENO"; then :
13856 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13857 else
13858 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13860 rm -f core conftest.err conftest.$ac_objext \
13861 conftest$ac_exeext conftest.$ac_ext
13862 LIBS=$ac_check_lib_save_LIBS
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13865 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13866 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13868 else
13869 USB_LIBS=""
13872 else
13873 USB_LIBS=""
13877 CPPFLAGS=$ac_save_CPPFLAGS
13880 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13881 case "x$with_usb" in
13882 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13883 xno) ;;
13884 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13885 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13886 esac
13887 enable_wineusb_sys=${enable_wineusb_sys:-no}
13890 if test "x$with_v4l2" != "xno"
13891 then
13892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13893 $as_echo_n "checking for -lv4l2... " >&6; }
13894 if ${ac_cv_lib_soname_v4l2+:} false; then :
13895 $as_echo_n "(cached) " >&6
13896 else
13897 ac_check_soname_save_LIBS=$LIBS
13898 LIBS="-lv4l2 $LIBS"
13899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13900 /* end confdefs.h. */
13902 /* Override any GCC internal prototype to avoid an error.
13903 Use char because int might match the return type of a GCC
13904 builtin and then its argument prototype would still apply. */
13905 #ifdef __cplusplus
13906 extern "C"
13907 #endif
13908 char v4l2_open ();
13910 main ()
13912 return v4l2_open ();
13914 return 0;
13916 _ACEOF
13917 if ac_fn_c_try_link "$LINENO"; then :
13918 case "$LIBEXT" in
13919 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13920 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'` ;;
13921 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13922 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13923 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13924 fi ;;
13925 esac
13926 else
13927 ac_cv_lib_soname_v4l2=
13929 rm -f core conftest.err conftest.$ac_objext \
13930 conftest$ac_exeext conftest.$ac_ext
13931 LIBS=$ac_check_soname_save_LIBS
13933 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13935 $as_echo "not found" >&6; }
13937 else
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13939 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13941 cat >>confdefs.h <<_ACEOF
13942 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13943 _ACEOF
13948 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13949 case "x$with_v4l2" in
13950 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13951 xno) ;;
13952 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13953 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13954 esac
13958 if test "x$with_gphoto" != "xno"
13959 then
13960 if ${GPHOTO2_CFLAGS:+false} :; then :
13961 if ${PKG_CONFIG+:} false; then :
13962 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13965 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13966 if ${GPHOTO2_LIBS:+false} :; then :
13967 if ${PKG_CONFIG+:} false; then :
13968 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13971 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13972 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13973 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13974 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13975 ac_save_CPPFLAGS=$CPPFLAGS
13976 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13977 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13978 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13980 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13981 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13982 $as_echo_n "(cached) " >&6
13983 else
13984 ac_check_lib_save_LIBS=$LIBS
13985 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13987 /* end confdefs.h. */
13989 /* Override any GCC internal prototype to avoid an error.
13990 Use char because int might match the return type of a GCC
13991 builtin and then its argument prototype would still apply. */
13992 #ifdef __cplusplus
13993 extern "C"
13994 #endif
13995 char gp_camera_new ();
13997 main ()
13999 return gp_camera_new ();
14001 return 0;
14003 _ACEOF
14004 if ac_fn_c_try_link "$LINENO"; then :
14005 ac_cv_lib_gphoto2_gp_camera_new=yes
14006 else
14007 ac_cv_lib_gphoto2_gp_camera_new=no
14009 rm -f core conftest.err conftest.$ac_objext \
14010 conftest$ac_exeext conftest.$ac_ext
14011 LIBS=$ac_check_lib_save_LIBS
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14014 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14015 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14017 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14019 else
14020 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14023 else
14024 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14028 CPPFLAGS=$ac_save_CPPFLAGS
14030 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14031 if ${PKG_CONFIG+:} false; then :
14032 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14035 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14036 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14037 if ${PKG_CONFIG+:} false; then :
14038 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14041 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14042 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14043 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14044 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14045 ac_save_CPPFLAGS=$CPPFLAGS
14046 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14047 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14048 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14050 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14051 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14052 $as_echo_n "(cached) " >&6
14053 else
14054 ac_check_lib_save_LIBS=$LIBS
14055 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14059 /* Override any GCC internal prototype to avoid an error.
14060 Use char because int might match the return type of a GCC
14061 builtin and then its argument prototype would still apply. */
14062 #ifdef __cplusplus
14063 extern "C"
14064 #endif
14065 char gp_port_info_list_new ();
14067 main ()
14069 return gp_port_info_list_new ();
14071 return 0;
14073 _ACEOF
14074 if ac_fn_c_try_link "$LINENO"; then :
14075 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14076 else
14077 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14079 rm -f core conftest.err conftest.$ac_objext \
14080 conftest$ac_exeext conftest.$ac_ext
14081 LIBS=$ac_check_lib_save_LIBS
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14084 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14085 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14087 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14089 else
14090 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14093 else
14094 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14098 CPPFLAGS=$ac_save_CPPFLAGS
14101 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14102 case "x$with_gphoto" in
14103 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14104 xno) ;;
14105 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14106 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14107 esac
14110 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14111 case "x$with_gphoto" in
14112 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14113 xno) ;;
14114 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14115 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14116 esac
14121 if test "$ac_cv_header_resolv_h" = "yes"
14122 then
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14124 $as_echo_n "checking for resolver library... " >&6; }
14125 if ${ac_cv_have_resolv+:} false; then :
14126 $as_echo_n "(cached) " >&6
14127 else
14128 ac_save_LIBS="$LIBS"
14129 for lib in '' -lresolv
14131 LIBS="$lib $ac_save_LIBS"
14132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14134 #ifdef HAVE_NETINET_IN_H
14135 #include <netinet/in.h>
14136 #endif
14137 #include <resolv.h>
14139 main ()
14141 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14143 return 0;
14145 _ACEOF
14146 if ac_fn_c_try_link "$LINENO"; then :
14147 ac_cv_have_resolv=${lib:-"none required"}
14148 else
14149 ac_cv_have_resolv="not found"
14151 rm -f core conftest.err conftest.$ac_objext \
14152 conftest$ac_exeext conftest.$ac_ext
14153 test "x$ac_cv_have_resolv" = "xnot found" || break
14154 done
14155 LIBS="$ac_save_LIBS"
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14158 $as_echo "$ac_cv_have_resolv" >&6; }
14160 case "$ac_cv_have_resolv" in
14161 "not found") ;;
14162 "none required")
14164 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14167 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14169 RESOLV_LIBS=$ac_cv_have_resolv
14171 esac
14173 if test "x$ac_cv_have_resolv" != "xnot found"
14174 then
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14176 $as_echo_n "checking for res_getservers... " >&6; }
14177 if ${ac_cv_have_res_getservers+:} false; then :
14178 $as_echo_n "(cached) " >&6
14179 else
14180 ac_save_LIBS="$LIBS"
14181 LIBS="$RESOLV_LIBS $LIBS"
14182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14184 #include <resolv.h>
14186 main ()
14188 res_getservers(NULL, NULL, 0);
14190 return 0;
14192 _ACEOF
14193 if ac_fn_c_try_link "$LINENO"; then :
14194 ac_cv_have_res_getservers=yes
14195 else
14196 ac_cv_have_res_getservers=no
14198 rm -f core conftest.err conftest.$ac_objext \
14199 conftest$ac_exeext conftest.$ac_ext
14200 LIBS="$ac_save_LIBS"
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14203 $as_echo "$ac_cv_have_res_getservers" >&6; }
14204 if test "$ac_cv_have_res_getservers" = "yes"
14205 then
14207 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14213 if test "x$with_cms" != "xno"
14214 then
14215 if ${LCMS2_CFLAGS:+false} :; then :
14216 if ${PKG_CONFIG+:} false; then :
14217 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14221 if ${LCMS2_LIBS:+false} :; then :
14222 if ${PKG_CONFIG+:} false; then :
14223 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14227 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14228 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14229 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14230 ac_save_CPPFLAGS=$CPPFLAGS
14231 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14232 for ac_header in lcms2.h
14233 do :
14234 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14235 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14236 cat >>confdefs.h <<_ACEOF
14237 #define HAVE_LCMS2_H 1
14238 _ACEOF
14242 done
14244 if test "$ac_cv_header_lcms2_h" = "yes"
14245 then
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14247 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14248 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14249 $as_echo_n "(cached) " >&6
14250 else
14251 ac_check_lib_save_LIBS=$LIBS
14252 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14254 /* end confdefs.h. */
14256 /* Override any GCC internal prototype to avoid an error.
14257 Use char because int might match the return type of a GCC
14258 builtin and then its argument prototype would still apply. */
14259 #ifdef __cplusplus
14260 extern "C"
14261 #endif
14262 char cmsOpenProfileFromFile ();
14264 main ()
14266 return cmsOpenProfileFromFile ();
14268 return 0;
14270 _ACEOF
14271 if ac_fn_c_try_link "$LINENO"; then :
14272 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14273 else
14274 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14276 rm -f core conftest.err conftest.$ac_objext \
14277 conftest$ac_exeext conftest.$ac_ext
14278 LIBS=$ac_check_lib_save_LIBS
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14281 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14282 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14284 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14286 else
14287 LCMS2_LIBS=""
14290 else
14291 LCMS2_CFLAGS=""
14292 LCMS2_LIBS=""
14294 CPPFLAGS=$ac_save_CPPFLAGS
14297 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14298 case "x$with_cms" in
14299 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14300 xno) ;;
14301 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14302 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14303 esac
14307 if test "x$with_freetype" != "xno"
14308 then
14309 if ${FREETYPE_CFLAGS:+false} :; then :
14310 if ${PKG_CONFIG+:} false; then :
14311 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14314 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14315 if ${FREETYPE_LIBS:+false} :; then :
14316 if ${PKG_CONFIG+:} false; then :
14317 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14320 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14321 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14322 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14323 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14324 ac_save_CPPFLAGS=$CPPFLAGS
14325 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14326 for ac_header in ft2build.h
14327 do :
14328 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14329 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14330 cat >>confdefs.h <<_ACEOF
14331 #define HAVE_FT2BUILD_H 1
14332 _ACEOF
14336 done
14338 if test "$ac_cv_header_ft2build_h" = "yes"
14339 then
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14341 $as_echo_n "checking for -lfreetype... " >&6; }
14342 if ${ac_cv_lib_soname_freetype+:} false; then :
14343 $as_echo_n "(cached) " >&6
14344 else
14345 ac_check_soname_save_LIBS=$LIBS
14346 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14348 /* end confdefs.h. */
14350 /* Override any GCC internal prototype to avoid an error.
14351 Use char because int might match the return type of a GCC
14352 builtin and then its argument prototype would still apply. */
14353 #ifdef __cplusplus
14354 extern "C"
14355 #endif
14356 char FT_Init_FreeType ();
14358 main ()
14360 return FT_Init_FreeType ();
14362 return 0;
14364 _ACEOF
14365 if ac_fn_c_try_link "$LINENO"; then :
14366 case "$LIBEXT" in
14367 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14368 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'` ;;
14369 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14370 if ${ac_cv_lib_soname_freetype:+false} :; then :
14371 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14372 fi ;;
14373 esac
14374 else
14375 ac_cv_lib_soname_freetype=
14377 rm -f core conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14379 LIBS=$ac_check_soname_save_LIBS
14381 if ${ac_cv_lib_soname_freetype:+false} :; then :
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14383 $as_echo "not found" >&6; }
14384 FREETYPE_LIBS=""
14385 else
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14387 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14389 cat >>confdefs.h <<_ACEOF
14390 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14391 _ACEOF
14394 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14396 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14397 #include FT_MODULE_H
14399 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14401 cat >>confdefs.h <<_ACEOF
14402 #define HAVE_FT_TRUETYPEENGINETYPE 1
14403 _ACEOF
14409 else
14410 FREETYPE_CFLAGS=""
14411 FREETYPE_LIBS=""
14413 CPPFLAGS=$ac_save_CPPFLAGS
14416 if test "x$ac_cv_lib_soname_freetype" = x; then :
14417 case "x$with_freetype" in
14418 xno) ;;
14419 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14420 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14421 esac
14422 enable_fonts=${enable_fonts:-no}
14425 ac_wine_check_funcs_save_LIBS="$LIBS"
14426 LIBS="$LIBS $PTHREAD_LIBS"
14427 for ac_func in \
14428 pthread_getthreadid_np
14429 do :
14430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14432 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14433 cat >>confdefs.h <<_ACEOF
14434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14435 _ACEOF
14438 done
14440 LIBS="$ac_wine_check_funcs_save_LIBS"
14442 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14443 then
14444 if test "$ac_cv_header_gettext_po_h" = "yes"
14445 then
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14447 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14448 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14449 $as_echo_n "(cached) " >&6
14450 else
14451 ac_check_lib_save_LIBS=$LIBS
14452 LIBS="-lgettextpo $LIBS"
14453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14454 /* end confdefs.h. */
14456 /* Override any GCC internal prototype to avoid an error.
14457 Use char because int might match the return type of a GCC
14458 builtin and then its argument prototype would still apply. */
14459 #ifdef __cplusplus
14460 extern "C"
14461 #endif
14462 char po_message_msgctxt ();
14464 main ()
14466 return po_message_msgctxt ();
14468 return 0;
14470 _ACEOF
14471 if ac_fn_c_try_link "$LINENO"; then :
14472 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14473 else
14474 ac_cv_lib_gettextpo_po_message_msgctxt=no
14476 rm -f core conftest.err conftest.$ac_objext \
14477 conftest$ac_exeext conftest.$ac_ext
14478 LIBS=$ac_check_lib_save_LIBS
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14481 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14482 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14484 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14486 GETTEXTPO_LIBS="-lgettextpo"
14491 if test "x$GETTEXTPO_LIBS" = "x"; then :
14492 case "x$with_gettextpo" in
14493 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14494 xno) ;;
14495 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14496 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14497 esac
14500 if test "$srcdir" != .; then :
14501 case "x$with_gettextpo" in
14502 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14503 xno) ;;
14504 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14505 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14506 esac
14511 if test "x$with_pulse" != "xno";
14512 then
14513 if ${PULSE_CFLAGS:+false} :; then :
14514 if ${PKG_CONFIG+:} false; then :
14515 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14519 if ${PULSE_LIBS:+false} :; then :
14520 if ${PKG_CONFIG+:} false; then :
14521 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14526 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14527 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14528 ac_save_CPPFLAGS=$CPPFLAGS
14529 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14530 for ac_header in pulse/pulseaudio.h
14531 do :
14532 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14533 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14534 cat >>confdefs.h <<_ACEOF
14535 #define HAVE_PULSE_PULSEAUDIO_H 1
14536 _ACEOF
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14538 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14539 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14540 $as_echo_n "(cached) " >&6
14541 else
14542 ac_check_lib_save_LIBS=$LIBS
14543 LIBS="-lpulse $PULSE_LIBS $LIBS"
14544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14547 /* Override any GCC internal prototype to avoid an error.
14548 Use char because int might match the return type of a GCC
14549 builtin and then its argument prototype would still apply. */
14550 #ifdef __cplusplus
14551 extern "C"
14552 #endif
14553 char pa_stream_is_corked ();
14555 main ()
14557 return pa_stream_is_corked ();
14559 return 0;
14561 _ACEOF
14562 if ac_fn_c_try_link "$LINENO"; then :
14563 ac_cv_lib_pulse_pa_stream_is_corked=yes
14564 else
14565 ac_cv_lib_pulse_pa_stream_is_corked=no
14567 rm -f core conftest.err conftest.$ac_objext \
14568 conftest$ac_exeext conftest.$ac_ext
14569 LIBS=$ac_check_lib_save_LIBS
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14572 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14573 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14575 else
14576 PULSE_LIBS=""
14579 else
14580 PULSE_LIBS=""
14583 done
14585 CPPFLAGS=$ac_save_CPPFLAGS
14588 if test -z "$PULSE_LIBS"; then :
14589 case "x$with_pulse" in
14590 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14591 xno) ;;
14592 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14593 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14594 esac
14595 enable_winepulse_drv=${enable_winepulse_drv:-no}
14598 if test "x$with_gstreamer" != "xno"
14599 then
14600 if ${GSTREAMER_CFLAGS:+false} :; then :
14601 if ${PKG_CONFIG+:} false; then :
14602 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14606 if ${GSTREAMER_LIBS:+false} :; then :
14607 if ${PKG_CONFIG+:} false; then :
14608 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14613 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14614 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14615 ac_save_CPPFLAGS=$CPPFLAGS
14616 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14617 ac_gst_incl=""
14618 for i in $GSTREAMER_CFLAGS
14620 case "$i" in
14621 -I*) ac_gst_incl="$ac_gst_incl $i";;
14622 esac
14623 done
14624 GSTREAMER_CFLAGS=$ac_gst_incl
14625 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14626 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14627 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14629 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14631 /* end confdefs.h. */
14632 #include <gst/gst.h>
14634 main ()
14636 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14638 return 0;
14640 _ACEOF
14641 if ac_fn_c_try_compile "$LINENO"; then :
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14643 $as_echo "yes" >&6; }
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14645 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14646 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14647 $as_echo_n "(cached) " >&6
14648 else
14649 ac_check_lib_save_LIBS=$LIBS
14650 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14654 /* Override any GCC internal prototype to avoid an error.
14655 Use char because int might match the return type of a GCC
14656 builtin and then its argument prototype would still apply. */
14657 #ifdef __cplusplus
14658 extern "C"
14659 #endif
14660 char gst_pad_new ();
14662 main ()
14664 return gst_pad_new ();
14666 return 0;
14668 _ACEOF
14669 if ac_fn_c_try_link "$LINENO"; then :
14670 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14671 else
14672 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14674 rm -f core conftest.err conftest.$ac_objext \
14675 conftest$ac_exeext conftest.$ac_ext
14676 LIBS=$ac_check_lib_save_LIBS
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14679 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14680 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14684 else
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14686 $as_echo "no" >&6; }
14687 ac_glib2_broken=yes
14688 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14694 CPPFLAGS=$ac_save_CPPFLAGS
14697 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
14698 case "x$with_gstreamer" in
14699 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14700 xno) ;;
14701 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14702 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14703 esac
14706 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14708 ALSA_LIBS=""
14710 if test "x$with_alsa" != "xno"
14711 then
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14713 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14714 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14715 $as_echo_n "(cached) " >&6
14716 else
14717 ac_check_lib_save_LIBS=$LIBS
14718 LIBS="-lasound $LIBS"
14719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14720 /* end confdefs.h. */
14722 /* Override any GCC internal prototype to avoid an error.
14723 Use char because int might match the return type of a GCC
14724 builtin and then its argument prototype would still apply. */
14725 #ifdef __cplusplus
14726 extern "C"
14727 #endif
14728 char snd_pcm_hw_params_get_access_mask ();
14730 main ()
14732 return snd_pcm_hw_params_get_access_mask ();
14734 return 0;
14736 _ACEOF
14737 if ac_fn_c_try_link "$LINENO"; then :
14738 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14739 else
14740 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14742 rm -f core conftest.err conftest.$ac_objext \
14743 conftest$ac_exeext conftest.$ac_ext
14744 LIBS=$ac_check_lib_save_LIBS
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14747 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14748 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h. */
14751 #include <alsa/asoundlib.h>
14753 main ()
14755 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14757 return 0;
14759 _ACEOF
14760 if ac_fn_c_try_compile "$LINENO"; then :
14761 ALSA_LIBS="-lasound"
14763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14767 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14769 if test "x$with_oss" != xno
14770 then
14771 ac_save_CPPFLAGS="$CPPFLAGS"
14772 if test -f /etc/oss.conf
14773 then
14774 . /etc/oss.conf
14776 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14777 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14778 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14779 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14780 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14782 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14784 cat >>confdefs.h <<_ACEOF
14785 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14786 _ACEOF
14788 OSS4_CFLAGS="$ac_oss_incl"
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14791 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14792 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14793 $as_echo_n "(cached) " >&6
14794 else
14795 ac_check_lib_save_LIBS=$LIBS
14796 LIBS="-lossaudio $LIBS"
14797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14798 /* end confdefs.h. */
14800 /* Override any GCC internal prototype to avoid an error.
14801 Use char because int might match the return type of a GCC
14802 builtin and then its argument prototype would still apply. */
14803 #ifdef __cplusplus
14804 extern "C"
14805 #endif
14806 char _oss_ioctl ();
14808 main ()
14810 return _oss_ioctl ();
14812 return 0;
14814 _ACEOF
14815 if ac_fn_c_try_link "$LINENO"; then :
14816 ac_cv_lib_ossaudio__oss_ioctl=yes
14817 else
14818 ac_cv_lib_ossaudio__oss_ioctl=no
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext conftest.$ac_ext
14822 LIBS=$ac_check_lib_save_LIBS
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14825 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14826 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14827 OSS4_LIBS="-lossaudio"
14836 CPPFLAGS="$ac_save_CPPFLAGS"
14838 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14839 case "x$with_oss" in
14840 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14841 xno) ;;
14842 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14843 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14844 esac
14845 enable_wineoss_drv=${enable_wineoss_drv:-no}
14848 if test "x$with_udev" != "xno"
14849 then
14850 if ${UDEV_CFLAGS:+false} :; then :
14851 if ${PKG_CONFIG+:} false; then :
14852 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14856 if ${UDEV_LIBS:+false} :; then :
14857 if ${PKG_CONFIG+:} false; then :
14858 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14862 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14863 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14864 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14865 ac_save_CPPFLAGS=$CPPFLAGS
14866 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14867 for ac_header in libudev.h
14868 do :
14869 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14870 if test "x$ac_cv_header_libudev_h" = xyes; then :
14871 cat >>confdefs.h <<_ACEOF
14872 #define HAVE_LIBUDEV_H 1
14873 _ACEOF
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14875 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14876 if ${ac_cv_lib_udev_udev_new+:} false; then :
14877 $as_echo_n "(cached) " >&6
14878 else
14879 ac_check_lib_save_LIBS=$LIBS
14880 LIBS="-ludev $UDEV_LIBS $LIBS"
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14884 /* Override any GCC internal prototype to avoid an error.
14885 Use char because int might match the return type of a GCC
14886 builtin and then its argument prototype would still apply. */
14887 #ifdef __cplusplus
14888 extern "C"
14889 #endif
14890 char udev_new ();
14892 main ()
14894 return udev_new ();
14896 return 0;
14898 _ACEOF
14899 if ac_fn_c_try_link "$LINENO"; then :
14900 ac_cv_lib_udev_udev_new=yes
14901 else
14902 ac_cv_lib_udev_udev_new=no
14904 rm -f core conftest.err conftest.$ac_objext \
14905 conftest$ac_exeext conftest.$ac_ext
14906 LIBS=$ac_check_lib_save_LIBS
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14909 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14910 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14912 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14914 else
14915 UDEV_LIBS=""
14918 else
14919 UDEV_LIBS=""
14922 done
14924 CPPFLAGS=$ac_save_CPPFLAGS
14927 if test "x$UDEV_LIBS" = "x"; then :
14928 case "x$with_udev" in
14929 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14930 xno) ;;
14931 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14932 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14933 esac
14937 if test "x$with_unwind" != xno
14938 then
14939 if ${UNWIND_CFLAGS:+false} :; then :
14940 if ${PKG_CONFIG+:} false; then :
14941 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14945 if ${UNWIND_LIBS:+false} :; then :
14946 if ${PKG_CONFIG+:} false; then :
14947 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14951 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14952 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14953 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14954 ac_save_CPPFLAGS=$CPPFLAGS
14955 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14957 $as_echo_n "checking for unw_step... " >&6; }
14958 if ${wine_cv_have_unw_step+:} false; then :
14959 $as_echo_n "(cached) " >&6
14960 else
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14963 #define UNW_LOCAL_ONLY
14964 #include <libunwind.h>
14966 main ()
14968 unw_cursor_t cursor; unw_step( &cursor );
14970 return 0;
14972 _ACEOF
14973 if ac_fn_c_try_link "$LINENO"; then :
14974 wine_cv_have_unw_step="yes"
14975 else
14976 wine_cv_have_unw_step="no"
14978 rm -f core conftest.err conftest.$ac_objext \
14979 conftest$ac_exeext conftest.$ac_ext
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14982 $as_echo "$wine_cv_have_unw_step" >&6; }
14983 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14984 then
14985 save_libs=$LIBS
14986 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14987 LIBS="$UNWIND_LIBS $LIBS"
14988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14989 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14990 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14991 $as_echo_n "(cached) " >&6
14992 else
14993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14994 /* end confdefs.h. */
14995 #define UNW_LOCAL_ONLY
14996 #include <libunwind.h>
14998 main ()
15000 unw_cursor_t cursor; unw_step( &cursor );
15002 return 0;
15004 _ACEOF
15005 if ac_fn_c_try_link "$LINENO"; then :
15006 wine_cv_have_libunwind_unw_step="yes"
15007 else
15008 wine_cv_have_libunwind_unw_step="no"
15010 rm -f core conftest.err conftest.$ac_objext \
15011 conftest$ac_exeext conftest.$ac_ext
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15014 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15015 LIBS=$save_libs
15017 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15018 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15019 then
15021 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15024 CPPFLAGS=$ac_save_CPPFLAGS
15027 case $host in
15028 aarch64*|*-darwin*)
15029 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15030 case "x$with_unwind" in
15031 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15032 xno) ;;
15033 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15034 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15035 esac
15037 fi ;;
15038 esac
15040 if test "x$with_sdl" != "xno"
15041 then
15042 if ${SDL2_CFLAGS:+false} :; then :
15043 if ${PKG_CONFIG+:} false; then :
15044 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15048 if ${SDL2_LIBS:+false} :; then :
15049 if ${PKG_CONFIG+:} false; then :
15050 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15054 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15055 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15056 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15057 ac_save_CPPFLAGS=$CPPFLAGS
15058 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15059 for ac_header in SDL.h
15060 do :
15061 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15062 if test "x$ac_cv_header_SDL_h" = xyes; then :
15063 cat >>confdefs.h <<_ACEOF
15064 #define HAVE_SDL_H 1
15065 _ACEOF
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15067 $as_echo_n "checking for -lSDL2... " >&6; }
15068 if ${ac_cv_lib_soname_SDL2+:} false; then :
15069 $as_echo_n "(cached) " >&6
15070 else
15071 ac_check_soname_save_LIBS=$LIBS
15072 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15074 /* end confdefs.h. */
15076 /* Override any GCC internal prototype to avoid an error.
15077 Use char because int might match the return type of a GCC
15078 builtin and then its argument prototype would still apply. */
15079 #ifdef __cplusplus
15080 extern "C"
15081 #endif
15082 char SDL_Init ();
15084 main ()
15086 return SDL_Init ();
15088 return 0;
15090 _ACEOF
15091 if ac_fn_c_try_link "$LINENO"; then :
15092 case "$LIBEXT" in
15093 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15094 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'` ;;
15095 *) 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'`
15096 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15097 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15098 fi ;;
15099 esac
15100 else
15101 ac_cv_lib_soname_SDL2=
15103 rm -f core conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext conftest.$ac_ext
15105 LIBS=$ac_check_soname_save_LIBS
15107 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15109 $as_echo "not found" >&6; }
15111 else
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15113 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15115 cat >>confdefs.h <<_ACEOF
15116 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15117 _ACEOF
15123 done
15125 CPPFLAGS=$ac_save_CPPFLAGS
15128 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15129 case "x$with_sdl" in
15130 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15131 xno) ;;
15132 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15133 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15134 esac
15138 if test "x$with_faudio" != "xno"
15139 then
15140 if ${FAUDIO_CFLAGS:+false} :; then :
15141 if ${PKG_CONFIG+:} false; then :
15142 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15146 if ${FAUDIO_LIBS:+false} :; then :
15147 if ${PKG_CONFIG+:} false; then :
15148 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15152 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15153 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15154 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15155 ac_save_CPPFLAGS=$CPPFLAGS
15156 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15157 for ac_header in FAudio.h
15158 do :
15159 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15160 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15161 cat >>confdefs.h <<_ACEOF
15162 #define HAVE_FAUDIO_H 1
15163 _ACEOF
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15165 $as_echo_n "checking for -lFAudio... " >&6; }
15166 if ${ac_cv_lib_soname_FAudio+:} false; then :
15167 $as_echo_n "(cached) " >&6
15168 else
15169 ac_check_soname_save_LIBS=$LIBS
15170 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15174 /* Override any GCC internal prototype to avoid an error.
15175 Use char because int might match the return type of a GCC
15176 builtin and then its argument prototype would still apply. */
15177 #ifdef __cplusplus
15178 extern "C"
15179 #endif
15180 char FAudioCreate ();
15182 main ()
15184 return FAudioCreate ();
15186 return 0;
15188 _ACEOF
15189 if ac_fn_c_try_link "$LINENO"; then :
15190 case "$LIBEXT" in
15191 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15192 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'` ;;
15193 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15194 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15195 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15196 fi ;;
15197 esac
15198 else
15199 ac_cv_lib_soname_FAudio=
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15203 LIBS=$ac_check_soname_save_LIBS
15205 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15207 $as_echo "not found" >&6; }
15209 else
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15211 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15213 cat >>confdefs.h <<_ACEOF
15214 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15215 _ACEOF
15221 done
15223 ac_wine_check_funcs_save_LIBS="$LIBS"
15224 LIBS="$LIBS $FAUDIO_LIBS"
15225 for ac_func in FAudio_CommitOperationSet \
15226 F3DAudioInitialize8 \
15227 FAudioLinkedVersion \
15228 FAudioCreateReverb9WithCustomAllocatorEXT
15229 do :
15230 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15231 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15232 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15233 cat >>confdefs.h <<_ACEOF
15234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15235 _ACEOF
15238 done
15240 LIBS="$ac_wine_check_funcs_save_LIBS"
15242 CPPFLAGS=$ac_save_CPPFLAGS
15245 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15246 case "x$with_faudio" in
15247 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15248 xno) ;;
15249 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15250 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15251 esac
15255 if test "x$with_capi" != "xno"
15256 then
15257 if ${CAPI20_CFLAGS:+false} :; then :
15258 if ${PKG_CONFIG+:} false; then :
15259 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15263 if ${CAPI20_LIBS:+false} :; then :
15264 if ${PKG_CONFIG+:} false; then :
15265 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15270 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15271 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15272 ac_save_CPPFLAGS=$CPPFLAGS
15273 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15274 for ac_header in capi20.h linux/capi.h
15275 do :
15276 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15277 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15279 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15280 cat >>confdefs.h <<_ACEOF
15281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15282 _ACEOF
15286 done
15288 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15289 then
15290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15291 $as_echo_n "checking for -lcapi20... " >&6; }
15292 if ${ac_cv_lib_soname_capi20+:} false; then :
15293 $as_echo_n "(cached) " >&6
15294 else
15295 ac_check_soname_save_LIBS=$LIBS
15296 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15298 /* end confdefs.h. */
15300 /* Override any GCC internal prototype to avoid an error.
15301 Use char because int might match the return type of a GCC
15302 builtin and then its argument prototype would still apply. */
15303 #ifdef __cplusplus
15304 extern "C"
15305 #endif
15306 char capi20_register ();
15308 main ()
15310 return capi20_register ();
15312 return 0;
15314 _ACEOF
15315 if ac_fn_c_try_link "$LINENO"; then :
15316 case "$LIBEXT" in
15317 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15318 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'` ;;
15319 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15320 if ${ac_cv_lib_soname_capi20:+false} :; then :
15321 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15322 fi ;;
15323 esac
15324 else
15325 ac_cv_lib_soname_capi20=
15327 rm -f core conftest.err conftest.$ac_objext \
15328 conftest$ac_exeext conftest.$ac_ext
15329 LIBS=$ac_check_soname_save_LIBS
15331 if ${ac_cv_lib_soname_capi20:+false} :; then :
15332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15333 $as_echo "not found" >&6; }
15335 else
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15337 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15339 cat >>confdefs.h <<_ACEOF
15340 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15341 _ACEOF
15346 CPPFLAGS=$ac_save_CPPFLAGS
15349 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15350 case "x$with_capi" in
15351 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15352 xno) ;;
15353 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15354 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15355 esac
15359 if test "x$with_cups" != "xno"
15360 then
15361 if ${CUPS_CFLAGS:+false} :; then :
15362 if ${PKG_CONFIG+:} false; then :
15363 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15366 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15367 if ${CUPS_LIBS:+false} :; then :
15368 if ${PKG_CONFIG+:} false; then :
15369 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15372 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15373 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15374 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15375 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15376 ac_save_CPPFLAGS=$CPPFLAGS
15377 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15378 for ac_header in cups/cups.h cups/ppd.h
15379 do :
15380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15381 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15383 cat >>confdefs.h <<_ACEOF
15384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15385 _ACEOF
15389 done
15391 if test "$ac_cv_header_cups_cups_h" = "yes"
15392 then
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15394 $as_echo_n "checking for -lcups... " >&6; }
15395 if ${ac_cv_lib_soname_cups+:} false; then :
15396 $as_echo_n "(cached) " >&6
15397 else
15398 ac_check_soname_save_LIBS=$LIBS
15399 LIBS="-lcups $CUPS_LIBS $LIBS"
15400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15403 /* Override any GCC internal prototype to avoid an error.
15404 Use char because int might match the return type of a GCC
15405 builtin and then its argument prototype would still apply. */
15406 #ifdef __cplusplus
15407 extern "C"
15408 #endif
15409 char cupsGetDefault ();
15411 main ()
15413 return cupsGetDefault ();
15415 return 0;
15417 _ACEOF
15418 if ac_fn_c_try_link "$LINENO"; then :
15419 case "$LIBEXT" in
15420 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15421 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'` ;;
15422 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15423 if ${ac_cv_lib_soname_cups:+false} :; then :
15424 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15425 fi ;;
15426 esac
15427 else
15428 ac_cv_lib_soname_cups=
15430 rm -f core conftest.err conftest.$ac_objext \
15431 conftest$ac_exeext conftest.$ac_ext
15432 LIBS=$ac_check_soname_save_LIBS
15434 if ${ac_cv_lib_soname_cups:+false} :; then :
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15436 $as_echo "not found" >&6; }
15437 CUPS_LIBS=""
15438 else
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15440 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15442 cat >>confdefs.h <<_ACEOF
15443 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15444 _ACEOF
15448 else
15449 CUPS_CFLAGS=""
15450 CUPS_LIBS=""
15452 CPPFLAGS=$ac_save_CPPFLAGS
15455 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15456 case "x$with_cups" in
15457 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15458 xno) ;;
15459 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15460 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15461 esac
15465 if test "x$with_fontconfig" != "xno"
15466 then
15467 if ${FONTCONFIG_CFLAGS:+false} :; then :
15468 if ${PKG_CONFIG+:} false; then :
15469 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15472 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15473 if ${FONTCONFIG_LIBS:+false} :; then :
15474 if ${PKG_CONFIG+:} false; then :
15475 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15478 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15480 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15481 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15482 ac_save_CPPFLAGS=$CPPFLAGS
15483 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15484 for ac_header in fontconfig/fontconfig.h
15485 do :
15486 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15487 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15488 cat >>confdefs.h <<_ACEOF
15489 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15490 _ACEOF
15494 done
15496 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15497 then
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15499 $as_echo_n "checking for -lfontconfig... " >&6; }
15500 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15501 $as_echo_n "(cached) " >&6
15502 else
15503 ac_check_soname_save_LIBS=$LIBS
15504 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15506 /* end confdefs.h. */
15508 /* Override any GCC internal prototype to avoid an error.
15509 Use char because int might match the return type of a GCC
15510 builtin and then its argument prototype would still apply. */
15511 #ifdef __cplusplus
15512 extern "C"
15513 #endif
15514 char FcInit ();
15516 main ()
15518 return FcInit ();
15520 return 0;
15522 _ACEOF
15523 if ac_fn_c_try_link "$LINENO"; then :
15524 case "$LIBEXT" in
15525 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15526 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'` ;;
15527 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15528 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15529 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15530 fi ;;
15531 esac
15532 else
15533 ac_cv_lib_soname_fontconfig=
15535 rm -f core conftest.err conftest.$ac_objext \
15536 conftest$ac_exeext conftest.$ac_ext
15537 LIBS=$ac_check_soname_save_LIBS
15539 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15541 $as_echo "not found" >&6; }
15542 FONTCONFIG_CFLAGS=""
15543 else
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15545 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15547 cat >>confdefs.h <<_ACEOF
15548 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15549 _ACEOF
15553 else
15554 FONTCONFIG_CFLAGS=""
15556 CPPFLAGS=$ac_save_CPPFLAGS
15559 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15560 case "x$with_fontconfig" in
15561 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15562 xno) ;;
15563 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15564 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15565 esac
15569 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15570 then
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15572 $as_echo_n "checking for -lgsm... " >&6; }
15573 if ${ac_cv_lib_soname_gsm+:} false; then :
15574 $as_echo_n "(cached) " >&6
15575 else
15576 ac_check_soname_save_LIBS=$LIBS
15577 LIBS="-lgsm $LIBS"
15578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15579 /* end confdefs.h. */
15581 /* Override any GCC internal prototype to avoid an error.
15582 Use char because int might match the return type of a GCC
15583 builtin and then its argument prototype would still apply. */
15584 #ifdef __cplusplus
15585 extern "C"
15586 #endif
15587 char gsm_create ();
15589 main ()
15591 return gsm_create ();
15593 return 0;
15595 _ACEOF
15596 if ac_fn_c_try_link "$LINENO"; then :
15597 case "$LIBEXT" in
15598 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15599 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'` ;;
15600 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15601 if ${ac_cv_lib_soname_gsm:+false} :; then :
15602 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15603 fi ;;
15604 esac
15605 else
15606 ac_cv_lib_soname_gsm=
15608 rm -f core conftest.err conftest.$ac_objext \
15609 conftest$ac_exeext conftest.$ac_ext
15610 LIBS=$ac_check_soname_save_LIBS
15612 if ${ac_cv_lib_soname_gsm:+false} :; then :
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15614 $as_echo "not found" >&6; }
15616 else
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15618 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15620 cat >>confdefs.h <<_ACEOF
15621 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15622 _ACEOF
15627 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15628 case "x$with_gsm" in
15629 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15630 xno) ;;
15631 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15632 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15633 esac
15637 if test "x$with_krb5" != "xno"
15638 then
15639 if ${KRB5_CFLAGS:+false} :; then :
15640 if ${PKG_CONFIG+:} false; then :
15641 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15644 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15645 if ${KRB5_LIBS:+false} :; then :
15646 if ${PKG_CONFIG+:} false; then :
15647 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15650 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15652 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15653 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15654 ac_save_CPPFLAGS=$CPPFLAGS
15655 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15656 for ac_header in krb5/krb5.h
15657 do :
15658 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15659 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15660 cat >>confdefs.h <<_ACEOF
15661 #define HAVE_KRB5_KRB5_H 1
15662 _ACEOF
15666 done
15668 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15669 then
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15671 $as_echo_n "checking for -lkrb5... " >&6; }
15672 if ${ac_cv_lib_soname_krb5+:} false; then :
15673 $as_echo_n "(cached) " >&6
15674 else
15675 ac_check_soname_save_LIBS=$LIBS
15676 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h. */
15680 /* Override any GCC internal prototype to avoid an error.
15681 Use char because int might match the return type of a GCC
15682 builtin and then its argument prototype would still apply. */
15683 #ifdef __cplusplus
15684 extern "C"
15685 #endif
15686 char krb5_is_config_principal ();
15688 main ()
15690 return krb5_is_config_principal ();
15692 return 0;
15694 _ACEOF
15695 if ac_fn_c_try_link "$LINENO"; then :
15696 case "$LIBEXT" in
15697 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15698 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'` ;;
15699 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15700 if ${ac_cv_lib_soname_krb5:+false} :; then :
15701 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15702 fi ;;
15703 esac
15704 else
15705 ac_cv_lib_soname_krb5=
15707 rm -f core conftest.err conftest.$ac_objext \
15708 conftest$ac_exeext conftest.$ac_ext
15709 LIBS=$ac_check_soname_save_LIBS
15711 if ${ac_cv_lib_soname_krb5:+false} :; then :
15712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15713 $as_echo "not found" >&6; }
15714 KRB5_CFLAGS=""
15715 else
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15717 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15719 cat >>confdefs.h <<_ACEOF
15720 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15721 _ACEOF
15725 else
15726 KRB5_CFLAGS=""
15728 CPPFLAGS=$ac_save_CPPFLAGS
15731 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15732 case "x$with_krb5" in
15733 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15734 xno) ;;
15735 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15736 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15737 esac
15740 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15742 if test "x$with_gssapi" != "xno"
15743 then
15744 if ${GSSAPI_CFLAGS:+false} :; then :
15745 if ${PKG_CONFIG+:} false; then :
15746 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15749 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15750 if ${GSSAPI_LIBS:+false} :; then :
15751 if ${PKG_CONFIG+:} false; then :
15752 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15755 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15757 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15758 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15759 ac_save_CPPFLAGS=$CPPFLAGS
15760 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15761 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15762 do :
15763 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15764 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15765 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15768 _ACEOF
15772 done
15774 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15775 then
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15777 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15778 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15779 $as_echo_n "(cached) " >&6
15780 else
15781 ac_check_soname_save_LIBS=$LIBS
15782 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15784 /* end confdefs.h. */
15786 /* Override any GCC internal prototype to avoid an error.
15787 Use char because int might match the return type of a GCC
15788 builtin and then its argument prototype would still apply. */
15789 #ifdef __cplusplus
15790 extern "C"
15791 #endif
15792 char gss_init_sec_context ();
15794 main ()
15796 return gss_init_sec_context ();
15798 return 0;
15800 _ACEOF
15801 if ac_fn_c_try_link "$LINENO"; then :
15802 case "$LIBEXT" in
15803 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15804 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'` ;;
15805 *) 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'`
15806 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15807 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15808 fi ;;
15809 esac
15810 else
15811 ac_cv_lib_soname_gssapi_krb5=
15813 rm -f core conftest.err conftest.$ac_objext \
15814 conftest$ac_exeext conftest.$ac_ext
15815 LIBS=$ac_check_soname_save_LIBS
15817 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15819 $as_echo "not found" >&6; }
15820 GSSAPI_CFLAGS=""
15821 else
15822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15823 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15825 cat >>confdefs.h <<_ACEOF
15826 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15827 _ACEOF
15831 else
15832 GSSAPI_CFLAGS=""
15834 CPPFLAGS=$ac_save_CPPFLAGS
15837 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15838 case "x$with_gssapi" in
15839 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15840 xno) ;;
15841 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15842 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15843 esac
15847 if test "x$with_jpeg" != "xno"
15848 then
15849 if ${JPEG_CFLAGS:+false} :; then :
15850 if ${PKG_CONFIG+:} false; then :
15851 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15855 if ${JPEG_LIBS:+false} :; then :
15856 if ${PKG_CONFIG+:} false; then :
15857 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15862 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15863 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15864 ac_save_CPPFLAGS=$CPPFLAGS
15865 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15866 for ac_header in jpeglib.h
15867 do :
15868 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15869 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15870 cat >>confdefs.h <<_ACEOF
15871 #define HAVE_JPEGLIB_H 1
15872 _ACEOF
15876 done
15878 if test "$ac_cv_header_jpeglib_h" = "yes"
15879 then
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15881 $as_echo_n "checking for -ljpeg... " >&6; }
15882 if ${ac_cv_lib_soname_jpeg+:} false; then :
15883 $as_echo_n "(cached) " >&6
15884 else
15885 ac_check_soname_save_LIBS=$LIBS
15886 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15890 /* Override any GCC internal prototype to avoid an error.
15891 Use char because int might match the return type of a GCC
15892 builtin and then its argument prototype would still apply. */
15893 #ifdef __cplusplus
15894 extern "C"
15895 #endif
15896 char jpeg_start_decompress ();
15898 main ()
15900 return jpeg_start_decompress ();
15902 return 0;
15904 _ACEOF
15905 if ac_fn_c_try_link "$LINENO"; then :
15906 case "$LIBEXT" in
15907 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15908 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'` ;;
15909 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15910 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15911 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15912 fi ;;
15913 esac
15914 else
15915 ac_cv_lib_soname_jpeg=
15917 rm -f core conftest.err conftest.$ac_objext \
15918 conftest$ac_exeext conftest.$ac_ext
15919 LIBS=$ac_check_soname_save_LIBS
15921 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15923 $as_echo "not found" >&6; }
15924 JPEG_CFLAGS=""
15925 else
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15927 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15929 cat >>confdefs.h <<_ACEOF
15930 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15931 _ACEOF
15935 else
15936 JPEG_CFLAGS=""
15938 CPPFLAGS=$ac_save_CPPFLAGS
15941 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15942 case "x$with_jpeg" in
15943 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15944 xno) ;;
15945 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15946 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15947 esac
15951 if test "x$with_jxrlib" != "xno"
15952 then
15953 if ${JXRLIB_CFLAGS:+false} :; then :
15954 if ${PKG_CONFIG+:} false; then :
15955 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15958 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15959 if ${JXRLIB_LIBS:+false} :; then :
15960 if ${PKG_CONFIG+:} false; then :
15961 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15966 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15967 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15968 ac_save_CPPFLAGS=$CPPFLAGS
15969 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15970 for ac_header in JXRGlue.h
15971 do :
15972 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15974 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define HAVE_JXRGLUE_H 1
15977 _ACEOF
15981 done
15983 if test "$ac_cv_header_JXRGlue_h" = "yes"
15984 then
15985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15986 $as_echo_n "checking for -ljxrglue... " >&6; }
15987 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15988 $as_echo_n "(cached) " >&6
15989 else
15990 ac_check_soname_save_LIBS=$LIBS
15991 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15993 /* end confdefs.h. */
15995 /* Override any GCC internal prototype to avoid an error.
15996 Use char because int might match the return type of a GCC
15997 builtin and then its argument prototype would still apply. */
15998 #ifdef __cplusplus
15999 extern "C"
16000 #endif
16001 char PKImageDecode_Create_WMP ();
16003 main ()
16005 return PKImageDecode_Create_WMP ();
16007 return 0;
16009 _ACEOF
16010 if ac_fn_c_try_link "$LINENO"; then :
16011 case "$LIBEXT" in
16012 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16013 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'` ;;
16014 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16015 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16016 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16017 fi ;;
16018 esac
16019 else
16020 ac_cv_lib_soname_jxrglue=
16022 rm -f core conftest.err conftest.$ac_objext \
16023 conftest$ac_exeext conftest.$ac_ext
16024 LIBS=$ac_check_soname_save_LIBS
16026 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16028 $as_echo "not found" >&6; }
16029 JXRLIB_CFLAGS=""
16030 else
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16032 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16034 cat >>confdefs.h <<_ACEOF
16035 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16036 _ACEOF
16040 else
16041 JXRLIB_CFLAGS=""
16043 CPPFLAGS=$ac_save_CPPFLAGS
16046 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16047 case "x$with_jxrlib" in
16048 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16049 xno) ;;
16050 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16051 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16052 esac
16056 if test "x$with_png" != "xno"
16057 then
16058 if ${PNG_CFLAGS:+false} :; then :
16059 if ${PKG_CONFIG+:} false; then :
16060 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16063 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16064 if ${PNG_LIBS:+false} :; then :
16065 if ${PKG_CONFIG+:} false; then :
16066 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16069 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16071 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16072 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16073 ac_save_CPPFLAGS=$CPPFLAGS
16074 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16075 for ac_header in png.h
16076 do :
16077 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16078 if test "x$ac_cv_header_png_h" = xyes; then :
16079 cat >>confdefs.h <<_ACEOF
16080 #define HAVE_PNG_H 1
16081 _ACEOF
16085 done
16087 if test "$ac_cv_header_png_h" = "yes"
16088 then
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16090 $as_echo_n "checking for -lpng... " >&6; }
16091 if ${ac_cv_lib_soname_png+:} false; then :
16092 $as_echo_n "(cached) " >&6
16093 else
16094 ac_check_soname_save_LIBS=$LIBS
16095 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097 /* end confdefs.h. */
16099 /* Override any GCC internal prototype to avoid an error.
16100 Use char because int might match the return type of a GCC
16101 builtin and then its argument prototype would still apply. */
16102 #ifdef __cplusplus
16103 extern "C"
16104 #endif
16105 char png_create_read_struct ();
16107 main ()
16109 return png_create_read_struct ();
16111 return 0;
16113 _ACEOF
16114 if ac_fn_c_try_link "$LINENO"; then :
16115 case "$LIBEXT" in
16116 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16117 dylib) ac_cv_lib_soname_png=`$OTOOL -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16118 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16119 if ${ac_cv_lib_soname_png:+false} :; then :
16120 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16121 fi ;;
16122 esac
16123 else
16124 ac_cv_lib_soname_png=
16126 rm -f core conftest.err conftest.$ac_objext \
16127 conftest$ac_exeext conftest.$ac_ext
16128 LIBS=$ac_check_soname_save_LIBS
16130 if ${ac_cv_lib_soname_png:+false} :; then :
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16132 $as_echo "not found" >&6; }
16133 PNG_CFLAGS=""
16134 else
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16136 $as_echo "$ac_cv_lib_soname_png" >&6; }
16138 cat >>confdefs.h <<_ACEOF
16139 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16140 _ACEOF
16144 else
16145 PNG_CFLAGS=""
16147 CPPFLAGS=$ac_save_CPPFLAGS
16150 if test "x$ac_cv_lib_soname_png" = "x"; then :
16151 case "x$with_png" in
16152 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16153 xno) ;;
16154 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16155 This is an error since --with-png was requested." "$LINENO" 5 ;;
16156 esac
16160 if test "x$with_tiff" != "xno"
16161 then
16162 if ${TIFF_CFLAGS:+false} :; then :
16163 if ${PKG_CONFIG+:} false; then :
16164 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16168 if ${TIFF_LIBS:+false} :; then :
16169 if ${PKG_CONFIG+:} false; then :
16170 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16175 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16176 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16177 ac_save_CPPFLAGS=$CPPFLAGS
16178 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16179 for ac_header in tiffio.h
16180 do :
16181 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16182 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16183 cat >>confdefs.h <<_ACEOF
16184 #define HAVE_TIFFIO_H 1
16185 _ACEOF
16189 done
16191 if test "$ac_cv_header_tiffio_h" = "yes"
16192 then
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16194 $as_echo_n "checking for -ltiff... " >&6; }
16195 if ${ac_cv_lib_soname_tiff+:} false; then :
16196 $as_echo_n "(cached) " >&6
16197 else
16198 ac_check_soname_save_LIBS=$LIBS
16199 LIBS="-ltiff $TIFF_LIBS $LIBS"
16200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16201 /* end confdefs.h. */
16203 /* Override any GCC internal prototype to avoid an error.
16204 Use char because int might match the return type of a GCC
16205 builtin and then its argument prototype would still apply. */
16206 #ifdef __cplusplus
16207 extern "C"
16208 #endif
16209 char TIFFClientOpen ();
16211 main ()
16213 return TIFFClientOpen ();
16215 return 0;
16217 _ACEOF
16218 if ac_fn_c_try_link "$LINENO"; then :
16219 case "$LIBEXT" in
16220 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16221 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'` ;;
16222 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16223 if ${ac_cv_lib_soname_tiff:+false} :; then :
16224 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16225 fi ;;
16226 esac
16227 else
16228 ac_cv_lib_soname_tiff=
16230 rm -f core conftest.err conftest.$ac_objext \
16231 conftest$ac_exeext conftest.$ac_ext
16232 LIBS=$ac_check_soname_save_LIBS
16234 if ${ac_cv_lib_soname_tiff:+false} :; then :
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16236 $as_echo "not found" >&6; }
16238 else
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16240 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16242 cat >>confdefs.h <<_ACEOF
16243 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16244 _ACEOF
16249 CPPFLAGS=$ac_save_CPPFLAGS
16252 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16253 case "x$with_tiff" in
16254 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16255 xno) ;;
16256 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16257 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16258 esac
16262 if test "x$with_mpg123" != "xno"
16263 then
16264 if ${MPG123_CFLAGS:+false} :; then :
16265 if ${PKG_CONFIG+:} false; then :
16266 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16270 if ${MPG123_LIBS:+false} :; then :
16271 if ${PKG_CONFIG+:} false; then :
16272 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16276 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16277 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16278 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16279 ac_save_CPPFLAGS=$CPPFLAGS
16280 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16281 for ac_header in mpg123.h
16282 do :
16283 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16284 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16285 cat >>confdefs.h <<_ACEOF
16286 #define HAVE_MPG123_H 1
16287 _ACEOF
16291 done
16293 if test "$ac_cv_header_mpg123_h" = "yes"
16294 then
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16296 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16297 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16298 $as_echo_n "(cached) " >&6
16299 else
16300 ac_check_lib_save_LIBS=$LIBS
16301 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16305 /* Override any GCC internal prototype to avoid an error.
16306 Use char because int might match the return type of a GCC
16307 builtin and then its argument prototype would still apply. */
16308 #ifdef __cplusplus
16309 extern "C"
16310 #endif
16311 char mpg123_feed ();
16313 main ()
16315 return mpg123_feed ();
16317 return 0;
16319 _ACEOF
16320 if ac_fn_c_try_link "$LINENO"; then :
16321 ac_cv_lib_mpg123_mpg123_feed=yes
16322 else
16323 ac_cv_lib_mpg123_mpg123_feed=no
16325 rm -f core conftest.err conftest.$ac_objext \
16326 conftest$ac_exeext conftest.$ac_ext
16327 LIBS=$ac_check_lib_save_LIBS
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16330 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16331 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16333 else
16334 MPG123_LIBS=""
16337 else
16338 MPG123_CFLAGS=""
16339 MPG123_LIBS=""
16341 CPPFLAGS=$ac_save_CPPFLAGS
16344 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16345 case "x$with_mpg123" in
16346 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16347 xno) ;;
16348 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16349 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16350 esac
16351 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16353 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16355 if test "$ac_cv_header_AL_al_h" = "yes"
16356 then
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16358 $as_echo_n "checking for -lopenal... " >&6; }
16359 if ${ac_cv_lib_soname_openal+:} false; then :
16360 $as_echo_n "(cached) " >&6
16361 else
16362 ac_check_soname_save_LIBS=$LIBS
16363 LIBS="-lopenal $LIBS"
16364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16365 /* end confdefs.h. */
16367 /* Override any GCC internal prototype to avoid an error.
16368 Use char because int might match the return type of a GCC
16369 builtin and then its argument prototype would still apply. */
16370 #ifdef __cplusplus
16371 extern "C"
16372 #endif
16373 char alGetSource3i ();
16375 main ()
16377 return alGetSource3i ();
16379 return 0;
16381 _ACEOF
16382 if ac_fn_c_try_link "$LINENO"; then :
16383 case "$LIBEXT" in
16384 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16385 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'` ;;
16386 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16387 if ${ac_cv_lib_soname_openal:+false} :; then :
16388 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16389 fi ;;
16390 esac
16391 else
16392 ac_cv_lib_soname_openal=
16394 rm -f core conftest.err conftest.$ac_objext \
16395 conftest$ac_exeext conftest.$ac_ext
16396 LIBS=$ac_check_soname_save_LIBS
16398 if ${ac_cv_lib_soname_openal:+false} :; then :
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16400 $as_echo "not found" >&6; }
16402 else
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16404 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16406 cat >>confdefs.h <<_ACEOF
16407 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16408 _ACEOF
16410 OPENAL_LIBS="-lopenal"
16412 ac_cv_lib_openal=yes
16414 cat >>confdefs.h <<_ACEOF
16415 #define HAVE_OPENAL 1
16416 _ACEOF
16420 if test "x$ac_cv_lib_openal" != xyes; then :
16421 case "x$with_openal" in
16422 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16423 xno) ;;
16424 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16425 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16426 esac
16427 enable_openal32=${enable_openal32:-no}
16430 if test "x$ac_cv_lib_soname_FAudio" = "x"
16431 then
16432 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16433 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16434 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16435 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16436 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16437 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16438 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16439 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16440 enable_xactengine3_0=${enable_xactengine3_0:-no}
16441 enable_xactengine3_1=${enable_xactengine3_1:-no}
16442 enable_xactengine3_2=${enable_xactengine3_2:-no}
16443 enable_xactengine3_3=${enable_xactengine3_3:-no}
16444 enable_xactengine3_4=${enable_xactengine3_4:-no}
16445 enable_xactengine3_5=${enable_xactengine3_5:-no}
16446 enable_xactengine3_6=${enable_xactengine3_6:-no}
16447 enable_xactengine3_7=${enable_xactengine3_7:-no}
16448 enable_xapofx1_1=${enable_xapofx1_1:-no}
16449 enable_xapofx1_2=${enable_xapofx1_2:-no}
16450 enable_xapofx1_3=${enable_xapofx1_3:-no}
16451 enable_xapofx1_4=${enable_xapofx1_4:-no}
16452 enable_xapofx1_5=${enable_xapofx1_5:-no}
16453 enable_xaudio2_0=${enable_xaudio2_0:-no}
16454 enable_xaudio2_1=${enable_xaudio2_1:-no}
16455 enable_xaudio2_2=${enable_xaudio2_2:-no}
16456 enable_xaudio2_3=${enable_xaudio2_3:-no}
16457 enable_xaudio2_4=${enable_xaudio2_4:-no}
16458 enable_xaudio2_5=${enable_xaudio2_5:-no}
16459 enable_xaudio2_6=${enable_xaudio2_6:-no}
16460 enable_xaudio2_7=${enable_xaudio2_7:-no}
16461 enable_xaudio2_8=${enable_xaudio2_8:-no}
16462 enable_xaudio2_9=${enable_xaudio2_9:-no}
16465 if test "$ac_cv_header_kstat_h" = "yes"
16466 then
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16468 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16469 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16470 $as_echo_n "(cached) " >&6
16471 else
16472 ac_check_lib_save_LIBS=$LIBS
16473 LIBS="-lkstat $LIBS"
16474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16475 /* end confdefs.h. */
16477 /* Override any GCC internal prototype to avoid an error.
16478 Use char because int might match the return type of a GCC
16479 builtin and then its argument prototype would still apply. */
16480 #ifdef __cplusplus
16481 extern "C"
16482 #endif
16483 char kstat_open ();
16485 main ()
16487 return kstat_open ();
16489 return 0;
16491 _ACEOF
16492 if ac_fn_c_try_link "$LINENO"; then :
16493 ac_cv_lib_kstat_kstat_open=yes
16494 else
16495 ac_cv_lib_kstat_kstat_open=no
16497 rm -f core conftest.err conftest.$ac_objext \
16498 conftest$ac_exeext conftest.$ac_ext
16499 LIBS=$ac_check_lib_save_LIBS
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16502 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16503 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16505 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16507 KSTAT_LIBS="-lkstat"
16513 if test "$ac_cv_header_libprocstat_h" = "yes"
16514 then
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16516 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16517 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16518 $as_echo_n "(cached) " >&6
16519 else
16520 ac_check_lib_save_LIBS=$LIBS
16521 LIBS="-lprocstat $LIBS"
16522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16523 /* end confdefs.h. */
16525 /* Override any GCC internal prototype to avoid an error.
16526 Use char because int might match the return type of a GCC
16527 builtin and then its argument prototype would still apply. */
16528 #ifdef __cplusplus
16529 extern "C"
16530 #endif
16531 char procstat_open_sysctl ();
16533 main ()
16535 return procstat_open_sysctl ();
16537 return 0;
16539 _ACEOF
16540 if ac_fn_c_try_link "$LINENO"; then :
16541 ac_cv_lib_procstat_procstat_open_sysctl=yes
16542 else
16543 ac_cv_lib_procstat_procstat_open_sysctl=no
16545 rm -f core conftest.err conftest.$ac_objext \
16546 conftest$ac_exeext conftest.$ac_ext
16547 LIBS=$ac_check_lib_save_LIBS
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16550 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16551 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16553 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16555 PROCSTAT_LIBS="-lprocstat"
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16562 $as_echo_n "checking for -lodbc... " >&6; }
16563 if ${ac_cv_lib_soname_odbc+:} false; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 ac_check_soname_save_LIBS=$LIBS
16567 LIBS="-lodbc $LIBS"
16568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16569 /* end confdefs.h. */
16571 /* Override any GCC internal prototype to avoid an error.
16572 Use char because int might match the return type of a GCC
16573 builtin and then its argument prototype would still apply. */
16574 #ifdef __cplusplus
16575 extern "C"
16576 #endif
16577 char SQLConnect ();
16579 main ()
16581 return SQLConnect ();
16583 return 0;
16585 _ACEOF
16586 if ac_fn_c_try_link "$LINENO"; then :
16587 case "$LIBEXT" in
16588 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16589 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'` ;;
16590 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16591 if ${ac_cv_lib_soname_odbc:+false} :; then :
16592 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16593 fi ;;
16594 esac
16595 else
16596 ac_cv_lib_soname_odbc=
16598 rm -f core conftest.err conftest.$ac_objext \
16599 conftest$ac_exeext conftest.$ac_ext
16600 LIBS=$ac_check_soname_save_LIBS
16602 if ${ac_cv_lib_soname_odbc:+false} :; then :
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16604 $as_echo "not found" >&6; }
16605 cat >>confdefs.h <<_ACEOF
16606 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16607 _ACEOF
16609 else
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16611 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16613 cat >>confdefs.h <<_ACEOF
16614 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16615 _ACEOF
16620 if test "x$with_netapi" != "xno"
16621 then
16622 if ${NETAPI_CFLAGS:+false} :; then :
16623 if ${PKG_CONFIG+:} false; then :
16624 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16628 if ${NETAPI_LIBS:+false} :; then :
16629 if ${PKG_CONFIG+:} false; then :
16630 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16635 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16636 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16637 ac_save_CPPFLAGS=$CPPFLAGS
16638 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16640 $as_echo_n "checking for -lnetapi... " >&6; }
16641 if ${ac_cv_lib_soname_netapi+:} false; then :
16642 $as_echo_n "(cached) " >&6
16643 else
16644 ac_check_soname_save_LIBS=$LIBS
16645 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h. */
16649 /* Override any GCC internal prototype to avoid an error.
16650 Use char because int might match the return type of a GCC
16651 builtin and then its argument prototype would still apply. */
16652 #ifdef __cplusplus
16653 extern "C"
16654 #endif
16655 char libnetapi_init ();
16657 main ()
16659 return libnetapi_init ();
16661 return 0;
16663 _ACEOF
16664 if ac_fn_c_try_link "$LINENO"; then :
16665 case "$LIBEXT" in
16666 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16667 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'` ;;
16668 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16669 if ${ac_cv_lib_soname_netapi:+false} :; then :
16670 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16671 fi ;;
16672 esac
16673 else
16674 ac_cv_lib_soname_netapi=
16676 rm -f core conftest.err conftest.$ac_objext \
16677 conftest$ac_exeext conftest.$ac_ext
16678 LIBS=$ac_check_soname_save_LIBS
16680 if ${ac_cv_lib_soname_netapi:+false} :; then :
16681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16682 $as_echo "not found" >&6; }
16683 cat >>confdefs.h <<_ACEOF
16684 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16685 _ACEOF
16687 else
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16689 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16691 cat >>confdefs.h <<_ACEOF
16692 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16693 _ACEOF
16697 CPPFLAGS=$ac_save_CPPFLAGS
16701 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16702 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16703 then
16704 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16707 if test "x$with_vulkan" != "xno"
16708 then
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16710 $as_echo_n "checking for -lvulkan... " >&6; }
16711 if ${ac_cv_lib_soname_vulkan+:} false; then :
16712 $as_echo_n "(cached) " >&6
16713 else
16714 ac_check_soname_save_LIBS=$LIBS
16715 LIBS="-lvulkan $LIBS"
16716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16717 /* end confdefs.h. */
16719 /* Override any GCC internal prototype to avoid an error.
16720 Use char because int might match the return type of a GCC
16721 builtin and then its argument prototype would still apply. */
16722 #ifdef __cplusplus
16723 extern "C"
16724 #endif
16725 char vkGetInstanceProcAddr ();
16727 main ()
16729 return vkGetInstanceProcAddr ();
16731 return 0;
16733 _ACEOF
16734 if ac_fn_c_try_link "$LINENO"; then :
16735 case "$LIBEXT" in
16736 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16737 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'` ;;
16738 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16739 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16740 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16741 fi ;;
16742 esac
16743 else
16744 ac_cv_lib_soname_vulkan=
16746 rm -f core conftest.err conftest.$ac_objext \
16747 conftest$ac_exeext conftest.$ac_ext
16748 LIBS=$ac_check_soname_save_LIBS
16750 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16752 $as_echo "not found" >&6; }
16754 else
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16756 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16758 cat >>confdefs.h <<_ACEOF
16759 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16760 _ACEOF
16764 if test "x$ac_cv_lib_soname_vulkan" = "x"
16765 then
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16767 $as_echo_n "checking for -lMoltenVK... " >&6; }
16768 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16769 $as_echo_n "(cached) " >&6
16770 else
16771 ac_check_soname_save_LIBS=$LIBS
16772 LIBS="-lMoltenVK $LIBS"
16773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16774 /* end confdefs.h. */
16776 /* Override any GCC internal prototype to avoid an error.
16777 Use char because int might match the return type of a GCC
16778 builtin and then its argument prototype would still apply. */
16779 #ifdef __cplusplus
16780 extern "C"
16781 #endif
16782 char vkGetInstanceProcAddr ();
16784 main ()
16786 return vkGetInstanceProcAddr ();
16788 return 0;
16790 _ACEOF
16791 if ac_fn_c_try_link "$LINENO"; then :
16792 case "$LIBEXT" in
16793 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16794 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'` ;;
16795 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16796 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16797 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16798 fi ;;
16799 esac
16800 else
16801 ac_cv_lib_soname_MoltenVK=
16803 rm -f core conftest.err conftest.$ac_objext \
16804 conftest$ac_exeext conftest.$ac_ext
16805 LIBS=$ac_check_soname_save_LIBS
16807 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16809 $as_echo "not found" >&6; }
16811 else
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16813 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16815 cat >>confdefs.h <<_ACEOF
16816 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16817 _ACEOF
16823 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16824 case "x$with_vulkan" in
16825 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16826 xno) ;;
16827 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16828 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16829 esac
16833 if test "x$with_vkd3d" != "xno"
16834 then
16835 if ${VKD3D_CFLAGS:+false} :; then :
16836 if ${PKG_CONFIG+:} false; then :
16837 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16841 if ${VKD3D_LIBS:+false} :; then :
16842 if ${PKG_CONFIG+:} false; then :
16843 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16848 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16849 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16850 ac_save_CPPFLAGS=$CPPFLAGS
16851 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16853 $as_echo_n "checking for -lvkd3d... " >&6; }
16854 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16855 $as_echo_n "(cached) " >&6
16856 else
16857 ac_check_soname_save_LIBS=$LIBS
16858 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16860 /* end confdefs.h. */
16862 /* Override any GCC internal prototype to avoid an error.
16863 Use char because int might match the return type of a GCC
16864 builtin and then its argument prototype would still apply. */
16865 #ifdef __cplusplus
16866 extern "C"
16867 #endif
16868 char vkd3d_serialize_versioned_root_signature ();
16870 main ()
16872 return vkd3d_serialize_versioned_root_signature ();
16874 return 0;
16876 _ACEOF
16877 if ac_fn_c_try_link "$LINENO"; then :
16878 case "$LIBEXT" in
16879 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16880 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'` ;;
16881 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16882 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16883 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16884 fi ;;
16885 esac
16886 else
16887 ac_cv_lib_soname_vkd3d=
16889 rm -f core conftest.err conftest.$ac_objext \
16890 conftest$ac_exeext conftest.$ac_ext
16891 LIBS=$ac_check_soname_save_LIBS
16893 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16895 $as_echo "not found" >&6; }
16897 else
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16899 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16901 cat >>confdefs.h <<_ACEOF
16902 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16903 _ACEOF
16907 CPPFLAGS=$ac_save_CPPFLAGS
16909 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16910 if ${PKG_CONFIG+:} false; then :
16911 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16915 if ${VKD3D_SHADER_LIBS:+false} :; then :
16916 if ${PKG_CONFIG+:} false; then :
16917 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16922 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16923 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16924 ac_save_CPPFLAGS=$CPPFLAGS
16925 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16927 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16928 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16929 $as_echo_n "(cached) " >&6
16930 else
16931 ac_check_soname_save_LIBS=$LIBS
16932 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16934 /* end confdefs.h. */
16936 /* Override any GCC internal prototype to avoid an error.
16937 Use char because int might match the return type of a GCC
16938 builtin and then its argument prototype would still apply. */
16939 #ifdef __cplusplus
16940 extern "C"
16941 #endif
16942 char vkd3d_shader_compile ();
16944 main ()
16946 return vkd3d_shader_compile ();
16948 return 0;
16950 _ACEOF
16951 if ac_fn_c_try_link "$LINENO"; then :
16952 case "$LIBEXT" in
16953 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16954 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'` ;;
16955 *) 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'`
16956 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16957 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16958 fi ;;
16959 esac
16960 else
16961 ac_cv_lib_soname_vkd3d_shader=
16963 rm -f core conftest.err conftest.$ac_objext \
16964 conftest$ac_exeext conftest.$ac_ext
16965 LIBS=$ac_check_soname_save_LIBS
16967 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16969 $as_echo "not found" >&6; }
16971 else
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16973 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16975 cat >>confdefs.h <<_ACEOF
16976 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16977 _ACEOF
16981 CPPFLAGS=$ac_save_CPPFLAGS
16984 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16985 case "x$with_vkd3d" in
16986 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16987 xno) ;;
16988 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16989 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16990 esac
16993 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16996 EXTRACFLAGS=""
16998 if test "x${GCC}" = "xyes"
16999 then
17000 EXTRACFLAGS="-Wall -pipe"
17002 saved_CFLAGS=$CFLAGS
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17004 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17005 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17006 $as_echo_n "(cached) " >&6
17007 else
17008 ac_wine_try_cflags_saved=$CFLAGS
17009 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17011 /* end confdefs.h. */
17012 int main(int argc, char **argv) { return 0; }
17013 _ACEOF
17014 if ac_fn_c_try_link "$LINENO"; then :
17015 ac_cv_cflags__Werror_unknown_warning_option=yes
17016 else
17017 ac_cv_cflags__Werror_unknown_warning_option=no
17019 rm -f core conftest.err conftest.$ac_objext \
17020 conftest$ac_exeext conftest.$ac_ext
17021 CFLAGS=$ac_wine_try_cflags_saved
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17024 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17025 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17026 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17029 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17030 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17031 $as_echo_n "(cached) " >&6
17032 else
17033 ac_wine_try_cflags_saved=$CFLAGS
17034 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17037 int main(int argc, char **argv) { return 0; }
17038 _ACEOF
17039 if ac_fn_c_try_link "$LINENO"; then :
17040 ac_cv_cflags__Werror_unused_command_line_argument=yes
17041 else
17042 ac_cv_cflags__Werror_unused_command_line_argument=no
17044 rm -f core conftest.err conftest.$ac_objext \
17045 conftest$ac_exeext conftest.$ac_ext
17046 CFLAGS=$ac_wine_try_cflags_saved
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17049 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17050 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17051 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17054 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17055 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17056 $as_echo_n "(cached) " >&6
17057 else
17058 ac_wine_try_cflags_saved=$CFLAGS
17059 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 int main(int argc, char **argv) { return 0; }
17063 _ACEOF
17064 if ac_fn_c_try_link "$LINENO"; then :
17065 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17066 else
17067 ac_cv_cflags__Werror_ignored_optimization_argument=no
17069 rm -f core conftest.err conftest.$ac_objext \
17070 conftest$ac_exeext conftest.$ac_ext
17071 CFLAGS=$ac_wine_try_cflags_saved
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17074 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17075 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17076 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17079 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17080 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17081 $as_echo_n "(cached) " >&6
17082 else
17083 ac_wine_try_cflags_saved=$CFLAGS
17084 CFLAGS="$CFLAGS -fcf-protection=none"
17085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17086 /* end confdefs.h. */
17087 int main(int argc, char **argv) { return 0; }
17088 _ACEOF
17089 if ac_fn_c_try_link "$LINENO"; then :
17090 ac_cv_cflags__fcf_protection_none=yes
17091 else
17092 ac_cv_cflags__fcf_protection_none=no
17094 rm -f core conftest.err conftest.$ac_objext \
17095 conftest$ac_exeext conftest.$ac_ext
17096 CFLAGS=$ac_wine_try_cflags_saved
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17099 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17100 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17101 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17104 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17105 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17106 $as_echo_n "(cached) " >&6
17107 else
17108 ac_wine_try_cflags_saved=$CFLAGS
17109 CFLAGS="$CFLAGS -fno-stack-protector"
17110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17111 /* end confdefs.h. */
17112 int main(int argc, char **argv) { return 0; }
17113 _ACEOF
17114 if ac_fn_c_try_link "$LINENO"; then :
17115 ac_cv_cflags__fno_stack_protector=yes
17116 else
17117 ac_cv_cflags__fno_stack_protector=no
17119 rm -f core conftest.err conftest.$ac_objext \
17120 conftest$ac_exeext conftest.$ac_ext
17121 CFLAGS=$ac_wine_try_cflags_saved
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17124 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17125 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17126 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17129 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17130 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17131 $as_echo_n "(cached) " >&6
17132 else
17133 ac_wine_try_cflags_saved=$CFLAGS
17134 CFLAGS="$CFLAGS -fno-strict-aliasing"
17135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17136 /* end confdefs.h. */
17137 int main(int argc, char **argv) { return 0; }
17138 _ACEOF
17139 if ac_fn_c_try_link "$LINENO"; then :
17140 ac_cv_cflags__fno_strict_aliasing=yes
17141 else
17142 ac_cv_cflags__fno_strict_aliasing=no
17144 rm -f core conftest.err conftest.$ac_objext \
17145 conftest$ac_exeext conftest.$ac_ext
17146 CFLAGS=$ac_wine_try_cflags_saved
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17149 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17150 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17151 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17154 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17155 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17156 $as_echo_n "(cached) " >&6
17157 else
17158 ac_wine_try_cflags_saved=$CFLAGS
17159 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 int main(int argc, char **argv) { return 0; }
17163 _ACEOF
17164 if ac_fn_c_try_link "$LINENO"; then :
17165 ac_cv_cflags__Wdeclaration_after_statement=yes
17166 else
17167 ac_cv_cflags__Wdeclaration_after_statement=no
17169 rm -f core conftest.err conftest.$ac_objext \
17170 conftest$ac_exeext conftest.$ac_ext
17171 CFLAGS=$ac_wine_try_cflags_saved
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17174 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17175 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17176 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17179 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17180 if ${ac_cv_cflags__Wempty_body+:} false; then :
17181 $as_echo_n "(cached) " >&6
17182 else
17183 ac_wine_try_cflags_saved=$CFLAGS
17184 CFLAGS="$CFLAGS -Wempty-body"
17185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17187 int main(int argc, char **argv) { return 0; }
17188 _ACEOF
17189 if ac_fn_c_try_link "$LINENO"; then :
17190 ac_cv_cflags__Wempty_body=yes
17191 else
17192 ac_cv_cflags__Wempty_body=no
17194 rm -f core conftest.err conftest.$ac_objext \
17195 conftest$ac_exeext conftest.$ac_ext
17196 CFLAGS=$ac_wine_try_cflags_saved
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17199 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17200 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17201 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17204 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17205 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17206 $as_echo_n "(cached) " >&6
17207 else
17208 ac_wine_try_cflags_saved=$CFLAGS
17209 CFLAGS="$CFLAGS -Wignored-qualifiers"
17210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h. */
17212 int main(int argc, char **argv) { return 0; }
17213 _ACEOF
17214 if ac_fn_c_try_link "$LINENO"; then :
17215 ac_cv_cflags__Wignored_qualifiers=yes
17216 else
17217 ac_cv_cflags__Wignored_qualifiers=no
17219 rm -f core conftest.err conftest.$ac_objext \
17220 conftest$ac_exeext conftest.$ac_ext
17221 CFLAGS=$ac_wine_try_cflags_saved
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17224 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17225 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17226 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17229 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17230 if ${ac_cv_cflags__Winit_self+:} false; then :
17231 $as_echo_n "(cached) " >&6
17232 else
17233 ac_wine_try_cflags_saved=$CFLAGS
17234 CFLAGS="$CFLAGS -Winit-self"
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 int main(int argc, char **argv) { return 0; }
17238 _ACEOF
17239 if ac_fn_c_try_link "$LINENO"; then :
17240 ac_cv_cflags__Winit_self=yes
17241 else
17242 ac_cv_cflags__Winit_self=no
17244 rm -f core conftest.err conftest.$ac_objext \
17245 conftest$ac_exeext conftest.$ac_ext
17246 CFLAGS=$ac_wine_try_cflags_saved
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17249 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17250 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17251 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17254 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17255 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17256 $as_echo_n "(cached) " >&6
17257 else
17258 ac_wine_try_cflags_saved=$CFLAGS
17259 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17262 int main(int argc, char **argv) { return 0; }
17263 _ACEOF
17264 if ac_fn_c_try_link "$LINENO"; then :
17265 ac_cv_cflags__Wpacked_not_aligned=yes
17266 else
17267 ac_cv_cflags__Wpacked_not_aligned=no
17269 rm -f core conftest.err conftest.$ac_objext \
17270 conftest$ac_exeext conftest.$ac_ext
17271 CFLAGS=$ac_wine_try_cflags_saved
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17274 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17275 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17276 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17279 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17280 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17281 $as_echo_n "(cached) " >&6
17282 else
17283 ac_wine_try_cflags_saved=$CFLAGS
17284 CFLAGS="$CFLAGS -Wpragma-pack"
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 int main(int argc, char **argv) { return 0; }
17288 _ACEOF
17289 if ac_fn_c_try_link "$LINENO"; then :
17290 ac_cv_cflags__Wpragma_pack=yes
17291 else
17292 ac_cv_cflags__Wpragma_pack=no
17294 rm -f core conftest.err conftest.$ac_objext \
17295 conftest$ac_exeext conftest.$ac_ext
17296 CFLAGS=$ac_wine_try_cflags_saved
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17299 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17300 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17301 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17304 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17305 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17306 $as_echo_n "(cached) " >&6
17307 else
17308 ac_wine_try_cflags_saved=$CFLAGS
17309 CFLAGS="$CFLAGS -Wshift-overflow=2"
17310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h. */
17312 int main(int argc, char **argv) { return 0; }
17313 _ACEOF
17314 if ac_fn_c_try_link "$LINENO"; then :
17315 ac_cv_cflags__Wshift_overflow_2=yes
17316 else
17317 ac_cv_cflags__Wshift_overflow_2=no
17319 rm -f core conftest.err conftest.$ac_objext \
17320 conftest$ac_exeext conftest.$ac_ext
17321 CFLAGS=$ac_wine_try_cflags_saved
17323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17324 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17325 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17326 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17329 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17330 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17331 $as_echo_n "(cached) " >&6
17332 else
17333 ac_wine_try_cflags_saved=$CFLAGS
17334 CFLAGS="$CFLAGS -Wstrict-prototypes"
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17337 int main(int argc, char **argv) { return 0; }
17338 _ACEOF
17339 if ac_fn_c_try_link "$LINENO"; then :
17340 ac_cv_cflags__Wstrict_prototypes=yes
17341 else
17342 ac_cv_cflags__Wstrict_prototypes=no
17344 rm -f core conftest.err conftest.$ac_objext \
17345 conftest$ac_exeext conftest.$ac_ext
17346 CFLAGS=$ac_wine_try_cflags_saved
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17349 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17350 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17351 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17354 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17355 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358 ac_wine_try_cflags_saved=$CFLAGS
17359 CFLAGS="$CFLAGS -Wtype-limits"
17360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17361 /* end confdefs.h. */
17362 int main(int argc, char **argv) { return 0; }
17363 _ACEOF
17364 if ac_fn_c_try_link "$LINENO"; then :
17365 ac_cv_cflags__Wtype_limits=yes
17366 else
17367 ac_cv_cflags__Wtype_limits=no
17369 rm -f core conftest.err conftest.$ac_objext \
17370 conftest$ac_exeext conftest.$ac_ext
17371 CFLAGS=$ac_wine_try_cflags_saved
17373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17374 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17375 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17376 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17379 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17380 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383 ac_wine_try_cflags_saved=$CFLAGS
17384 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 int main(int argc, char **argv) { return 0; }
17388 _ACEOF
17389 if ac_fn_c_try_link "$LINENO"; then :
17390 ac_cv_cflags__Wunused_but_set_parameter=yes
17391 else
17392 ac_cv_cflags__Wunused_but_set_parameter=no
17394 rm -f core conftest.err conftest.$ac_objext \
17395 conftest$ac_exeext conftest.$ac_ext
17396 CFLAGS=$ac_wine_try_cflags_saved
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17399 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17400 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17401 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17404 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17405 if ${ac_cv_cflags__Wvla+:} false; then :
17406 $as_echo_n "(cached) " >&6
17407 else
17408 ac_wine_try_cflags_saved=$CFLAGS
17409 CFLAGS="$CFLAGS -Wvla"
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17412 int main(int argc, char **argv) { return 0; }
17413 _ACEOF
17414 if ac_fn_c_try_link "$LINENO"; then :
17415 ac_cv_cflags__Wvla=yes
17416 else
17417 ac_cv_cflags__Wvla=no
17419 rm -f core conftest.err conftest.$ac_objext \
17420 conftest$ac_exeext conftest.$ac_ext
17421 CFLAGS=$ac_wine_try_cflags_saved
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17424 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17425 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17426 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17429 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17430 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17431 $as_echo_n "(cached) " >&6
17432 else
17433 ac_wine_try_cflags_saved=$CFLAGS
17434 CFLAGS="$CFLAGS -Wwrite-strings"
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 int main(int argc, char **argv) { return 0; }
17438 _ACEOF
17439 if ac_fn_c_try_link "$LINENO"; then :
17440 ac_cv_cflags__Wwrite_strings=yes
17441 else
17442 ac_cv_cflags__Wwrite_strings=no
17444 rm -f core conftest.err conftest.$ac_objext \
17445 conftest$ac_exeext conftest.$ac_ext
17446 CFLAGS=$ac_wine_try_cflags_saved
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17449 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17450 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17451 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17454 if test -z "$CROSSTARGET"
17455 then
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17457 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17458 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17459 $as_echo_n "(cached) " >&6
17460 else
17461 ac_wine_try_cflags_saved=$CFLAGS
17462 CFLAGS="$CFLAGS -fexcess-precision=standard"
17463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17464 /* end confdefs.h. */
17465 int main(int argc, char **argv) { return 0; }
17466 _ACEOF
17467 if ac_fn_c_try_link "$LINENO"; then :
17468 ac_cv_cflags__fexcess_precision_standard=yes
17469 else
17470 ac_cv_cflags__fexcess_precision_standard=no
17472 rm -f core conftest.err conftest.$ac_objext \
17473 conftest$ac_exeext conftest.$ac_ext
17474 CFLAGS=$ac_wine_try_cflags_saved
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17477 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17478 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17479 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17485 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17486 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17489 ac_wine_try_cflags_saved=$CFLAGS
17490 CFLAGS="$CFLAGS -Wpointer-arith"
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__Wpointer_arith=yes
17497 else
17498 ac_cv_cflags__Wpointer_arith=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__Wpointer_arith" >&5
17505 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17506 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17507 saved_string_h_CFLAGS=$CFLAGS
17508 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17510 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17511 if ${ac_cv_c_string_h_warnings+:} false; then :
17512 $as_echo_n "(cached) " >&6
17513 else
17514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17515 /* end confdefs.h. */
17516 #include <string.h>
17518 main ()
17522 return 0;
17524 _ACEOF
17525 if ac_fn_c_try_compile "$LINENO"; then :
17526 ac_cv_c_string_h_warnings=no
17527 else
17528 ac_cv_c_string_h_warnings=yes
17530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17533 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17534 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17535 CFLAGS=$saved_string_h_CFLAGS
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17539 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17540 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543 ac_wine_try_cflags_saved=$CFLAGS
17544 CFLAGS="$CFLAGS -Wlogical-op"
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17547 int main(int argc, char **argv) { return 0; }
17548 _ACEOF
17549 if ac_fn_c_try_link "$LINENO"; then :
17550 ac_cv_cflags__Wlogical_op=yes
17551 else
17552 ac_cv_cflags__Wlogical_op=no
17554 rm -f core conftest.err conftest.$ac_objext \
17555 conftest$ac_exeext conftest.$ac_ext
17556 CFLAGS=$ac_wine_try_cflags_saved
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17559 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17560 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17561 saved_string_h_CFLAGS=$CFLAGS
17562 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17564 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17565 if ${ac_cv_c_logicalop_noisy+:} false; then :
17566 $as_echo_n "(cached) " >&6
17567 else
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 #include <string.h>
17571 char*f(const char *h,char n) {return strchr(h,n);}
17573 main ()
17577 return 0;
17579 _ACEOF
17580 if ac_fn_c_try_compile "$LINENO"; then :
17581 ac_cv_c_logicalop_noisy=no
17582 else
17583 ac_cv_c_logicalop_noisy=yes
17585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17588 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17589 CFLAGS=$saved_string_h_CFLAGS
17590 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17594 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17595 if ${wine_cv_64bit_compare_swap+:} false; then :
17596 $as_echo_n "(cached) " >&6
17597 else
17598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h. */
17600 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17601 #error no
17602 #endif
17604 main ()
17608 return 0;
17610 _ACEOF
17611 if ac_fn_c_try_compile "$LINENO"; then :
17612 wine_cv_64bit_compare_swap="none needed"
17613 else
17614 case $host_cpu in
17615 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17616 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17617 *) wine_cv_64bit_compare_swap="unknown" ;;
17618 esac
17619 if test "x$wine_cv_64bit_compare_swap" != xunknown
17620 then
17621 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h. */
17624 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17625 #error no
17626 #endif
17628 main ()
17632 return 0;
17634 _ACEOF
17635 if ac_fn_c_try_compile "$LINENO"; then :
17637 else
17638 wine_cv_64bit_compare_swap="unknown"
17640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17641 CFLAGS=$saved_CFLAGS
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17647 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17648 case "$wine_cv_64bit_compare_swap" in
17649 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17650 "none needed") ;;
17651 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17652 esac
17654 for ac_flag in $CFLAGS; do
17655 case $ac_flag in
17656 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17657 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17658 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17659 $as_echo_n "(cached) " >&6
17660 else
17661 ac_wine_try_cflags_saved=$CFLAGS
17662 CFLAGS="$CFLAGS -gdwarf-2"
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 int main(int argc, char **argv) { return 0; }
17666 _ACEOF
17667 if ac_fn_c_try_link "$LINENO"; then :
17668 ac_cv_cflags__gdwarf_2=yes
17669 else
17670 ac_cv_cflags__gdwarf_2=no
17672 rm -f core conftest.err conftest.$ac_objext \
17673 conftest$ac_exeext conftest.$ac_ext
17674 CFLAGS=$ac_wine_try_cflags_saved
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17677 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17678 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17679 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17682 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17683 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17684 $as_echo_n "(cached) " >&6
17685 else
17686 ac_wine_try_cflags_saved=$CFLAGS
17687 CFLAGS="$CFLAGS -gstrict-dwarf"
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690 int main(int argc, char **argv) { return 0; }
17691 _ACEOF
17692 if ac_fn_c_try_link "$LINENO"; then :
17693 ac_cv_cflags__gstrict_dwarf=yes
17694 else
17695 ac_cv_cflags__gstrict_dwarf=no
17697 rm -f core conftest.err conftest.$ac_objext \
17698 conftest$ac_exeext conftest.$ac_ext
17699 CFLAGS=$ac_wine_try_cflags_saved
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17702 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17703 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17704 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17705 fi ;;
17706 esac
17707 done
17709 MSVCRTFLAGS=""
17711 case $host_os in
17712 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17713 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17714 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17715 $as_echo_n "(cached) " >&6
17716 else
17717 ac_wine_try_cflags_saved=$CFLAGS
17718 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 int main(int argc, char **argv) { return 0; }
17722 _ACEOF
17723 if ac_fn_c_try_link "$LINENO"; then :
17724 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17725 else
17726 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17728 rm -f core conftest.err conftest.$ac_objext \
17729 conftest$ac_exeext conftest.$ac_ext
17730 CFLAGS=$ac_wine_try_cflags_saved
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17733 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17734 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17735 DELAYLOADFLAG="-Wl,-delayload,"
17737 fi ;;
17738 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17739 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17740 if ${ac_cv_cflags__fno_builtin+:} false; then :
17741 $as_echo_n "(cached) " >&6
17742 else
17743 ac_wine_try_cflags_saved=$CFLAGS
17744 CFLAGS="$CFLAGS -fno-builtin"
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17747 int main(int argc, char **argv) { return 0; }
17748 _ACEOF
17749 if ac_fn_c_try_link "$LINENO"; then :
17750 ac_cv_cflags__fno_builtin=yes
17751 else
17752 ac_cv_cflags__fno_builtin=no
17754 rm -f core conftest.err conftest.$ac_objext \
17755 conftest$ac_exeext conftest.$ac_ext
17756 CFLAGS=$ac_wine_try_cflags_saved
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17759 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17760 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17761 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17764 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17765 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17766 $as_echo_n "(cached) " >&6
17767 else
17768 ac_wine_try_cflags_saved=$CFLAGS
17769 CFLAGS="$CFLAGS -fshort-wchar"
17770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17772 int main(int argc, char **argv) { return 0; }
17773 _ACEOF
17774 if ac_fn_c_try_link "$LINENO"; then :
17775 ac_cv_cflags__fshort_wchar=yes
17776 else
17777 ac_cv_cflags__fshort_wchar=no
17779 rm -f core conftest.err conftest.$ac_objext \
17780 conftest$ac_exeext conftest.$ac_ext
17781 CFLAGS=$ac_wine_try_cflags_saved
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17784 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17785 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17786 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17787 fi ;;
17788 esac
17790 case $host_cpu in
17791 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17792 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17793 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17794 $as_echo_n "(cached) " >&6
17795 else
17796 ac_wine_try_cflags_saved=$CFLAGS
17797 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17799 /* end confdefs.h. */
17800 int main(int argc, char **argv) { return 0; }
17801 _ACEOF
17802 if ac_fn_c_try_link "$LINENO"; then :
17803 ac_cv_cflags__fno_omit_frame_pointer=yes
17804 else
17805 ac_cv_cflags__fno_omit_frame_pointer=no
17807 rm -f core conftest.err conftest.$ac_objext \
17808 conftest$ac_exeext conftest.$ac_ext
17809 CFLAGS=$ac_wine_try_cflags_saved
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17812 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17813 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17814 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17815 fi ;;
17816 *x86_64*)
17817 case $host_os in
17818 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17819 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17820 if ${ac_cv_cflags__Wno_format+:} false; then :
17821 $as_echo_n "(cached) " >&6
17822 else
17823 ac_wine_try_cflags_saved=$CFLAGS
17824 CFLAGS="$CFLAGS -Wno-format"
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 int main(int argc, char **argv) { return 0; }
17828 _ACEOF
17829 if ac_fn_c_try_link "$LINENO"; then :
17830 ac_cv_cflags__Wno_format=yes
17831 else
17832 ac_cv_cflags__Wno_format=no
17834 rm -f core conftest.err conftest.$ac_objext \
17835 conftest$ac_exeext conftest.$ac_ext
17836 CFLAGS=$ac_wine_try_cflags_saved
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17839 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17840 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17841 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17842 fi ;;
17843 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17844 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17845 if ${ac_cv_cflags__mabi_ms+:} false; then :
17846 $as_echo_n "(cached) " >&6
17847 else
17848 ac_wine_try_cflags_saved=$CFLAGS
17849 CFLAGS="$CFLAGS -mabi=ms"
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17852 int main(int argc, char **argv) { return 0; }
17853 _ACEOF
17854 if ac_fn_c_try_link "$LINENO"; then :
17855 ac_cv_cflags__mabi_ms=yes
17856 else
17857 ac_cv_cflags__mabi_ms=no
17859 rm -f core conftest.err conftest.$ac_objext \
17860 conftest$ac_exeext conftest.$ac_ext
17861 CFLAGS=$ac_wine_try_cflags_saved
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17864 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17865 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17866 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17867 fi ;;
17868 esac ;;
17869 esac
17871 CFLAGS=$saved_CFLAGS
17873 if test "x$enable_werror" = "xyes"
17874 then
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17876 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17877 if ${ac_cv_cflags__Werror+:} false; then :
17878 $as_echo_n "(cached) " >&6
17879 else
17880 ac_wine_try_cflags_saved=$CFLAGS
17881 CFLAGS="$CFLAGS -Werror"
17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17883 /* end confdefs.h. */
17884 int main(int argc, char **argv) { return 0; }
17885 _ACEOF
17886 if ac_fn_c_try_link "$LINENO"; then :
17887 ac_cv_cflags__Werror=yes
17888 else
17889 ac_cv_cflags__Werror=no
17891 rm -f core conftest.err conftest.$ac_objext \
17892 conftest$ac_exeext conftest.$ac_ext
17893 CFLAGS=$ac_wine_try_cflags_saved
17895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17896 $as_echo "$ac_cv_cflags__Werror" >&6; }
17897 if test "x$ac_cv_cflags__Werror" = xyes; then :
17898 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17901 if test "x$enable_build_id" = "xyes"
17902 then
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17904 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17905 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17906 $as_echo_n "(cached) " >&6
17907 else
17908 ac_wine_try_cflags_saved=$CFLAGS
17909 CFLAGS="$CFLAGS -Wl,--build-id"
17910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17911 /* end confdefs.h. */
17912 int main(int argc, char **argv) { return 0; }
17913 _ACEOF
17914 if ac_fn_c_try_link "$LINENO"; then :
17915 ac_cv_cflags__Wl___build_id=yes
17916 else
17917 ac_cv_cflags__Wl___build_id=no
17919 rm -f core conftest.err conftest.$ac_objext \
17920 conftest$ac_exeext conftest.$ac_ext
17921 CFLAGS=$ac_wine_try_cflags_saved
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17924 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17925 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17926 CFLAGS="$CFLAGS -Wl,--build-id"
17927 LDFLAGS="$LDFLAGS -Wl,--build-id"
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17934 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17935 if ${ac_cv_c_fortify_enabled+:} false; then :
17936 $as_echo_n "(cached) " >&6
17937 else
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17940 #include <string.h>
17942 main ()
17944 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17945 #error Fortify enabled
17946 #endif
17948 return 0;
17950 _ACEOF
17951 if ac_fn_c_try_compile "$LINENO"; then :
17952 ac_cv_c_fortify_enabled=no
17953 else
17954 ac_cv_c_fortify_enabled=yes
17956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17959 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17960 if test "$ac_cv_c_fortify_enabled" = yes
17961 then
17962 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17967 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17968 if ${ac_cv_c_cfi_support+:} false; then :
17969 $as_echo_n "(cached) " >&6
17970 else
17971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17972 /* end confdefs.h. */
17973 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17975 main ()
17979 return 0;
17981 _ACEOF
17982 if ac_fn_c_try_compile "$LINENO"; then :
17983 ac_cv_c_cfi_support="yes"
17984 else
17985 ac_cv_c_cfi_support="no"
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17990 $as_echo "$ac_cv_c_cfi_support" >&6; }
17991 if test "$ac_cv_c_cfi_support" = "yes"
17992 then
17993 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17994 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17995 else
17996 if test "x$enable_win64" = "xyes"
17997 then
17998 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18003 case $build_os in
18004 cygwin*|mingw32*) TOOLSEXT=".exe"
18006 esac
18008 case $host_os in
18009 linux*)
18010 case $host_cpu in
18011 *i[3456789]86*|x86_64*|*aarch64*)
18012 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18013 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18015 esac
18017 esac
18020 ac_save_CFLAGS="$CFLAGS"
18021 CFLAGS="$CFLAGS $BUILTINFLAG"
18022 for ac_func in \
18023 __res_get_state \
18024 __res_getservers \
18025 _spawnvp \
18026 epoll_create \
18027 fnmatch \
18028 fork \
18029 fstatfs \
18030 futimens \
18031 futimes \
18032 futimesat \
18033 getattrlist \
18034 getauxval \
18035 getifaddrs \
18036 getopt_long_only \
18037 getrandom \
18038 kqueue \
18039 lstat \
18040 mach_continuous_time \
18041 pipe2 \
18042 poll \
18043 port_create \
18044 prctl \
18045 pread \
18046 proc_pidinfo \
18047 pwrite \
18048 readlink \
18049 sched_yield \
18050 setproctitle \
18051 setprogname \
18052 sigprocmask \
18053 symlink \
18054 tcdrain \
18055 thr_kill2
18057 do :
18058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18060 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18061 cat >>confdefs.h <<_ACEOF
18062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18063 _ACEOF
18066 done
18068 CFLAGS="$ac_save_CFLAGS"
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18071 $as_echo_n "checking for library containing dlopen... " >&6; }
18072 if ${ac_cv_search_dlopen+:} false; then :
18073 $as_echo_n "(cached) " >&6
18074 else
18075 ac_func_search_save_LIBS=$LIBS
18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18077 /* end confdefs.h. */
18079 /* Override any GCC internal prototype to avoid an error.
18080 Use char because int might match the return type of a GCC
18081 builtin and then its argument prototype would still apply. */
18082 #ifdef __cplusplus
18083 extern "C"
18084 #endif
18085 char dlopen ();
18087 main ()
18089 return dlopen ();
18091 return 0;
18093 _ACEOF
18094 for ac_lib in '' dl; do
18095 if test -z "$ac_lib"; then
18096 ac_res="none required"
18097 else
18098 ac_res=-l$ac_lib
18099 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18101 if ac_fn_c_try_link "$LINENO"; then :
18102 ac_cv_search_dlopen=$ac_res
18104 rm -f core conftest.err conftest.$ac_objext \
18105 conftest$ac_exeext
18106 if ${ac_cv_search_dlopen+:} false; then :
18107 break
18109 done
18110 if ${ac_cv_search_dlopen+:} false; then :
18112 else
18113 ac_cv_search_dlopen=no
18115 rm conftest.$ac_ext
18116 LIBS=$ac_func_search_save_LIBS
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18119 $as_echo "$ac_cv_search_dlopen" >&6; }
18120 ac_res=$ac_cv_search_dlopen
18121 if test "$ac_res" != no; then :
18122 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18126 ac_wine_check_funcs_save_LIBS="$LIBS"
18127 LIBS="$LIBS $DL_LIBS"
18128 for ac_func in dladdr dlinfo
18129 do :
18130 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18131 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18132 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18133 cat >>confdefs.h <<_ACEOF
18134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18135 _ACEOF
18138 done
18140 LIBS="$ac_wine_check_funcs_save_LIBS"
18142 if test "$ac_cv_func_poll" = no
18143 then
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18145 $as_echo_n "checking for poll in -lpoll... " >&6; }
18146 if ${ac_cv_lib_poll_poll+:} false; then :
18147 $as_echo_n "(cached) " >&6
18148 else
18149 ac_check_lib_save_LIBS=$LIBS
18150 LIBS="-lpoll $LIBS"
18151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h. */
18154 /* Override any GCC internal prototype to avoid an error.
18155 Use char because int might match the return type of a GCC
18156 builtin and then its argument prototype would still apply. */
18157 #ifdef __cplusplus
18158 extern "C"
18159 #endif
18160 char poll ();
18162 main ()
18164 return poll ();
18166 return 0;
18168 _ACEOF
18169 if ac_fn_c_try_link "$LINENO"; then :
18170 ac_cv_lib_poll_poll=yes
18171 else
18172 ac_cv_lib_poll_poll=no
18174 rm -f core conftest.err conftest.$ac_objext \
18175 conftest$ac_exeext conftest.$ac_ext
18176 LIBS=$ac_check_lib_save_LIBS
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18179 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18180 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18181 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18182 POLL_LIBS="-lpoll"
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18189 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18190 if ${ac_cv_search_gethostbyname+:} false; then :
18191 $as_echo_n "(cached) " >&6
18192 else
18193 ac_func_search_save_LIBS=$LIBS
18194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18195 /* end confdefs.h. */
18197 /* Override any GCC internal prototype to avoid an error.
18198 Use char because int might match the return type of a GCC
18199 builtin and then its argument prototype would still apply. */
18200 #ifdef __cplusplus
18201 extern "C"
18202 #endif
18203 char gethostbyname ();
18205 main ()
18207 return gethostbyname ();
18209 return 0;
18211 _ACEOF
18212 for ac_lib in '' nsl; do
18213 if test -z "$ac_lib"; then
18214 ac_res="none required"
18215 else
18216 ac_res=-l$ac_lib
18217 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18219 if ac_fn_c_try_link "$LINENO"; then :
18220 ac_cv_search_gethostbyname=$ac_res
18222 rm -f core conftest.err conftest.$ac_objext \
18223 conftest$ac_exeext
18224 if ${ac_cv_search_gethostbyname+:} false; then :
18225 break
18227 done
18228 if ${ac_cv_search_gethostbyname+:} false; then :
18230 else
18231 ac_cv_search_gethostbyname=no
18233 rm conftest.$ac_ext
18234 LIBS=$ac_func_search_save_LIBS
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18237 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18238 ac_res=$ac_cv_search_gethostbyname
18239 if test "$ac_res" != no; then :
18240 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18246 $as_echo_n "checking for library containing connect... " >&6; }
18247 if ${ac_cv_search_connect+:} false; then :
18248 $as_echo_n "(cached) " >&6
18249 else
18250 ac_func_search_save_LIBS=$LIBS
18251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h. */
18254 /* Override any GCC internal prototype to avoid an error.
18255 Use char because int might match the return type of a GCC
18256 builtin and then its argument prototype would still apply. */
18257 #ifdef __cplusplus
18258 extern "C"
18259 #endif
18260 char connect ();
18262 main ()
18264 return connect ();
18266 return 0;
18268 _ACEOF
18269 for ac_lib in '' socket; do
18270 if test -z "$ac_lib"; then
18271 ac_res="none required"
18272 else
18273 ac_res=-l$ac_lib
18274 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18276 if ac_fn_c_try_link "$LINENO"; then :
18277 ac_cv_search_connect=$ac_res
18279 rm -f core conftest.err conftest.$ac_objext \
18280 conftest$ac_exeext
18281 if ${ac_cv_search_connect+:} false; then :
18282 break
18284 done
18285 if ${ac_cv_search_connect+:} false; then :
18287 else
18288 ac_cv_search_connect=no
18290 rm conftest.$ac_ext
18291 LIBS=$ac_func_search_save_LIBS
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18294 $as_echo "$ac_cv_search_connect" >&6; }
18295 ac_res=$ac_cv_search_connect
18296 if test "$ac_res" != no; then :
18297 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18303 $as_echo_n "checking for library containing inet_aton... " >&6; }
18304 if ${ac_cv_search_inet_aton+:} false; then :
18305 $as_echo_n "(cached) " >&6
18306 else
18307 ac_func_search_save_LIBS=$LIBS
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18311 /* Override any GCC internal prototype to avoid an error.
18312 Use char because int might match the return type of a GCC
18313 builtin and then its argument prototype would still apply. */
18314 #ifdef __cplusplus
18315 extern "C"
18316 #endif
18317 char inet_aton ();
18319 main ()
18321 return inet_aton ();
18323 return 0;
18325 _ACEOF
18326 for ac_lib in '' resolv; do
18327 if test -z "$ac_lib"; then
18328 ac_res="none required"
18329 else
18330 ac_res=-l$ac_lib
18331 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18333 if ac_fn_c_try_link "$LINENO"; then :
18334 ac_cv_search_inet_aton=$ac_res
18336 rm -f core conftest.err conftest.$ac_objext \
18337 conftest$ac_exeext
18338 if ${ac_cv_search_inet_aton+:} false; then :
18339 break
18341 done
18342 if ${ac_cv_search_inet_aton+:} false; then :
18344 else
18345 ac_cv_search_inet_aton=no
18347 rm conftest.$ac_ext
18348 LIBS=$ac_func_search_save_LIBS
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18351 $as_echo "$ac_cv_search_inet_aton" >&6; }
18352 ac_res=$ac_cv_search_inet_aton
18353 if test "$ac_res" != no; then :
18354 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18359 for ac_func in \
18360 getaddrinfo \
18361 getnameinfo \
18362 getservbyport \
18364 do :
18365 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18366 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18367 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18368 cat >>confdefs.h <<_ACEOF
18369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18370 _ACEOF
18373 done
18376 case $host_os in
18377 darwin*|macosx*) ;;
18378 *) ac_save_LIBS=$LIBS
18379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18380 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18381 if ${ac_cv_search_clock_gettime+:} false; then :
18382 $as_echo_n "(cached) " >&6
18383 else
18384 ac_func_search_save_LIBS=$LIBS
18385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18386 /* end confdefs.h. */
18388 /* Override any GCC internal prototype to avoid an error.
18389 Use char because int might match the return type of a GCC
18390 builtin and then its argument prototype would still apply. */
18391 #ifdef __cplusplus
18392 extern "C"
18393 #endif
18394 char clock_gettime ();
18396 main ()
18398 return clock_gettime ();
18400 return 0;
18402 _ACEOF
18403 for ac_lib in '' rt; do
18404 if test -z "$ac_lib"; then
18405 ac_res="none required"
18406 else
18407 ac_res=-l$ac_lib
18408 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18410 if ac_fn_c_try_link "$LINENO"; then :
18411 ac_cv_search_clock_gettime=$ac_res
18413 rm -f core conftest.err conftest.$ac_objext \
18414 conftest$ac_exeext
18415 if ${ac_cv_search_clock_gettime+:} false; then :
18416 break
18418 done
18419 if ${ac_cv_search_clock_gettime+:} false; then :
18421 else
18422 ac_cv_search_clock_gettime=no
18424 rm conftest.$ac_ext
18425 LIBS=$ac_func_search_save_LIBS
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18428 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18429 ac_res=$ac_cv_search_clock_gettime
18430 if test "$ac_res" != no; then :
18431 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18433 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18435 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18439 LIBS=$ac_save_LIBS
18441 esac
18443 if test "x$with_ldap" != "xno"
18444 then
18445 if ${LDAP_CFLAGS:+false} :; then :
18446 if ${PKG_CONFIG+:} false; then :
18447 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18451 if ${LDAP_LIBS:+false} :; then :
18452 if ${PKG_CONFIG+:} false; then :
18453 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18457 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18458 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18459 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18460 ac_save_CPPFLAGS=$CPPFLAGS
18461 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18462 for ac_header in ldap.h lber.h
18463 do :
18464 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18465 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18466 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18467 cat >>confdefs.h <<_ACEOF
18468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18469 _ACEOF
18473 done
18475 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18476 then
18477 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18479 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18481 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18482 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18483 $as_echo_n "(cached) " >&6
18484 else
18485 ac_check_lib_save_LIBS=$LIBS
18486 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18490 /* Override any GCC internal prototype to avoid an error.
18491 Use char because int might match the return type of a GCC
18492 builtin and then its argument prototype would still apply. */
18493 #ifdef __cplusplus
18494 extern "C"
18495 #endif
18496 char ldap_initialize ();
18498 main ()
18500 return ldap_initialize ();
18502 return 0;
18504 _ACEOF
18505 if ac_fn_c_try_link "$LINENO"; then :
18506 ac_cv_lib_ldap_r_ldap_initialize=yes
18507 else
18508 ac_cv_lib_ldap_r_ldap_initialize=no
18510 rm -f core conftest.err conftest.$ac_objext \
18511 conftest$ac_exeext conftest.$ac_ext
18512 LIBS=$ac_check_lib_save_LIBS
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18515 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18516 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18518 $as_echo_n "checking for ber_init in -llber... " >&6; }
18519 if ${ac_cv_lib_lber_ber_init+:} false; then :
18520 $as_echo_n "(cached) " >&6
18521 else
18522 ac_check_lib_save_LIBS=$LIBS
18523 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18525 /* end confdefs.h. */
18527 /* Override any GCC internal prototype to avoid an error.
18528 Use char because int might match the return type of a GCC
18529 builtin and then its argument prototype would still apply. */
18530 #ifdef __cplusplus
18531 extern "C"
18532 #endif
18533 char ber_init ();
18535 main ()
18537 return ber_init ();
18539 return 0;
18541 _ACEOF
18542 if ac_fn_c_try_link "$LINENO"; then :
18543 ac_cv_lib_lber_ber_init=yes
18544 else
18545 ac_cv_lib_lber_ber_init=no
18547 rm -f core conftest.err conftest.$ac_objext \
18548 conftest$ac_exeext conftest.$ac_ext
18549 LIBS=$ac_check_lib_save_LIBS
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18552 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18553 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18555 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18557 else
18558 LDAP_LIBS=""
18561 else
18562 LDAP_LIBS=""
18565 else
18566 LDAP_LIBS=""
18569 ac_wine_check_funcs_save_LIBS="$LIBS"
18570 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18571 for ac_func in \
18572 ldap_count_references \
18573 ldap_first_reference \
18574 ldap_next_reference \
18575 ldap_parse_reference \
18576 ldap_parse_sort_control \
18577 ldap_parse_sortresponse_control \
18578 ldap_parse_vlv_control \
18579 ldap_parse_vlvresponse_control
18580 do :
18581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18584 cat >>confdefs.h <<_ACEOF
18585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18586 _ACEOF
18589 done
18591 LIBS="$ac_wine_check_funcs_save_LIBS"
18592 else
18593 LDAP_LIBS=""
18595 CPPFLAGS=$ac_save_CPPFLAGS
18598 if test "x$LDAP_LIBS" = "x"; then :
18599 case "x$with_ldap" in
18600 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18601 xno) ;;
18602 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18603 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18604 esac
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18609 $as_echo_n "checking for sched_setaffinity... " >&6; }
18610 if ${wine_cv_have_sched_setaffinity+:} false; then :
18611 $as_echo_n "(cached) " >&6
18612 else
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18615 #define _GNU_SOURCE
18616 #include <sched.h>
18618 main ()
18620 sched_setaffinity(0, 0, 0);
18622 return 0;
18624 _ACEOF
18625 if ac_fn_c_try_link "$LINENO"; then :
18626 wine_cv_have_sched_setaffinity=yes
18627 else
18628 wine_cv_have_sched_setaffinity=no
18630 rm -f core conftest.err conftest.$ac_objext \
18631 conftest$ac_exeext conftest.$ac_ext
18633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18634 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18635 if test "$wine_cv_have_sched_setaffinity" = "yes"
18636 then
18638 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18643 $as_echo_n "checking for fallocate... " >&6; }
18644 if ${wine_cv_have_fallocate+:} false; then :
18645 $as_echo_n "(cached) " >&6
18646 else
18647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18648 /* end confdefs.h. */
18649 #define _GNU_SOURCE
18650 #include <fcntl.h>
18652 main ()
18654 fallocate(-1, 0, 0, 0);
18656 return 0;
18658 _ACEOF
18659 if ac_fn_c_try_link "$LINENO"; then :
18660 wine_cv_have_fallocate=yes
18661 else
18662 wine_cv_have_fallocate=no
18664 rm -f core conftest.err conftest.$ac_objext \
18665 conftest$ac_exeext conftest.$ac_ext
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18668 $as_echo "$wine_cv_have_fallocate" >&6; }
18669 if test "$wine_cv_have_fallocate" = "yes"
18670 then
18672 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18678 $as_echo_n "checking for inline... " >&6; }
18679 if ${ac_cv_c_inline+:} false; then :
18680 $as_echo_n "(cached) " >&6
18681 else
18682 ac_cv_c_inline=no
18683 for ac_kw in inline __inline__ __inline; do
18684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18685 /* end confdefs.h. */
18686 #ifndef __cplusplus
18687 typedef int foo_t;
18688 static $ac_kw foo_t static_foo () {return 0; }
18689 $ac_kw foo_t foo () {return 0; }
18690 #endif
18692 _ACEOF
18693 if ac_fn_c_try_compile "$LINENO"; then :
18694 ac_cv_c_inline=$ac_kw
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 test "$ac_cv_c_inline" != no && break
18698 done
18701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18702 $as_echo "$ac_cv_c_inline" >&6; }
18704 case $ac_cv_c_inline in
18705 inline | yes) ;;
18707 case $ac_cv_c_inline in
18708 no) ac_val=;;
18709 *) ac_val=$ac_cv_c_inline;;
18710 esac
18711 cat >>confdefs.h <<_ACEOF
18712 #ifndef __cplusplus
18713 #define inline $ac_val
18714 #endif
18715 _ACEOF
18717 esac
18719 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18720 #include <signal.h>
18722 if test "x$ac_cv_type_sigset_t" = xyes; then :
18724 cat >>confdefs.h <<_ACEOF
18725 #define HAVE_SIGSET_T 1
18726 _ACEOF
18731 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18733 if test "x$ac_cv_type_request_sense" = xyes; then :
18735 cat >>confdefs.h <<_ACEOF
18736 #define HAVE_REQUEST_SENSE 1
18737 _ACEOF
18743 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18744 #ifdef HAVE_SYS_SOCKET_H
18745 #include <sys/socket.h>
18746 #endif
18747 #ifdef HAVE_SYS_SOCKETVAR_H
18748 #include <sys/socketvar.h>
18749 #endif
18750 #ifdef HAVE_NET_ROUTE_H
18751 #include <net/route.h>
18752 #endif
18753 #ifdef HAVE_NETINET_IN_H
18754 #include <netinet/in.h>
18755 #endif
18756 #ifdef HAVE_NETINET_IN_SYSTM_H
18757 #include <netinet/in_systm.h>
18758 #endif
18759 #ifdef HAVE_NETINET_IP_H
18760 #include <netinet/ip.h>
18761 #endif
18762 #ifdef HAVE_NETINET_IN_PCB_H
18763 #include <netinet/in_pcb.h>
18764 #endif
18766 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18768 cat >>confdefs.h <<_ACEOF
18769 #define HAVE_STRUCT_XINPGEN 1
18770 _ACEOF
18776 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18777 #include <linux/input.h>
18778 #endif
18780 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18782 cat >>confdefs.h <<_ACEOF
18783 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18784 _ACEOF
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18791 $as_echo_n "checking for if_nameindex... " >&6; }
18792 if ${wine_cv_have_if_nameindex+:} false; then :
18793 $as_echo_n "(cached) " >&6
18794 else
18795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18796 /* end confdefs.h. */
18797 #ifdef HAVE_SYS_TYPES_H
18798 #include <sys/types.h>
18799 #endif
18800 #ifdef HAVE_SYS_SOCKET_H
18801 #include <sys/socket.h>
18802 #endif
18803 #ifdef HAVE_NET_IF_H
18804 # include <net/if.h>
18805 #endif
18807 main ()
18809 struct if_nameindex *p = if_nameindex(); return p->if_index;
18811 return 0;
18813 _ACEOF
18814 if ac_fn_c_try_link "$LINENO"; then :
18815 wine_cv_have_if_nameindex=yes
18816 else
18817 wine_cv_have_if_nameindex=no
18819 rm -f core conftest.err conftest.$ac_objext \
18820 conftest$ac_exeext conftest.$ac_ext
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18823 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18824 if test "$wine_cv_have_if_nameindex" = "yes"
18825 then
18827 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18832 $as_echo_n "checking for sigaddset... " >&6; }
18833 if ${wine_cv_have_sigaddset+:} false; then :
18834 $as_echo_n "(cached) " >&6
18835 else
18836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838 #include <signal.h>
18840 main ()
18842 sigset_t set; sigaddset(&set,SIGTERM);
18844 return 0;
18846 _ACEOF
18847 if ac_fn_c_try_link "$LINENO"; then :
18848 wine_cv_have_sigaddset=yes
18849 else
18850 wine_cv_have_sigaddset=no
18852 rm -f core conftest.err conftest.$ac_objext \
18853 conftest$ac_exeext conftest.$ac_ext
18855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18856 $as_echo "$wine_cv_have_sigaddset" >&6; }
18857 if test "$wine_cv_have_sigaddset" = "yes"
18858 then
18860 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18866 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18867 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18868 $as_echo_n "(cached) " >&6
18869 else
18870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18872 #include <netdb.h>
18874 main ()
18877 char *name=0;
18878 struct hostent he;
18879 struct hostent *result;
18880 char *buf=0;
18881 int bufsize=0;
18882 int errnr;
18883 char *addr=0;
18884 int addrlen=0;
18885 int addrtype=0;
18886 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18887 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18890 return 0;
18892 _ACEOF
18893 if ac_fn_c_try_link "$LINENO"; then :
18894 wine_cv_linux_gethostbyname_r_6=yes
18895 else
18896 wine_cv_linux_gethostbyname_r_6=no
18899 rm -f core conftest.err conftest.$ac_objext \
18900 conftest$ac_exeext conftest.$ac_ext
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18904 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18905 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18906 then
18908 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18912 if test "$ac_cv_header_linux_joystick_h" = "yes"
18913 then
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18915 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18916 if ${wine_cv_linux_joystick_22_api+:} false; then :
18917 $as_echo_n "(cached) " >&6
18918 else
18919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h. */
18922 #include <sys/ioctl.h>
18923 #include <sys/types.h>
18924 #include <linux/joystick.h>
18926 struct js_event blub;
18927 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18928 #error "no 2.2 header"
18929 #endif
18932 main ()
18934 /*empty*/
18936 return 0;
18938 _ACEOF
18939 if ac_fn_c_try_compile "$LINENO"; then :
18940 wine_cv_linux_joystick_22_api=yes
18941 else
18942 wine_cv_linux_joystick_22_api=no
18944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18948 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18949 if test "$wine_cv_linux_joystick_22_api" = "yes"
18950 then
18952 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18957 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18958 #ifdef HAVE_SYS_SOCKET_H
18959 # include <sys/socket.h>
18960 #endif
18961 #ifdef HAVE_SYS_UN_H
18962 # include <sys/un.h>
18963 #endif
18965 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18967 cat >>confdefs.h <<_ACEOF
18968 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18969 _ACEOF
18973 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18974 #ifdef HAVE_SYS_SOCKET_H
18975 # include <sys/socket.h>
18976 #endif
18977 #ifdef HAVE_SYS_UN_H
18978 # include <sys/un.h>
18979 #endif
18981 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18985 _ACEOF
18989 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18990 #ifdef HAVE_SYS_SOCKET_H
18991 # include <sys/socket.h>
18992 #endif
18993 #ifdef HAVE_SYS_UN_H
18994 # include <sys/un.h>
18995 #endif
18997 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18999 cat >>confdefs.h <<_ACEOF
19000 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19001 _ACEOF
19007 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19008 #ifdef HAVE_SCSI_SG_H
19009 #include <scsi/sg.h>
19010 #endif
19012 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19014 cat >>confdefs.h <<_ACEOF
19015 #define HAVE_SCSIREQ_T_CMD 1
19016 _ACEOF
19020 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>
19021 #ifdef HAVE_SCSI_SG_H
19022 #include <scsi/sg.h>
19023 #endif
19025 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19027 cat >>confdefs.h <<_ACEOF
19028 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19029 _ACEOF
19035 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19037 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19039 cat >>confdefs.h <<_ACEOF
19040 #define HAVE_SIGINFO_T_SI_FD 1
19041 _ACEOF
19047 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19048 #ifdef HAVE_SYS_MTIO_H
19049 #include <sys/mtio.h>
19050 #endif
19052 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19054 cat >>confdefs.h <<_ACEOF
19055 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19056 _ACEOF
19060 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19061 #ifdef HAVE_SYS_MTIO_H
19062 #include <sys/mtio.h>
19063 #endif
19065 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19069 _ACEOF
19073 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19074 #ifdef HAVE_SYS_MTIO_H
19075 #include <sys/mtio.h>
19076 #endif
19078 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19082 _ACEOF
19088 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19089 #include <getopt.h>
19090 #endif
19092 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_STRUCT_OPTION_NAME 1
19096 _ACEOF
19102 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19103 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19105 cat >>confdefs.h <<_ACEOF
19106 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19107 _ACEOF
19111 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19112 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19114 cat >>confdefs.h <<_ACEOF
19115 #define HAVE_STRUCT_STAT_ST_MTIM 1
19116 _ACEOF
19120 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19121 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19123 cat >>confdefs.h <<_ACEOF
19124 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19125 _ACEOF
19129 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19130 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19132 cat >>confdefs.h <<_ACEOF
19133 #define HAVE_STRUCT_STAT_ST_CTIM 1
19134 _ACEOF
19138 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19139 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19141 cat >>confdefs.h <<_ACEOF
19142 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19143 _ACEOF
19147 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19148 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19150 cat >>confdefs.h <<_ACEOF
19151 #define HAVE_STRUCT_STAT_ST_ATIM 1
19152 _ACEOF
19156 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19157 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19159 cat >>confdefs.h <<_ACEOF
19160 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19161 _ACEOF
19165 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19166 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19168 cat >>confdefs.h <<_ACEOF
19169 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19170 _ACEOF
19174 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19175 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19177 cat >>confdefs.h <<_ACEOF
19178 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19179 _ACEOF
19183 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19184 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19186 cat >>confdefs.h <<_ACEOF
19187 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19188 _ACEOF
19192 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19193 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19195 cat >>confdefs.h <<_ACEOF
19196 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19197 _ACEOF
19201 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19202 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19204 cat >>confdefs.h <<_ACEOF
19205 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19206 _ACEOF
19212 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
19213 #include <sys/types.h>
19214 #endif
19215 #ifdef HAVE_NETINET_IN_H
19216 #include <netinet/in.h>
19217 #endif
19219 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19221 cat >>confdefs.h <<_ACEOF
19222 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19223 _ACEOF
19229 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19230 #include <sys/types.h>
19231 #endif
19232 #ifdef HAVE_NETINET_IN_H
19233 #include <netinet/in.h>
19234 #endif
19235 #ifdef HAVE_RESOLV_H
19236 #include <resolv.h>
19237 #endif
19239 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19241 cat >>confdefs.h <<_ACEOF
19242 #define HAVE_STRUCT___RES_STATE 1
19243 _ACEOF
19249 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
19250 #include <resolv.h>
19251 #endif
19253 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19255 cat >>confdefs.h <<_ACEOF
19256 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19257 _ACEOF
19263 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19264 #include <sys/types.h>
19265 #endif
19266 #ifdef HAVE_NETINET_IN_H
19267 # include <netinet/in.h>
19268 #endif
19269 #ifdef HAVE_ARPA_NAMESER_H
19270 # include <arpa/nameser.h>
19271 #endif
19273 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19275 cat >>confdefs.h <<_ACEOF
19276 #define HAVE_NS_MSG__MSG_PTR 1
19277 _ACEOF
19283 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19284 #include <sys/types.h>
19285 #endif
19286 #ifdef HAVE_NETINET_IN_H
19287 #include <netinet/in.h>
19288 #endif
19289 #ifdef HAVE_NETINET_IP_H
19290 #include <netinet/ip.h>
19291 #endif
19292 #ifdef HAVE_NETINET_IP_ICMP_H
19293 #include <netinet/ip_icmp.h>
19294 #endif
19295 #ifdef HAVE_NETINET_ICMP_VAR_H
19296 #include <netinet/icmp_var.h>
19297 #endif
19299 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19301 cat >>confdefs.h <<_ACEOF
19302 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19303 _ACEOF
19309 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19310 #include <sys/types.h>
19311 #endif
19312 #ifdef HAVE_ALIAS_H
19313 #include <alias.h>
19314 #endif
19315 #ifdef HAVE_SYS_SOCKET_H
19316 #include <sys/socket.h>
19317 #endif
19318 #ifdef HAVE_SYS_SOCKETVAR_H
19319 #include <sys/socketvar.h>
19320 #endif
19321 #ifdef HAVE_SYS_TIMEOUT_H
19322 #include <sys/timeout.h>
19323 #endif
19324 #ifdef HAVE_NETINET_IN_H
19325 #include <netinet/in.h>
19326 #endif
19327 #ifdef HAVE_NETINET_IN_SYSTM_H
19328 #include <netinet/in_systm.h>
19329 #endif
19330 #ifdef HAVE_NETINET_IP_H
19331 #include <netinet/ip.h>
19332 #endif
19333 #ifdef HAVE_NETINET_IP_VAR_H
19334 #include <netinet/ip_var.h>
19335 #endif
19336 #ifdef HAVE_NETINET_IP_ICMP_H
19337 #include <netinet/ip_icmp.h>
19338 #endif
19339 #ifdef HAVE_NETINET_ICMP_VAR_H
19340 #include <netinet/icmp_var.h>
19341 #endif
19343 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19345 cat >>confdefs.h <<_ACEOF
19346 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19347 _ACEOF
19353 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19354 #include <sys/types.h>
19355 #endif
19356 #ifdef HAVE_SYS_SOCKETVAR_H
19357 #include <sys/socketvar.h>
19358 #endif
19359 #ifdef HAVE_NETINET_IN_H
19360 #include <netinet/in.h>
19361 #endif
19362 #ifdef HAVE_NETINET_IP_VAR_H
19363 #include <netinet/ip_var.h>
19364 #endif
19366 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19368 cat >>confdefs.h <<_ACEOF
19369 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19370 _ACEOF
19376 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
19377 #include <netinet/ip_var.h>
19378 #endif
19380 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19382 cat >>confdefs.h <<_ACEOF
19383 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19384 _ACEOF
19390 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19391 #include <sys/types.h>
19392 #endif
19393 #ifdef HAVE_SYS_SOCKETVAR_H
19394 #include <sys/socketvar.h>
19395 #endif
19396 #ifdef HAVE_NETINET_IN_H
19397 #include <netinet/in.h>
19398 #endif
19399 #ifdef HAVE_NETINET_TCP_H
19400 #include <netinet/tcp.h>
19401 #endif
19402 #ifdef HAVE_NETINET_TCP_VAR_H
19403 #include <netinet/tcp_var.h>
19404 #endif
19406 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19410 _ACEOF
19416 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
19417 #include <netinet/tcp_var.h>
19418 #endif
19420 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19422 cat >>confdefs.h <<_ACEOF
19423 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19424 _ACEOF
19430 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19431 #include <sys/types.h>
19432 #endif
19433 #ifdef HAVE_NETINET_IN_H
19434 #include <netinet/in.h>
19435 #endif
19436 #ifdef HAVE_NETINET_IP_VAR_H
19437 #include <netinet/ip_var.h>
19438 #endif
19439 #ifdef HAVE_NETINET_UDP_H
19440 #include <netinet/udp.h>
19441 #endif
19442 #ifdef HAVE_NETINET_UDP_VAR_H
19443 #include <netinet/udp_var.h>
19444 #endif
19446 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19448 cat >>confdefs.h <<_ACEOF
19449 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19450 _ACEOF
19456 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19457 #include <sys/types.h>
19458 #endif
19459 #ifdef HAVE_NET_IF_H
19460 # include <net/if.h>
19461 #endif
19463 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19465 cat >>confdefs.h <<_ACEOF
19466 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19467 _ACEOF
19473 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19474 # include <sys/sysinfo.h>
19475 #endif
19477 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19479 cat >>confdefs.h <<_ACEOF
19480 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19481 _ACEOF
19485 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19486 # include <sys/sysinfo.h>
19487 #endif
19489 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19491 cat >>confdefs.h <<_ACEOF
19492 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19493 _ACEOF
19499 ac_save_LIBS="$LIBS"
19500 LIBS="$LIBS -lm"
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19502 $as_echo_n "checking for isfinite... " >&6; }
19503 if ${ac_cv_have_isfinite+:} false; then :
19504 $as_echo_n "(cached) " >&6
19505 else
19506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19507 /* end confdefs.h. */
19508 #define _GNU_SOURCE
19509 #include <math.h>
19511 main ()
19513 float f = 0.0; return isfinite(f)
19515 return 0;
19517 _ACEOF
19518 if ac_fn_c_try_link "$LINENO"; then :
19519 ac_cv_have_isfinite="yes"
19520 else
19521 ac_cv_have_isfinite="no"
19523 rm -f core conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext conftest.$ac_ext
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19527 $as_echo "$ac_cv_have_isfinite" >&6; }
19528 if test "$ac_cv_have_isfinite" = "yes"
19529 then
19531 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19536 $as_echo_n "checking for isinf... " >&6; }
19537 if ${ac_cv_have_isinf+:} false; then :
19538 $as_echo_n "(cached) " >&6
19539 else
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #include <math.h>
19544 main ()
19546 float f = 0.0; return isinf(f)
19548 return 0;
19550 _ACEOF
19551 if ac_fn_c_try_link "$LINENO"; then :
19552 ac_cv_have_isinf="yes"
19553 else
19554 ac_cv_have_isinf="no"
19556 rm -f core conftest.err conftest.$ac_objext \
19557 conftest$ac_exeext conftest.$ac_ext
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19560 $as_echo "$ac_cv_have_isinf" >&6; }
19561 if test "$ac_cv_have_isinf" = "yes"
19562 then
19564 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19569 $as_echo_n "checking for isnan... " >&6; }
19570 if ${ac_cv_have_isnan+:} false; then :
19571 $as_echo_n "(cached) " >&6
19572 else
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19575 #include <math.h>
19577 main ()
19579 float f = 0.0; return isnan(f)
19581 return 0;
19583 _ACEOF
19584 if ac_fn_c_try_link "$LINENO"; then :
19585 ac_cv_have_isnan="yes"
19586 else
19587 ac_cv_have_isnan="no"
19589 rm -f core conftest.err conftest.$ac_objext \
19590 conftest$ac_exeext conftest.$ac_ext
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19593 $as_echo "$ac_cv_have_isnan" >&6; }
19594 if test "$ac_cv_have_isnan" = "yes"
19595 then
19597 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19601 for ac_func in \
19602 acosh \
19603 acoshf \
19604 asinh \
19605 asinhf \
19606 atanh \
19607 atanhf \
19608 cbrt \
19609 cbrtf \
19610 erf \
19611 erfc \
19612 erfcf \
19613 erff \
19614 exp2 \
19615 exp2f \
19616 expm1 \
19617 expm1f \
19618 fma \
19619 fmaf \
19620 j0 \
19621 j1 \
19622 jn \
19623 lgamma \
19624 lgammaf \
19625 llrint \
19626 llrintf \
19627 llround \
19628 llroundf \
19629 log1p \
19630 log1pf \
19631 log2 \
19632 log2f \
19633 lrint \
19634 lrintf \
19635 lround \
19636 lroundf \
19637 nearbyint \
19638 nearbyintf \
19639 nexttoward \
19640 nexttowardf \
19641 remainder \
19642 remainderf \
19643 remquo \
19644 remquof \
19645 rint \
19646 rintf \
19647 round \
19648 roundf \
19649 tgamma \
19650 tgammaf \
19651 trunc \
19652 truncf \
19653 y0 \
19654 y1 \
19657 do :
19658 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19659 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19660 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19661 cat >>confdefs.h <<_ACEOF
19662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19663 _ACEOF
19666 done
19668 LIBS="$ac_save_LIBS"
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19671 $as_echo_n "checking for __builtin_popcount... " >&6; }
19672 if ${ac_cv_have___builtin_popcount+:} false; then :
19673 $as_echo_n "(cached) " >&6
19674 else
19675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19676 /* end confdefs.h. */
19679 main ()
19681 return __builtin_popcount(1)
19683 return 0;
19685 _ACEOF
19686 if ac_fn_c_try_link "$LINENO"; then :
19687 ac_cv_have___builtin_popcount="yes"
19688 else
19689 ac_cv_have___builtin_popcount="no"
19691 rm -f core conftest.err conftest.$ac_objext \
19692 conftest$ac_exeext conftest.$ac_ext
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19695 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19696 if test "$ac_cv_have___builtin_popcount" = "yes"
19697 then
19699 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19704 $as_echo_n "checking for __clear_cache... " >&6; }
19705 if ${ac_cv_have___clear_cache+:} false; then :
19706 $as_echo_n "(cached) " >&6
19707 else
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h. */
19712 main ()
19714 __clear_cache((void*)0, (void*)0); return 0;
19716 return 0;
19718 _ACEOF
19719 if ac_fn_c_try_link "$LINENO"; then :
19720 ac_cv_have___clear_cache="yes"
19721 else
19722 ac_cv_have___clear_cache="no"
19724 rm -f core conftest.err conftest.$ac_objext \
19725 conftest$ac_exeext conftest.$ac_ext
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19728 $as_echo "$ac_cv_have___clear_cache" >&6; }
19729 if test "$ac_cv_have___clear_cache" = "yes"
19730 then
19732 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19737 case $host_cpu in
19738 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19739 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19740 if ${ac_cv_cpp_def___i386__+:} false; then :
19741 $as_echo_n "(cached) " >&6
19742 else
19743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19744 /* end confdefs.h. */
19745 #ifndef __i386__
19747 #endif
19748 _ACEOF
19749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19750 $EGREP "yes" >/dev/null 2>&1; then :
19751 ac_cv_cpp_def___i386__=yes
19752 else
19753 ac_cv_cpp_def___i386__=no
19755 rm -f conftest*
19758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19759 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19760 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19761 CFLAGS="$CFLAGS -D__i386__"
19762 LINTFLAGS="$LINTFLAGS -D__i386__"
19763 fi ;;
19764 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19765 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19766 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19767 $as_echo_n "(cached) " >&6
19768 else
19769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h. */
19771 #ifndef __x86_64__
19773 #endif
19774 _ACEOF
19775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19776 $EGREP "yes" >/dev/null 2>&1; then :
19777 ac_cv_cpp_def___x86_64__=yes
19778 else
19779 ac_cv_cpp_def___x86_64__=no
19781 rm -f conftest*
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19785 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19786 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19787 CFLAGS="$CFLAGS -D__x86_64__"
19788 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19789 fi ;;
19790 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19791 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19792 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19793 $as_echo_n "(cached) " >&6
19794 else
19795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19796 /* end confdefs.h. */
19797 #ifndef __sparc64__
19799 #endif
19800 _ACEOF
19801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19802 $EGREP "yes" >/dev/null 2>&1; then :
19803 ac_cv_cpp_def___sparc64__=yes
19804 else
19805 ac_cv_cpp_def___sparc64__=no
19807 rm -f conftest*
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19811 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19812 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19813 CFLAGS="$CFLAGS -D__sparc64__"
19814 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19815 fi ;;
19816 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19817 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19818 if ${ac_cv_cpp_def___sparc__+:} false; then :
19819 $as_echo_n "(cached) " >&6
19820 else
19821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19822 /* end confdefs.h. */
19823 #ifndef __sparc__
19825 #endif
19826 _ACEOF
19827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19828 $EGREP "yes" >/dev/null 2>&1; then :
19829 ac_cv_cpp_def___sparc__=yes
19830 else
19831 ac_cv_cpp_def___sparc__=no
19833 rm -f conftest*
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19837 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19838 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19839 CFLAGS="$CFLAGS -D__sparc__"
19840 LINTFLAGS="$LINTFLAGS -D__sparc__"
19841 fi ;;
19842 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19843 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19844 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19845 $as_echo_n "(cached) " >&6
19846 else
19847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19849 #ifndef __powerpc64__
19851 #endif
19852 _ACEOF
19853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19854 $EGREP "yes" >/dev/null 2>&1; then :
19855 ac_cv_cpp_def___powerpc64__=yes
19856 else
19857 ac_cv_cpp_def___powerpc64__=no
19859 rm -f conftest*
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19863 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19864 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19865 CFLAGS="$CFLAGS -D__powerpc64__"
19866 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19867 fi ;;
19868 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19869 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19870 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19871 $as_echo_n "(cached) " >&6
19872 else
19873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19875 #ifndef __powerpc__
19877 #endif
19878 _ACEOF
19879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19880 $EGREP "yes" >/dev/null 2>&1; then :
19881 ac_cv_cpp_def___powerpc__=yes
19882 else
19883 ac_cv_cpp_def___powerpc__=no
19885 rm -f conftest*
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19889 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19890 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19891 CFLAGS="$CFLAGS -D__powerpc__"
19892 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19893 fi ;;
19894 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19895 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19896 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19897 $as_echo_n "(cached) " >&6
19898 else
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19901 #ifndef __aarch64__
19903 #endif
19904 _ACEOF
19905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19906 $EGREP "yes" >/dev/null 2>&1; then :
19907 ac_cv_cpp_def___aarch64__=yes
19908 else
19909 ac_cv_cpp_def___aarch64__=no
19911 rm -f conftest*
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19915 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19916 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19917 CFLAGS="$CFLAGS -D__aarch64__"
19918 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19919 fi ;;
19920 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19921 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19922 if ${ac_cv_cpp_def___arm__+:} false; then :
19923 $as_echo_n "(cached) " >&6
19924 else
19925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19926 /* end confdefs.h. */
19927 #ifndef __arm__
19929 #endif
19930 _ACEOF
19931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19932 $EGREP "yes" >/dev/null 2>&1; then :
19933 ac_cv_cpp_def___arm__=yes
19934 else
19935 ac_cv_cpp_def___arm__=no
19937 rm -f conftest*
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19941 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19942 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19943 CFLAGS="$CFLAGS -D__arm__"
19944 LINTFLAGS="$LINTFLAGS -D__arm__"
19945 fi ;;
19946 esac
19948 case $host_vendor in
19949 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19950 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19951 if ${ac_cv_cpp_def___sun__+:} false; then :
19952 $as_echo_n "(cached) " >&6
19953 else
19954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19955 /* end confdefs.h. */
19956 #ifndef __sun__
19958 #endif
19959 _ACEOF
19960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19961 $EGREP "yes" >/dev/null 2>&1; then :
19962 ac_cv_cpp_def___sun__=yes
19963 else
19964 ac_cv_cpp_def___sun__=no
19966 rm -f conftest*
19969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19970 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19971 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19972 CFLAGS="$CFLAGS -D__sun__"
19973 LINTFLAGS="$LINTFLAGS -D__sun__"
19974 fi ;;
19975 esac
19981 ac_config_commands="$ac_config_commands include/stamp-h"
19983 $as_echo_n "creating Makefile rules..." >&6
19985 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19986 OPENGL_LIBS = $OPENGL_LIBS
19987 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19988 IOKIT_LIBS = $IOKIT_LIBS
19989 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19990 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19991 CORESERVICES_LIBS = $CORESERVICES_LIBS
19992 APPKIT_LIBS = $APPKIT_LIBS
19993 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19994 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19995 SECURITY_LIBS = $SECURITY_LIBS
19996 COREAUDIO_LIBS = $COREAUDIO_LIBS
19997 OPENAL_LIBS = $OPENAL_LIBS
19998 OPENCL_LIBS = $OPENCL_LIBS
19999 QUICKTIME_LIBS = $QUICKTIME_LIBS
20000 CARBON_LIBS = $CARBON_LIBS
20001 METAL_LIBS = $METAL_LIBS
20002 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20003 PTHREAD_LIBS = $PTHREAD_LIBS
20004 X_CFLAGS = $X_CFLAGS
20005 X_PRE_LIBS = $X_PRE_LIBS
20006 X_LIBS = $X_LIBS
20007 X_EXTRA_LIBS = $X_EXTRA_LIBS
20008 PCAP_LIBS = $PCAP_LIBS
20009 XML2_CFLAGS = $XML2_CFLAGS
20010 XML2_LIBS = $XML2_LIBS
20011 XSLT_CFLAGS = $XSLT_CFLAGS
20012 XSLT_LIBS = $XSLT_LIBS
20013 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20014 INOTIFY_LIBS = $INOTIFY_LIBS
20015 DBUS_CFLAGS = $DBUS_CFLAGS
20016 DBUS_LIBS = $DBUS_LIBS
20017 HAL_CFLAGS = $HAL_CFLAGS
20018 HAL_LIBS = $HAL_LIBS
20019 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20020 GNUTLS_LIBS = $GNUTLS_LIBS
20021 SANE_CFLAGS = $SANE_CFLAGS
20022 SANE_LIBS = $SANE_LIBS
20023 USB_CFLAGS = $USB_CFLAGS
20024 USB_LIBS = $USB_LIBS
20025 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20026 GPHOTO2_LIBS = $GPHOTO2_LIBS
20027 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20028 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20029 RESOLV_LIBS = $RESOLV_LIBS
20030 LCMS2_CFLAGS = $LCMS2_CFLAGS
20031 LCMS2_LIBS = $LCMS2_LIBS
20032 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20033 FREETYPE_LIBS = $FREETYPE_LIBS
20034 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20035 PULSE_CFLAGS = $PULSE_CFLAGS
20036 PULSE_LIBS = $PULSE_LIBS
20037 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20038 GSTREAMER_LIBS = $GSTREAMER_LIBS
20039 ALSA_LIBS = $ALSA_LIBS
20040 OSS4_CFLAGS = $OSS4_CFLAGS
20041 OSS4_LIBS = $OSS4_LIBS
20042 UDEV_CFLAGS = $UDEV_CFLAGS
20043 UDEV_LIBS = $UDEV_LIBS
20044 UNWIND_CFLAGS = $UNWIND_CFLAGS
20045 UNWIND_LIBS = $UNWIND_LIBS
20046 SDL2_CFLAGS = $SDL2_CFLAGS
20047 SDL2_LIBS = $SDL2_LIBS
20048 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20049 FAUDIO_LIBS = $FAUDIO_LIBS
20050 CAPI20_CFLAGS = $CAPI20_CFLAGS
20051 CAPI20_LIBS = $CAPI20_LIBS
20052 CUPS_CFLAGS = $CUPS_CFLAGS
20053 CUPS_LIBS = $CUPS_LIBS
20054 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20055 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20056 KRB5_CFLAGS = $KRB5_CFLAGS
20057 KRB5_LIBS = $KRB5_LIBS
20058 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20059 GSSAPI_LIBS = $GSSAPI_LIBS
20060 JPEG_CFLAGS = $JPEG_CFLAGS
20061 JPEG_LIBS = $JPEG_LIBS
20062 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20063 JXRLIB_LIBS = $JXRLIB_LIBS
20064 PNG_CFLAGS = $PNG_CFLAGS
20065 PNG_LIBS = $PNG_LIBS
20066 TIFF_CFLAGS = $TIFF_CFLAGS
20067 TIFF_LIBS = $TIFF_LIBS
20068 MPG123_CFLAGS = $MPG123_CFLAGS
20069 MPG123_LIBS = $MPG123_LIBS
20070 KSTAT_LIBS = $KSTAT_LIBS
20071 PROCSTAT_LIBS = $PROCSTAT_LIBS
20072 NETAPI_CFLAGS = $NETAPI_CFLAGS
20073 NETAPI_LIBS = $NETAPI_LIBS
20074 VKD3D_CFLAGS = $VKD3D_CFLAGS
20075 VKD3D_LIBS = $VKD3D_LIBS
20076 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20077 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20078 POLL_LIBS = $POLL_LIBS
20079 RT_LIBS = $RT_LIBS
20080 LDAP_CFLAGS = $LDAP_CFLAGS
20081 LDAP_LIBS = $LDAP_LIBS
20085 makedep_flags=""
20086 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20089 wine_fn_append_rule "
20090 # Rules automatically generated by configure
20092 .INIT: Makefile
20093 .MAKEFILEDEPS:
20094 all: Makefile
20095 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20096 @./config.status Make.tmp Makefile
20097 depend: \$(MAKEDEP)
20098 \$(MAKEDEP)$makedep_flags
20099 dummy:
20100 .PHONY: depend dummy"
20102 ac_config_links="$ac_config_links wine:tools/winewrapper"
20103 wine_fn_config_symlink wine
20104 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20105 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20106 wine_fn_config_symlink wine64
20109 wine_fn_config_makefile dlls/acledit enable_acledit
20110 wine_fn_config_makefile dlls/aclui enable_aclui
20111 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20112 wine_fn_config_makefile dlls/activeds enable_activeds
20113 wine_fn_config_makefile dlls/activeds/tests enable_tests
20114 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20115 wine_fn_config_makefile dlls/adsiid enable_adsiid
20116 wine_fn_config_makefile dlls/adsldp enable_adsldp
20117 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20118 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20119 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20120 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20121 wine_fn_config_makefile dlls/advpack enable_advpack
20122 wine_fn_config_makefile dlls/advpack/tests enable_tests
20123 wine_fn_config_makefile dlls/amsi enable_amsi
20124 wine_fn_config_makefile dlls/amstream enable_amstream
20125 wine_fn_config_makefile dlls/amstream/tests enable_tests
20126 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20128 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20129 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20136 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20144 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20151 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20152 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20159 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20160 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20162 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20163 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20172 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20177 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20183 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20184 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20188 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20189 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20197 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20198 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20199 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20200 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20208 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20212 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20213 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20214 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20237 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20241 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20244 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20255 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20260 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20261 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20266 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20268 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20287 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20288 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20308 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20319 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20323 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20325 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20327 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20328 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20333 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20335 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20341 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20344 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20346 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20348 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20351 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20352 wine_fn_config_makefile dlls/apphelp enable_apphelp
20353 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20354 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20355 wine_fn_config_makefile dlls/atl enable_atl
20356 wine_fn_config_makefile dlls/atl/tests enable_tests
20357 wine_fn_config_makefile dlls/atl100 enable_atl100
20358 wine_fn_config_makefile dlls/atl100/tests enable_tests
20359 wine_fn_config_makefile dlls/atl110 enable_atl110
20360 wine_fn_config_makefile dlls/atl80 enable_atl80
20361 wine_fn_config_makefile dlls/atl80/tests enable_tests
20362 wine_fn_config_makefile dlls/atl90 enable_atl90
20363 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20364 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20365 wine_fn_config_makefile dlls/atmlib enable_atmlib
20366 wine_fn_config_makefile dlls/authz enable_authz
20367 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20368 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20369 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20370 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20371 wine_fn_config_makefile dlls/avrt enable_avrt
20372 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20373 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20374 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20375 wine_fn_config_makefile dlls/browseui enable_browseui
20376 wine_fn_config_makefile dlls/browseui/tests enable_tests
20377 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20378 wine_fn_config_makefile dlls/cabinet enable_cabinet
20379 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20380 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20381 wine_fn_config_makefile dlls/cards enable_cards
20382 wine_fn_config_makefile dlls/cdosys enable_cdosys
20383 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20384 wine_fn_config_makefile dlls/clusapi enable_clusapi
20385 wine_fn_config_makefile dlls/combase enable_combase
20386 wine_fn_config_makefile dlls/combase/tests enable_tests
20387 wine_fn_config_makefile dlls/comcat enable_comcat
20388 wine_fn_config_makefile dlls/comcat/tests enable_tests
20389 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20390 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20391 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20392 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20393 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20394 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20395 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20396 wine_fn_config_makefile dlls/compstui enable_compstui
20397 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20398 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20399 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20400 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20401 wine_fn_config_makefile dlls/connect enable_connect
20402 wine_fn_config_makefile dlls/credui enable_credui
20403 wine_fn_config_makefile dlls/credui/tests enable_tests
20404 wine_fn_config_makefile dlls/crtdll enable_crtdll
20405 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20406 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20407 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20408 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20409 wine_fn_config_makefile dlls/cryptext enable_cryptext
20410 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20411 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20412 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20413 wine_fn_config_makefile dlls/cryptui enable_cryptui
20414 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20415 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20416 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20417 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20418 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20419 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20420 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20421 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20422 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20423 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20424 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20425 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20426 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20427 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20428 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20429 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20430 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20431 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20432 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20433 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20434 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20435 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20436 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20437 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20438 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20439 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20440 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20441 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20442 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20443 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20444 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20445 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20446 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20447 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20448 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20449 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20450 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20451 wine_fn_config_makefile dlls/d3dim enable_d3dim
20452 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20453 wine_fn_config_makefile dlls/d3drm enable_d3drm
20454 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20455 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20456 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20457 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20458 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20459 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20460 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20461 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20462 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20463 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20464 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20465 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20466 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20467 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20468 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20469 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20470 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20471 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20472 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20473 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20474 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20475 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20476 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20477 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20478 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20479 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20480 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20481 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20482 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20483 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20484 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20485 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20486 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20487 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20488 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20489 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20490 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20491 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20492 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20493 wine_fn_config_makefile dlls/davclnt enable_davclnt
20494 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20495 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20496 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20497 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20498 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20499 wine_fn_config_makefile dlls/dcomp enable_dcomp
20500 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20501 wine_fn_config_makefile dlls/ddraw enable_ddraw
20502 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20503 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20504 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20505 wine_fn_config_makefile dlls/devenum enable_devenum
20506 wine_fn_config_makefile dlls/devenum/tests enable_tests
20507 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20508 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20509 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20510 wine_fn_config_makefile dlls/difxapi enable_difxapi
20511 wine_fn_config_makefile dlls/dinput enable_dinput
20512 wine_fn_config_makefile dlls/dinput/tests enable_tests
20513 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20514 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20515 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20516 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20517 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20518 wine_fn_config_makefile dlls/dispex enable_dispex
20519 wine_fn_config_makefile dlls/dispex/tests enable_tests
20520 wine_fn_config_makefile dlls/display.drv16 enable_win16
20521 wine_fn_config_makefile dlls/dmband enable_dmband
20522 wine_fn_config_makefile dlls/dmband/tests enable_tests
20523 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20524 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20525 wine_fn_config_makefile dlls/dmime enable_dmime
20526 wine_fn_config_makefile dlls/dmime/tests enable_tests
20527 wine_fn_config_makefile dlls/dmloader enable_dmloader
20528 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20529 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20530 wine_fn_config_makefile dlls/dmscript enable_dmscript
20531 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20532 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20533 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20534 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20535 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20536 wine_fn_config_makefile dlls/dmusic enable_dmusic
20537 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20538 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20539 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20540 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20541 wine_fn_config_makefile dlls/dplay enable_dplay
20542 wine_fn_config_makefile dlls/dplayx enable_dplayx
20543 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20544 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20545 wine_fn_config_makefile dlls/dpnet enable_dpnet
20546 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20547 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20548 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20549 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20550 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20551 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20552 wine_fn_config_makefile dlls/drmclien enable_drmclien
20553 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20554 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20555 wine_fn_config_makefile dlls/dsound enable_dsound
20556 wine_fn_config_makefile dlls/dsound/tests enable_tests
20557 wine_fn_config_makefile dlls/dsquery enable_dsquery
20558 wine_fn_config_makefile dlls/dssenh enable_dssenh
20559 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20560 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20561 wine_fn_config_makefile dlls/dswave enable_dswave
20562 wine_fn_config_makefile dlls/dswave/tests enable_tests
20563 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20564 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20565 wine_fn_config_makefile dlls/dwrite enable_dwrite
20566 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20567 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20568 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20569 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20570 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20571 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20572 wine_fn_config_makefile dlls/dxgi enable_dxgi
20573 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20574 wine_fn_config_makefile dlls/dxguid enable_dxguid
20575 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20576 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20577 wine_fn_config_makefile dlls/esent enable_esent
20578 wine_fn_config_makefile dlls/evr enable_evr
20579 wine_fn_config_makefile dlls/evr/tests enable_tests
20580 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20581 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20582 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20587 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20588 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20591 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20593 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20596 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20597 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20600 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20601 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20602 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20614 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20615 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20616 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20617 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20618 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20619 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20620 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20621 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20622 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
20623 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20624 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20625 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20626 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20627 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20628 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20629 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20630 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20631 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20632 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20633 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20634 wine_fn_config_makefile dlls/faultrep enable_faultrep
20635 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20636 wine_fn_config_makefile dlls/feclient enable_feclient
20637 wine_fn_config_makefile dlls/fltlib enable_fltlib
20638 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20639 wine_fn_config_makefile dlls/fntcache enable_fntcache
20640 wine_fn_config_makefile dlls/fontsub enable_fontsub
20641 wine_fn_config_makefile dlls/fusion enable_fusion
20642 wine_fn_config_makefile dlls/fusion/tests enable_tests
20643 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20644 wine_fn_config_makefile dlls/gameux enable_gameux
20645 wine_fn_config_makefile dlls/gameux/tests enable_tests
20646 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20647 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20648 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20649 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20650 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20651 wine_fn_config_makefile dlls/glu32 enable_glu32
20652 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20653 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20654 wine_fn_config_makefile dlls/hal enable_hal
20655 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20656 wine_fn_config_makefile dlls/hid enable_hid
20657 wine_fn_config_makefile dlls/hid/tests enable_tests
20658 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20659 wine_fn_config_makefile dlls/hlink enable_hlink
20660 wine_fn_config_makefile dlls/hlink/tests enable_tests
20661 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20662 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20663 wine_fn_config_makefile dlls/http.sys enable_http_sys
20664 wine_fn_config_makefile dlls/httpapi enable_httpapi
20665 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20666 wine_fn_config_makefile dlls/iccvid enable_iccvid
20667 wine_fn_config_makefile dlls/icmp enable_icmp
20668 wine_fn_config_makefile dlls/ieframe enable_ieframe
20669 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20670 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20671 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20672 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20673 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20674 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20675 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20676 wine_fn_config_makefile dlls/imm32 enable_imm32
20677 wine_fn_config_makefile dlls/imm32/tests enable_tests
20678 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20679 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20680 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20681 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20682 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20683 wine_fn_config_makefile dlls/infosoft enable_infosoft
20684 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20685 wine_fn_config_makefile dlls/initpki enable_initpki
20686 wine_fn_config_makefile dlls/inkobj enable_inkobj
20687 wine_fn_config_makefile dlls/inseng enable_inseng
20688 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20689 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20690 wine_fn_config_makefile dlls/iprop enable_iprop
20691 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20692 wine_fn_config_makefile dlls/itircl enable_itircl
20693 wine_fn_config_makefile dlls/itss enable_itss
20694 wine_fn_config_makefile dlls/itss/tests enable_tests
20695 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20696 wine_fn_config_makefile dlls/jscript enable_jscript
20697 wine_fn_config_makefile dlls/jscript/tests enable_tests
20698 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20699 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20700 wine_fn_config_makefile dlls/kerberos enable_kerberos
20701 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20702 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20703 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20704 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20705 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20706 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20707 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20708 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20709 wine_fn_config_makefile dlls/ksuser enable_ksuser
20710 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20711 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20712 wine_fn_config_makefile dlls/loadperf enable_loadperf
20713 wine_fn_config_makefile dlls/localspl enable_localspl
20714 wine_fn_config_makefile dlls/localspl/tests enable_tests
20715 wine_fn_config_makefile dlls/localui enable_localui
20716 wine_fn_config_makefile dlls/localui/tests enable_tests
20717 wine_fn_config_makefile dlls/lz32 enable_lz32
20718 wine_fn_config_makefile dlls/lz32/tests enable_tests
20719 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20720 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20721 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20722 wine_fn_config_makefile dlls/mapistub enable_mapistub
20723 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20724 wine_fn_config_makefile dlls/mcicda enable_mcicda
20725 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20726 wine_fn_config_makefile dlls/mciseq enable_mciseq
20727 wine_fn_config_makefile dlls/mciwave enable_mciwave
20728 wine_fn_config_makefile dlls/mf enable_mf
20729 wine_fn_config_makefile dlls/mf/tests enable_tests
20730 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20731 wine_fn_config_makefile dlls/mferror enable_mferror
20732 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20733 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20734 wine_fn_config_makefile dlls/mfplat enable_mfplat
20735 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20736 wine_fn_config_makefile dlls/mfplay enable_mfplay
20737 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20738 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20739 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20740 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20741 wine_fn_config_makefile dlls/midimap enable_midimap
20742 wine_fn_config_makefile dlls/mlang enable_mlang
20743 wine_fn_config_makefile dlls/mlang/tests enable_tests
20744 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20745 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20746 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20747 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20748 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20749 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20750 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20751 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20752 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20753 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20754 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20755 wine_fn_config_makefile dlls/mpr enable_mpr
20756 wine_fn_config_makefile dlls/mpr/tests enable_tests
20757 wine_fn_config_makefile dlls/mprapi enable_mprapi
20758 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20759 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20760 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20761 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20762 wine_fn_config_makefile dlls/msado15 enable_msado15
20763 wine_fn_config_makefile dlls/msado15/tests enable_tests
20764 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20765 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20766 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20767 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20768 wine_fn_config_makefile dlls/mscms enable_mscms
20769 wine_fn_config_makefile dlls/mscms/tests enable_tests
20770 wine_fn_config_makefile dlls/mscoree enable_mscoree
20771 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20772 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20773 wine_fn_config_makefile dlls/msctf enable_msctf
20774 wine_fn_config_makefile dlls/msctf/tests enable_tests
20775 wine_fn_config_makefile dlls/msctfp enable_msctfp
20776 wine_fn_config_makefile dlls/msdaps enable_msdaps
20777 wine_fn_config_makefile dlls/msdelta enable_msdelta
20778 wine_fn_config_makefile dlls/msdmo enable_msdmo
20779 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20780 wine_fn_config_makefile dlls/msdrm enable_msdrm
20781 wine_fn_config_makefile dlls/msftedit enable_msftedit
20782 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20783 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20784 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20785 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20786 wine_fn_config_makefile dlls/mshtml enable_mshtml
20787 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20788 wine_fn_config_makefile dlls/msi enable_msi
20789 wine_fn_config_makefile dlls/msi/tests enable_tests
20790 wine_fn_config_makefile dlls/msident enable_msident
20791 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20792 wine_fn_config_makefile dlls/msimsg enable_msimsg
20793 wine_fn_config_makefile dlls/msimtf enable_msimtf
20794 wine_fn_config_makefile dlls/msisip enable_msisip
20795 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20796 wine_fn_config_makefile dlls/msls31 enable_msls31
20797 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20798 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20799 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20800 wine_fn_config_makefile dlls/msports enable_msports
20801 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20802 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20803 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20804 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20805 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20806 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20807 wine_fn_config_makefile dlls/mstask enable_mstask
20808 wine_fn_config_makefile dlls/mstask/tests enable_tests
20809 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20810 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20811 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20812 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20813 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20814 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20815 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20816 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20817 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20818 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20819 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20820 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20821 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20822 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20823 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20824 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20825 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20826 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20827 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20828 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20829 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20830 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20831 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20832 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20833 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20834 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20835 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20836 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20837 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20838 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20839 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20840 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20841 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20842 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20843 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20844 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20845 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20846 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20847 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20848 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20849 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20850 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20851 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20852 wine_fn_config_makefile dlls/mswsock enable_mswsock
20853 wine_fn_config_makefile dlls/msxml enable_msxml
20854 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20855 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20856 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20857 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20858 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20859 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20860 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20861 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20862 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20863 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20864 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20865 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20866 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20867 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20868 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20869 wine_fn_config_makefile dlls/netprofm enable_netprofm
20870 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20871 wine_fn_config_makefile dlls/netutils enable_netutils
20872 wine_fn_config_makefile dlls/newdev enable_newdev
20873 wine_fn_config_makefile dlls/ninput enable_ninput
20874 wine_fn_config_makefile dlls/ninput/tests enable_tests
20875 wine_fn_config_makefile dlls/normaliz enable_normaliz
20876 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20877 wine_fn_config_makefile dlls/npptools enable_npptools
20878 wine_fn_config_makefile dlls/ntdll enable_ntdll
20879 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20880 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20881 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20882 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20883 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20884 wine_fn_config_makefile dlls/ntprint enable_ntprint
20885 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20886 wine_fn_config_makefile dlls/objsel enable_objsel
20887 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20888 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20889 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20890 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20891 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20892 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20893 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20894 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20895 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20896 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20897 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20898 wine_fn_config_makefile dlls/ole32 enable_ole32
20899 wine_fn_config_makefile dlls/ole32/tests enable_tests
20900 wine_fn_config_makefile dlls/oleacc enable_oleacc
20901 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20902 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20903 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20904 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20905 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20906 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20907 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20908 wine_fn_config_makefile dlls/oledlg enable_oledlg
20909 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20910 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20911 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20912 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20913 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20914 wine_fn_config_makefile dlls/opcservices enable_opcservices
20915 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20916 wine_fn_config_makefile dlls/openal32 enable_openal32
20917 wine_fn_config_makefile dlls/opencl enable_opencl
20918 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20919 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20920 wine_fn_config_makefile dlls/packager enable_packager
20921 wine_fn_config_makefile dlls/packager/tests enable_tests
20922 wine_fn_config_makefile dlls/pdh enable_pdh
20923 wine_fn_config_makefile dlls/pdh/tests enable_tests
20924 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20925 wine_fn_config_makefile dlls/pidgen enable_pidgen
20926 wine_fn_config_makefile dlls/powrprof enable_powrprof
20927 wine_fn_config_makefile dlls/printui enable_printui
20928 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20929 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20930 wine_fn_config_makefile dlls/propsys enable_propsys
20931 wine_fn_config_makefile dlls/propsys/tests enable_tests
20932 wine_fn_config_makefile dlls/psapi enable_psapi
20933 wine_fn_config_makefile dlls/psapi/tests enable_tests
20934 wine_fn_config_makefile dlls/pstorec enable_pstorec
20935 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20936 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20937 wine_fn_config_makefile dlls/qasf enable_qasf
20938 wine_fn_config_makefile dlls/qasf/tests enable_tests
20939 wine_fn_config_makefile dlls/qcap enable_qcap
20940 wine_fn_config_makefile dlls/qcap/tests enable_tests
20941 wine_fn_config_makefile dlls/qdvd enable_qdvd
20942 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20943 wine_fn_config_makefile dlls/qedit enable_qedit
20944 wine_fn_config_makefile dlls/qedit/tests enable_tests
20945 wine_fn_config_makefile dlls/qmgr enable_qmgr
20946 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20947 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20948 wine_fn_config_makefile dlls/quartz enable_quartz
20949 wine_fn_config_makefile dlls/quartz/tests enable_tests
20950 wine_fn_config_makefile dlls/query enable_query
20951 wine_fn_config_makefile dlls/qwave enable_qwave
20952 wine_fn_config_makefile dlls/qwave/tests enable_tests
20953 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20954 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20955 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20956 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20957 wine_fn_config_makefile dlls/regapi enable_regapi
20958 wine_fn_config_makefile dlls/resutils enable_resutils
20959 wine_fn_config_makefile dlls/riched20 enable_riched20
20960 wine_fn_config_makefile dlls/riched20/tests enable_tests
20961 wine_fn_config_makefile dlls/riched32 enable_riched32
20962 wine_fn_config_makefile dlls/riched32/tests enable_tests
20963 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20964 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20965 wine_fn_config_makefile dlls/rsabase enable_rsabase
20966 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20967 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20968 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20969 wine_fn_config_makefile dlls/rtutils enable_rtutils
20970 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20971 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20972 wine_fn_config_makefile dlls/samlib enable_samlib
20973 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20974 wine_fn_config_makefile dlls/sapi enable_sapi
20975 wine_fn_config_makefile dlls/sapi/tests enable_tests
20976 wine_fn_config_makefile dlls/sas enable_sas
20977 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20978 wine_fn_config_makefile dlls/sccbase enable_sccbase
20979 wine_fn_config_makefile dlls/schannel enable_schannel
20980 wine_fn_config_makefile dlls/schannel/tests enable_tests
20981 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20982 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20983 wine_fn_config_makefile dlls/scrobj enable_scrobj
20984 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20985 wine_fn_config_makefile dlls/scrrun enable_scrrun
20986 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20987 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20988 wine_fn_config_makefile dlls/sechost enable_sechost
20989 wine_fn_config_makefile dlls/secur32 enable_secur32
20990 wine_fn_config_makefile dlls/secur32/tests enable_tests
20991 wine_fn_config_makefile dlls/security enable_security
20992 wine_fn_config_makefile dlls/sensapi enable_sensapi
20993 wine_fn_config_makefile dlls/serialui enable_serialui
20994 wine_fn_config_makefile dlls/serialui/tests enable_tests
20995 wine_fn_config_makefile dlls/setupapi enable_setupapi
20996 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20997 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20998 wine_fn_config_makefile dlls/sfc enable_sfc
20999 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21000 wine_fn_config_makefile dlls/shcore enable_shcore
21001 wine_fn_config_makefile dlls/shcore/tests enable_tests
21002 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21003 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21004 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21005 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21006 wine_fn_config_makefile dlls/shell32 enable_shell32
21007 wine_fn_config_makefile dlls/shell32/tests enable_tests
21008 wine_fn_config_makefile dlls/shfolder enable_shfolder
21009 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21010 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21011 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21012 wine_fn_config_makefile dlls/slc enable_slc
21013 wine_fn_config_makefile dlls/slc/tests enable_tests
21014 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21015 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21016 wine_fn_config_makefile dlls/softpub enable_softpub
21017 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21018 wine_fn_config_makefile dlls/spoolss enable_spoolss
21019 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21020 wine_fn_config_makefile dlls/srclient enable_srclient
21021 wine_fn_config_makefile dlls/srvcli enable_srvcli
21022 wine_fn_config_makefile dlls/sspicli enable_sspicli
21023 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21024 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21025 wine_fn_config_makefile dlls/sti enable_sti
21026 wine_fn_config_makefile dlls/sti/tests enable_tests
21027 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21028 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21029 wine_fn_config_makefile dlls/strmbase enable_strmbase
21030 wine_fn_config_makefile dlls/strmdll enable_strmdll
21031 wine_fn_config_makefile dlls/strmiids enable_strmiids
21032 wine_fn_config_makefile dlls/svrapi enable_svrapi
21033 wine_fn_config_makefile dlls/sxs enable_sxs
21034 wine_fn_config_makefile dlls/sxs/tests enable_tests
21035 wine_fn_config_makefile dlls/system.drv16 enable_win16
21036 wine_fn_config_makefile dlls/t2embed enable_t2embed
21037 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21038 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21039 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21040 wine_fn_config_makefile dlls/taskschd enable_taskschd
21041 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21042 wine_fn_config_makefile dlls/tdh enable_tdh
21043 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21044 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21045 wine_fn_config_makefile dlls/traffic enable_traffic
21046 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21047 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21048 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21049 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21050 wine_fn_config_makefile dlls/tzres enable_tzres
21051 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21052 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21053 wine_fn_config_makefile dlls/uianimation enable_uianimation
21054 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21055 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21056 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21057 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21058 wine_fn_config_makefile dlls/unicows enable_unicows
21059 wine_fn_config_makefile dlls/updspapi enable_updspapi
21060 wine_fn_config_makefile dlls/url enable_url
21061 wine_fn_config_makefile dlls/urlmon enable_urlmon
21062 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21063 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21064 wine_fn_config_makefile dlls/user.exe16 enable_win16
21065 wine_fn_config_makefile dlls/user32 enable_user32
21066 wine_fn_config_makefile dlls/user32/tests enable_tests
21067 wine_fn_config_makefile dlls/userenv enable_userenv
21068 wine_fn_config_makefile dlls/userenv/tests enable_tests
21069 wine_fn_config_makefile dlls/usp10 enable_usp10
21070 wine_fn_config_makefile dlls/usp10/tests enable_tests
21071 wine_fn_config_makefile dlls/utildll enable_utildll
21072 wine_fn_config_makefile dlls/uuid enable_uuid
21073 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21074 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21075 wine_fn_config_makefile dlls/vbscript enable_vbscript
21076 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21077 wine_fn_config_makefile dlls/vcomp enable_vcomp
21078 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21079 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21080 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21081 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21082 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21083 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21084 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21085 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21086 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21087 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21088 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21089 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21090 wine_fn_config_makefile dlls/version enable_version
21091 wine_fn_config_makefile dlls/version/tests enable_tests
21092 wine_fn_config_makefile dlls/vga enable_vga
21093 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21094 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21095 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21096 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21097 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21098 wine_fn_config_makefile dlls/vssapi enable_vssapi
21099 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21100 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21101 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21102 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21103 wine_fn_config_makefile dlls/w32skrnl enable_win16
21104 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21105 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21106 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21107 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21108 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21109 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21110 wine_fn_config_makefile dlls/wdscore enable_wdscore
21111 wine_fn_config_makefile dlls/webservices enable_webservices
21112 wine_fn_config_makefile dlls/webservices/tests enable_tests
21113 wine_fn_config_makefile dlls/wer enable_wer
21114 wine_fn_config_makefile dlls/wer/tests enable_tests
21115 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21116 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21117 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21118 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21119 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21120 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21121 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21122 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21123 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21124 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21125 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21126 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21127 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21128 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21129 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21130 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21131 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21132 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21133 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21134 wine_fn_config_makefile dlls/wined3d enable_wined3d
21135 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21136 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21137 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21138 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21139 wine_fn_config_makefile dlls/winemapi enable_winemapi
21140 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21141 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21142 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21143 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21144 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21145 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21146 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21147 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21148 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21149 wine_fn_config_makefile dlls/wing32 enable_wing32
21150 wine_fn_config_makefile dlls/winhttp enable_winhttp
21151 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21152 wine_fn_config_makefile dlls/wininet enable_wininet
21153 wine_fn_config_makefile dlls/wininet/tests enable_tests
21154 wine_fn_config_makefile dlls/winmm enable_winmm
21155 wine_fn_config_makefile dlls/winmm/tests enable_tests
21156 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21157 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21158 wine_fn_config_makefile dlls/winscard enable_winscard
21159 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21160 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21161 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21162 wine_fn_config_makefile dlls/winsta enable_winsta
21163 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21164 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21165 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21166 wine_fn_config_makefile dlls/wintrust enable_wintrust
21167 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21168 wine_fn_config_makefile dlls/winusb enable_winusb
21169 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21170 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21171 wine_fn_config_makefile dlls/wlanui enable_wlanui
21172 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21173 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21174 wine_fn_config_makefile dlls/wmasf enable_wmasf
21175 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21176 wine_fn_config_makefile dlls/wmi enable_wmi
21177 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21178 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21179 wine_fn_config_makefile dlls/wmp enable_wmp
21180 wine_fn_config_makefile dlls/wmp/tests enable_tests
21181 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21182 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21183 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21184 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21185 wine_fn_config_makefile dlls/wow32 enable_win16
21186 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21187 wine_fn_config_makefile dlls/wpc enable_wpc
21188 wine_fn_config_makefile dlls/wpc/tests enable_tests
21189 wine_fn_config_makefile dlls/wpcap enable_wpcap
21190 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21191 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21192 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21193 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21194 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21195 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21196 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21197 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21198 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21199 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21200 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21201 wine_fn_config_makefile dlls/wuapi enable_wuapi
21202 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21203 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21204 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21205 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21206 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21207 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21208 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21209 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21210 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21211 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21212 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21213 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21214 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21215 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21216 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21217 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21218 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21219 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21220 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21221 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21222 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21223 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21224 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21225 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21226 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21227 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21228 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21229 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21230 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21231 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21232 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21233 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21234 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21235 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21236 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21237 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21238 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21239 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21240 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21241 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21242 wine_fn_config_makefile dlls/xmllite enable_xmllite
21243 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21244 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21245 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21246 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21247 wine_fn_config_makefile fonts enable_fonts
21248 wine_fn_config_makefile include enable_include
21249 wine_fn_config_makefile libs/port enable_port
21250 wine_fn_config_makefile libs/wine enable_wine
21251 wine_fn_config_makefile libs/wpp enable_wpp
21252 wine_fn_config_makefile loader enable_loader
21253 wine_fn_config_makefile nls enable_nls
21254 wine_fn_config_makefile po enable_po
21255 wine_fn_config_makefile programs/arp enable_arp
21256 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21257 wine_fn_config_makefile programs/attrib enable_attrib
21258 wine_fn_config_makefile programs/cabarc enable_cabarc
21259 wine_fn_config_makefile programs/cacls enable_cacls
21260 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21261 wine_fn_config_makefile programs/clock enable_clock
21262 wine_fn_config_makefile programs/cmd enable_cmd
21263 wine_fn_config_makefile programs/cmd/tests enable_tests
21264 wine_fn_config_makefile programs/conhost enable_conhost
21265 wine_fn_config_makefile programs/conhost/tests enable_tests
21266 wine_fn_config_makefile programs/control enable_control
21267 wine_fn_config_makefile programs/cscript enable_cscript
21268 wine_fn_config_makefile programs/dism enable_dism
21269 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21270 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21271 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21272 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21273 wine_fn_config_makefile programs/eject enable_eject
21274 wine_fn_config_makefile programs/expand enable_expand
21275 wine_fn_config_makefile programs/explorer enable_explorer
21276 wine_fn_config_makefile programs/extrac32 enable_extrac32
21277 wine_fn_config_makefile programs/fc enable_fc
21278 wine_fn_config_makefile programs/find enable_find
21279 wine_fn_config_makefile programs/find/tests enable_tests
21280 wine_fn_config_makefile programs/findstr enable_findstr
21281 wine_fn_config_makefile programs/fsutil enable_fsutil
21282 wine_fn_config_makefile programs/fsutil/tests enable_tests
21283 wine_fn_config_makefile programs/hh enable_hh
21284 wine_fn_config_makefile programs/hostname enable_hostname
21285 wine_fn_config_makefile programs/icacls enable_icacls
21286 wine_fn_config_makefile programs/icinfo enable_icinfo
21287 wine_fn_config_makefile programs/iexplore enable_iexplore
21288 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21289 wine_fn_config_makefile programs/lodctr enable_lodctr
21290 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21291 wine_fn_config_makefile programs/mshta enable_mshta
21292 wine_fn_config_makefile programs/msidb enable_msidb
21293 wine_fn_config_makefile programs/msiexec enable_msiexec
21294 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21295 wine_fn_config_makefile programs/net enable_net
21296 wine_fn_config_makefile programs/netsh enable_netsh
21297 wine_fn_config_makefile programs/netstat enable_netstat
21298 wine_fn_config_makefile programs/ngen enable_ngen
21299 wine_fn_config_makefile programs/notepad enable_notepad
21300 wine_fn_config_makefile programs/oleview enable_oleview
21301 wine_fn_config_makefile programs/ping enable_ping
21302 wine_fn_config_makefile programs/plugplay enable_plugplay
21303 wine_fn_config_makefile programs/powershell enable_powershell
21304 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21305 wine_fn_config_makefile programs/progman enable_progman
21306 wine_fn_config_makefile programs/reg enable_reg
21307 wine_fn_config_makefile programs/reg/tests enable_tests
21308 wine_fn_config_makefile programs/regasm enable_regasm
21309 wine_fn_config_makefile programs/regedit enable_regedit
21310 wine_fn_config_makefile programs/regedit/tests enable_tests
21311 wine_fn_config_makefile programs/regini enable_regini
21312 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21313 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21314 wine_fn_config_makefile programs/rpcss enable_rpcss
21315 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21316 wine_fn_config_makefile programs/rundll32 enable_rundll32
21317 wine_fn_config_makefile programs/sc enable_sc
21318 wine_fn_config_makefile programs/schtasks enable_schtasks
21319 wine_fn_config_makefile programs/schtasks/tests enable_tests
21320 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21321 wine_fn_config_makefile programs/secedit enable_secedit
21322 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21323 wine_fn_config_makefile programs/services enable_services
21324 wine_fn_config_makefile programs/services/tests enable_tests
21325 wine_fn_config_makefile programs/shutdown enable_shutdown
21326 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21327 wine_fn_config_makefile programs/start enable_start
21328 wine_fn_config_makefile programs/subst enable_subst
21329 wine_fn_config_makefile programs/svchost enable_svchost
21330 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21331 wine_fn_config_makefile programs/taskkill enable_taskkill
21332 wine_fn_config_makefile programs/tasklist enable_tasklist
21333 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21334 wine_fn_config_makefile programs/termsv enable_termsv
21335 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21336 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21337 wine_fn_config_makefile programs/view enable_view
21338 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21339 wine_fn_config_makefile programs/where enable_where
21340 wine_fn_config_makefile programs/whoami enable_whoami
21341 wine_fn_config_makefile programs/wineboot enable_wineboot
21342 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21343 wine_fn_config_makefile programs/winecfg enable_winecfg
21344 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21345 wine_fn_config_makefile programs/winedbg enable_winedbg
21346 wine_fn_config_makefile programs/winedevice enable_winedevice
21347 wine_fn_config_makefile programs/winefile enable_winefile
21348 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21349 wine_fn_config_makefile programs/winemine enable_winemine
21350 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21351 wine_fn_config_makefile programs/winepath enable_winepath
21352 wine_fn_config_makefile programs/winetest enable_winetest
21353 wine_fn_config_makefile programs/winevdm enable_win16
21354 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21355 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21356 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21357 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21358 wine_fn_config_makefile programs/winver enable_winver
21359 wine_fn_config_makefile programs/wmic enable_wmic
21360 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21361 wine_fn_config_makefile programs/wordpad enable_wordpad
21362 wine_fn_config_makefile programs/write enable_write
21363 wine_fn_config_makefile programs/wscript enable_wscript
21364 wine_fn_config_makefile programs/wscript/tests enable_tests
21365 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21366 wine_fn_config_makefile programs/wusa enable_wusa
21367 wine_fn_config_makefile programs/xcopy enable_xcopy
21368 wine_fn_config_makefile programs/xcopy/tests enable_tests
21369 wine_fn_config_makefile server enable_server
21370 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21371 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21372 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21373 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21374 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21375 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21376 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21377 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21378 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21381 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21382 wine_fn_append_file CONFIGURE_TARGETS "tags"
21383 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21384 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21385 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21386 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21387 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21388 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21390 if test "x$enable_tools" != xno
21391 then
21392 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21393 ac_config_commands="$ac_config_commands tools/makedep"
21397 ac_config_commands="$ac_config_commands Makefile"
21400 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21404 if test "x$enable_maintainer_mode" = xyes
21405 then
21406 wine_fn_append_rule "configure: configure.ac aclocal.m4
21407 autoconf --warnings=all
21408 include/config.h.in: include/stamp-h.in
21409 include/stamp-h.in: configure.ac aclocal.m4
21410 autoheader --warnings=all
21411 @echo timestamp > \$@"
21414 if test "x$enable_tools" != xno
21415 then
21416 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21417 @./config.status tools/makedep
21418 Makefile: tools/makedep$ac_exeext"
21419 else
21420 wine_fn_append_rule "\$(MAKEDEP):
21421 @echo \"You need to run make in $TOOLSDIR first\" && false"
21424 if test -n "$with_wine64"
21425 then
21426 case "$with_wine64" in
21427 /*) reldir="" ;;
21428 *) reldir="../" ;;
21429 esac
21430 rm -f fonts server 2>/dev/null
21431 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21432 loader/wine64 loader/wine64-preloader:
21433 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21434 $with_wine64/loader/wine:
21435 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21436 $with_wine64/loader/wine-preloader:
21437 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21438 clean::
21439 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21440 else
21441 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21442 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21443 fonts \
21444 loader/wine.inf \
21445 nls \
21446 programs/msidb/msidb \
21447 programs/msiexec/msiexec \
21448 programs/notepad/notepad \
21449 programs/regedit/regedit \
21450 programs/regsvr32/regsvr32 \
21451 programs/wineboot/wineboot \
21452 programs/winecfg/winecfg \
21453 programs/wineconsole/wineconsole \
21454 programs/winedbg/winedbg \
21455 programs/winefile/winefile \
21456 programs/winemine/winemine \
21457 programs/winepath/winepath \
21458 server/wineserver"
21460 case $host_os in
21461 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21462 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21463 esac
21466 $as_echo " done" >&6
21467 cat >confcache <<\_ACEOF
21468 # This file is a shell script that caches the results of configure
21469 # tests run on this system so they can be shared between configure
21470 # scripts and configure runs, see configure's option --config-cache.
21471 # It is not useful on other systems. If it contains results you don't
21472 # want to keep, you may remove or edit it.
21474 # config.status only pays attention to the cache file if you give it
21475 # the --recheck option to rerun configure.
21477 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21478 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21479 # following values.
21481 _ACEOF
21483 # The following way of writing the cache mishandles newlines in values,
21484 # but we know of no workaround that is simple, portable, and efficient.
21485 # So, we kill variables containing newlines.
21486 # Ultrix sh set writes to stderr and can't be redirected directly,
21487 # and sets the high bit in the cache file unless we assign to the vars.
21489 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21490 eval ac_val=\$$ac_var
21491 case $ac_val in #(
21492 *${as_nl}*)
21493 case $ac_var in #(
21494 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21495 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21496 esac
21497 case $ac_var in #(
21498 _ | IFS | as_nl) ;; #(
21499 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21500 *) { eval $ac_var=; unset $ac_var;} ;;
21501 esac ;;
21502 esac
21503 done
21505 (set) 2>&1 |
21506 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21507 *${as_nl}ac_space=\ *)
21508 # `set' does not quote correctly, so add quotes: double-quote
21509 # substitution turns \\\\ into \\, and sed turns \\ into \.
21510 sed -n \
21511 "s/'/'\\\\''/g;
21512 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21513 ;; #(
21515 # `set' quotes correctly as required by POSIX, so do not add quotes.
21516 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21518 esac |
21519 sort
21521 sed '
21522 /^ac_cv_env_/b end
21523 t clear
21524 :clear
21525 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21526 t end
21527 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21528 :end' >>confcache
21529 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21530 if test -w "$cache_file"; then
21531 if test "x$cache_file" != "x/dev/null"; then
21532 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21533 $as_echo "$as_me: updating cache $cache_file" >&6;}
21534 if test ! -f "$cache_file" || test -h "$cache_file"; then
21535 cat confcache >"$cache_file"
21536 else
21537 case $cache_file in #(
21538 */* | ?:*)
21539 mv -f confcache "$cache_file"$$ &&
21540 mv -f "$cache_file"$$ "$cache_file" ;; #(
21542 mv -f confcache "$cache_file" ;;
21543 esac
21546 else
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21548 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21551 rm -f confcache
21553 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21554 # Let make expand exec_prefix.
21555 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21557 DEFS=-DHAVE_CONFIG_H
21559 ac_libobjs=
21560 ac_ltlibobjs=
21562 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21563 # 1. Remove the extension, and $U if already installed.
21564 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21565 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21566 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21567 # will be set to the directory where LIBOBJS objects are built.
21568 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21569 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21570 done
21571 LIBOBJS=$ac_libobjs
21573 LTLIBOBJS=$ac_ltlibobjs
21577 : "${CONFIG_STATUS=./config.status}"
21578 ac_write_fail=0
21579 ac_clean_files_save=$ac_clean_files
21580 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21581 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21582 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21583 as_write_fail=0
21584 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21585 #! $SHELL
21586 # Generated by $as_me.
21587 # Run this file to recreate the current configuration.
21588 # Compiler output produced by configure, useful for debugging
21589 # configure, is in config.log if it exists.
21591 debug=false
21592 ac_cs_recheck=false
21593 ac_cs_silent=false
21595 SHELL=\${CONFIG_SHELL-$SHELL}
21596 export SHELL
21597 _ASEOF
21598 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21599 ## -------------------- ##
21600 ## M4sh Initialization. ##
21601 ## -------------------- ##
21603 # Be more Bourne compatible
21604 DUALCASE=1; export DUALCASE # for MKS sh
21605 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21606 emulate sh
21607 NULLCMD=:
21608 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21609 # is contrary to our usage. Disable this feature.
21610 alias -g '${1+"$@"}'='"$@"'
21611 setopt NO_GLOB_SUBST
21612 else
21613 case `(set -o) 2>/dev/null` in #(
21614 *posix*) :
21615 set -o posix ;; #(
21616 *) :
21618 esac
21622 as_nl='
21624 export as_nl
21625 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21626 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21627 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21628 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21629 # Prefer a ksh shell builtin over an external printf program on Solaris,
21630 # but without wasting forks for bash or zsh.
21631 if test -z "$BASH_VERSION$ZSH_VERSION" \
21632 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21633 as_echo='print -r --'
21634 as_echo_n='print -rn --'
21635 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21636 as_echo='printf %s\n'
21637 as_echo_n='printf %s'
21638 else
21639 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21640 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21641 as_echo_n='/usr/ucb/echo -n'
21642 else
21643 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21644 as_echo_n_body='eval
21645 arg=$1;
21646 case $arg in #(
21647 *"$as_nl"*)
21648 expr "X$arg" : "X\\(.*\\)$as_nl";
21649 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21650 esac;
21651 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21653 export as_echo_n_body
21654 as_echo_n='sh -c $as_echo_n_body as_echo'
21656 export as_echo_body
21657 as_echo='sh -c $as_echo_body as_echo'
21660 # The user is always right.
21661 if test "${PATH_SEPARATOR+set}" != set; then
21662 PATH_SEPARATOR=:
21663 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21664 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21665 PATH_SEPARATOR=';'
21670 # IFS
21671 # We need space, tab and new line, in precisely that order. Quoting is
21672 # there to prevent editors from complaining about space-tab.
21673 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21674 # splitting by setting IFS to empty value.)
21675 IFS=" "" $as_nl"
21677 # Find who we are. Look in the path if we contain no directory separator.
21678 as_myself=
21679 case $0 in #((
21680 *[\\/]* ) as_myself=$0 ;;
21681 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21682 for as_dir in $PATH
21684 IFS=$as_save_IFS
21685 test -z "$as_dir" && as_dir=.
21686 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21687 done
21688 IFS=$as_save_IFS
21691 esac
21692 # We did not find ourselves, most probably we were run as `sh COMMAND'
21693 # in which case we are not to be found in the path.
21694 if test "x$as_myself" = x; then
21695 as_myself=$0
21697 if test ! -f "$as_myself"; then
21698 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21699 exit 1
21702 # Unset variables that we do not need and which cause bugs (e.g. in
21703 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21704 # suppresses any "Segmentation fault" message there. '((' could
21705 # trigger a bug in pdksh 5.2.14.
21706 for as_var in BASH_ENV ENV MAIL MAILPATH
21707 do eval test x\${$as_var+set} = xset \
21708 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21709 done
21710 PS1='$ '
21711 PS2='> '
21712 PS4='+ '
21714 # NLS nuisances.
21715 LC_ALL=C
21716 export LC_ALL
21717 LANGUAGE=C
21718 export LANGUAGE
21720 # CDPATH.
21721 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21724 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21725 # ----------------------------------------
21726 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21727 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21728 # script with STATUS, using 1 if that was 0.
21729 as_fn_error ()
21731 as_status=$1; test $as_status -eq 0 && as_status=1
21732 if test "$4"; then
21733 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21734 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21736 $as_echo "$as_me: error: $2" >&2
21737 as_fn_exit $as_status
21738 } # as_fn_error
21741 # as_fn_set_status STATUS
21742 # -----------------------
21743 # Set $? to STATUS, without forking.
21744 as_fn_set_status ()
21746 return $1
21747 } # as_fn_set_status
21749 # as_fn_exit STATUS
21750 # -----------------
21751 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21752 as_fn_exit ()
21754 set +e
21755 as_fn_set_status $1
21756 exit $1
21757 } # as_fn_exit
21759 # as_fn_unset VAR
21760 # ---------------
21761 # Portably unset VAR.
21762 as_fn_unset ()
21764 { eval $1=; unset $1;}
21766 as_unset=as_fn_unset
21767 # as_fn_append VAR VALUE
21768 # ----------------------
21769 # Append the text in VALUE to the end of the definition contained in VAR. Take
21770 # advantage of any shell optimizations that allow amortized linear growth over
21771 # repeated appends, instead of the typical quadratic growth present in naive
21772 # implementations.
21773 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21774 eval 'as_fn_append ()
21776 eval $1+=\$2
21778 else
21779 as_fn_append ()
21781 eval $1=\$$1\$2
21783 fi # as_fn_append
21785 # as_fn_arith ARG...
21786 # ------------------
21787 # Perform arithmetic evaluation on the ARGs, and store the result in the
21788 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21789 # must be portable across $(()) and expr.
21790 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21791 eval 'as_fn_arith ()
21793 as_val=$(( $* ))
21795 else
21796 as_fn_arith ()
21798 as_val=`expr "$@" || test $? -eq 1`
21800 fi # as_fn_arith
21803 if expr a : '\(a\)' >/dev/null 2>&1 &&
21804 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21805 as_expr=expr
21806 else
21807 as_expr=false
21810 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21811 as_basename=basename
21812 else
21813 as_basename=false
21816 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21817 as_dirname=dirname
21818 else
21819 as_dirname=false
21822 as_me=`$as_basename -- "$0" ||
21823 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21824 X"$0" : 'X\(//\)$' \| \
21825 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21826 $as_echo X/"$0" |
21827 sed '/^.*\/\([^/][^/]*\)\/*$/{
21828 s//\1/
21831 /^X\/\(\/\/\)$/{
21832 s//\1/
21835 /^X\/\(\/\).*/{
21836 s//\1/
21839 s/.*/./; q'`
21841 # Avoid depending upon Character Ranges.
21842 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21843 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21844 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21845 as_cr_digits='0123456789'
21846 as_cr_alnum=$as_cr_Letters$as_cr_digits
21848 ECHO_C= ECHO_N= ECHO_T=
21849 case `echo -n x` in #(((((
21850 -n*)
21851 case `echo 'xy\c'` in
21852 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21853 xy) ECHO_C='\c';;
21854 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21855 ECHO_T=' ';;
21856 esac;;
21858 ECHO_N='-n';;
21859 esac
21861 rm -f conf$$ conf$$.exe conf$$.file
21862 if test -d conf$$.dir; then
21863 rm -f conf$$.dir/conf$$.file
21864 else
21865 rm -f conf$$.dir
21866 mkdir conf$$.dir 2>/dev/null
21868 if (echo >conf$$.file) 2>/dev/null; then
21869 if ln -s conf$$.file conf$$ 2>/dev/null; then
21870 as_ln_s='ln -s'
21871 # ... but there are two gotchas:
21872 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21873 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21874 # In both cases, we have to default to `cp -pR'.
21875 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21876 as_ln_s='cp -pR'
21877 elif ln conf$$.file conf$$ 2>/dev/null; then
21878 as_ln_s=ln
21879 else
21880 as_ln_s='cp -pR'
21882 else
21883 as_ln_s='cp -pR'
21885 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21886 rmdir conf$$.dir 2>/dev/null
21889 # as_fn_mkdir_p
21890 # -------------
21891 # Create "$as_dir" as a directory, including parents if necessary.
21892 as_fn_mkdir_p ()
21895 case $as_dir in #(
21896 -*) as_dir=./$as_dir;;
21897 esac
21898 test -d "$as_dir" || eval $as_mkdir_p || {
21899 as_dirs=
21900 while :; do
21901 case $as_dir in #(
21902 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21903 *) as_qdir=$as_dir;;
21904 esac
21905 as_dirs="'$as_qdir' $as_dirs"
21906 as_dir=`$as_dirname -- "$as_dir" ||
21907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21908 X"$as_dir" : 'X\(//\)[^/]' \| \
21909 X"$as_dir" : 'X\(//\)$' \| \
21910 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21911 $as_echo X"$as_dir" |
21912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21913 s//\1/
21916 /^X\(\/\/\)[^/].*/{
21917 s//\1/
21920 /^X\(\/\/\)$/{
21921 s//\1/
21924 /^X\(\/\).*/{
21925 s//\1/
21928 s/.*/./; q'`
21929 test -d "$as_dir" && break
21930 done
21931 test -z "$as_dirs" || eval "mkdir $as_dirs"
21932 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21935 } # as_fn_mkdir_p
21936 if mkdir -p . 2>/dev/null; then
21937 as_mkdir_p='mkdir -p "$as_dir"'
21938 else
21939 test -d ./-p && rmdir ./-p
21940 as_mkdir_p=false
21944 # as_fn_executable_p FILE
21945 # -----------------------
21946 # Test if FILE is an executable regular file.
21947 as_fn_executable_p ()
21949 test -f "$1" && test -x "$1"
21950 } # as_fn_executable_p
21951 as_test_x='test -x'
21952 as_executable_p=as_fn_executable_p
21954 # Sed expression to map a string onto a valid CPP name.
21955 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21957 # Sed expression to map a string onto a valid variable name.
21958 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21961 exec 6>&1
21962 ## ----------------------------------- ##
21963 ## Main body of $CONFIG_STATUS script. ##
21964 ## ----------------------------------- ##
21965 _ASEOF
21966 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21969 # Save the log message, to keep $0 and so on meaningful, and to
21970 # report actual input values of CONFIG_FILES etc. instead of their
21971 # values after options handling.
21972 ac_log="
21973 This file was extended by Wine $as_me 6.3, which was
21974 generated by GNU Autoconf 2.69. Invocation command line was
21976 CONFIG_FILES = $CONFIG_FILES
21977 CONFIG_HEADERS = $CONFIG_HEADERS
21978 CONFIG_LINKS = $CONFIG_LINKS
21979 CONFIG_COMMANDS = $CONFIG_COMMANDS
21980 $ $0 $@
21982 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21985 _ACEOF
21987 case $ac_config_files in *"
21988 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21989 esac
21991 case $ac_config_headers in *"
21992 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21993 esac
21996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21997 # Files that config.status was made for.
21998 config_files="$ac_config_files"
21999 config_headers="$ac_config_headers"
22000 config_links="$ac_config_links"
22001 config_commands="$ac_config_commands"
22003 _ACEOF
22005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22006 ac_cs_usage="\
22007 \`$as_me' instantiates files and other configuration actions
22008 from templates according to the current configuration. Unless the files
22009 and actions are specified as TAGs, all are instantiated by default.
22011 Usage: $0 [OPTION]... [TAG]...
22013 -h, --help print this help, then exit
22014 -V, --version print version number and configuration settings, then exit
22015 --config print configuration, then exit
22016 -q, --quiet, --silent
22017 do not print progress messages
22018 -d, --debug don't remove temporary files
22019 --recheck update $as_me by reconfiguring in the same conditions
22020 --file=FILE[:TEMPLATE]
22021 instantiate the configuration file FILE
22022 --header=FILE[:TEMPLATE]
22023 instantiate the configuration header FILE
22025 Configuration files:
22026 $config_files
22028 Configuration headers:
22029 $config_headers
22031 Configuration links:
22032 $config_links
22034 Configuration commands:
22035 $config_commands
22037 Report bugs to <wine-devel@winehq.org>.
22038 Wine home page: <https://www.winehq.org>."
22040 _ACEOF
22041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22042 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22043 ac_cs_version="\\
22044 Wine config.status 6.3
22045 configured by $0, generated by GNU Autoconf 2.69,
22046 with options \\"\$ac_cs_config\\"
22048 Copyright (C) 2012 Free Software Foundation, Inc.
22049 This config.status script is free software; the Free Software Foundation
22050 gives unlimited permission to copy, distribute and modify it."
22052 ac_pwd='$ac_pwd'
22053 srcdir='$srcdir'
22054 test -n "\$AWK" || AWK=awk
22055 _ACEOF
22057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22058 # The default lists apply if the user does not specify any file.
22059 ac_need_defaults=:
22060 while test $# != 0
22062 case $1 in
22063 --*=?*)
22064 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22065 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22066 ac_shift=:
22068 --*=)
22069 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22070 ac_optarg=
22071 ac_shift=:
22074 ac_option=$1
22075 ac_optarg=$2
22076 ac_shift=shift
22078 esac
22080 case $ac_option in
22081 # Handling of the options.
22082 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22083 ac_cs_recheck=: ;;
22084 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22085 $as_echo "$ac_cs_version"; exit ;;
22086 --config | --confi | --conf | --con | --co | --c )
22087 $as_echo "$ac_cs_config"; exit ;;
22088 --debug | --debu | --deb | --de | --d | -d )
22089 debug=: ;;
22090 --file | --fil | --fi | --f )
22091 $ac_shift
22092 case $ac_optarg in
22093 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22094 '') as_fn_error $? "missing file argument" ;;
22095 esac
22096 as_fn_append CONFIG_FILES " '$ac_optarg'"
22097 ac_need_defaults=false;;
22098 --header | --heade | --head | --hea )
22099 $ac_shift
22100 case $ac_optarg in
22101 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22102 esac
22103 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22104 ac_need_defaults=false;;
22105 --he | --h)
22106 # Conflict between --help and --header
22107 as_fn_error $? "ambiguous option: \`$1'
22108 Try \`$0 --help' for more information.";;
22109 --help | --hel | -h )
22110 $as_echo "$ac_cs_usage"; exit ;;
22111 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22112 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22113 ac_cs_silent=: ;;
22115 # This is an error.
22116 -*) as_fn_error $? "unrecognized option: \`$1'
22117 Try \`$0 --help' for more information." ;;
22119 *) as_fn_append ac_config_targets " $1"
22120 ac_need_defaults=false ;;
22122 esac
22123 shift
22124 done
22126 ac_configure_extra_args=
22128 if $ac_cs_silent; then
22129 exec 6>/dev/null
22130 ac_configure_extra_args="$ac_configure_extra_args --silent"
22133 _ACEOF
22134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22135 if \$ac_cs_recheck; then
22136 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22137 shift
22138 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22139 CONFIG_SHELL='$SHELL'
22140 export CONFIG_SHELL
22141 exec "\$@"
22144 _ACEOF
22145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22146 exec 5>>config.log
22148 echo
22149 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22150 ## Running $as_me. ##
22151 _ASBOX
22152 $as_echo "$ac_log"
22153 } >&5
22155 _ACEOF
22156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22158 # INIT-COMMANDS
22160 wine_fn_output_makedep ()
22162 as_dir=tools; as_fn_mkdir_p
22163 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22165 wine_fn_output_makefile ()
22167 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22168 `cat $wine_rules_file`
22169 _WINE_EOF
22170 as_fn_error $? "could not create Makefile" "$LINENO" 5
22173 _ACEOF
22175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22177 # Handling of arguments.
22178 for ac_config_target in $ac_config_targets
22180 case $ac_config_target in
22181 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22182 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22183 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22184 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22185 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22186 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22187 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22189 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22190 esac
22191 done
22194 # If the user did not use the arguments to specify the items to instantiate,
22195 # then the envvar interface is used. Set only those that are not.
22196 # We use the long form for the default assignment because of an extremely
22197 # bizarre bug on SunOS 4.1.3.
22198 if $ac_need_defaults; then
22199 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22200 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22201 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22202 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22205 # Have a temporary directory for convenience. Make it in the build tree
22206 # simply because there is no reason against having it here, and in addition,
22207 # creating and moving files from /tmp can sometimes cause problems.
22208 # Hook for its removal unless debugging.
22209 # Note that there is a small window in which the directory will not be cleaned:
22210 # after its creation but before its name has been assigned to `$tmp'.
22211 $debug ||
22213 tmp= ac_tmp=
22214 trap 'exit_status=$?
22215 : "${ac_tmp:=$tmp}"
22216 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22218 trap 'as_fn_exit 1' 1 2 13 15
22220 # Create a (secure) tmp directory for tmp files.
22223 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22224 test -d "$tmp"
22225 } ||
22227 tmp=./conf$$-$RANDOM
22228 (umask 077 && mkdir "$tmp")
22229 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22230 ac_tmp=$tmp
22232 # Set up the scripts for CONFIG_FILES section.
22233 # No need to generate them if there are no CONFIG_FILES.
22234 # This happens for instance with `./config.status config.h'.
22235 if test -n "$CONFIG_FILES"; then
22238 ac_cr=`echo X | tr X '\015'`
22239 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22240 # But we know of no other shell where ac_cr would be empty at this
22241 # point, so we can use a bashism as a fallback.
22242 if test "x$ac_cr" = x; then
22243 eval ac_cr=\$\'\\r\'
22245 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22246 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22247 ac_cs_awk_cr='\\r'
22248 else
22249 ac_cs_awk_cr=$ac_cr
22252 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22253 _ACEOF
22257 echo "cat >conf$$subs.awk <<_ACEOF" &&
22258 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22259 echo "_ACEOF"
22260 } >conf$$subs.sh ||
22261 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22262 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22263 ac_delim='%!_!# '
22264 for ac_last_try in false false false false false :; do
22265 . ./conf$$subs.sh ||
22266 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22268 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22269 if test $ac_delim_n = $ac_delim_num; then
22270 break
22271 elif $ac_last_try; then
22272 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22273 else
22274 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22276 done
22277 rm -f conf$$subs.sh
22279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22280 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22281 _ACEOF
22282 sed -n '
22284 s/^/S["/; s/!.*/"]=/
22287 s/^[^!]*!//
22288 :repl
22289 t repl
22290 s/'"$ac_delim"'$//
22291 t delim
22294 s/\(.\{148\}\)..*/\1/
22295 t more1
22296 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22299 b repl
22300 :more1
22301 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22304 s/.\{148\}//
22305 t nl
22306 :delim
22308 s/\(.\{148\}\)..*/\1/
22309 t more2
22310 s/["\\]/\\&/g; s/^/"/; s/$/"/
22313 :more2
22314 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22317 s/.\{148\}//
22318 t delim
22319 ' <conf$$subs.awk | sed '
22320 /^[^""]/{
22322 s/\n//
22324 ' >>$CONFIG_STATUS || ac_write_fail=1
22325 rm -f conf$$subs.awk
22326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22327 _ACAWK
22328 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22329 for (key in S) S_is_set[key] = 1
22330 FS = "\a"
22334 line = $ 0
22335 nfields = split(line, field, "@")
22336 substed = 0
22337 len = length(field[1])
22338 for (i = 2; i < nfields; i++) {
22339 key = field[i]
22340 keylen = length(key)
22341 if (S_is_set[key]) {
22342 value = S[key]
22343 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22344 len += length(value) + length(field[++i])
22345 substed = 1
22346 } else
22347 len += 1 + keylen
22350 print line
22353 _ACAWK
22354 _ACEOF
22355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22356 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22357 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22358 else
22360 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22361 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22362 _ACEOF
22364 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22365 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22366 # trailing colons and then remove the whole line if VPATH becomes empty
22367 # (actually we leave an empty line to preserve line numbers).
22368 if test "x$srcdir" = x.; then
22369 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22371 s///
22372 s/^/:/
22373 s/[ ]*$/:/
22374 s/:\$(srcdir):/:/g
22375 s/:\${srcdir}:/:/g
22376 s/:@srcdir@:/:/g
22377 s/^:*//
22378 s/:*$//
22380 s/\(=[ ]*\).*/\1/
22382 s/\n//
22383 s/^[^=]*=[ ]*$//
22387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22388 fi # test -n "$CONFIG_FILES"
22390 # Set up the scripts for CONFIG_HEADERS section.
22391 # No need to generate them if there are no CONFIG_HEADERS.
22392 # This happens for instance with `./config.status Makefile'.
22393 if test -n "$CONFIG_HEADERS"; then
22394 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22395 BEGIN {
22396 _ACEOF
22398 # Transform confdefs.h into an awk script `defines.awk', embedded as
22399 # here-document in config.status, that substitutes the proper values into
22400 # config.h.in to produce config.h.
22402 # Create a delimiter string that does not exist in confdefs.h, to ease
22403 # handling of long lines.
22404 ac_delim='%!_!# '
22405 for ac_last_try in false false :; do
22406 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22407 if test -z "$ac_tt"; then
22408 break
22409 elif $ac_last_try; then
22410 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22411 else
22412 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22414 done
22416 # For the awk script, D is an array of macro values keyed by name,
22417 # likewise P contains macro parameters if any. Preserve backslash
22418 # newline sequences.
22420 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22421 sed -n '
22422 s/.\{148\}/&'"$ac_delim"'/g
22423 t rset
22424 :rset
22425 s/^[ ]*#[ ]*define[ ][ ]*/ /
22426 t def
22428 :def
22429 s/\\$//
22430 t bsnl
22431 s/["\\]/\\&/g
22432 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22433 D["\1"]=" \3"/p
22434 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22436 :bsnl
22437 s/["\\]/\\&/g
22438 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22439 D["\1"]=" \3\\\\\\n"\\/p
22440 t cont
22441 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22442 t cont
22444 :cont
22446 s/.\{148\}/&'"$ac_delim"'/g
22447 t clear
22448 :clear
22449 s/\\$//
22450 t bsnlc
22451 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22453 :bsnlc
22454 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22455 b cont
22456 ' <confdefs.h | sed '
22457 s/'"$ac_delim"'/"\\\
22458 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22461 for (key in D) D_is_set[key] = 1
22462 FS = "\a"
22464 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22465 line = \$ 0
22466 split(line, arg, " ")
22467 if (arg[1] == "#") {
22468 defundef = arg[2]
22469 mac1 = arg[3]
22470 } else {
22471 defundef = substr(arg[1], 2)
22472 mac1 = arg[2]
22474 split(mac1, mac2, "(") #)
22475 macro = mac2[1]
22476 prefix = substr(line, 1, index(line, defundef) - 1)
22477 if (D_is_set[macro]) {
22478 # Preserve the white space surrounding the "#".
22479 print prefix "define", macro P[macro] D[macro]
22480 next
22481 } else {
22482 # Replace #undef with comments. This is necessary, for example,
22483 # in the case of _POSIX_SOURCE, which is predefined and required
22484 # on some systems where configure will not decide to define it.
22485 if (defundef == "undef") {
22486 print "/*", prefix defundef, macro, "*/"
22487 next
22491 { print }
22492 _ACAWK
22493 _ACEOF
22494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22495 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22496 fi # test -n "$CONFIG_HEADERS"
22499 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22500 shift
22501 for ac_tag
22503 case $ac_tag in
22504 :[FHLC]) ac_mode=$ac_tag; continue;;
22505 esac
22506 case $ac_mode$ac_tag in
22507 :[FHL]*:*);;
22508 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22509 :[FH]-) ac_tag=-:-;;
22510 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22511 esac
22512 ac_save_IFS=$IFS
22513 IFS=:
22514 set x $ac_tag
22515 IFS=$ac_save_IFS
22516 shift
22517 ac_file=$1
22518 shift
22520 case $ac_mode in
22521 :L) ac_source=$1;;
22522 :[FH])
22523 ac_file_inputs=
22524 for ac_f
22526 case $ac_f in
22527 -) ac_f="$ac_tmp/stdin";;
22528 *) # Look for the file first in the build tree, then in the source tree
22529 # (if the path is not absolute). The absolute path cannot be DOS-style,
22530 # because $ac_f cannot contain `:'.
22531 test -f "$ac_f" ||
22532 case $ac_f in
22533 [\\/$]*) false;;
22534 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22535 esac ||
22536 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22537 esac
22538 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22539 as_fn_append ac_file_inputs " '$ac_f'"
22540 done
22542 # Let's still pretend it is `configure' which instantiates (i.e., don't
22543 # use $as_me), people would be surprised to read:
22544 # /* config.h. Generated by config.status. */
22545 configure_input='Generated from '`
22546 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22547 `' by configure.'
22548 if test x"$ac_file" != x-; then
22549 configure_input="$ac_file. $configure_input"
22550 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22551 $as_echo "$as_me: creating $ac_file" >&6;}
22553 # Neutralize special characters interpreted by sed in replacement strings.
22554 case $configure_input in #(
22555 *\&* | *\|* | *\\* )
22556 ac_sed_conf_input=`$as_echo "$configure_input" |
22557 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22558 *) ac_sed_conf_input=$configure_input;;
22559 esac
22561 case $ac_tag in
22562 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22563 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22564 esac
22566 esac
22568 ac_dir=`$as_dirname -- "$ac_file" ||
22569 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22570 X"$ac_file" : 'X\(//\)[^/]' \| \
22571 X"$ac_file" : 'X\(//\)$' \| \
22572 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22573 $as_echo X"$ac_file" |
22574 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22575 s//\1/
22578 /^X\(\/\/\)[^/].*/{
22579 s//\1/
22582 /^X\(\/\/\)$/{
22583 s//\1/
22586 /^X\(\/\).*/{
22587 s//\1/
22590 s/.*/./; q'`
22591 as_dir="$ac_dir"; as_fn_mkdir_p
22592 ac_builddir=.
22594 case "$ac_dir" in
22595 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22597 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22598 # A ".." for each directory in $ac_dir_suffix.
22599 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22600 case $ac_top_builddir_sub in
22601 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22602 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22603 esac ;;
22604 esac
22605 ac_abs_top_builddir=$ac_pwd
22606 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22607 # for backward compatibility:
22608 ac_top_builddir=$ac_top_build_prefix
22610 case $srcdir in
22611 .) # We are building in place.
22612 ac_srcdir=.
22613 ac_top_srcdir=$ac_top_builddir_sub
22614 ac_abs_top_srcdir=$ac_pwd ;;
22615 [\\/]* | ?:[\\/]* ) # Absolute name.
22616 ac_srcdir=$srcdir$ac_dir_suffix;
22617 ac_top_srcdir=$srcdir
22618 ac_abs_top_srcdir=$srcdir ;;
22619 *) # Relative name.
22620 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22621 ac_top_srcdir=$ac_top_build_prefix$srcdir
22622 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22623 esac
22624 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22627 case $ac_mode in
22630 # CONFIG_FILE
22633 _ACEOF
22635 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22636 # If the template does not know about datarootdir, expand it.
22637 # FIXME: This hack should be removed a few years after 2.60.
22638 ac_datarootdir_hack=; ac_datarootdir_seen=
22639 ac_sed_dataroot='
22640 /datarootdir/ {
22644 /@datadir@/p
22645 /@docdir@/p
22646 /@infodir@/p
22647 /@localedir@/p
22648 /@mandir@/p'
22649 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22650 *datarootdir*) ac_datarootdir_seen=yes;;
22651 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22653 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22654 _ACEOF
22655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22656 ac_datarootdir_hack='
22657 s&@datadir@&$datadir&g
22658 s&@docdir@&$docdir&g
22659 s&@infodir@&$infodir&g
22660 s&@localedir@&$localedir&g
22661 s&@mandir@&$mandir&g
22662 s&\\\${datarootdir}&$datarootdir&g' ;;
22663 esac
22664 _ACEOF
22666 # Neutralize VPATH when `$srcdir' = `.'.
22667 # Shell code in configure.ac might set extrasub.
22668 # FIXME: do we really want to maintain this feature?
22669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22670 ac_sed_extra="$ac_vpsub
22671 $extrasub
22672 _ACEOF
22673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22675 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22676 s|@configure_input@|$ac_sed_conf_input|;t t
22677 s&@top_builddir@&$ac_top_builddir_sub&;t t
22678 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22679 s&@srcdir@&$ac_srcdir&;t t
22680 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22681 s&@top_srcdir@&$ac_top_srcdir&;t t
22682 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22683 s&@builddir@&$ac_builddir&;t t
22684 s&@abs_builddir@&$ac_abs_builddir&;t t
22685 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22686 $ac_datarootdir_hack
22688 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22689 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22691 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22692 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22693 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22694 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22696 which seems to be undefined. Please make sure it is defined" >&5
22697 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22698 which seems to be undefined. Please make sure it is defined" >&2;}
22700 rm -f "$ac_tmp/stdin"
22701 case $ac_file in
22702 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22703 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22704 esac \
22705 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22709 # CONFIG_HEADER
22711 if test x"$ac_file" != x-; then
22713 $as_echo "/* $configure_input */" \
22714 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22715 } >"$ac_tmp/config.h" \
22716 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22717 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22718 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22719 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22720 else
22721 rm -f "$ac_file"
22722 mv "$ac_tmp/config.h" "$ac_file" \
22723 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22725 else
22726 $as_echo "/* $configure_input */" \
22727 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22728 || as_fn_error $? "could not create -" "$LINENO" 5
22733 # CONFIG_LINK
22736 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22738 else
22739 # Prefer the file from the source tree if names are identical.
22740 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22741 ac_source=$srcdir/$ac_source
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22745 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22747 if test ! -r "$ac_source"; then
22748 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22750 rm -f "$ac_file"
22752 # Try a relative symlink, then a hard link, then a copy.
22753 case $ac_source in
22754 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22755 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22756 esac
22757 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22758 ln "$ac_source" "$ac_file" 2>/dev/null ||
22759 cp -p "$ac_source" "$ac_file" ||
22760 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22763 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22764 $as_echo "$as_me: executing $ac_file commands" >&6;}
22766 esac
22769 case $ac_file$ac_mode in
22770 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22771 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22772 "Makefile":C) wine_fn_output_makefile Makefile ;;
22774 esac
22775 done # for ac_tag
22778 as_fn_exit 0
22779 _ACEOF
22780 ac_clean_files=$ac_clean_files_save
22782 test $ac_write_fail = 0 ||
22783 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22786 # configure is writing to config.log, and then calls config.status.
22787 # config.status does its own redirection, appending to config.log.
22788 # Unfortunately, on DOS this fails, as config.log is still kept open
22789 # by configure, so config.status won't be able to write to it; its
22790 # output is simply discarded. So we exec the FD to /dev/null,
22791 # effectively closing config.log, so it can be properly (re)opened and
22792 # appended to by config.status. When coming back to configure, we
22793 # need to make the FD available again.
22794 if test "$no_create" != yes; then
22795 ac_cs_success=:
22796 ac_config_status_args=
22797 test "$silent" = yes &&
22798 ac_config_status_args="$ac_config_status_args --quiet"
22799 exec 5>/dev/null
22800 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22801 exec 5>>config.log
22802 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22803 # would make configure fail if this is the last instruction.
22804 $ac_cs_success || as_fn_exit 1
22806 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22808 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22812 if test "$no_create" = "yes"
22813 then
22814 exit 0
22817 ac_save_IFS="$IFS"
22818 if test "x$wine_notices" != x; then
22819 echo >&6
22820 IFS="|"
22821 for msg in $wine_notices; do
22822 IFS="$ac_save_IFS"
22823 if ${msg:+false} :; then :
22825 else
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22827 $as_echo "$as_me: $msg" >&6;}
22829 done
22831 IFS="|"
22832 for msg in $wine_warnings; do
22833 IFS="$ac_save_IFS"
22834 if ${msg:+false} :; then :
22836 else
22837 echo >&2
22838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22839 $as_echo "$as_me: WARNING: $msg" >&2;}
22841 done
22842 IFS="$ac_save_IFS"
22844 $as_echo "
22845 $as_me: Finished. Do '${ac_make}' to compile Wine.
22846 " >&6