kernel32: Update version to Win 10.
[wine.git] / configure
blob4ee2e144764251580741031cc74dfd7e983ee930
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.6.
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.6'
584 PACKAGE_STRING='Wine 6.6'
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_0
1145 enable_api_ms_win_shcore_scaling_l1_1_1
1146 enable_api_ms_win_shcore_stream_l1_1_0
1147 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1148 enable_api_ms_win_shcore_thread_l1_1_0
1149 enable_api_ms_win_shell_shellcom_l1_1_0
1150 enable_api_ms_win_shell_shellfolders_l1_1_0
1151 enable_apphelp
1152 enable_appwiz_cpl
1153 enable_atl
1154 enable_atl100
1155 enable_atl110
1156 enable_atl80
1157 enable_atl90
1158 enable_atlthunk
1159 enable_atmlib
1160 enable_authz
1161 enable_avicap32
1162 enable_avifil32
1163 enable_avrt
1164 enable_bcrypt
1165 enable_bluetoothapis
1166 enable_browseui
1167 enable_bthprops_cpl
1168 enable_cabinet
1169 enable_capi2032
1170 enable_cards
1171 enable_cdosys
1172 enable_cfgmgr32
1173 enable_clusapi
1174 enable_combase
1175 enable_comcat
1176 enable_comctl32
1177 enable_comdlg32
1178 enable_compstui
1179 enable_comsvcs
1180 enable_concrt140
1181 enable_connect
1182 enable_credui
1183 enable_crtdll
1184 enable_crypt32
1185 enable_cryptdlg
1186 enable_cryptdll
1187 enable_cryptext
1188 enable_cryptnet
1189 enable_cryptsp
1190 enable_cryptui
1191 enable_ctapi32
1192 enable_ctl3d32
1193 enable_d2d1
1194 enable_d3d10
1195 enable_d3d10_1
1196 enable_d3d10core
1197 enable_d3d11
1198 enable_d3d12
1199 enable_d3d8
1200 enable_d3d8thk
1201 enable_d3d9
1202 enable_d3dcompiler_33
1203 enable_d3dcompiler_34
1204 enable_d3dcompiler_35
1205 enable_d3dcompiler_36
1206 enable_d3dcompiler_37
1207 enable_d3dcompiler_38
1208 enable_d3dcompiler_39
1209 enable_d3dcompiler_40
1210 enable_d3dcompiler_41
1211 enable_d3dcompiler_42
1212 enable_d3dcompiler_43
1213 enable_d3dcompiler_46
1214 enable_d3dcompiler_47
1215 enable_d3dim
1216 enable_d3dim700
1217 enable_d3drm
1218 enable_d3dx10_33
1219 enable_d3dx10_34
1220 enable_d3dx10_35
1221 enable_d3dx10_36
1222 enable_d3dx10_37
1223 enable_d3dx10_38
1224 enable_d3dx10_39
1225 enable_d3dx10_40
1226 enable_d3dx10_41
1227 enable_d3dx10_42
1228 enable_d3dx10_43
1229 enable_d3dx11_42
1230 enable_d3dx11_43
1231 enable_d3dx9_24
1232 enable_d3dx9_25
1233 enable_d3dx9_26
1234 enable_d3dx9_27
1235 enable_d3dx9_28
1236 enable_d3dx9_29
1237 enable_d3dx9_30
1238 enable_d3dx9_31
1239 enable_d3dx9_32
1240 enable_d3dx9_33
1241 enable_d3dx9_34
1242 enable_d3dx9_35
1243 enable_d3dx9_36
1244 enable_d3dx9_37
1245 enable_d3dx9_38
1246 enable_d3dx9_39
1247 enable_d3dx9_40
1248 enable_d3dx9_41
1249 enable_d3dx9_42
1250 enable_d3dx9_43
1251 enable_d3dxof
1252 enable_davclnt
1253 enable_dbgeng
1254 enable_dbghelp
1255 enable_dciman32
1256 enable_dcomp
1257 enable_ddraw
1258 enable_ddrawex
1259 enable_devenum
1260 enable_dhcpcsvc
1261 enable_dhtmled_ocx
1262 enable_difxapi
1263 enable_dinput
1264 enable_dinput8
1265 enable_directmanipulation
1266 enable_dispex
1267 enable_dmband
1268 enable_dmcompos
1269 enable_dmime
1270 enable_dmloader
1271 enable_dmoguids
1272 enable_dmscript
1273 enable_dmstyle
1274 enable_dmsynth
1275 enable_dmusic
1276 enable_dmusic32
1277 enable_dnsapi
1278 enable_dplay
1279 enable_dplayx
1280 enable_dpnaddr
1281 enable_dpnet
1282 enable_dpnhpast
1283 enable_dpnlobby
1284 enable_dpvoice
1285 enable_dpwsockx
1286 enable_drmclien
1287 enable_dsdmo
1288 enable_dsound
1289 enable_dsquery
1290 enable_dssenh
1291 enable_dsuiext
1292 enable_dswave
1293 enable_dwmapi
1294 enable_dwrite
1295 enable_dx8vb
1296 enable_dxdiagn
1297 enable_dxerr8
1298 enable_dxerr9
1299 enable_dxgi
1300 enable_dxguid
1301 enable_dxva2
1302 enable_esent
1303 enable_evr
1304 enable_explorerframe
1305 enable_ext_ms_win_authz_context_l1_1_0
1306 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1307 enable_ext_ms_win_dwmapi_ext_l1_1_0
1308 enable_ext_ms_win_gdi_dc_create_l1_1_0
1309 enable_ext_ms_win_gdi_dc_create_l1_1_1
1310 enable_ext_ms_win_gdi_dc_l1_2_0
1311 enable_ext_ms_win_gdi_devcaps_l1_1_0
1312 enable_ext_ms_win_gdi_draw_l1_1_0
1313 enable_ext_ms_win_gdi_draw_l1_1_1
1314 enable_ext_ms_win_gdi_font_l1_1_0
1315 enable_ext_ms_win_gdi_font_l1_1_1
1316 enable_ext_ms_win_gdi_render_l1_1_0
1317 enable_ext_ms_win_kernel32_package_current_l1_1_0
1318 enable_ext_ms_win_kernel32_package_l1_1_1
1319 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1320 enable_ext_ms_win_ntuser_draw_l1_1_0
1321 enable_ext_ms_win_ntuser_gui_l1_1_0
1322 enable_ext_ms_win_ntuser_gui_l1_3_0
1323 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1324 enable_ext_ms_win_ntuser_message_l1_1_0
1325 enable_ext_ms_win_ntuser_message_l1_1_1
1326 enable_ext_ms_win_ntuser_misc_l1_1_0
1327 enable_ext_ms_win_ntuser_misc_l1_2_0
1328 enable_ext_ms_win_ntuser_misc_l1_5_1
1329 enable_ext_ms_win_ntuser_mouse_l1_1_0
1330 enable_ext_ms_win_ntuser_private_l1_1_1
1331 enable_ext_ms_win_ntuser_private_l1_3_1
1332 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1333 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1334 enable_ext_ms_win_ntuser_window_l1_1_0
1335 enable_ext_ms_win_ntuser_window_l1_1_1
1336 enable_ext_ms_win_ntuser_window_l1_1_4
1337 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1338 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1339 enable_ext_ms_win_oleacc_l1_1_0
1340 enable_ext_ms_win_ras_rasapi32_l1_1_0
1341 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1342 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1343 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1346 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1348 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1351 enable_ext_ms_win_security_credui_l1_1_0
1352 enable_ext_ms_win_security_cryptui_l1_1_0
1353 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1354 enable_ext_ms_win_shell_comdlg32_l1_1_0
1355 enable_ext_ms_win_shell_shell32_l1_2_0
1356 enable_ext_ms_win_uxtheme_themes_l1_1_0
1357 enable_faultrep
1358 enable_feclient
1359 enable_fltlib
1360 enable_fltmgr_sys
1361 enable_fntcache
1362 enable_fontsub
1363 enable_fusion
1364 enable_fwpuclnt
1365 enable_gameux
1366 enable_gdi32
1367 enable_gdiplus
1368 enable_glu32
1369 enable_gphoto2_ds
1370 enable_gpkcsp
1371 enable_hal
1372 enable_hhctrl_ocx
1373 enable_hid
1374 enable_hidclass_sys
1375 enable_hlink
1376 enable_hnetcfg
1377 enable_http_sys
1378 enable_httpapi
1379 enable_iccvid
1380 enable_icmp
1381 enable_ieframe
1382 enable_ieproxy
1383 enable_imaadp32_acm
1384 enable_imagehlp
1385 enable_imm32
1386 enable_inetcomm
1387 enable_inetcpl_cpl
1388 enable_inetmib1
1389 enable_infosoft
1390 enable_initpki
1391 enable_inkobj
1392 enable_inseng
1393 enable_iphlpapi
1394 enable_iprop
1395 enable_irprops_cpl
1396 enable_itircl
1397 enable_itss
1398 enable_joy_cpl
1399 enable_jscript
1400 enable_jsproxy
1401 enable_kerberos
1402 enable_kernel32
1403 enable_kernelbase
1404 enable_ksecdd_sys
1405 enable_ksproxy_ax
1406 enable_ksuser
1407 enable_ktmw32
1408 enable_l3codeca_acm
1409 enable_loadperf
1410 enable_localspl
1411 enable_localui
1412 enable_lz32
1413 enable_mapi32
1414 enable_mapistub
1415 enable_mciavi32
1416 enable_mcicda
1417 enable_mciqtz32
1418 enable_mciseq
1419 enable_mciwave
1420 enable_mf
1421 enable_mf3216
1422 enable_mferror
1423 enable_mfmediaengine
1424 enable_mfplat
1425 enable_mfplay
1426 enable_mfreadwrite
1427 enable_mfuuid
1428 enable_mgmtapi
1429 enable_midimap
1430 enable_mlang
1431 enable_mmcndmgr
1432 enable_mmdevapi
1433 enable_mountmgr_sys
1434 enable_mp3dmod
1435 enable_mpr
1436 enable_mprapi
1437 enable_msacm32_drv
1438 enable_msacm32
1439 enable_msado15
1440 enable_msadp32_acm
1441 enable_msasn1
1442 enable_mscat32
1443 enable_mscms
1444 enable_mscoree
1445 enable_mscorwks
1446 enable_msctf
1447 enable_msctfp
1448 enable_msdaps
1449 enable_msdelta
1450 enable_msdmo
1451 enable_msdrm
1452 enable_msftedit
1453 enable_msg711_acm
1454 enable_msgsm32_acm
1455 enable_mshtml_tlb
1456 enable_mshtml
1457 enable_msi
1458 enable_msident
1459 enable_msimg32
1460 enable_msimsg
1461 enable_msimtf
1462 enable_msisip
1463 enable_msisys_ocx
1464 enable_msls31
1465 enable_msnet32
1466 enable_mspatcha
1467 enable_msports
1468 enable_msrle32
1469 enable_msscript_ocx
1470 enable_mssign32
1471 enable_mssip32
1472 enable_mstask
1473 enable_msvcirt
1474 enable_msvcm80
1475 enable_msvcm90
1476 enable_msvcp100
1477 enable_msvcp110
1478 enable_msvcp120
1479 enable_msvcp120_app
1480 enable_msvcp140
1481 enable_msvcp140_1
1482 enable_msvcp60
1483 enable_msvcp70
1484 enable_msvcp71
1485 enable_msvcp80
1486 enable_msvcp90
1487 enable_msvcr100
1488 enable_msvcr110
1489 enable_msvcr120
1490 enable_msvcr120_app
1491 enable_msvcr70
1492 enable_msvcr71
1493 enable_msvcr80
1494 enable_msvcr90
1495 enable_msvcrt
1496 enable_msvcrt20
1497 enable_msvcrt40
1498 enable_msvcrtd
1499 enable_msvfw32
1500 enable_msvidc32
1501 enable_mswsock
1502 enable_msxml
1503 enable_msxml2
1504 enable_msxml3
1505 enable_msxml4
1506 enable_msxml6
1507 enable_mtxdm
1508 enable_ncrypt
1509 enable_nddeapi
1510 enable_ndis_sys
1511 enable_netapi32
1512 enable_netcfgx
1513 enable_netio_sys
1514 enable_netprofm
1515 enable_netutils
1516 enable_newdev
1517 enable_ninput
1518 enable_normaliz
1519 enable_npmshtml
1520 enable_npptools
1521 enable_ntdll
1522 enable_ntdsapi
1523 enable_ntoskrnl_exe
1524 enable_ntprint
1525 enable_objsel
1526 enable_odbc32
1527 enable_odbcbcp
1528 enable_odbccp32
1529 enable_odbccu32
1530 enable_ole32
1531 enable_oleacc
1532 enable_oleaut32
1533 enable_olecli32
1534 enable_oledb32
1535 enable_oledlg
1536 enable_olepro32
1537 enable_olesvr32
1538 enable_olethk32
1539 enable_opcservices
1540 enable_openal32
1541 enable_opencl
1542 enable_opengl32
1543 enable_packager
1544 enable_pdh
1545 enable_photometadatahandler
1546 enable_pidgen
1547 enable_powrprof
1548 enable_printui
1549 enable_prntvpt
1550 enable_propsys
1551 enable_psapi
1552 enable_pstorec
1553 enable_pwrshplugin
1554 enable_qasf
1555 enable_qcap
1556 enable_qdvd
1557 enable_qedit
1558 enable_qmgr
1559 enable_qmgrprxy
1560 enable_quartz
1561 enable_query
1562 enable_qwave
1563 enable_rasapi32
1564 enable_rasdlg
1565 enable_regapi
1566 enable_resutils
1567 enable_riched20
1568 enable_riched32
1569 enable_rpcrt4
1570 enable_rsabase
1571 enable_rsaenh
1572 enable_rstrtmgr
1573 enable_rtutils
1574 enable_rtworkq
1575 enable_samlib
1576 enable_sane_ds
1577 enable_sapi
1578 enable_sas
1579 enable_scarddlg
1580 enable_sccbase
1581 enable_schannel
1582 enable_schedsvc
1583 enable_scrobj
1584 enable_scrrun
1585 enable_scsiport_sys
1586 enable_sechost
1587 enable_secur32
1588 enable_security
1589 enable_sensapi
1590 enable_serialui
1591 enable_setupapi
1592 enable_sfc
1593 enable_sfc_os
1594 enable_shcore
1595 enable_shdoclc
1596 enable_shdocvw
1597 enable_shell32
1598 enable_shfolder
1599 enable_shlwapi
1600 enable_slbcsp
1601 enable_slc
1602 enable_snmpapi
1603 enable_softpub
1604 enable_spoolss
1605 enable_srclient
1606 enable_srvcli
1607 enable_sspicli
1608 enable_stdole2_tlb
1609 enable_stdole32_tlb
1610 enable_sti
1611 enable_strmbase
1612 enable_strmdll
1613 enable_strmiids
1614 enable_svrapi
1615 enable_sxs
1616 enable_t2embed
1617 enable_tapi32
1618 enable_taskschd
1619 enable_tdh
1620 enable_tdi_sys
1621 enable_traffic
1622 enable_twain_32
1623 enable_tzres
1624 enable_ucrtbase
1625 enable_uianimation
1626 enable_uiautomationcore
1627 enable_uiribbon
1628 enable_unicows
1629 enable_updspapi
1630 enable_url
1631 enable_urlmon
1632 enable_usbd_sys
1633 enable_user32
1634 enable_userenv
1635 enable_usp10
1636 enable_utildll
1637 enable_uuid
1638 enable_uxtheme
1639 enable_vbscript
1640 enable_vcomp
1641 enable_vcomp100
1642 enable_vcomp110
1643 enable_vcomp120
1644 enable_vcomp140
1645 enable_vcomp90
1646 enable_vcruntime140
1647 enable_vcruntime140_1
1648 enable_vdmdbg
1649 enable_version
1650 enable_vga
1651 enable_virtdisk
1652 enable_vssapi
1653 enable_vulkan_1
1654 enable_wbemdisp
1655 enable_wbemprox
1656 enable_wbemuuid
1657 enable_wdscore
1658 enable_webservices
1659 enable_websocket
1660 enable_wer
1661 enable_wevtapi
1662 enable_wevtsvc
1663 enable_wiaservc
1664 enable_wimgapi
1665 enable_windows_gaming_input
1666 enable_windows_globalization
1667 enable_windows_media_devices
1668 enable_windows_media_speech
1669 enable_windowscodecs
1670 enable_windowscodecsext
1671 enable_winealsa_drv
1672 enable_wineandroid_drv
1673 enable_winebus_sys
1674 enable_winecoreaudio_drv
1675 enable_winecrt0
1676 enable_wined3d
1677 enable_winegstreamer
1678 enable_winehid_sys
1679 enable_winejoystick_drv
1680 enable_winemac_drv
1681 enable_winemapi
1682 enable_wineoss_drv
1683 enable_wineps_drv
1684 enable_winepulse_drv
1685 enable_wineqtdecoder
1686 enable_wineusb_sys
1687 enable_winevulkan
1688 enable_winex11_drv
1689 enable_wing32
1690 enable_winhttp
1691 enable_wininet
1692 enable_winmm
1693 enable_winnls32
1694 enable_winscard
1695 enable_winspool_drv
1696 enable_winsta
1697 enable_wintab32
1698 enable_wintrust
1699 enable_winusb
1700 enable_wlanapi
1701 enable_wlanui
1702 enable_wldap32
1703 enable_wmasf
1704 enable_wmcodecdspuuid
1705 enable_wmi
1706 enable_wmiutils
1707 enable_wmp
1708 enable_wmphoto
1709 enable_wmvcore
1710 enable_wnaspi32
1711 enable_wow64cpu
1712 enable_wpc
1713 enable_wpcap
1714 enable_ws2_32
1715 enable_wsdapi
1716 enable_wshom_ocx
1717 enable_wsnmp32
1718 enable_wsock32
1719 enable_wtsapi32
1720 enable_wuapi
1721 enable_wuaueng
1722 enable_x3daudio1_0
1723 enable_x3daudio1_1
1724 enable_x3daudio1_2
1725 enable_x3daudio1_3
1726 enable_x3daudio1_4
1727 enable_x3daudio1_5
1728 enable_x3daudio1_6
1729 enable_x3daudio1_7
1730 enable_xactengine3_0
1731 enable_xactengine3_1
1732 enable_xactengine3_2
1733 enable_xactengine3_3
1734 enable_xactengine3_4
1735 enable_xactengine3_5
1736 enable_xactengine3_6
1737 enable_xactengine3_7
1738 enable_xapofx1_1
1739 enable_xapofx1_2
1740 enable_xapofx1_3
1741 enable_xapofx1_4
1742 enable_xapofx1_5
1743 enable_xaudio2_0
1744 enable_xaudio2_1
1745 enable_xaudio2_2
1746 enable_xaudio2_3
1747 enable_xaudio2_4
1748 enable_xaudio2_5
1749 enable_xaudio2_6
1750 enable_xaudio2_7
1751 enable_xaudio2_8
1752 enable_xaudio2_9
1753 enable_xinput1_1
1754 enable_xinput1_2
1755 enable_xinput1_3
1756 enable_xinput1_4
1757 enable_xinput9_1_0
1758 enable_xmllite
1759 enable_xolehlp
1760 enable_xpsprint
1761 enable_xpssvcs
1762 enable_fonts
1763 enable_include
1764 enable_port
1765 enable_wine
1766 enable_wpp
1767 enable_loader
1768 enable_nls
1769 enable_po
1770 enable_arp
1771 enable_aspnet_regiis
1772 enable_attrib
1773 enable_cabarc
1774 enable_cacls
1775 enable_chcp_com
1776 enable_clock
1777 enable_cmd
1778 enable_conhost
1779 enable_control
1780 enable_cscript
1781 enable_dism
1782 enable_dplaysvr
1783 enable_dpnsvr
1784 enable_dpvsetup
1785 enable_dxdiag
1786 enable_eject
1787 enable_expand
1788 enable_explorer
1789 enable_extrac32
1790 enable_fc
1791 enable_find
1792 enable_findstr
1793 enable_fsutil
1794 enable_hh
1795 enable_hostname
1796 enable_icacls
1797 enable_icinfo
1798 enable_iexplore
1799 enable_ipconfig
1800 enable_lodctr
1801 enable_mofcomp
1802 enable_mshta
1803 enable_msidb
1804 enable_msiexec
1805 enable_msinfo32
1806 enable_net
1807 enable_netsh
1808 enable_netstat
1809 enable_ngen
1810 enable_notepad
1811 enable_oleview
1812 enable_ping
1813 enable_plugplay
1814 enable_powershell
1815 enable_presentationfontcache
1816 enable_progman
1817 enable_reg
1818 enable_regasm
1819 enable_regedit
1820 enable_regini
1821 enable_regsvcs
1822 enable_regsvr32
1823 enable_rpcss
1824 enable_rundll32
1825 enable_sc
1826 enable_schtasks
1827 enable_sdbinst
1828 enable_secedit
1829 enable_servicemodelreg
1830 enable_services
1831 enable_shutdown
1832 enable_spoolsv
1833 enable_start
1834 enable_subst
1835 enable_svchost
1836 enable_systeminfo
1837 enable_taskkill
1838 enable_tasklist
1839 enable_taskmgr
1840 enable_termsv
1841 enable_uninstaller
1842 enable_unlodctr
1843 enable_view
1844 enable_wevtutil
1845 enable_where
1846 enable_whoami
1847 enable_wineboot
1848 enable_winebrowser
1849 enable_winecfg
1850 enable_wineconsole
1851 enable_winedbg
1852 enable_winedevice
1853 enable_winefile
1854 enable_winemenubuilder
1855 enable_winemine
1856 enable_winemsibuilder
1857 enable_winepath
1858 enable_winetest
1859 enable_winhlp32
1860 enable_winmgmt
1861 enable_winver
1862 enable_wmic
1863 enable_wmplayer
1864 enable_wordpad
1865 enable_write
1866 enable_wscript
1867 enable_wuauserv
1868 enable_wusa
1869 enable_xcopy
1870 enable_server
1871 enable_tools
1872 enable_sfnt2fon
1873 enable_widl
1874 enable_winebuild
1875 enable_winedump
1876 enable_winegcc
1877 enable_winemaker
1878 enable_wmc
1879 enable_wrc
1881 ac_precious_vars='build_alias
1882 host_alias
1883 target_alias
1885 CFLAGS
1886 LDFLAGS
1887 LIBS
1888 CPPFLAGS
1890 CXXFLAGS
1893 OBJC
1894 OBJCFLAGS
1895 OBJCPP
1896 XMKMF
1897 XML2_CFLAGS
1898 XML2_LIBS
1899 XSLT_CFLAGS
1900 XSLT_LIBS
1901 INOTIFY_CFLAGS
1902 INOTIFY_LIBS
1903 DBUS_CFLAGS
1904 DBUS_LIBS
1905 HAL_CFLAGS
1906 HAL_LIBS
1907 GNUTLS_CFLAGS
1908 GNUTLS_LIBS
1909 SANE_CFLAGS
1910 SANE_LIBS
1911 USB_CFLAGS
1912 USB_LIBS
1913 GPHOTO2_CFLAGS
1914 GPHOTO2_LIBS
1915 GPHOTO2_PORT_CFLAGS
1916 GPHOTO2_PORT_LIBS
1917 LCMS2_CFLAGS
1918 LCMS2_LIBS
1919 FREETYPE_CFLAGS
1920 FREETYPE_LIBS
1921 PULSE_CFLAGS
1922 PULSE_LIBS
1923 GSTREAMER_CFLAGS
1924 GSTREAMER_LIBS
1925 UDEV_CFLAGS
1926 UDEV_LIBS
1927 UNWIND_CFLAGS
1928 UNWIND_LIBS
1929 SDL2_CFLAGS
1930 SDL2_LIBS
1931 FAUDIO_CFLAGS
1932 FAUDIO_LIBS
1933 CAPI20_CFLAGS
1934 CAPI20_LIBS
1935 CUPS_CFLAGS
1936 CUPS_LIBS
1937 FONTCONFIG_CFLAGS
1938 FONTCONFIG_LIBS
1939 KRB5_CFLAGS
1940 KRB5_LIBS
1941 GSSAPI_CFLAGS
1942 GSSAPI_LIBS
1943 JPEG_CFLAGS
1944 JPEG_LIBS
1945 JXRLIB_CFLAGS
1946 JXRLIB_LIBS
1947 PNG_CFLAGS
1948 PNG_LIBS
1949 TIFF_CFLAGS
1950 TIFF_LIBS
1951 MPG123_CFLAGS
1952 MPG123_LIBS
1953 NETAPI_CFLAGS
1954 NETAPI_LIBS
1955 VKD3D_CFLAGS
1956 VKD3D_LIBS
1957 VKD3D_SHADER_CFLAGS
1958 VKD3D_SHADER_LIBS
1959 LDAP_CFLAGS
1960 LDAP_LIBS'
1963 # Initialize some variables set by options.
1964 ac_init_help=
1965 ac_init_version=false
1966 ac_unrecognized_opts=
1967 ac_unrecognized_sep=
1968 # The variables have the same names as the options, with
1969 # dashes changed to underlines.
1970 cache_file=/dev/null
1971 exec_prefix=NONE
1972 no_create=
1973 no_recursion=
1974 prefix=NONE
1975 program_prefix=NONE
1976 program_suffix=NONE
1977 program_transform_name=s,x,x,
1978 silent=
1979 site=
1980 srcdir=
1981 verbose=
1982 x_includes=NONE
1983 x_libraries=NONE
1985 # Installation directory options.
1986 # These are left unexpanded so users can "make install exec_prefix=/foo"
1987 # and all the variables that are supposed to be based on exec_prefix
1988 # by default will actually change.
1989 # Use braces instead of parens because sh, perl, etc. also accept them.
1990 # (The list follows the same order as the GNU Coding Standards.)
1991 bindir='${exec_prefix}/bin'
1992 sbindir='${exec_prefix}/sbin'
1993 libexecdir='${exec_prefix}/libexec'
1994 datarootdir='${prefix}/share'
1995 datadir='${datarootdir}'
1996 sysconfdir='${prefix}/etc'
1997 sharedstatedir='${prefix}/com'
1998 localstatedir='${prefix}/var'
1999 runstatedir='${localstatedir}/run'
2000 includedir='${prefix}/include'
2001 oldincludedir='/usr/include'
2002 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2003 infodir='${datarootdir}/info'
2004 htmldir='${docdir}'
2005 dvidir='${docdir}'
2006 pdfdir='${docdir}'
2007 psdir='${docdir}'
2008 libdir='${exec_prefix}/lib'
2009 localedir='${datarootdir}/locale'
2010 mandir='${datarootdir}/man'
2012 ac_prev=
2013 ac_dashdash=
2014 for ac_option
2016 # If the previous option needs an argument, assign it.
2017 if test -n "$ac_prev"; then
2018 eval $ac_prev=\$ac_option
2019 ac_prev=
2020 continue
2023 case $ac_option in
2024 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2025 *=) ac_optarg= ;;
2026 *) ac_optarg=yes ;;
2027 esac
2029 # Accept the important Cygnus configure options, so we can diagnose typos.
2031 case $ac_dashdash$ac_option in
2033 ac_dashdash=yes ;;
2035 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2036 ac_prev=bindir ;;
2037 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2038 bindir=$ac_optarg ;;
2040 -build | --build | --buil | --bui | --bu)
2041 ac_prev=build_alias ;;
2042 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2043 build_alias=$ac_optarg ;;
2045 -cache-file | --cache-file | --cache-fil | --cache-fi \
2046 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2047 ac_prev=cache_file ;;
2048 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2049 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2050 cache_file=$ac_optarg ;;
2052 --config-cache | -C)
2053 cache_file=config.cache ;;
2055 -datadir | --datadir | --datadi | --datad)
2056 ac_prev=datadir ;;
2057 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2058 datadir=$ac_optarg ;;
2060 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2061 | --dataroo | --dataro | --datar)
2062 ac_prev=datarootdir ;;
2063 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2064 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2065 datarootdir=$ac_optarg ;;
2067 -disable-* | --disable-*)
2068 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2069 # Reject names that are not valid shell variable names.
2070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2071 as_fn_error $? "invalid feature name: $ac_useropt"
2072 ac_useropt_orig=$ac_useropt
2073 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2074 case $ac_user_opts in
2076 "enable_$ac_useropt"
2077 "*) ;;
2078 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2079 ac_unrecognized_sep=', ';;
2080 esac
2081 eval enable_$ac_useropt=no ;;
2083 -docdir | --docdir | --docdi | --doc | --do)
2084 ac_prev=docdir ;;
2085 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2086 docdir=$ac_optarg ;;
2088 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2089 ac_prev=dvidir ;;
2090 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2091 dvidir=$ac_optarg ;;
2093 -enable-* | --enable-*)
2094 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2095 # Reject names that are not valid shell variable names.
2096 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2097 as_fn_error $? "invalid feature name: $ac_useropt"
2098 ac_useropt_orig=$ac_useropt
2099 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2100 case $ac_user_opts in
2102 "enable_$ac_useropt"
2103 "*) ;;
2104 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2105 ac_unrecognized_sep=', ';;
2106 esac
2107 eval enable_$ac_useropt=\$ac_optarg ;;
2109 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2110 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2111 | --exec | --exe | --ex)
2112 ac_prev=exec_prefix ;;
2113 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2114 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2115 | --exec=* | --exe=* | --ex=*)
2116 exec_prefix=$ac_optarg ;;
2118 -gas | --gas | --ga | --g)
2119 # Obsolete; use --with-gas.
2120 with_gas=yes ;;
2122 -help | --help | --hel | --he | -h)
2123 ac_init_help=long ;;
2124 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2125 ac_init_help=recursive ;;
2126 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2127 ac_init_help=short ;;
2129 -host | --host | --hos | --ho)
2130 ac_prev=host_alias ;;
2131 -host=* | --host=* | --hos=* | --ho=*)
2132 host_alias=$ac_optarg ;;
2134 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2135 ac_prev=htmldir ;;
2136 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2137 | --ht=*)
2138 htmldir=$ac_optarg ;;
2140 -includedir | --includedir | --includedi | --included | --include \
2141 | --includ | --inclu | --incl | --inc)
2142 ac_prev=includedir ;;
2143 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2144 | --includ=* | --inclu=* | --incl=* | --inc=*)
2145 includedir=$ac_optarg ;;
2147 -infodir | --infodir | --infodi | --infod | --info | --inf)
2148 ac_prev=infodir ;;
2149 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2150 infodir=$ac_optarg ;;
2152 -libdir | --libdir | --libdi | --libd)
2153 ac_prev=libdir ;;
2154 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2155 libdir=$ac_optarg ;;
2157 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2158 | --libexe | --libex | --libe)
2159 ac_prev=libexecdir ;;
2160 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2161 | --libexe=* | --libex=* | --libe=*)
2162 libexecdir=$ac_optarg ;;
2164 -localedir | --localedir | --localedi | --localed | --locale)
2165 ac_prev=localedir ;;
2166 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2167 localedir=$ac_optarg ;;
2169 -localstatedir | --localstatedir | --localstatedi | --localstated \
2170 | --localstate | --localstat | --localsta | --localst | --locals)
2171 ac_prev=localstatedir ;;
2172 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2173 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2174 localstatedir=$ac_optarg ;;
2176 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2177 ac_prev=mandir ;;
2178 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2179 mandir=$ac_optarg ;;
2181 -nfp | --nfp | --nf)
2182 # Obsolete; use --without-fp.
2183 with_fp=no ;;
2185 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2186 | --no-cr | --no-c | -n)
2187 no_create=yes ;;
2189 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2190 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2191 no_recursion=yes ;;
2193 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2194 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2195 | --oldin | --oldi | --old | --ol | --o)
2196 ac_prev=oldincludedir ;;
2197 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2198 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2199 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2200 oldincludedir=$ac_optarg ;;
2202 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2203 ac_prev=prefix ;;
2204 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2205 prefix=$ac_optarg ;;
2207 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2208 | --program-pre | --program-pr | --program-p)
2209 ac_prev=program_prefix ;;
2210 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2211 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2212 program_prefix=$ac_optarg ;;
2214 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2215 | --program-suf | --program-su | --program-s)
2216 ac_prev=program_suffix ;;
2217 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2218 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2219 program_suffix=$ac_optarg ;;
2221 -program-transform-name | --program-transform-name \
2222 | --program-transform-nam | --program-transform-na \
2223 | --program-transform-n | --program-transform- \
2224 | --program-transform | --program-transfor \
2225 | --program-transfo | --program-transf \
2226 | --program-trans | --program-tran \
2227 | --progr-tra | --program-tr | --program-t)
2228 ac_prev=program_transform_name ;;
2229 -program-transform-name=* | --program-transform-name=* \
2230 | --program-transform-nam=* | --program-transform-na=* \
2231 | --program-transform-n=* | --program-transform-=* \
2232 | --program-transform=* | --program-transfor=* \
2233 | --program-transfo=* | --program-transf=* \
2234 | --program-trans=* | --program-tran=* \
2235 | --progr-tra=* | --program-tr=* | --program-t=*)
2236 program_transform_name=$ac_optarg ;;
2238 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2239 ac_prev=pdfdir ;;
2240 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2241 pdfdir=$ac_optarg ;;
2243 -psdir | --psdir | --psdi | --psd | --ps)
2244 ac_prev=psdir ;;
2245 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2246 psdir=$ac_optarg ;;
2248 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2249 | -silent | --silent | --silen | --sile | --sil)
2250 silent=yes ;;
2252 -runstatedir | --runstatedir | --runstatedi | --runstated \
2253 | --runstate | --runstat | --runsta | --runst | --runs \
2254 | --run | --ru | --r)
2255 ac_prev=runstatedir ;;
2256 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2257 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2258 | --run=* | --ru=* | --r=*)
2259 runstatedir=$ac_optarg ;;
2261 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2262 ac_prev=sbindir ;;
2263 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2264 | --sbi=* | --sb=*)
2265 sbindir=$ac_optarg ;;
2267 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2268 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2269 | --sharedst | --shareds | --shared | --share | --shar \
2270 | --sha | --sh)
2271 ac_prev=sharedstatedir ;;
2272 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2273 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2274 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2275 | --sha=* | --sh=*)
2276 sharedstatedir=$ac_optarg ;;
2278 -site | --site | --sit)
2279 ac_prev=site ;;
2280 -site=* | --site=* | --sit=*)
2281 site=$ac_optarg ;;
2283 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2284 ac_prev=srcdir ;;
2285 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2286 srcdir=$ac_optarg ;;
2288 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2289 | --syscon | --sysco | --sysc | --sys | --sy)
2290 ac_prev=sysconfdir ;;
2291 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2292 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2293 sysconfdir=$ac_optarg ;;
2295 -target | --target | --targe | --targ | --tar | --ta | --t)
2296 ac_prev=target_alias ;;
2297 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2298 target_alias=$ac_optarg ;;
2300 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2301 verbose=yes ;;
2303 -version | --version | --versio | --versi | --vers | -V)
2304 ac_init_version=: ;;
2306 -with-* | --with-*)
2307 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2308 # Reject names that are not valid shell variable names.
2309 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2310 as_fn_error $? "invalid package name: $ac_useropt"
2311 ac_useropt_orig=$ac_useropt
2312 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2313 case $ac_user_opts in
2315 "with_$ac_useropt"
2316 "*) ;;
2317 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2318 ac_unrecognized_sep=', ';;
2319 esac
2320 eval with_$ac_useropt=\$ac_optarg ;;
2322 -without-* | --without-*)
2323 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2324 # Reject names that are not valid shell variable names.
2325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2326 as_fn_error $? "invalid package name: $ac_useropt"
2327 ac_useropt_orig=$ac_useropt
2328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2329 case $ac_user_opts in
2331 "with_$ac_useropt"
2332 "*) ;;
2333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2334 ac_unrecognized_sep=', ';;
2335 esac
2336 eval with_$ac_useropt=no ;;
2338 --x)
2339 # Obsolete; use --with-x.
2340 with_x=yes ;;
2342 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2343 | --x-incl | --x-inc | --x-in | --x-i)
2344 ac_prev=x_includes ;;
2345 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2346 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2347 x_includes=$ac_optarg ;;
2349 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2350 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2351 ac_prev=x_libraries ;;
2352 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2353 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2354 x_libraries=$ac_optarg ;;
2356 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2357 Try \`$0 --help' for more information"
2360 *=*)
2361 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2362 # Reject names that are not valid shell variable names.
2363 case $ac_envvar in #(
2364 '' | [0-9]* | *[!_$as_cr_alnum]* )
2365 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2366 esac
2367 eval $ac_envvar=\$ac_optarg
2368 export $ac_envvar ;;
2371 # FIXME: should be removed in autoconf 3.0.
2372 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2373 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2374 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2375 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2378 esac
2379 done
2381 if test -n "$ac_prev"; then
2382 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2383 as_fn_error $? "missing argument to $ac_option"
2386 if test -n "$ac_unrecognized_opts"; then
2387 case $enable_option_checking in
2388 no) ;;
2389 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2390 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2391 esac
2394 # Check all directory arguments for consistency.
2395 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2396 datadir sysconfdir sharedstatedir localstatedir includedir \
2397 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2398 libdir localedir mandir runstatedir
2400 eval ac_val=\$$ac_var
2401 # Remove trailing slashes.
2402 case $ac_val in
2403 */ )
2404 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2405 eval $ac_var=\$ac_val;;
2406 esac
2407 # Be sure to have absolute directory names.
2408 case $ac_val in
2409 [\\/$]* | ?:[\\/]* ) continue;;
2410 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2411 esac
2412 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2413 done
2415 # There might be people who depend on the old broken behavior: `$host'
2416 # used to hold the argument of --host etc.
2417 # FIXME: To remove some day.
2418 build=$build_alias
2419 host=$host_alias
2420 target=$target_alias
2422 # FIXME: To remove some day.
2423 if test "x$host_alias" != x; then
2424 if test "x$build_alias" = x; then
2425 cross_compiling=maybe
2426 elif test "x$build_alias" != "x$host_alias"; then
2427 cross_compiling=yes
2431 ac_tool_prefix=
2432 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2434 test "$silent" = yes && exec 6>/dev/null
2437 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2438 ac_ls_di=`ls -di .` &&
2439 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2440 as_fn_error $? "working directory cannot be determined"
2441 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2442 as_fn_error $? "pwd does not report name of working directory"
2445 # Find the source files, if location was not specified.
2446 if test -z "$srcdir"; then
2447 ac_srcdir_defaulted=yes
2448 # Try the directory containing this script, then the parent directory.
2449 ac_confdir=`$as_dirname -- "$as_myself" ||
2450 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2451 X"$as_myself" : 'X\(//\)[^/]' \| \
2452 X"$as_myself" : 'X\(//\)$' \| \
2453 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2454 $as_echo X"$as_myself" |
2455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2456 s//\1/
2459 /^X\(\/\/\)[^/].*/{
2460 s//\1/
2463 /^X\(\/\/\)$/{
2464 s//\1/
2467 /^X\(\/\).*/{
2468 s//\1/
2471 s/.*/./; q'`
2472 srcdir=$ac_confdir
2473 if test ! -r "$srcdir/$ac_unique_file"; then
2474 srcdir=..
2476 else
2477 ac_srcdir_defaulted=no
2479 if test ! -r "$srcdir/$ac_unique_file"; then
2480 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2481 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2483 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2484 ac_abs_confdir=`(
2485 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2486 pwd)`
2487 # When building in place, set srcdir=.
2488 if test "$ac_abs_confdir" = "$ac_pwd"; then
2489 srcdir=.
2491 # Remove unnecessary trailing slashes from srcdir.
2492 # Double slashes in file names in object file debugging info
2493 # mess up M-x gdb in Emacs.
2494 case $srcdir in
2495 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2496 esac
2497 for ac_var in $ac_precious_vars; do
2498 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2499 eval ac_env_${ac_var}_value=\$${ac_var}
2500 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2501 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2502 done
2505 # Report the --help message.
2507 if test "$ac_init_help" = "long"; then
2508 # Omit some internal or obsolete options to make the list less imposing.
2509 # This message is too long to be a string in the A/UX 3.1 sh.
2510 cat <<_ACEOF
2511 \`configure' configures Wine 6.6 to adapt to many kinds of systems.
2513 Usage: $0 [OPTION]... [VAR=VALUE]...
2515 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2516 VAR=VALUE. See below for descriptions of some of the useful variables.
2518 Defaults for the options are specified in brackets.
2520 Configuration:
2521 -h, --help display this help and exit
2522 --help=short display options specific to this package
2523 --help=recursive display the short help of all the included packages
2524 -V, --version display version information and exit
2525 -q, --quiet, --silent do not print \`checking ...' messages
2526 --cache-file=FILE cache test results in FILE [disabled]
2527 -C, --config-cache alias for \`--cache-file=config.cache'
2528 -n, --no-create do not create output files
2529 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2531 Installation directories:
2532 --prefix=PREFIX install architecture-independent files in PREFIX
2533 [$ac_default_prefix]
2534 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2535 [PREFIX]
2537 By default, \`make install' will install all the files in
2538 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2539 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2540 for instance \`--prefix=\$HOME'.
2542 For better control, use the options below.
2544 Fine tuning of the installation directories:
2545 --bindir=DIR user executables [EPREFIX/bin]
2546 --sbindir=DIR system admin executables [EPREFIX/sbin]
2547 --libexecdir=DIR program executables [EPREFIX/libexec]
2548 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2549 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2550 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2551 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2552 --libdir=DIR object code libraries [EPREFIX/lib]
2553 --includedir=DIR C header files [PREFIX/include]
2554 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2555 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2556 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2557 --infodir=DIR info documentation [DATAROOTDIR/info]
2558 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2559 --mandir=DIR man documentation [DATAROOTDIR/man]
2560 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2561 --htmldir=DIR html documentation [DOCDIR]
2562 --dvidir=DIR dvi documentation [DOCDIR]
2563 --pdfdir=DIR pdf documentation [DOCDIR]
2564 --psdir=DIR ps documentation [DOCDIR]
2565 _ACEOF
2567 cat <<\_ACEOF
2569 X features:
2570 --x-includes=DIR X include files are in DIR
2571 --x-libraries=DIR X library files are in DIR
2573 System types:
2574 --build=BUILD configure for building on BUILD [guessed]
2575 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2576 _ACEOF
2579 if test -n "$ac_init_help"; then
2580 case $ac_init_help in
2581 short | recursive ) echo "Configuration of Wine 6.6:";;
2582 esac
2583 cat <<\_ACEOF
2585 Optional Features:
2586 --disable-option-checking ignore unrecognized --enable/--with options
2587 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2588 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2589 --disable-win16 do not include Win16 support
2590 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2591 binaries)
2592 --disable-tests do not build the regression tests
2593 --enable-build-id include .buildid section in output objects
2594 --enable-maintainer-mode
2595 enable maintainer-specific build rules
2596 --enable-silent-rules use silent build rules (override: "make V=1")
2597 --enable-werror treat compilation warnings as errors
2598 --disable-largefile omit support for large files
2600 Optional Packages:
2601 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2602 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2603 --without-alsa do not use the Alsa sound support
2604 --without-capi do not use CAPI (ISDN support)
2605 --without-cms do not use CMS (color management support)
2606 --without-coreaudio do not use the CoreAudio sound support
2607 --without-cups do not use CUPS
2608 --without-dbus do not use DBus (dynamic device support)
2609 --without-faudio do not use FAudio (XAudio2 support)
2610 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2611 --without-fontconfig do not use fontconfig
2612 --without-freetype do not use the FreeType library
2613 --without-gettext do not use gettext
2614 --with-gettextpo use the GetTextPO library to rebuild po files
2615 --without-gphoto do not use gphoto (Digital Camera support)
2616 --without-gnutls do not use GnuTLS (schannel support)
2617 --without-gsm do not use libgsm (GSM 06.10 codec support)
2618 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2619 --without-gstreamer do not use GStreamer (codecs support)
2620 --without-hal do not use HAL (dynamic device support)
2621 --without-inotify do not use inotify (filesystem change notifications)
2622 --without-jpeg do not use JPEG
2623 --without-jxrlib do not use JPEG-XR
2624 --without-krb5 do not use krb5 (Kerberos)
2625 --without-ldap do not use LDAP
2626 --without-mingw do not use the MinGW cross-compiler
2627 --without-mpg123 do not use the mpg123 library
2628 --without-netapi do not use the Samba NetAPI library
2629 --without-openal do not use OpenAL
2630 --without-opencl do not use OpenCL
2631 --without-opengl do not use OpenGL
2632 --without-osmesa do not use the OSMesa library
2633 --without-oss do not use the OSS sound support
2634 --without-pcap do not use the Packet Capture library
2635 --without-png do not use PNG
2636 --without-pthread do not use the pthread library
2637 --without-pulse do not use PulseAudio sound support
2638 --without-quicktime do not use QuickTime support
2639 --without-sane do not use SANE (scanner support)
2640 --without-sdl do not use SDL
2641 --without-tiff do not use TIFF
2642 --without-udev do not use udev (plug and play support)
2643 --without-unwind do not use the libunwind library (exception
2644 handling)
2645 --without-usb do not use the libusb library
2646 --without-v4l2 do not use v4l2 (video capture)
2647 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2648 --without-vulkan do not use Vulkan
2649 --without-xcomposite do not use the Xcomposite extension
2650 --without-xcursor do not use the Xcursor extension
2651 --without-xfixes do not use Xfixes for clipboard change notifications
2652 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2653 --without-xinput do not use the Xinput extension
2654 --without-xinput2 do not use the Xinput 2 extension
2655 --without-xml do not use XML
2656 --without-xrandr do not use Xrandr (multi-monitor support)
2657 --without-xrender do not use the Xrender extension
2658 --without-xshape do not use the Xshape extension
2659 --without-xshm do not use XShm (shared memory extension)
2660 --without-xslt do not use XSLT
2661 --without-xxf86vm do not use XFree video mode extension
2662 --with-wine-tools=DIR use Wine tools from directory DIR
2663 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2664 --with-x use the X Window System
2666 Some influential environment variables:
2667 CC C compiler command
2668 CFLAGS C compiler flags
2669 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2670 nonstandard directory <lib dir>
2671 LIBS libraries to pass to the linker, e.g. -l<library>
2672 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2673 you have headers in a nonstandard directory <include dir>
2674 CXX C++ compiler command
2675 CXXFLAGS C++ compiler flags
2676 CPP C preprocessor
2677 OBJC Objective C compiler command
2678 OBJCFLAGS Objective C compiler flags
2679 OBJCPP Objective C preprocessor
2680 XMKMF Path to xmkmf, Makefile generator for X Window System
2681 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2682 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2683 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2684 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2685 INOTIFY_CFLAGS
2686 C compiler flags for libinotify, overriding pkg-config
2687 INOTIFY_LIBS
2688 Linker flags for libinotify, overriding pkg-config
2689 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2690 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2691 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2692 HAL_LIBS Linker flags for hal, overriding pkg-config
2693 GNUTLS_CFLAGS
2694 C compiler flags for gnutls, overriding pkg-config
2695 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2696 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2697 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2698 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2699 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2700 GPHOTO2_CFLAGS
2701 C compiler flags for libgphoto2, overriding pkg-config
2702 GPHOTO2_LIBS
2703 Linker flags for libgphoto2, overriding pkg-config
2704 GPHOTO2_PORT_CFLAGS
2705 C compiler flags for libgphoto2_port, overriding pkg-config
2706 GPHOTO2_PORT_LIBS
2707 Linker flags for libgphoto2_port, overriding pkg-config
2708 LCMS2_CFLAGS
2709 C compiler flags for lcms2, overriding pkg-config
2710 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2711 FREETYPE_CFLAGS
2712 C compiler flags for freetype2, overriding pkg-config
2713 FREETYPE_LIBS
2714 Linker flags for freetype2, overriding pkg-config
2715 PULSE_CFLAGS
2716 C compiler flags for libpulse, overriding pkg-config
2717 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2718 GSTREAMER_CFLAGS
2719 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2720 gstreamer-audio-1.0, overriding pkg-config
2721 GSTREAMER_LIBS
2722 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2723 gstreamer-audio-1.0, overriding pkg-config
2724 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2725 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2726 UNWIND_CFLAGS
2727 C compiler flags for libunwind, overriding pkg-config
2728 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2729 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2730 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2731 FAUDIO_CFLAGS
2732 C compiler flags for FAudio, overriding pkg-config
2733 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2734 CAPI20_CFLAGS
2735 C compiler flags for capi20, overriding pkg-config
2736 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2737 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2738 CUPS_LIBS Linker flags for cups, overriding pkg-config
2739 FONTCONFIG_CFLAGS
2740 C compiler flags for fontconfig, overriding pkg-config
2741 FONTCONFIG_LIBS
2742 Linker flags for fontconfig, overriding pkg-config
2743 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2744 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2745 GSSAPI_CFLAGS
2746 C compiler flags for krb5-gssapi, overriding pkg-config
2747 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2748 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2749 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2750 JXRLIB_CFLAGS
2751 C compiler flags for jxrlib, overriding pkg-config
2752 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2753 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2754 PNG_LIBS Linker flags for libpng, overriding pkg-config
2755 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2756 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2757 MPG123_CFLAGS
2758 C compiler flags for libmpg123, overriding pkg-config
2759 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2760 NETAPI_CFLAGS
2761 C compiler flags for netapi, overriding pkg-config
2762 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2763 VKD3D_CFLAGS
2764 C compiler flags for libvkd3d, overriding pkg-config
2765 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2766 VKD3D_SHADER_CFLAGS
2767 C compiler flags for libvkd3d-shader, overriding pkg-config
2768 VKD3D_SHADER_LIBS
2769 Linker flags for libvkd3d-shader, overriding pkg-config
2770 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2771 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2773 Use these variables to override the choices made by `configure' or to help
2774 it to find libraries and programs with nonstandard names/locations.
2776 Report bugs to <wine-devel@winehq.org>.
2777 Wine home page: <https://www.winehq.org>.
2778 _ACEOF
2779 ac_status=$?
2782 if test "$ac_init_help" = "recursive"; then
2783 # If there are subdirs, report their specific --help.
2784 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2785 test -d "$ac_dir" ||
2786 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2787 continue
2788 ac_builddir=.
2790 case "$ac_dir" in
2791 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2793 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2794 # A ".." for each directory in $ac_dir_suffix.
2795 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2796 case $ac_top_builddir_sub in
2797 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2798 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2799 esac ;;
2800 esac
2801 ac_abs_top_builddir=$ac_pwd
2802 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2803 # for backward compatibility:
2804 ac_top_builddir=$ac_top_build_prefix
2806 case $srcdir in
2807 .) # We are building in place.
2808 ac_srcdir=.
2809 ac_top_srcdir=$ac_top_builddir_sub
2810 ac_abs_top_srcdir=$ac_pwd ;;
2811 [\\/]* | ?:[\\/]* ) # Absolute name.
2812 ac_srcdir=$srcdir$ac_dir_suffix;
2813 ac_top_srcdir=$srcdir
2814 ac_abs_top_srcdir=$srcdir ;;
2815 *) # Relative name.
2816 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2817 ac_top_srcdir=$ac_top_build_prefix$srcdir
2818 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2819 esac
2820 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2822 cd "$ac_dir" || { ac_status=$?; continue; }
2823 # Check for guested configure.
2824 if test -f "$ac_srcdir/configure.gnu"; then
2825 echo &&
2826 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2827 elif test -f "$ac_srcdir/configure"; then
2828 echo &&
2829 $SHELL "$ac_srcdir/configure" --help=recursive
2830 else
2831 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2832 fi || ac_status=$?
2833 cd "$ac_pwd" || { ac_status=$?; break; }
2834 done
2837 test -n "$ac_init_help" && exit $ac_status
2838 if $ac_init_version; then
2839 cat <<\_ACEOF
2840 Wine configure 6.6
2841 generated by GNU Autoconf 2.69
2843 Copyright (C) 2012 Free Software Foundation, Inc.
2844 This configure script is free software; the Free Software Foundation
2845 gives unlimited permission to copy, distribute and modify it.
2846 _ACEOF
2847 exit
2850 ## ------------------------ ##
2851 ## Autoconf initialization. ##
2852 ## ------------------------ ##
2854 # ac_fn_c_try_compile LINENO
2855 # --------------------------
2856 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2857 ac_fn_c_try_compile ()
2859 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2860 rm -f conftest.$ac_objext
2861 if { { ac_try="$ac_compile"
2862 case "(($ac_try" in
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2865 esac
2866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2867 $as_echo "$ac_try_echo"; } >&5
2868 (eval "$ac_compile") 2>conftest.err
2869 ac_status=$?
2870 if test -s conftest.err; then
2871 grep -v '^ *+' conftest.err >conftest.er1
2872 cat conftest.er1 >&5
2873 mv -f conftest.er1 conftest.err
2875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2876 test $ac_status = 0; } && {
2877 test -z "$ac_c_werror_flag" ||
2878 test ! -s conftest.err
2879 } && test -s conftest.$ac_objext; then :
2880 ac_retval=0
2881 else
2882 $as_echo "$as_me: failed program was:" >&5
2883 sed 's/^/| /' conftest.$ac_ext >&5
2885 ac_retval=1
2887 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2888 as_fn_set_status $ac_retval
2890 } # ac_fn_c_try_compile
2892 # ac_fn_cxx_try_compile LINENO
2893 # ----------------------------
2894 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2895 ac_fn_cxx_try_compile ()
2897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2898 rm -f conftest.$ac_objext
2899 if { { ac_try="$ac_compile"
2900 case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2903 esac
2904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2905 $as_echo "$ac_try_echo"; } >&5
2906 (eval "$ac_compile") 2>conftest.err
2907 ac_status=$?
2908 if test -s conftest.err; then
2909 grep -v '^ *+' conftest.err >conftest.er1
2910 cat conftest.er1 >&5
2911 mv -f conftest.er1 conftest.err
2913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2914 test $ac_status = 0; } && {
2915 test -z "$ac_cxx_werror_flag" ||
2916 test ! -s conftest.err
2917 } && test -s conftest.$ac_objext; then :
2918 ac_retval=0
2919 else
2920 $as_echo "$as_me: failed program was:" >&5
2921 sed 's/^/| /' conftest.$ac_ext >&5
2923 ac_retval=1
2925 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2926 as_fn_set_status $ac_retval
2928 } # ac_fn_cxx_try_compile
2930 # ac_fn_c_try_link LINENO
2931 # -----------------------
2932 # Try to link conftest.$ac_ext, and return whether this succeeded.
2933 ac_fn_c_try_link ()
2935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2936 rm -f conftest.$ac_objext conftest$ac_exeext
2937 if { { ac_try="$ac_link"
2938 case "(($ac_try" in
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2941 esac
2942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943 $as_echo "$ac_try_echo"; } >&5
2944 (eval "$ac_link") 2>conftest.err
2945 ac_status=$?
2946 if test -s conftest.err; then
2947 grep -v '^ *+' conftest.err >conftest.er1
2948 cat conftest.er1 >&5
2949 mv -f conftest.er1 conftest.err
2951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2952 test $ac_status = 0; } && {
2953 test -z "$ac_c_werror_flag" ||
2954 test ! -s conftest.err
2955 } && test -s conftest$ac_exeext && {
2956 test "$cross_compiling" = yes ||
2957 test -x conftest$ac_exeext
2958 }; then :
2959 ac_retval=0
2960 else
2961 $as_echo "$as_me: failed program was:" >&5
2962 sed 's/^/| /' conftest.$ac_ext >&5
2964 ac_retval=1
2966 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2967 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2968 # interfere with the next link command; also delete a directory that is
2969 # left behind by Apple's compiler. We do this before executing the actions.
2970 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2972 as_fn_set_status $ac_retval
2974 } # ac_fn_c_try_link
2976 # ac_fn_c_try_cpp LINENO
2977 # ----------------------
2978 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2979 ac_fn_c_try_cpp ()
2981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2982 if { { ac_try="$ac_cpp conftest.$ac_ext"
2983 case "(($ac_try" in
2984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 *) ac_try_echo=$ac_try;;
2986 esac
2987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2988 $as_echo "$ac_try_echo"; } >&5
2989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2990 ac_status=$?
2991 if test -s conftest.err; then
2992 grep -v '^ *+' conftest.err >conftest.er1
2993 cat conftest.er1 >&5
2994 mv -f conftest.er1 conftest.err
2996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2997 test $ac_status = 0; } > conftest.i && {
2998 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2999 test ! -s conftest.err
3000 }; then :
3001 ac_retval=0
3002 else
3003 $as_echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3006 ac_retval=1
3008 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3009 as_fn_set_status $ac_retval
3011 } # ac_fn_c_try_cpp
3013 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3014 # -------------------------------------------------------
3015 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3016 # the include files in INCLUDES and setting the cache variable VAR
3017 # accordingly.
3018 ac_fn_c_check_header_mongrel ()
3020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3021 if eval \${$3+:} false; then :
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3023 $as_echo_n "checking for $2... " >&6; }
3024 if eval \${$3+:} false; then :
3025 $as_echo_n "(cached) " >&6
3027 eval ac_res=\$$3
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3029 $as_echo "$ac_res" >&6; }
3030 else
3031 # Is the header compilable?
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3033 $as_echo_n "checking $2 usability... " >&6; }
3034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3035 /* end confdefs.h. */
3037 #include <$2>
3038 _ACEOF
3039 if ac_fn_c_try_compile "$LINENO"; then :
3040 ac_header_compiler=yes
3041 else
3042 ac_header_compiler=no
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3046 $as_echo "$ac_header_compiler" >&6; }
3048 # Is the header present?
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3050 $as_echo_n "checking $2 presence... " >&6; }
3051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3052 /* end confdefs.h. */
3053 #include <$2>
3054 _ACEOF
3055 if ac_fn_c_try_cpp "$LINENO"; then :
3056 ac_header_preproc=yes
3057 else
3058 ac_header_preproc=no
3060 rm -f conftest.err conftest.i conftest.$ac_ext
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3062 $as_echo "$ac_header_preproc" >&6; }
3064 # So? What about this header?
3065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3066 yes:no: )
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3068 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3070 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3072 no:yes:* )
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3074 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3076 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3078 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3080 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3082 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3083 ( $as_echo "## ------------------------------------ ##
3084 ## Report this to wine-devel@winehq.org ##
3085 ## ------------------------------------ ##"
3086 ) | sed "s/^/$as_me: WARNING: /" >&2
3088 esac
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3090 $as_echo_n "checking for $2... " >&6; }
3091 if eval \${$3+:} false; then :
3092 $as_echo_n "(cached) " >&6
3093 else
3094 eval "$3=\$ac_header_compiler"
3096 eval ac_res=\$$3
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3098 $as_echo "$ac_res" >&6; }
3100 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3102 } # ac_fn_c_check_header_mongrel
3104 # ac_fn_c_try_run LINENO
3105 # ----------------------
3106 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3107 # that executables *can* be run.
3108 ac_fn_c_try_run ()
3110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3111 if { { ac_try="$ac_link"
3112 case "(($ac_try" in
3113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3115 esac
3116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3117 $as_echo "$ac_try_echo"; } >&5
3118 (eval "$ac_link") 2>&5
3119 ac_status=$?
3120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3121 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3122 { { case "(($ac_try" in
3123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124 *) ac_try_echo=$ac_try;;
3125 esac
3126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3127 $as_echo "$ac_try_echo"; } >&5
3128 (eval "$ac_try") 2>&5
3129 ac_status=$?
3130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3131 test $ac_status = 0; }; }; then :
3132 ac_retval=0
3133 else
3134 $as_echo "$as_me: program exited with status $ac_status" >&5
3135 $as_echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3138 ac_retval=$ac_status
3140 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3141 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3142 as_fn_set_status $ac_retval
3144 } # ac_fn_c_try_run
3146 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3147 # -------------------------------------------------------
3148 # Tests whether HEADER exists and can be compiled using the include files in
3149 # INCLUDES, setting the cache variable VAR accordingly.
3150 ac_fn_c_check_header_compile ()
3152 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3154 $as_echo_n "checking for $2... " >&6; }
3155 if eval \${$3+:} false; then :
3156 $as_echo_n "(cached) " >&6
3157 else
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3161 #include <$2>
3162 _ACEOF
3163 if ac_fn_c_try_compile "$LINENO"; then :
3164 eval "$3=yes"
3165 else
3166 eval "$3=no"
3168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3170 eval ac_res=\$$3
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3172 $as_echo "$ac_res" >&6; }
3173 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3175 } # ac_fn_c_check_header_compile
3177 # ac_fn_objc_try_compile LINENO
3178 # -----------------------------
3179 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3180 ac_fn_objc_try_compile ()
3182 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3183 rm -f conftest.$ac_objext
3184 if { { ac_try="$ac_compile"
3185 case "(($ac_try" in
3186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3187 *) ac_try_echo=$ac_try;;
3188 esac
3189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3190 $as_echo "$ac_try_echo"; } >&5
3191 (eval "$ac_compile") 2>conftest.err
3192 ac_status=$?
3193 if test -s conftest.err; then
3194 grep -v '^ *+' conftest.err >conftest.er1
3195 cat conftest.er1 >&5
3196 mv -f conftest.er1 conftest.err
3198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3199 test $ac_status = 0; } && {
3200 test -z "$ac_objc_werror_flag" ||
3201 test ! -s conftest.err
3202 } && test -s conftest.$ac_objext; then :
3203 ac_retval=0
3204 else
3205 $as_echo "$as_me: failed program was:" >&5
3206 sed 's/^/| /' conftest.$ac_ext >&5
3208 ac_retval=1
3210 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3211 as_fn_set_status $ac_retval
3213 } # ac_fn_objc_try_compile
3215 # ac_fn_objc_try_cpp LINENO
3216 # -------------------------
3217 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3218 ac_fn_objc_try_cpp ()
3220 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3221 if { { ac_try="$ac_cpp conftest.$ac_ext"
3222 case "(($ac_try" in
3223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3224 *) ac_try_echo=$ac_try;;
3225 esac
3226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3227 $as_echo "$ac_try_echo"; } >&5
3228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3229 ac_status=$?
3230 if test -s conftest.err; then
3231 grep -v '^ *+' conftest.err >conftest.er1
3232 cat conftest.er1 >&5
3233 mv -f conftest.er1 conftest.err
3235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3236 test $ac_status = 0; } > conftest.i && {
3237 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3238 test ! -s conftest.err
3239 }; then :
3240 ac_retval=0
3241 else
3242 $as_echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.$ac_ext >&5
3245 ac_retval=1
3247 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3248 as_fn_set_status $ac_retval
3250 } # ac_fn_objc_try_cpp
3252 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3253 # ----------------------------------------------------------
3254 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3255 # the include files in INCLUDES and setting the cache variable VAR
3256 # accordingly.
3257 ac_fn_objc_check_header_mongrel ()
3259 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3260 if eval \${$3+:} false; then :
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3262 $as_echo_n "checking for $2... " >&6; }
3263 if eval \${$3+:} false; then :
3264 $as_echo_n "(cached) " >&6
3266 eval ac_res=\$$3
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3268 $as_echo "$ac_res" >&6; }
3269 else
3270 # Is the header compilable?
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3272 $as_echo_n "checking $2 usability... " >&6; }
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3276 #include <$2>
3277 _ACEOF
3278 if ac_fn_objc_try_compile "$LINENO"; then :
3279 ac_header_compiler=yes
3280 else
3281 ac_header_compiler=no
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3285 $as_echo "$ac_header_compiler" >&6; }
3287 # Is the header present?
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3289 $as_echo_n "checking $2 presence... " >&6; }
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3292 #include <$2>
3293 _ACEOF
3294 if ac_fn_objc_try_cpp "$LINENO"; then :
3295 ac_header_preproc=yes
3296 else
3297 ac_header_preproc=no
3299 rm -f conftest.err conftest.i conftest.$ac_ext
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3301 $as_echo "$ac_header_preproc" >&6; }
3303 # So? What about this header?
3304 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3305 yes:no: )
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3307 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3309 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3311 no:yes:* )
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3313 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3315 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3317 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3319 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3321 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3322 ( $as_echo "## ------------------------------------ ##
3323 ## Report this to wine-devel@winehq.org ##
3324 ## ------------------------------------ ##"
3325 ) | sed "s/^/$as_me: WARNING: /" >&2
3327 esac
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3329 $as_echo_n "checking for $2... " >&6; }
3330 if eval \${$3+:} false; then :
3331 $as_echo_n "(cached) " >&6
3332 else
3333 eval "$3=\$ac_header_compiler"
3335 eval ac_res=\$$3
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3337 $as_echo "$ac_res" >&6; }
3339 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3341 } # ac_fn_objc_check_header_mongrel
3343 # ac_fn_c_check_func LINENO FUNC VAR
3344 # ----------------------------------
3345 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3346 ac_fn_c_check_func ()
3348 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3350 $as_echo_n "checking for $2... " >&6; }
3351 if eval \${$3+:} false; then :
3352 $as_echo_n "(cached) " >&6
3353 else
3354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h. */
3356 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3358 #define $2 innocuous_$2
3360 /* System header to define __stub macros and hopefully few prototypes,
3361 which can conflict with char $2 (); below.
3362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3363 <limits.h> exists even on freestanding compilers. */
3365 #ifdef __STDC__
3366 # include <limits.h>
3367 #else
3368 # include <assert.h>
3369 #endif
3371 #undef $2
3373 /* Override any GCC internal prototype to avoid an error.
3374 Use char because int might match the return type of a GCC
3375 builtin and then its argument prototype would still apply. */
3376 #ifdef __cplusplus
3377 extern "C"
3378 #endif
3379 char $2 ();
3380 /* The GNU C library defines this for functions which it implements
3381 to always fail with ENOSYS. Some functions are actually named
3382 something starting with __ and the normal name is an alias. */
3383 #if defined __stub_$2 || defined __stub___$2
3384 choke me
3385 #endif
3388 main ()
3390 return $2 ();
3392 return 0;
3394 _ACEOF
3395 if ac_fn_c_try_link "$LINENO"; then :
3396 eval "$3=yes"
3397 else
3398 eval "$3=no"
3400 rm -f core conftest.err conftest.$ac_objext \
3401 conftest$ac_exeext conftest.$ac_ext
3403 eval ac_res=\$$3
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3405 $as_echo "$ac_res" >&6; }
3406 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3408 } # ac_fn_c_check_func
3410 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3411 # ----------------------------------------------------
3412 # Tries to find if the field MEMBER exists in type AGGR, after including
3413 # INCLUDES, setting cache variable VAR accordingly.
3414 ac_fn_c_check_member ()
3416 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3418 $as_echo_n "checking for $2.$3... " >&6; }
3419 if eval \${$4+:} false; then :
3420 $as_echo_n "(cached) " >&6
3421 else
3422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3426 main ()
3428 static $2 ac_aggr;
3429 if (ac_aggr.$3)
3430 return 0;
3432 return 0;
3434 _ACEOF
3435 if ac_fn_c_try_compile "$LINENO"; then :
3436 eval "$4=yes"
3437 else
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h. */
3442 main ()
3444 static $2 ac_aggr;
3445 if (sizeof ac_aggr.$3)
3446 return 0;
3448 return 0;
3450 _ACEOF
3451 if ac_fn_c_try_compile "$LINENO"; then :
3452 eval "$4=yes"
3453 else
3454 eval "$4=no"
3456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3460 eval ac_res=\$$4
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3462 $as_echo "$ac_res" >&6; }
3463 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3465 } # ac_fn_c_check_member
3467 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3468 # -------------------------------------------
3469 # Tests whether TYPE exists after having included INCLUDES, setting cache
3470 # variable VAR accordingly.
3471 ac_fn_c_check_type ()
3473 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3475 $as_echo_n "checking for $2... " >&6; }
3476 if eval \${$3+:} false; then :
3477 $as_echo_n "(cached) " >&6
3478 else
3479 eval "$3=no"
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3484 main ()
3486 if (sizeof ($2))
3487 return 0;
3489 return 0;
3491 _ACEOF
3492 if ac_fn_c_try_compile "$LINENO"; then :
3493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3494 /* end confdefs.h. */
3497 main ()
3499 if (sizeof (($2)))
3500 return 0;
3502 return 0;
3504 _ACEOF
3505 if ac_fn_c_try_compile "$LINENO"; then :
3507 else
3508 eval "$3=yes"
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514 eval ac_res=\$$3
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3516 $as_echo "$ac_res" >&6; }
3517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3519 } # ac_fn_c_check_type
3520 cat >config.log <<_ACEOF
3521 This file contains any messages produced by compilers while
3522 running configure, to aid debugging if configure makes a mistake.
3524 It was created by Wine $as_me 6.6, which was
3525 generated by GNU Autoconf 2.69. Invocation command line was
3527 $ $0 $@
3529 _ACEOF
3530 exec 5>>config.log
3532 cat <<_ASUNAME
3533 ## --------- ##
3534 ## Platform. ##
3535 ## --------- ##
3537 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3538 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3539 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3540 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3541 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3543 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3544 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3546 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3547 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3548 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3549 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3550 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3551 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3552 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3554 _ASUNAME
3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 for as_dir in $PATH
3559 IFS=$as_save_IFS
3560 test -z "$as_dir" && as_dir=.
3561 $as_echo "PATH: $as_dir"
3562 done
3563 IFS=$as_save_IFS
3565 } >&5
3567 cat >&5 <<_ACEOF
3570 ## ----------- ##
3571 ## Core tests. ##
3572 ## ----------- ##
3574 _ACEOF
3577 # Keep a trace of the command line.
3578 # Strip out --no-create and --no-recursion so they do not pile up.
3579 # Strip out --silent because we don't want to record it for future runs.
3580 # Also quote any args containing shell meta-characters.
3581 # Make two passes to allow for proper duplicate-argument suppression.
3582 ac_configure_args=
3583 ac_configure_args0=
3584 ac_configure_args1=
3585 ac_must_keep_next=false
3586 for ac_pass in 1 2
3588 for ac_arg
3590 case $ac_arg in
3591 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3592 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3593 | -silent | --silent | --silen | --sile | --sil)
3594 continue ;;
3595 *\'*)
3596 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3597 esac
3598 case $ac_pass in
3599 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3601 as_fn_append ac_configure_args1 " '$ac_arg'"
3602 if test $ac_must_keep_next = true; then
3603 ac_must_keep_next=false # Got value, back to normal.
3604 else
3605 case $ac_arg in
3606 *=* | --config-cache | -C | -disable-* | --disable-* \
3607 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3608 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3609 | -with-* | --with-* | -without-* | --without-* | --x)
3610 case "$ac_configure_args0 " in
3611 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3612 esac
3614 -* ) ac_must_keep_next=true ;;
3615 esac
3617 as_fn_append ac_configure_args " '$ac_arg'"
3619 esac
3620 done
3621 done
3622 { ac_configure_args0=; unset ac_configure_args0;}
3623 { ac_configure_args1=; unset ac_configure_args1;}
3625 # When interrupted or exit'd, cleanup temporary files, and complete
3626 # config.log. We remove comments because anyway the quotes in there
3627 # would cause problems or look ugly.
3628 # WARNING: Use '\'' to represent an apostrophe within the trap.
3629 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3630 trap 'exit_status=$?
3631 # Save into config.log some information that might help in debugging.
3633 echo
3635 $as_echo "## ---------------- ##
3636 ## Cache variables. ##
3637 ## ---------------- ##"
3638 echo
3639 # The following way of writing the cache mishandles newlines in values,
3641 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3642 eval ac_val=\$$ac_var
3643 case $ac_val in #(
3644 *${as_nl}*)
3645 case $ac_var in #(
3646 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3647 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3648 esac
3649 case $ac_var in #(
3650 _ | IFS | as_nl) ;; #(
3651 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3652 *) { eval $ac_var=; unset $ac_var;} ;;
3653 esac ;;
3654 esac
3655 done
3656 (set) 2>&1 |
3657 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3658 *${as_nl}ac_space=\ *)
3659 sed -n \
3660 "s/'\''/'\''\\\\'\'''\''/g;
3661 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3662 ;; #(
3664 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3666 esac |
3667 sort
3669 echo
3671 $as_echo "## ----------------- ##
3672 ## Output variables. ##
3673 ## ----------------- ##"
3674 echo
3675 for ac_var in $ac_subst_vars
3677 eval ac_val=\$$ac_var
3678 case $ac_val in
3679 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3680 esac
3681 $as_echo "$ac_var='\''$ac_val'\''"
3682 done | sort
3683 echo
3685 if test -n "$ac_subst_files"; then
3686 $as_echo "## ------------------- ##
3687 ## File substitutions. ##
3688 ## ------------------- ##"
3689 echo
3690 for ac_var in $ac_subst_files
3692 eval ac_val=\$$ac_var
3693 case $ac_val in
3694 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3695 esac
3696 $as_echo "$ac_var='\''$ac_val'\''"
3697 done | sort
3698 echo
3701 if test -s confdefs.h; then
3702 $as_echo "## ----------- ##
3703 ## confdefs.h. ##
3704 ## ----------- ##"
3705 echo
3706 cat confdefs.h
3707 echo
3709 test "$ac_signal" != 0 &&
3710 $as_echo "$as_me: caught signal $ac_signal"
3711 $as_echo "$as_me: exit $exit_status"
3712 } >&5
3713 rm -f core *.core core.conftest.* &&
3714 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3715 exit $exit_status
3717 for ac_signal in 1 2 13 15; do
3718 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3719 done
3720 ac_signal=0
3722 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3723 rm -f -r conftest* confdefs.h
3725 $as_echo "/* confdefs.h */" > confdefs.h
3727 # Predefined preprocessor variables.
3729 cat >>confdefs.h <<_ACEOF
3730 #define PACKAGE_NAME "$PACKAGE_NAME"
3731 _ACEOF
3733 cat >>confdefs.h <<_ACEOF
3734 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3735 _ACEOF
3737 cat >>confdefs.h <<_ACEOF
3738 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3739 _ACEOF
3741 cat >>confdefs.h <<_ACEOF
3742 #define PACKAGE_STRING "$PACKAGE_STRING"
3743 _ACEOF
3745 cat >>confdefs.h <<_ACEOF
3746 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3747 _ACEOF
3749 cat >>confdefs.h <<_ACEOF
3750 #define PACKAGE_URL "$PACKAGE_URL"
3751 _ACEOF
3754 # Let the site file select an alternate cache file if it wants to.
3755 # Prefer an explicitly selected file to automatically selected ones.
3756 ac_site_file1=NONE
3757 ac_site_file2=NONE
3758 if test -n "$CONFIG_SITE"; then
3759 # We do not want a PATH search for config.site.
3760 case $CONFIG_SITE in #((
3761 -*) ac_site_file1=./$CONFIG_SITE;;
3762 */*) ac_site_file1=$CONFIG_SITE;;
3763 *) ac_site_file1=./$CONFIG_SITE;;
3764 esac
3765 elif test "x$prefix" != xNONE; then
3766 ac_site_file1=$prefix/share/config.site
3767 ac_site_file2=$prefix/etc/config.site
3768 else
3769 ac_site_file1=$ac_default_prefix/share/config.site
3770 ac_site_file2=$ac_default_prefix/etc/config.site
3772 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3774 test "x$ac_site_file" = xNONE && continue
3775 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3777 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3778 sed 's/^/| /' "$ac_site_file" >&5
3779 . "$ac_site_file" \
3780 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3782 as_fn_error $? "failed to load site script $ac_site_file
3783 See \`config.log' for more details" "$LINENO" 5; }
3785 done
3787 if test -r "$cache_file"; then
3788 # Some versions of bash will fail to source /dev/null (special files
3789 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3790 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3792 $as_echo "$as_me: loading cache $cache_file" >&6;}
3793 case $cache_file in
3794 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3795 *) . "./$cache_file";;
3796 esac
3798 else
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3800 $as_echo "$as_me: creating cache $cache_file" >&6;}
3801 >$cache_file
3804 # Check that the precious variables saved in the cache have kept the same
3805 # value.
3806 ac_cache_corrupted=false
3807 for ac_var in $ac_precious_vars; do
3808 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3809 eval ac_new_set=\$ac_env_${ac_var}_set
3810 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3811 eval ac_new_val=\$ac_env_${ac_var}_value
3812 case $ac_old_set,$ac_new_set in
3813 set,)
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3815 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3816 ac_cache_corrupted=: ;;
3817 ,set)
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3819 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3820 ac_cache_corrupted=: ;;
3821 ,);;
3823 if test "x$ac_old_val" != "x$ac_new_val"; then
3824 # differences in whitespace do not lead to failure.
3825 ac_old_val_w=`echo x $ac_old_val`
3826 ac_new_val_w=`echo x $ac_new_val`
3827 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3829 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3830 ac_cache_corrupted=:
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3833 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3834 eval $ac_var=\$ac_old_val
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3837 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3839 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3840 fi;;
3841 esac
3842 # Pass precious variables to config.status.
3843 if test "$ac_new_set" = set; then
3844 case $ac_new_val in
3845 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3846 *) ac_arg=$ac_var=$ac_new_val ;;
3847 esac
3848 case " $ac_configure_args " in
3849 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3850 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3851 esac
3853 done
3854 if $ac_cache_corrupted; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3858 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3859 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3861 ## -------------------- ##
3862 ## Main body of script. ##
3863 ## -------------------- ##
3865 ac_ext=c
3866 ac_cpp='$CPP $CPPFLAGS'
3867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3873 ac_config_headers="$ac_config_headers include/config.h"
3875 ac_aux_dir=
3876 for ac_dir in tools "$srcdir"/tools; do
3877 if test -f "$ac_dir/install-sh"; then
3878 ac_aux_dir=$ac_dir
3879 ac_install_sh="$ac_aux_dir/install-sh -c"
3880 break
3881 elif test -f "$ac_dir/install.sh"; then
3882 ac_aux_dir=$ac_dir
3883 ac_install_sh="$ac_aux_dir/install.sh -c"
3884 break
3885 elif test -f "$ac_dir/shtool"; then
3886 ac_aux_dir=$ac_dir
3887 ac_install_sh="$ac_aux_dir/shtool install -c"
3888 break
3890 done
3891 if test -z "$ac_aux_dir"; then
3892 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3895 # These three variables are undocumented and unsupported,
3896 # and are intended to be withdrawn in a future Autoconf release.
3897 # They can cause serious problems if a builder's source tree is in a directory
3898 # whose full name contains unusual characters.
3899 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3900 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3901 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3905 libwine_version="1.0"
3909 # Check whether --enable-win16 was given.
3910 if test "${enable_win16+set}" = set; then :
3911 enableval=$enable_win16;
3914 # Check whether --enable-win64 was given.
3915 if test "${enable_win64+set}" = set; then :
3916 enableval=$enable_win64;
3919 # Check whether --enable-tests was given.
3920 if test "${enable_tests+set}" = set; then :
3921 enableval=$enable_tests;
3924 # Check whether --enable-build-id was given.
3925 if test "${enable_build_id+set}" = set; then :
3926 enableval=$enable_build_id;
3929 # Check whether --enable-maintainer-mode was given.
3930 if test "${enable_maintainer_mode+set}" = set; then :
3931 enableval=$enable_maintainer_mode;
3934 # Check whether --enable-silent-rules was given.
3935 if test "${enable_silent_rules+set}" = set; then :
3936 enableval=$enable_silent_rules;
3939 # Check whether --enable-werror was given.
3940 if test "${enable_werror+set}" = set; then :
3941 enableval=$enable_werror;
3946 # Check whether --with-alsa was given.
3947 if test "${with_alsa+set}" = set; then :
3948 withval=$with_alsa;
3952 # Check whether --with-capi was given.
3953 if test "${with_capi+set}" = set; then :
3954 withval=$with_capi;
3958 # Check whether --with-cms was given.
3959 if test "${with_cms+set}" = set; then :
3960 withval=$with_cms;
3964 # Check whether --with-coreaudio was given.
3965 if test "${with_coreaudio+set}" = set; then :
3966 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3970 # Check whether --with-cups was given.
3971 if test "${with_cups+set}" = set; then :
3972 withval=$with_cups;
3976 # Check whether --with-dbus was given.
3977 if test "${with_dbus+set}" = set; then :
3978 withval=$with_dbus;
3982 # Check whether --with-faudio was given.
3983 if test "${with_faudio+set}" = set; then :
3984 withval=$with_faudio;
3988 # Check whether --with-float-abi was given.
3989 if test "${with_float_abi+set}" = set; then :
3990 withval=$with_float_abi;
3994 # Check whether --with-fontconfig was given.
3995 if test "${with_fontconfig+set}" = set; then :
3996 withval=$with_fontconfig;
4000 # Check whether --with-freetype was given.
4001 if test "${with_freetype+set}" = set; then :
4002 withval=$with_freetype;
4006 # Check whether --with-gettext was given.
4007 if test "${with_gettext+set}" = set; then :
4008 withval=$with_gettext;
4012 # Check whether --with-gettextpo was given.
4013 if test "${with_gettextpo+set}" = set; then :
4014 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4018 # Check whether --with-gphoto was given.
4019 if test "${with_gphoto+set}" = set; then :
4020 withval=$with_gphoto;
4024 # Check whether --with-gnutls was given.
4025 if test "${with_gnutls+set}" = set; then :
4026 withval=$with_gnutls;
4030 # Check whether --with-gsm was given.
4031 if test "${with_gsm+set}" = set; then :
4032 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4036 # Check whether --with-gssapi was given.
4037 if test "${with_gssapi+set}" = set; then :
4038 withval=$with_gssapi;
4042 # Check whether --with-gstreamer was given.
4043 if test "${with_gstreamer+set}" = set; then :
4044 withval=$with_gstreamer;
4048 # Check whether --with-hal was given.
4049 if test "${with_hal+set}" = set; then :
4050 withval=$with_hal;
4054 # Check whether --with-inotify was given.
4055 if test "${with_inotify+set}" = set; then :
4056 withval=$with_inotify;
4060 # Check whether --with-jpeg was given.
4061 if test "${with_jpeg+set}" = set; then :
4062 withval=$with_jpeg;
4066 # Check whether --with-jxrlib was given.
4067 if test "${with_jxrlib+set}" = set; then :
4068 withval=$with_jxrlib;
4072 # Check whether --with-krb5 was given.
4073 if test "${with_krb5+set}" = set; then :
4074 withval=$with_krb5;
4078 # Check whether --with-ldap was given.
4079 if test "${with_ldap+set}" = set; then :
4080 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4084 # Check whether --with-mingw was given.
4085 if test "${with_mingw+set}" = set; then :
4086 withval=$with_mingw;
4090 # Check whether --with-mpg123 was given.
4091 if test "${with_mpg123+set}" = set; then :
4092 withval=$with_mpg123;
4096 # Check whether --with-netapi was given.
4097 if test "${with_netapi+set}" = set; then :
4098 withval=$with_netapi;
4102 # Check whether --with-openal was given.
4103 if test "${with_openal+set}" = set; then :
4104 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4108 # Check whether --with-opencl was given.
4109 if test "${with_opencl+set}" = set; then :
4110 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4114 # Check whether --with-opengl was given.
4115 if test "${with_opengl+set}" = set; then :
4116 withval=$with_opengl;
4120 # Check whether --with-osmesa was given.
4121 if test "${with_osmesa+set}" = set; then :
4122 withval=$with_osmesa;
4126 # Check whether --with-oss was given.
4127 if test "${with_oss+set}" = set; then :
4128 withval=$with_oss;
4132 # Check whether --with-pcap was given.
4133 if test "${with_pcap+set}" = set; then :
4134 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4138 # Check whether --with-png was given.
4139 if test "${with_png+set}" = set; then :
4140 withval=$with_png;
4144 # Check whether --with-pthread was given.
4145 if test "${with_pthread+set}" = set; then :
4146 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4150 # Check whether --with-pulse was given.
4151 if test "${with_pulse+set}" = set; then :
4152 withval=$with_pulse;
4156 # Check whether --with-quicktime was given.
4157 if test "${with_quicktime+set}" = set; then :
4158 withval=$with_quicktime;
4162 # Check whether --with-sane was given.
4163 if test "${with_sane+set}" = set; then :
4164 withval=$with_sane;
4168 # Check whether --with-sdl was given.
4169 if test "${with_sdl+set}" = set; then :
4170 withval=$with_sdl;
4174 # Check whether --with-tiff was given.
4175 if test "${with_tiff+set}" = set; then :
4176 withval=$with_tiff;
4180 # Check whether --with-udev was given.
4181 if test "${with_udev+set}" = set; then :
4182 withval=$with_udev;
4186 # Check whether --with-unwind was given.
4187 if test "${with_unwind+set}" = set; then :
4188 withval=$with_unwind;
4192 # Check whether --with-usb was given.
4193 if test "${with_usb+set}" = set; then :
4194 withval=$with_usb;
4198 # Check whether --with-v4l2 was given.
4199 if test "${with_v4l2+set}" = set; then :
4200 withval=$with_v4l2;
4204 # Check whether --with-vkd3d was given.
4205 if test "${with_vkd3d+set}" = set; then :
4206 withval=$with_vkd3d;
4210 # Check whether --with-vulkan was given.
4211 if test "${with_vulkan+set}" = set; then :
4212 withval=$with_vulkan;
4216 # Check whether --with-xcomposite was given.
4217 if test "${with_xcomposite+set}" = set; then :
4218 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4222 # Check whether --with-xcursor was given.
4223 if test "${with_xcursor+set}" = set; then :
4224 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4228 # Check whether --with-xfixes was given.
4229 if test "${with_xfixes+set}" = set; then :
4230 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4234 # Check whether --with-xinerama was given.
4235 if test "${with_xinerama+set}" = set; then :
4236 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4240 # Check whether --with-xinput was given.
4241 if test "${with_xinput+set}" = set; then :
4242 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4246 # Check whether --with-xinput2 was given.
4247 if test "${with_xinput2+set}" = set; then :
4248 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4252 # Check whether --with-xml was given.
4253 if test "${with_xml+set}" = set; then :
4254 withval=$with_xml;
4258 # Check whether --with-xrandr was given.
4259 if test "${with_xrandr+set}" = set; then :
4260 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4264 # Check whether --with-xrender was given.
4265 if test "${with_xrender+set}" = set; then :
4266 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4270 # Check whether --with-xshape was given.
4271 if test "${with_xshape+set}" = set; then :
4272 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4276 # Check whether --with-xshm was given.
4277 if test "${with_xshm+set}" = set; then :
4278 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4282 # Check whether --with-xslt was given.
4283 if test "${with_xslt+set}" = set; then :
4284 withval=$with_xslt;
4288 # Check whether --with-xxf86vm was given.
4289 if test "${with_xxf86vm+set}" = set; then :
4290 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
4295 # Check whether --with-wine-tools was given.
4296 if test "${with_wine_tools+set}" = set; then :
4297 withval=$with_wine_tools;
4301 # Check whether --with-wine64 was given.
4302 if test "${with_wine64+set}" = set; then :
4303 withval=$with_wine64;
4307 # Make sure we can run config.sub.
4308 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4309 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4312 $as_echo_n "checking build system type... " >&6; }
4313 if ${ac_cv_build+:} false; then :
4314 $as_echo_n "(cached) " >&6
4315 else
4316 ac_build_alias=$build_alias
4317 test "x$ac_build_alias" = x &&
4318 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4319 test "x$ac_build_alias" = x &&
4320 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4321 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4322 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4326 $as_echo "$ac_cv_build" >&6; }
4327 case $ac_cv_build in
4328 *-*-*) ;;
4329 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4330 esac
4331 build=$ac_cv_build
4332 ac_save_IFS=$IFS; IFS='-'
4333 set x $ac_cv_build
4334 shift
4335 build_cpu=$1
4336 build_vendor=$2
4337 shift; shift
4338 # Remember, the first character of IFS is used to create $*,
4339 # except with old shells:
4340 build_os=$*
4341 IFS=$ac_save_IFS
4342 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4346 $as_echo_n "checking host system type... " >&6; }
4347 if ${ac_cv_host+:} false; then :
4348 $as_echo_n "(cached) " >&6
4349 else
4350 if test "x$host_alias" = x; then
4351 ac_cv_host=$ac_cv_build
4352 else
4353 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4354 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4359 $as_echo "$ac_cv_host" >&6; }
4360 case $ac_cv_host in
4361 *-*-*) ;;
4362 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4363 esac
4364 host=$ac_cv_host
4365 ac_save_IFS=$IFS; IFS='-'
4366 set x $ac_cv_host
4367 shift
4368 host_cpu=$1
4369 host_vendor=$2
4370 shift; shift
4371 # Remember, the first character of IFS is used to create $*,
4372 # except with old shells:
4373 host_os=$*
4374 IFS=$ac_save_IFS
4375 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4381 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4382 set x ${MAKE-make}
4383 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4384 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4385 $as_echo_n "(cached) " >&6
4386 else
4387 cat >conftest.make <<\_ACEOF
4388 SHELL = /bin/sh
4389 all:
4390 @echo '@@@%%%=$(MAKE)=@@@%%%'
4391 _ACEOF
4392 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4393 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4394 *@@@%%%=?*=@@@%%%*)
4395 eval ac_cv_prog_make_${ac_make}_set=yes;;
4397 eval ac_cv_prog_make_${ac_make}_set=no;;
4398 esac
4399 rm -f conftest.make
4401 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4403 $as_echo "yes" >&6; }
4404 SET_MAKE=
4405 else
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4408 SET_MAKE="MAKE=${MAKE-make}"
4411 ac_ext=c
4412 ac_cpp='$CPP $CPPFLAGS'
4413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4416 if test -n "$ac_tool_prefix"; then
4417 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4418 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4420 $as_echo_n "checking for $ac_word... " >&6; }
4421 if ${ac_cv_prog_CC+:} false; then :
4422 $as_echo_n "(cached) " >&6
4423 else
4424 if test -n "$CC"; then
4425 ac_cv_prog_CC="$CC" # Let the user override the test.
4426 else
4427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4428 for as_dir in $PATH
4430 IFS=$as_save_IFS
4431 test -z "$as_dir" && as_dir=.
4432 for ac_exec_ext in '' $ac_executable_extensions; do
4433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4434 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 break 2
4438 done
4439 done
4440 IFS=$as_save_IFS
4444 CC=$ac_cv_prog_CC
4445 if test -n "$CC"; then
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4447 $as_echo "$CC" >&6; }
4448 else
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4455 if test -z "$ac_cv_prog_CC"; then
4456 ac_ct_CC=$CC
4457 # Extract the first word of "gcc", so it can be a program name with args.
4458 set dummy gcc; ac_word=$2
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4460 $as_echo_n "checking for $ac_word... " >&6; }
4461 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4462 $as_echo_n "(cached) " >&6
4463 else
4464 if test -n "$ac_ct_CC"; then
4465 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4466 else
4467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 for as_dir in $PATH
4470 IFS=$as_save_IFS
4471 test -z "$as_dir" && as_dir=.
4472 for ac_exec_ext in '' $ac_executable_extensions; do
4473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4474 ac_cv_prog_ac_ct_CC="gcc"
4475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4476 break 2
4478 done
4479 done
4480 IFS=$as_save_IFS
4484 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4485 if test -n "$ac_ct_CC"; then
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4487 $as_echo "$ac_ct_CC" >&6; }
4488 else
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4490 $as_echo "no" >&6; }
4493 if test "x$ac_ct_CC" = x; then
4494 CC=""
4495 else
4496 case $cross_compiling:$ac_tool_warned in
4497 yes:)
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4500 ac_tool_warned=yes ;;
4501 esac
4502 CC=$ac_ct_CC
4504 else
4505 CC="$ac_cv_prog_CC"
4508 if test -z "$CC"; then
4509 if test -n "$ac_tool_prefix"; then
4510 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4511 set dummy ${ac_tool_prefix}cc; ac_word=$2
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if ${ac_cv_prog_CC+:} false; then :
4515 $as_echo_n "(cached) " >&6
4516 else
4517 if test -n "$CC"; then
4518 ac_cv_prog_CC="$CC" # Let the user override the test.
4519 else
4520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4521 for as_dir in $PATH
4523 IFS=$as_save_IFS
4524 test -z "$as_dir" && as_dir=.
4525 for ac_exec_ext in '' $ac_executable_extensions; do
4526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4527 ac_cv_prog_CC="${ac_tool_prefix}cc"
4528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 break 2
4531 done
4532 done
4533 IFS=$as_save_IFS
4537 CC=$ac_cv_prog_CC
4538 if test -n "$CC"; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4540 $as_echo "$CC" >&6; }
4541 else
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4543 $as_echo "no" >&6; }
4549 if test -z "$CC"; then
4550 # Extract the first word of "cc", so it can be a program name with args.
4551 set dummy cc; ac_word=$2
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4553 $as_echo_n "checking for $ac_word... " >&6; }
4554 if ${ac_cv_prog_CC+:} false; then :
4555 $as_echo_n "(cached) " >&6
4556 else
4557 if test -n "$CC"; then
4558 ac_cv_prog_CC="$CC" # Let the user override the test.
4559 else
4560 ac_prog_rejected=no
4561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4562 for as_dir in $PATH
4564 IFS=$as_save_IFS
4565 test -z "$as_dir" && as_dir=.
4566 for ac_exec_ext in '' $ac_executable_extensions; do
4567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4568 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4569 ac_prog_rejected=yes
4570 continue
4572 ac_cv_prog_CC="cc"
4573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4574 break 2
4576 done
4577 done
4578 IFS=$as_save_IFS
4580 if test $ac_prog_rejected = yes; then
4581 # We found a bogon in the path, so make sure we never use it.
4582 set dummy $ac_cv_prog_CC
4583 shift
4584 if test $# != 0; then
4585 # We chose a different compiler from the bogus one.
4586 # However, it has the same basename, so the bogon will be chosen
4587 # first if we set CC to just the basename; use the full file name.
4588 shift
4589 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4594 CC=$ac_cv_prog_CC
4595 if test -n "$CC"; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4597 $as_echo "$CC" >&6; }
4598 else
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4600 $as_echo "no" >&6; }
4605 if test -z "$CC"; then
4606 if test -n "$ac_tool_prefix"; then
4607 for ac_prog in cl.exe
4609 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4610 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4612 $as_echo_n "checking for $ac_word... " >&6; }
4613 if ${ac_cv_prog_CC+:} false; then :
4614 $as_echo_n "(cached) " >&6
4615 else
4616 if test -n "$CC"; then
4617 ac_cv_prog_CC="$CC" # Let the user override the test.
4618 else
4619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4620 for as_dir in $PATH
4622 IFS=$as_save_IFS
4623 test -z "$as_dir" && as_dir=.
4624 for ac_exec_ext in '' $ac_executable_extensions; do
4625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4626 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 break 2
4630 done
4631 done
4632 IFS=$as_save_IFS
4636 CC=$ac_cv_prog_CC
4637 if test -n "$CC"; then
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4639 $as_echo "$CC" >&6; }
4640 else
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 $as_echo "no" >&6; }
4646 test -n "$CC" && break
4647 done
4649 if test -z "$CC"; then
4650 ac_ct_CC=$CC
4651 for ac_prog in cl.exe
4653 # Extract the first word of "$ac_prog", so it can be a program name with args.
4654 set dummy $ac_prog; ac_word=$2
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4656 $as_echo_n "checking for $ac_word... " >&6; }
4657 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4658 $as_echo_n "(cached) " >&6
4659 else
4660 if test -n "$ac_ct_CC"; then
4661 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4662 else
4663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 for as_dir in $PATH
4666 IFS=$as_save_IFS
4667 test -z "$as_dir" && as_dir=.
4668 for ac_exec_ext in '' $ac_executable_extensions; do
4669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4670 ac_cv_prog_ac_ct_CC="$ac_prog"
4671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 break 2
4674 done
4675 done
4676 IFS=$as_save_IFS
4680 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4681 if test -n "$ac_ct_CC"; then
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4683 $as_echo "$ac_ct_CC" >&6; }
4684 else
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4686 $as_echo "no" >&6; }
4690 test -n "$ac_ct_CC" && break
4691 done
4693 if test "x$ac_ct_CC" = x; then
4694 CC=""
4695 else
4696 case $cross_compiling:$ac_tool_warned in
4697 yes:)
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4700 ac_tool_warned=yes ;;
4701 esac
4702 CC=$ac_ct_CC
4709 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4711 as_fn_error $? "no acceptable C compiler found in \$PATH
4712 See \`config.log' for more details" "$LINENO" 5; }
4714 # Provide some information about the compiler.
4715 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4716 set X $ac_compile
4717 ac_compiler=$2
4718 for ac_option in --version -v -V -qversion; do
4719 { { ac_try="$ac_compiler $ac_option >&5"
4720 case "(($ac_try" in
4721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4722 *) ac_try_echo=$ac_try;;
4723 esac
4724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4725 $as_echo "$ac_try_echo"; } >&5
4726 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4727 ac_status=$?
4728 if test -s conftest.err; then
4729 sed '10a\
4730 ... rest of stderr output deleted ...
4731 10q' conftest.err >conftest.er1
4732 cat conftest.er1 >&5
4734 rm -f conftest.er1 conftest.err
4735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4736 test $ac_status = 0; }
4737 done
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4743 main ()
4747 return 0;
4749 _ACEOF
4750 ac_clean_files_save=$ac_clean_files
4751 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4752 # Try to create an executable without -o first, disregard a.out.
4753 # It will help us diagnose broken compilers, and finding out an intuition
4754 # of exeext.
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4756 $as_echo_n "checking whether the C compiler works... " >&6; }
4757 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4759 # The possible output files:
4760 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4762 ac_rmfiles=
4763 for ac_file in $ac_files
4765 case $ac_file in
4766 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4767 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4768 esac
4769 done
4770 rm -f $ac_rmfiles
4772 if { { ac_try="$ac_link_default"
4773 case "(($ac_try" in
4774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4775 *) ac_try_echo=$ac_try;;
4776 esac
4777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4778 $as_echo "$ac_try_echo"; } >&5
4779 (eval "$ac_link_default") 2>&5
4780 ac_status=$?
4781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4782 test $ac_status = 0; }; then :
4783 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4784 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4785 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4786 # so that the user can short-circuit this test for compilers unknown to
4787 # Autoconf.
4788 for ac_file in $ac_files ''
4790 test -f "$ac_file" || continue
4791 case $ac_file in
4792 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4794 [ab].out )
4795 # We found the default executable, but exeext='' is most
4796 # certainly right.
4797 break;;
4798 *.* )
4799 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4800 then :; else
4801 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4803 # We set ac_cv_exeext here because the later test for it is not
4804 # safe: cross compilers may not add the suffix if given an `-o'
4805 # argument, so we may need to know it at that point already.
4806 # Even if this section looks crufty: it has the advantage of
4807 # actually working.
4808 break;;
4810 break;;
4811 esac
4812 done
4813 test "$ac_cv_exeext" = no && ac_cv_exeext=
4815 else
4816 ac_file=''
4818 if test -z "$ac_file"; then :
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4821 $as_echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.$ac_ext >&5
4824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4826 as_fn_error 77 "C compiler cannot create executables
4827 See \`config.log' for more details" "$LINENO" 5; }
4828 else
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4830 $as_echo "yes" >&6; }
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4833 $as_echo_n "checking for C compiler default output file name... " >&6; }
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4835 $as_echo "$ac_file" >&6; }
4836 ac_exeext=$ac_cv_exeext
4838 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4839 ac_clean_files=$ac_clean_files_save
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4841 $as_echo_n "checking for suffix of executables... " >&6; }
4842 if { { ac_try="$ac_link"
4843 case "(($ac_try" in
4844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845 *) ac_try_echo=$ac_try;;
4846 esac
4847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4848 $as_echo "$ac_try_echo"; } >&5
4849 (eval "$ac_link") 2>&5
4850 ac_status=$?
4851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4852 test $ac_status = 0; }; then :
4853 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4854 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4855 # work properly (i.e., refer to `conftest.exe'), while it won't with
4856 # `rm'.
4857 for ac_file in conftest.exe conftest conftest.*; do
4858 test -f "$ac_file" || continue
4859 case $ac_file in
4860 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4861 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4862 break;;
4863 * ) break;;
4864 esac
4865 done
4866 else
4867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4869 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4870 See \`config.log' for more details" "$LINENO" 5; }
4872 rm -f conftest conftest$ac_cv_exeext
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4874 $as_echo "$ac_cv_exeext" >&6; }
4876 rm -f conftest.$ac_ext
4877 EXEEXT=$ac_cv_exeext
4878 ac_exeext=$EXEEXT
4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4881 #include <stdio.h>
4883 main ()
4885 FILE *f = fopen ("conftest.out", "w");
4886 return ferror (f) || fclose (f) != 0;
4889 return 0;
4891 _ACEOF
4892 ac_clean_files="$ac_clean_files conftest.out"
4893 # Check that the compiler produces executables we can run. If not, either
4894 # the compiler is broken, or we cross compile.
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4896 $as_echo_n "checking whether we are cross compiling... " >&6; }
4897 if test "$cross_compiling" != yes; then
4898 { { ac_try="$ac_link"
4899 case "(($ac_try" in
4900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4901 *) ac_try_echo=$ac_try;;
4902 esac
4903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4904 $as_echo "$ac_try_echo"; } >&5
4905 (eval "$ac_link") 2>&5
4906 ac_status=$?
4907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4908 test $ac_status = 0; }
4909 if { ac_try='./conftest$ac_cv_exeext'
4910 { { case "(($ac_try" in
4911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4912 *) ac_try_echo=$ac_try;;
4913 esac
4914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4915 $as_echo "$ac_try_echo"; } >&5
4916 (eval "$ac_try") 2>&5
4917 ac_status=$?
4918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4919 test $ac_status = 0; }; }; then
4920 cross_compiling=no
4921 else
4922 if test "$cross_compiling" = maybe; then
4923 cross_compiling=yes
4924 else
4925 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4926 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4927 as_fn_error $? "cannot run C compiled programs.
4928 If you meant to cross compile, use \`--host'.
4929 See \`config.log' for more details" "$LINENO" 5; }
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4934 $as_echo "$cross_compiling" >&6; }
4936 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4937 ac_clean_files=$ac_clean_files_save
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4939 $as_echo_n "checking for suffix of object files... " >&6; }
4940 if ${ac_cv_objext+:} false; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4944 /* end confdefs.h. */
4947 main ()
4951 return 0;
4953 _ACEOF
4954 rm -f conftest.o conftest.obj
4955 if { { ac_try="$ac_compile"
4956 case "(($ac_try" in
4957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4959 esac
4960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4961 $as_echo "$ac_try_echo"; } >&5
4962 (eval "$ac_compile") 2>&5
4963 ac_status=$?
4964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4965 test $ac_status = 0; }; then :
4966 for ac_file in conftest.o conftest.obj conftest.*; do
4967 test -f "$ac_file" || continue;
4968 case $ac_file in
4969 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4970 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4971 break;;
4972 esac
4973 done
4974 else
4975 $as_echo "$as_me: failed program was:" >&5
4976 sed 's/^/| /' conftest.$ac_ext >&5
4978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4980 as_fn_error $? "cannot compute suffix of object files: cannot compile
4981 See \`config.log' for more details" "$LINENO" 5; }
4983 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4986 $as_echo "$ac_cv_objext" >&6; }
4987 OBJEXT=$ac_cv_objext
4988 ac_objext=$OBJEXT
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4990 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4991 if ${ac_cv_c_compiler_gnu+:} false; then :
4992 $as_echo_n "(cached) " >&6
4993 else
4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4998 main ()
5000 #ifndef __GNUC__
5001 choke me
5002 #endif
5005 return 0;
5007 _ACEOF
5008 if ac_fn_c_try_compile "$LINENO"; then :
5009 ac_compiler_gnu=yes
5010 else
5011 ac_compiler_gnu=no
5013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5014 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5018 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5019 if test $ac_compiler_gnu = yes; then
5020 GCC=yes
5021 else
5022 GCC=
5024 ac_test_CFLAGS=${CFLAGS+set}
5025 ac_save_CFLAGS=$CFLAGS
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5027 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5028 if ${ac_cv_prog_cc_g+:} false; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 ac_save_c_werror_flag=$ac_c_werror_flag
5032 ac_c_werror_flag=yes
5033 ac_cv_prog_cc_g=no
5034 CFLAGS="-g"
5035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5036 /* end confdefs.h. */
5039 main ()
5043 return 0;
5045 _ACEOF
5046 if ac_fn_c_try_compile "$LINENO"; then :
5047 ac_cv_prog_cc_g=yes
5048 else
5049 CFLAGS=""
5050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5051 /* end confdefs.h. */
5054 main ()
5058 return 0;
5060 _ACEOF
5061 if ac_fn_c_try_compile "$LINENO"; then :
5063 else
5064 ac_c_werror_flag=$ac_save_c_werror_flag
5065 CFLAGS="-g"
5066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5067 /* end confdefs.h. */
5070 main ()
5074 return 0;
5076 _ACEOF
5077 if ac_fn_c_try_compile "$LINENO"; then :
5078 ac_cv_prog_cc_g=yes
5080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5085 ac_c_werror_flag=$ac_save_c_werror_flag
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5088 $as_echo "$ac_cv_prog_cc_g" >&6; }
5089 if test "$ac_test_CFLAGS" = set; then
5090 CFLAGS=$ac_save_CFLAGS
5091 elif test $ac_cv_prog_cc_g = yes; then
5092 if test "$GCC" = yes; then
5093 CFLAGS="-g -O2"
5094 else
5095 CFLAGS="-g"
5097 else
5098 if test "$GCC" = yes; then
5099 CFLAGS="-O2"
5100 else
5101 CFLAGS=
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5105 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5106 if ${ac_cv_prog_cc_c89+:} false; then :
5107 $as_echo_n "(cached) " >&6
5108 else
5109 ac_cv_prog_cc_c89=no
5110 ac_save_CC=$CC
5111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5112 /* end confdefs.h. */
5113 #include <stdarg.h>
5114 #include <stdio.h>
5115 struct stat;
5116 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5117 struct buf { int x; };
5118 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5119 static char *e (p, i)
5120 char **p;
5121 int i;
5123 return p[i];
5125 static char *f (char * (*g) (char **, int), char **p, ...)
5127 char *s;
5128 va_list v;
5129 va_start (v,p);
5130 s = g (p, va_arg (v,int));
5131 va_end (v);
5132 return s;
5135 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5136 function prototypes and stuff, but not '\xHH' hex character constants.
5137 These don't provoke an error unfortunately, instead are silently treated
5138 as 'x'. The following induces an error, until -std is added to get
5139 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5140 array size at least. It's necessary to write '\x00'==0 to get something
5141 that's true only with -std. */
5142 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5144 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5145 inside strings and character constants. */
5146 #define FOO(x) 'x'
5147 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5149 int test (int i, double x);
5150 struct s1 {int (*f) (int a);};
5151 struct s2 {int (*f) (double a);};
5152 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5153 int argc;
5154 char **argv;
5156 main ()
5158 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5160 return 0;
5162 _ACEOF
5163 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5164 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5166 CC="$ac_save_CC $ac_arg"
5167 if ac_fn_c_try_compile "$LINENO"; then :
5168 ac_cv_prog_cc_c89=$ac_arg
5170 rm -f core conftest.err conftest.$ac_objext
5171 test "x$ac_cv_prog_cc_c89" != "xno" && break
5172 done
5173 rm -f conftest.$ac_ext
5174 CC=$ac_save_CC
5177 # AC_CACHE_VAL
5178 case "x$ac_cv_prog_cc_c89" in
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5181 $as_echo "none needed" >&6; } ;;
5182 xno)
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5184 $as_echo "unsupported" >&6; } ;;
5186 CC="$CC $ac_cv_prog_cc_c89"
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5188 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5189 esac
5190 if test "x$ac_cv_prog_cc_c89" != xno; then :
5194 ac_ext=c
5195 ac_cpp='$CPP $CPPFLAGS'
5196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5200 ac_ext=cpp
5201 ac_cpp='$CXXCPP $CPPFLAGS'
5202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5205 if test -z "$CXX"; then
5206 if test -n "$CCC"; then
5207 CXX=$CCC
5208 else
5209 if test -n "$ac_tool_prefix"; then
5210 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5212 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5213 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215 $as_echo_n "checking for $ac_word... " >&6; }
5216 if ${ac_cv_prog_CXX+:} false; then :
5217 $as_echo_n "(cached) " >&6
5218 else
5219 if test -n "$CXX"; then
5220 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5221 else
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5223 for as_dir in $PATH
5225 IFS=$as_save_IFS
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5229 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 break 2
5233 done
5234 done
5235 IFS=$as_save_IFS
5239 CXX=$ac_cv_prog_CXX
5240 if test -n "$CXX"; then
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5242 $as_echo "$CXX" >&6; }
5243 else
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245 $as_echo "no" >&6; }
5249 test -n "$CXX" && break
5250 done
5252 if test -z "$CXX"; then
5253 ac_ct_CXX=$CXX
5254 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5256 # Extract the first word of "$ac_prog", so it can be a program name with args.
5257 set dummy $ac_prog; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5261 $as_echo_n "(cached) " >&6
5262 else
5263 if test -n "$ac_ct_CXX"; then
5264 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5265 else
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $PATH
5269 IFS=$as_save_IFS
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5273 ac_cv_prog_ac_ct_CXX="$ac_prog"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 break 2
5277 done
5278 done
5279 IFS=$as_save_IFS
5283 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5284 if test -n "$ac_ct_CXX"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5286 $as_echo "$ac_ct_CXX" >&6; }
5287 else
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5293 test -n "$ac_ct_CXX" && break
5294 done
5296 if test "x$ac_ct_CXX" = x; then
5297 CXX="g++"
5298 else
5299 case $cross_compiling:$ac_tool_warned in
5300 yes:)
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5303 ac_tool_warned=yes ;;
5304 esac
5305 CXX=$ac_ct_CXX
5311 # Provide some information about the compiler.
5312 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5313 set X $ac_compile
5314 ac_compiler=$2
5315 for ac_option in --version -v -V -qversion; do
5316 { { ac_try="$ac_compiler $ac_option >&5"
5317 case "(($ac_try" in
5318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5319 *) ac_try_echo=$ac_try;;
5320 esac
5321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5322 $as_echo "$ac_try_echo"; } >&5
5323 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5324 ac_status=$?
5325 if test -s conftest.err; then
5326 sed '10a\
5327 ... rest of stderr output deleted ...
5328 10q' conftest.err >conftest.er1
5329 cat conftest.er1 >&5
5331 rm -f conftest.er1 conftest.err
5332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5333 test $ac_status = 0; }
5334 done
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5337 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5338 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5339 $as_echo_n "(cached) " >&6
5340 else
5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5345 main ()
5347 #ifndef __GNUC__
5348 choke me
5349 #endif
5352 return 0;
5354 _ACEOF
5355 if ac_fn_cxx_try_compile "$LINENO"; then :
5356 ac_compiler_gnu=yes
5357 else
5358 ac_compiler_gnu=no
5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5361 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5365 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5366 if test $ac_compiler_gnu = yes; then
5367 GXX=yes
5368 else
5369 GXX=
5371 ac_test_CXXFLAGS=${CXXFLAGS+set}
5372 ac_save_CXXFLAGS=$CXXFLAGS
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5374 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5375 if ${ac_cv_prog_cxx_g+:} false; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5379 ac_cxx_werror_flag=yes
5380 ac_cv_prog_cxx_g=no
5381 CXXFLAGS="-g"
5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5386 main ()
5390 return 0;
5392 _ACEOF
5393 if ac_fn_cxx_try_compile "$LINENO"; then :
5394 ac_cv_prog_cxx_g=yes
5395 else
5396 CXXFLAGS=""
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5401 main ()
5405 return 0;
5407 _ACEOF
5408 if ac_fn_cxx_try_compile "$LINENO"; then :
5410 else
5411 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5412 CXXFLAGS="-g"
5413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5414 /* end confdefs.h. */
5417 main ()
5421 return 0;
5423 _ACEOF
5424 if ac_fn_cxx_try_compile "$LINENO"; then :
5425 ac_cv_prog_cxx_g=yes
5427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5432 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5435 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5436 if test "$ac_test_CXXFLAGS" = set; then
5437 CXXFLAGS=$ac_save_CXXFLAGS
5438 elif test $ac_cv_prog_cxx_g = yes; then
5439 if test "$GXX" = yes; then
5440 CXXFLAGS="-g -O2"
5441 else
5442 CXXFLAGS="-g"
5444 else
5445 if test "$GXX" = yes; then
5446 CXXFLAGS="-O2"
5447 else
5448 CXXFLAGS=
5451 ac_ext=c
5452 ac_cpp='$CPP $CPPFLAGS'
5453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5457 if test -n "$ac_tool_prefix"; then
5458 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5459 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5461 $as_echo_n "checking for $ac_word... " >&6; }
5462 if ${ac_cv_prog_CPPBIN+:} false; then :
5463 $as_echo_n "(cached) " >&6
5464 else
5465 if test -n "$CPPBIN"; then
5466 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5467 else
5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 for as_dir in $PATH
5471 IFS=$as_save_IFS
5472 test -z "$as_dir" && as_dir=.
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5475 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 break 2
5479 done
5480 done
5481 IFS=$as_save_IFS
5485 CPPBIN=$ac_cv_prog_CPPBIN
5486 if test -n "$CPPBIN"; then
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5488 $as_echo "$CPPBIN" >&6; }
5489 else
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5491 $as_echo "no" >&6; }
5496 if test -z "$ac_cv_prog_CPPBIN"; then
5497 ac_ct_CPPBIN=$CPPBIN
5498 # Extract the first word of "cpp", so it can be a program name with args.
5499 set dummy cpp; ac_word=$2
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501 $as_echo_n "checking for $ac_word... " >&6; }
5502 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5503 $as_echo_n "(cached) " >&6
5504 else
5505 if test -n "$ac_ct_CPPBIN"; then
5506 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5507 else
5508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509 for as_dir in $PATH
5511 IFS=$as_save_IFS
5512 test -z "$as_dir" && as_dir=.
5513 for ac_exec_ext in '' $ac_executable_extensions; do
5514 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515 ac_cv_prog_ac_ct_CPPBIN="cpp"
5516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517 break 2
5519 done
5520 done
5521 IFS=$as_save_IFS
5525 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5526 if test -n "$ac_ct_CPPBIN"; then
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5528 $as_echo "$ac_ct_CPPBIN" >&6; }
5529 else
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531 $as_echo "no" >&6; }
5534 if test "x$ac_ct_CPPBIN" = x; then
5535 CPPBIN="cpp"
5536 else
5537 case $cross_compiling:$ac_tool_warned in
5538 yes:)
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5541 ac_tool_warned=yes ;;
5542 esac
5543 CPPBIN=$ac_ct_CPPBIN
5545 else
5546 CPPBIN="$ac_cv_prog_CPPBIN"
5550 cat >>confdefs.h <<_ACEOF
5551 #define EXEEXT "$ac_exeext"
5552 _ACEOF
5554 if test -n "$ac_tool_prefix"; then
5555 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5556 set dummy ${ac_tool_prefix}ld; ac_word=$2
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5558 $as_echo_n "checking for $ac_word... " >&6; }
5559 if ${ac_cv_prog_LD+:} false; then :
5560 $as_echo_n "(cached) " >&6
5561 else
5562 if test -n "$LD"; then
5563 ac_cv_prog_LD="$LD" # Let the user override the test.
5564 else
5565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5566 for as_dir in $PATH
5568 IFS=$as_save_IFS
5569 test -z "$as_dir" && as_dir=.
5570 for ac_exec_ext in '' $ac_executable_extensions; do
5571 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5572 ac_cv_prog_LD="${ac_tool_prefix}ld"
5573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 break 2
5576 done
5577 done
5578 IFS=$as_save_IFS
5582 LD=$ac_cv_prog_LD
5583 if test -n "$LD"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5585 $as_echo "$LD" >&6; }
5586 else
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5588 $as_echo "no" >&6; }
5593 if test -z "$ac_cv_prog_LD"; then
5594 ac_ct_LD=$LD
5595 # Extract the first word of "ld", so it can be a program name with args.
5596 set dummy ld; ac_word=$2
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5598 $as_echo_n "checking for $ac_word... " >&6; }
5599 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5600 $as_echo_n "(cached) " >&6
5601 else
5602 if test -n "$ac_ct_LD"; then
5603 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5604 else
5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606 for as_dir in $PATH
5608 IFS=$as_save_IFS
5609 test -z "$as_dir" && as_dir=.
5610 for ac_exec_ext in '' $ac_executable_extensions; do
5611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5612 ac_cv_prog_ac_ct_LD="ld"
5613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5614 break 2
5616 done
5617 done
5618 IFS=$as_save_IFS
5622 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5623 if test -n "$ac_ct_LD"; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5625 $as_echo "$ac_ct_LD" >&6; }
5626 else
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5628 $as_echo "no" >&6; }
5631 if test "x$ac_ct_LD" = x; then
5632 LD=""
5633 else
5634 case $cross_compiling:$ac_tool_warned in
5635 yes:)
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5638 ac_tool_warned=yes ;;
5639 esac
5640 LD=$ac_ct_LD
5642 else
5643 LD="$ac_cv_prog_LD"
5647 case $host in
5648 *-darwin*)
5649 with_fontconfig=${with_fontconfig:-no}
5651 *-mingw32*|*-cygwin*)
5652 enable_win16=${enable_win16:-no}
5653 with_mingw=${with_mingw:-no}
5654 CFLAGS="$CFLAGS -D_WIN32"
5656 esac
5659 case $host in
5660 x86_64*|amd64*)
5661 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5662 then
5663 CC="$CC -m32"
5664 CXX="$CXX -m32"
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5667 $as_echo_n "checking whether $CC works... " >&6; }
5668 if ${wine_cv_cc_m32+:} false; then :
5669 $as_echo_n "(cached) " >&6
5670 else
5671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5672 /* end confdefs.h. */
5675 main ()
5679 return 0;
5681 _ACEOF
5682 if ac_fn_c_try_link "$LINENO"; then :
5683 wine_cv_cc_m32=yes
5684 else
5685 wine_cv_cc_m32=no
5687 rm -f core conftest.err conftest.$ac_objext \
5688 conftest$ac_exeext conftest.$ac_ext
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5691 $as_echo "$wine_cv_cc_m32" >&6; }
5692 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
5693 host_cpu="i386"
5694 notice_platform="32-bit "
5695 TARGETFLAGS="$TARGETFLAGS -m32"
5696 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5697 export PKG_CONFIG_PATH
5698 enable_win16=${enable_win16:-yes}
5699 with_unwind=${with_unwind:-no}
5700 else
5701 if test "x${GCC}" = "xyes"
5702 then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5704 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5705 if ${wine_cv_builtin_ms_va_list+:} false; then :
5706 $as_echo_n "(cached) " >&6
5707 else
5708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5709 /* end confdefs.h. */
5710 #include <stdarg.h>
5712 main ()
5714 void func(__builtin_ms_va_list *args);
5716 return 0;
5718 _ACEOF
5719 if ac_fn_c_try_compile "$LINENO"; then :
5720 wine_cv_builtin_ms_va_list=yes
5721 else
5722 wine_cv_builtin_ms_va_list=no
5724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5727 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5728 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
5730 CC="$CC -m64"
5731 CXX="$CXX -m64"
5732 host_cpu="x86_64"
5733 notice_platform="64-bit "
5734 TARGETFLAGS="$TARGETFLAGS -m64"
5735 enable_wow64cpu=${enable_wow64cpu:-yes}
5738 arm*)
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5740 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5741 if ${wine_cv_thumb2+:} false; then :
5742 $as_echo_n "(cached) " >&6
5743 else
5744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5745 /* end confdefs.h. */
5748 main ()
5750 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5752 return 0;
5754 _ACEOF
5755 if ac_fn_c_try_link "$LINENO"; then :
5756 wine_cv_thumb2=yes
5757 else
5758 wine_cv_thumb2=no
5760 rm -f core conftest.err conftest.$ac_objext \
5761 conftest$ac_exeext conftest.$ac_ext
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5764 $as_echo "$wine_cv_thumb2" >&6; }
5765 if test x"$wine_cv_thumb2" = xyes
5766 then
5767 CFLAGS="$CFLAGS -mthumb"
5768 TARGETFLAGS="$TARGETFLAGS -mthumb"
5769 else
5770 CFLAGS="$CFLAGS -marm"
5771 TARGETFLAGS="$TARGETFLAGS -marm"
5773 case $with_float_abi in
5774 soft|softfp|hard)
5775 float_abi=$with_float_abi ;;
5777 case $host_os in
5778 *eabihf)
5779 float_abi=hard ;;
5781 float_abi=softfp
5782 saved_CFLAGS=$CFLAGS
5783 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5785 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5786 if ${wine_cv_float_abi+:} false; then :
5787 $as_echo_n "(cached) " >&6
5788 else
5789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5790 /* end confdefs.h. */
5793 main ()
5795 asm("vmrs r2,fpscr");
5797 return 0;
5799 _ACEOF
5800 if ac_fn_c_try_link "$LINENO"; then :
5801 wine_cv_float_abi=yes
5802 else
5803 wine_cv_float_abi=no
5805 rm -f core conftest.err conftest.$ac_objext \
5806 conftest$ac_exeext conftest.$ac_ext
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5809 $as_echo "$wine_cv_float_abi" >&6; }
5810 if test $wine_cv_float_abi = no
5811 then
5812 float_abi=soft
5813 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5815 CFLAGS=$saved_CFLAGS
5816 esac
5818 esac
5819 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5820 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5822 aarch64*)
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5824 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5825 if ${wine_cv_builtin_ms_va_list+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5829 /* end confdefs.h. */
5830 #include <stdarg.h>
5832 main ()
5834 void func(__builtin_ms_va_list *args);
5836 return 0;
5838 _ACEOF
5839 if ac_fn_c_try_compile "$LINENO"; then :
5840 wine_cv_builtin_ms_va_list=yes
5841 else
5842 wine_cv_builtin_ms_va_list=no
5844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5847 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5848 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5850 i[3456789]86*)
5851 enable_win16=${enable_win16:-yes}
5852 with_unwind=${with_unwind:-no}
5854 esac
5856 enable_win16=${enable_win16:-no}
5857 enable_win64=${enable_win64:-no}
5858 enable_wow64cpu=${enable_wow64cpu:-no}
5860 enable_winetest=${enable_winetest:-$enable_tests}
5862 if test "x$enable_win64" = "xyes"
5863 then
5864 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5865 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5866 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5870 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5871 if ${wine_cv_toolsdir+:} false; then :
5872 $as_echo_n "(cached) " >&6
5873 else
5874 wine_cv_toolsdir="$with_wine_tools"
5875 if test -z "$with_wine_tools"; then
5876 if test "$cross_compiling" = "yes"; then
5877 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5878 elif test -n "$with_wine64"; then
5879 wine_cv_toolsdir="$with_wine64"
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5884 $as_echo "$wine_cv_toolsdir" >&6; }
5885 if test -z "$wine_cv_toolsdir"; then
5886 wine_makedep=tools/makedep
5887 TOOLSDIR="."
5889 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5890 wine_makedep=$wine_cv_toolsdir/tools/makedep
5891 TOOLSDIR=$wine_cv_toolsdir
5893 enable_tools=${enable_tools:-no}
5894 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5895 else
5896 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5898 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5899 then
5900 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5903 for ac_prog in flex
5905 # Extract the first word of "$ac_prog", so it can be a program name with args.
5906 set dummy $ac_prog; ac_word=$2
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908 $as_echo_n "checking for $ac_word... " >&6; }
5909 if ${ac_cv_prog_FLEX+:} false; then :
5910 $as_echo_n "(cached) " >&6
5911 else
5912 if test -n "$FLEX"; then
5913 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5914 else
5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916 for as_dir in $PATH
5918 IFS=$as_save_IFS
5919 test -z "$as_dir" && as_dir=.
5920 for ac_exec_ext in '' $ac_executable_extensions; do
5921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5922 ac_cv_prog_FLEX="$ac_prog"
5923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5924 break 2
5926 done
5927 done
5928 IFS=$as_save_IFS
5932 FLEX=$ac_cv_prog_FLEX
5933 if test -n "$FLEX"; then
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5935 $as_echo "$FLEX" >&6; }
5936 else
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938 $as_echo "no" >&6; }
5942 test -n "$FLEX" && break
5943 done
5944 test -n "$FLEX" || FLEX="none"
5946 if test "$FLEX" = "none"
5947 then
5948 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5951 $as_echo_n "checking whether flex is recent enough... " >&6; }
5952 if ${wine_cv_recent_flex+:} false; then :
5953 $as_echo_n "(cached) " >&6
5954 else
5955 cat >conftest.l <<EOF
5956 %top{
5957 #include "prediluvian.h"
5961 if $FLEX -t conftest.l >/dev/null 2>&5
5962 then
5963 wine_cv_recent_flex=yes
5964 else
5965 wine_cv_recent_flex=no
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5969 $as_echo "$wine_cv_recent_flex" >&6; }
5970 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
5972 for ac_prog in bison
5974 # Extract the first word of "$ac_prog", so it can be a program name with args.
5975 set dummy $ac_prog; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_prog_BISON+:} false; then :
5979 $as_echo_n "(cached) " >&6
5980 else
5981 if test -n "$BISON"; then
5982 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5983 else
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 for as_dir in $PATH
5987 IFS=$as_save_IFS
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5991 ac_cv_prog_BISON="$ac_prog"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5993 break 2
5995 done
5996 done
5997 IFS=$as_save_IFS
6001 BISON=$ac_cv_prog_BISON
6002 if test -n "$BISON"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6004 $as_echo "$BISON" >&6; }
6005 else
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6011 test -n "$BISON" && break
6012 done
6013 test -n "$BISON" || BISON="none"
6015 if test "$BISON" = "none"
6016 then
6017 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6020 $as_echo_n "checking whether bison is recent enough... " >&6; }
6021 if ${wine_cv_recent_bison+:} false; then :
6022 $as_echo_n "(cached) " >&6
6023 else
6024 cat >conftest.y <<EOF
6025 %define parse.error verbose
6027 empty: ;
6029 if $BISON conftest.y >/dev/null 2>&5
6030 then
6031 wine_cv_recent_bison=yes
6032 else
6033 wine_cv_recent_bison=no
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6037 $as_echo "$wine_cv_recent_bison" >&6; }
6038 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
6040 if test -n "$ac_tool_prefix"; then
6041 for ac_prog in ar gar
6043 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6044 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6046 $as_echo_n "checking for $ac_word... " >&6; }
6047 if ${ac_cv_prog_AR+:} false; then :
6048 $as_echo_n "(cached) " >&6
6049 else
6050 if test -n "$AR"; then
6051 ac_cv_prog_AR="$AR" # Let the user override the test.
6052 else
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_exec_ext in '' $ac_executable_extensions; do
6059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6060 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062 break 2
6064 done
6065 done
6066 IFS=$as_save_IFS
6070 AR=$ac_cv_prog_AR
6071 if test -n "$AR"; then
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6073 $as_echo "$AR" >&6; }
6074 else
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6076 $as_echo "no" >&6; }
6080 test -n "$AR" && break
6081 done
6083 if test -z "$AR"; then
6084 ac_ct_AR=$AR
6085 for ac_prog in ar gar
6087 # Extract the first word of "$ac_prog", so it can be a program name with args.
6088 set dummy $ac_prog; ac_word=$2
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6090 $as_echo_n "checking for $ac_word... " >&6; }
6091 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6092 $as_echo_n "(cached) " >&6
6093 else
6094 if test -n "$ac_ct_AR"; then
6095 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6104 ac_cv_prog_ac_ct_AR="$ac_prog"
6105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 break 2
6108 done
6109 done
6110 IFS=$as_save_IFS
6114 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6115 if test -n "$ac_ct_AR"; then
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6117 $as_echo "$ac_ct_AR" >&6; }
6118 else
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6120 $as_echo "no" >&6; }
6124 test -n "$ac_ct_AR" && break
6125 done
6127 if test "x$ac_ct_AR" = x; then
6128 AR="ar"
6129 else
6130 case $cross_compiling:$ac_tool_warned in
6131 yes:)
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6134 ac_tool_warned=yes ;;
6135 esac
6136 AR=$ac_ct_AR
6140 if test -n "$ac_tool_prefix"; then
6141 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6142 set dummy ${ac_tool_prefix}strip; ac_word=$2
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144 $as_echo_n "checking for $ac_word... " >&6; }
6145 if ${ac_cv_prog_STRIP+:} false; then :
6146 $as_echo_n "(cached) " >&6
6147 else
6148 if test -n "$STRIP"; then
6149 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6150 else
6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 for as_dir in $PATH
6154 IFS=$as_save_IFS
6155 test -z "$as_dir" && as_dir=.
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6158 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 break 2
6162 done
6163 done
6164 IFS=$as_save_IFS
6168 STRIP=$ac_cv_prog_STRIP
6169 if test -n "$STRIP"; then
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6171 $as_echo "$STRIP" >&6; }
6172 else
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6174 $as_echo "no" >&6; }
6179 if test -z "$ac_cv_prog_STRIP"; then
6180 ac_ct_STRIP=$STRIP
6181 # Extract the first word of "strip", so it can be a program name with args.
6182 set dummy strip; ac_word=$2
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6184 $as_echo_n "checking for $ac_word... " >&6; }
6185 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6186 $as_echo_n "(cached) " >&6
6187 else
6188 if test -n "$ac_ct_STRIP"; then
6189 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6190 else
6191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192 for as_dir in $PATH
6194 IFS=$as_save_IFS
6195 test -z "$as_dir" && as_dir=.
6196 for ac_exec_ext in '' $ac_executable_extensions; do
6197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6198 ac_cv_prog_ac_ct_STRIP="strip"
6199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6200 break 2
6202 done
6203 done
6204 IFS=$as_save_IFS
6208 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6209 if test -n "$ac_ct_STRIP"; then
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6211 $as_echo "$ac_ct_STRIP" >&6; }
6212 else
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6214 $as_echo "no" >&6; }
6217 if test "x$ac_ct_STRIP" = x; then
6218 STRIP="strip"
6219 else
6220 case $cross_compiling:$ac_tool_warned in
6221 yes:)
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6224 ac_tool_warned=yes ;;
6225 esac
6226 STRIP=$ac_ct_STRIP
6228 else
6229 STRIP="$ac_cv_prog_STRIP"
6232 if test -n "$ac_tool_prefix"; then
6233 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6234 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6236 $as_echo_n "checking for $ac_word... " >&6; }
6237 if ${ac_cv_prog_RANLIB+:} false; then :
6238 $as_echo_n "(cached) " >&6
6239 else
6240 if test -n "$RANLIB"; then
6241 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6242 else
6243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244 for as_dir in $PATH
6246 IFS=$as_save_IFS
6247 test -z "$as_dir" && as_dir=.
6248 for ac_exec_ext in '' $ac_executable_extensions; do
6249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6250 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 break 2
6254 done
6255 done
6256 IFS=$as_save_IFS
6260 RANLIB=$ac_cv_prog_RANLIB
6261 if test -n "$RANLIB"; then
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6263 $as_echo "$RANLIB" >&6; }
6264 else
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6266 $as_echo "no" >&6; }
6271 if test -z "$ac_cv_prog_RANLIB"; then
6272 ac_ct_RANLIB=$RANLIB
6273 # Extract the first word of "ranlib", so it can be a program name with args.
6274 set dummy ranlib; ac_word=$2
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6276 $as_echo_n "checking for $ac_word... " >&6; }
6277 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279 else
6280 if test -n "$ac_ct_RANLIB"; then
6281 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6282 else
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 for as_dir in $PATH
6286 IFS=$as_save_IFS
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6290 ac_cv_prog_ac_ct_RANLIB="ranlib"
6291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6292 break 2
6294 done
6295 done
6296 IFS=$as_save_IFS
6300 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6301 if test -n "$ac_ct_RANLIB"; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6303 $as_echo "$ac_ct_RANLIB" >&6; }
6304 else
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6306 $as_echo "no" >&6; }
6309 if test "x$ac_ct_RANLIB" = x; then
6310 RANLIB=":"
6311 else
6312 case $cross_compiling:$ac_tool_warned in
6313 yes:)
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6316 ac_tool_warned=yes ;;
6317 esac
6318 RANLIB=$ac_ct_RANLIB
6320 else
6321 RANLIB="$ac_cv_prog_RANLIB"
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6325 $as_echo_n "checking whether ln -s works... " >&6; }
6326 LN_S=$as_ln_s
6327 if test "$LN_S" = "ln -s"; then
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6329 $as_echo "yes" >&6; }
6330 else
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6332 $as_echo "no, using $LN_S" >&6; }
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6336 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6337 if ${ac_cv_path_GREP+:} false; then :
6338 $as_echo_n "(cached) " >&6
6339 else
6340 if test -z "$GREP"; then
6341 ac_path_GREP_found=false
6342 # Loop through the user's path and test for each of PROGNAME-LIST
6343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6346 IFS=$as_save_IFS
6347 test -z "$as_dir" && as_dir=.
6348 for ac_prog in grep ggrep; do
6349 for ac_exec_ext in '' $ac_executable_extensions; do
6350 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6351 as_fn_executable_p "$ac_path_GREP" || continue
6352 # Check for GNU ac_path_GREP and select it if it is found.
6353 # Check for GNU $ac_path_GREP
6354 case `"$ac_path_GREP" --version 2>&1` in
6355 *GNU*)
6356 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6358 ac_count=0
6359 $as_echo_n 0123456789 >"conftest.in"
6360 while :
6362 cat "conftest.in" "conftest.in" >"conftest.tmp"
6363 mv "conftest.tmp" "conftest.in"
6364 cp "conftest.in" "conftest.nl"
6365 $as_echo 'GREP' >> "conftest.nl"
6366 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6367 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6368 as_fn_arith $ac_count + 1 && ac_count=$as_val
6369 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6370 # Best one so far, save it but keep looking for a better one
6371 ac_cv_path_GREP="$ac_path_GREP"
6372 ac_path_GREP_max=$ac_count
6374 # 10*(2^10) chars as input seems more than enough
6375 test $ac_count -gt 10 && break
6376 done
6377 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6378 esac
6380 $ac_path_GREP_found && break 3
6381 done
6382 done
6383 done
6384 IFS=$as_save_IFS
6385 if test -z "$ac_cv_path_GREP"; then
6386 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6388 else
6389 ac_cv_path_GREP=$GREP
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6394 $as_echo "$ac_cv_path_GREP" >&6; }
6395 GREP="$ac_cv_path_GREP"
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6399 $as_echo_n "checking for egrep... " >&6; }
6400 if ${ac_cv_path_EGREP+:} false; then :
6401 $as_echo_n "(cached) " >&6
6402 else
6403 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6404 then ac_cv_path_EGREP="$GREP -E"
6405 else
6406 if test -z "$EGREP"; then
6407 ac_path_EGREP_found=false
6408 # Loop through the user's path and test for each of PROGNAME-LIST
6409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6410 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6412 IFS=$as_save_IFS
6413 test -z "$as_dir" && as_dir=.
6414 for ac_prog in egrep; do
6415 for ac_exec_ext in '' $ac_executable_extensions; do
6416 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6417 as_fn_executable_p "$ac_path_EGREP" || continue
6418 # Check for GNU ac_path_EGREP and select it if it is found.
6419 # Check for GNU $ac_path_EGREP
6420 case `"$ac_path_EGREP" --version 2>&1` in
6421 *GNU*)
6422 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6424 ac_count=0
6425 $as_echo_n 0123456789 >"conftest.in"
6426 while :
6428 cat "conftest.in" "conftest.in" >"conftest.tmp"
6429 mv "conftest.tmp" "conftest.in"
6430 cp "conftest.in" "conftest.nl"
6431 $as_echo 'EGREP' >> "conftest.nl"
6432 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6433 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6434 as_fn_arith $ac_count + 1 && ac_count=$as_val
6435 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6436 # Best one so far, save it but keep looking for a better one
6437 ac_cv_path_EGREP="$ac_path_EGREP"
6438 ac_path_EGREP_max=$ac_count
6440 # 10*(2^10) chars as input seems more than enough
6441 test $ac_count -gt 10 && break
6442 done
6443 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6444 esac
6446 $ac_path_EGREP_found && break 3
6447 done
6448 done
6449 done
6450 IFS=$as_save_IFS
6451 if test -z "$ac_cv_path_EGREP"; then
6452 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6454 else
6455 ac_cv_path_EGREP=$EGREP
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6461 $as_echo "$ac_cv_path_EGREP" >&6; }
6462 EGREP="$ac_cv_path_EGREP"
6465 # Extract the first word of "ldconfig", so it can be a program name with args.
6466 set dummy ldconfig; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if ${ac_cv_path_LDCONFIG+:} false; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 case $LDCONFIG in
6473 [\\/]* | ?:[\\/]*)
6474 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in /sbin /usr/sbin $PATH
6480 IFS=$as_save_IFS
6481 test -z "$as_dir" && as_dir=.
6482 for ac_exec_ext in '' $ac_executable_extensions; do
6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6484 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 break 2
6488 done
6489 done
6490 IFS=$as_save_IFS
6492 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6494 esac
6496 LDCONFIG=$ac_cv_path_LDCONFIG
6497 if test -n "$LDCONFIG"; then
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6499 $as_echo "$LDCONFIG" >&6; }
6500 else
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6502 $as_echo "no" >&6; }
6506 for ac_prog in msgfmt
6508 # Extract the first word of "$ac_prog", so it can be a program name with args.
6509 set dummy $ac_prog; ac_word=$2
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6511 $as_echo_n "checking for $ac_word... " >&6; }
6512 if ${ac_cv_prog_MSGFMT+:} false; then :
6513 $as_echo_n "(cached) " >&6
6514 else
6515 if test -n "$MSGFMT"; then
6516 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6517 else
6518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6519 for as_dir in $PATH
6521 IFS=$as_save_IFS
6522 test -z "$as_dir" && as_dir=.
6523 for ac_exec_ext in '' $ac_executable_extensions; do
6524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6525 ac_cv_prog_MSGFMT="$ac_prog"
6526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6527 break 2
6529 done
6530 done
6531 IFS=$as_save_IFS
6535 MSGFMT=$ac_cv_prog_MSGFMT
6536 if test -n "$MSGFMT"; then
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6538 $as_echo "$MSGFMT" >&6; }
6539 else
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6541 $as_echo "no" >&6; }
6545 test -n "$MSGFMT" && break
6546 done
6547 test -n "$MSGFMT" || MSGFMT="false"
6549 if ${ac_tool_prefix+:} false; then :
6550 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6551 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 $as_echo_n "checking for $ac_word... " >&6; }
6554 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6555 $as_echo_n "(cached) " >&6
6556 else
6557 if test -n "$PKG_CONFIG"; then
6558 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6559 else
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 for as_dir in $PATH
6563 IFS=$as_save_IFS
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6567 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 break 2
6571 done
6572 done
6573 IFS=$as_save_IFS
6577 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6578 if test -n "$PKG_CONFIG"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6580 $as_echo "$PKG_CONFIG" >&6; }
6581 else
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6588 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6589 if test "x$cross_compiling" = xyes; then :
6591 else
6592 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6593 # Extract the first word of "pkg-config", so it can be a program name with args.
6594 set dummy pkg-config; ac_word=$2
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6596 $as_echo_n "checking for $ac_word... " >&6; }
6597 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6598 $as_echo_n "(cached) " >&6
6599 else
6600 if test -n "$PKG_CONFIG"; then
6601 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6602 else
6603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604 for as_dir in $PATH
6606 IFS=$as_save_IFS
6607 test -z "$as_dir" && as_dir=.
6608 for ac_exec_ext in '' $ac_executable_extensions; do
6609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6610 ac_cv_prog_PKG_CONFIG="pkg-config"
6611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6612 break 2
6614 done
6615 done
6616 IFS=$as_save_IFS
6620 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6621 if test -n "$PKG_CONFIG"; then
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6623 $as_echo "$PKG_CONFIG" >&6; }
6624 else
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6626 $as_echo "no" >&6; }
6631 else
6632 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6635 if test "x$enable_maintainer_mode" != "xyes"
6636 then
6637 FONTFORGE=""
6638 RSVG=""
6639 CONVERT=""
6640 ICOTOOL=""
6641 else
6642 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6643 for ac_prog in fontforge
6645 # Extract the first word of "$ac_prog", so it can be a program name with args.
6646 set dummy $ac_prog; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if ${ac_cv_prog_FONTFORGE+:} false; then :
6650 $as_echo_n "(cached) " >&6
6651 else
6652 if test -n "$FONTFORGE"; then
6653 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6654 else
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 for as_dir in $PATH
6658 IFS=$as_save_IFS
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6662 ac_cv_prog_FONTFORGE="$ac_prog"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 break 2
6666 done
6667 done
6668 IFS=$as_save_IFS
6672 FONTFORGE=$ac_cv_prog_FONTFORGE
6673 if test -n "$FONTFORGE"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6675 $as_echo "$FONTFORGE" >&6; }
6676 else
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6682 test -n "$FONTFORGE" && break
6683 done
6684 test -n "$FONTFORGE" || FONTFORGE="false"
6686 for ac_prog in rsvg-convert rsvg
6688 # Extract the first word of "$ac_prog", so it can be a program name with args.
6689 set dummy $ac_prog; ac_word=$2
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691 $as_echo_n "checking for $ac_word... " >&6; }
6692 if ${ac_cv_prog_RSVG+:} false; then :
6693 $as_echo_n "(cached) " >&6
6694 else
6695 if test -n "$RSVG"; then
6696 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6697 else
6698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699 for as_dir in $PATH
6701 IFS=$as_save_IFS
6702 test -z "$as_dir" && as_dir=.
6703 for ac_exec_ext in '' $ac_executable_extensions; do
6704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6705 ac_cv_prog_RSVG="$ac_prog"
6706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707 break 2
6709 done
6710 done
6711 IFS=$as_save_IFS
6715 RSVG=$ac_cv_prog_RSVG
6716 if test -n "$RSVG"; then
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6718 $as_echo "$RSVG" >&6; }
6719 else
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721 $as_echo "no" >&6; }
6725 test -n "$RSVG" && break
6726 done
6727 test -n "$RSVG" || RSVG="false"
6729 for ac_prog in convert
6731 # Extract the first word of "$ac_prog", so it can be a program name with args.
6732 set dummy $ac_prog; ac_word=$2
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6734 $as_echo_n "checking for $ac_word... " >&6; }
6735 if ${ac_cv_prog_CONVERT+:} false; then :
6736 $as_echo_n "(cached) " >&6
6737 else
6738 if test -n "$CONVERT"; then
6739 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6740 else
6741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6742 for as_dir in $PATH
6744 IFS=$as_save_IFS
6745 test -z "$as_dir" && as_dir=.
6746 for ac_exec_ext in '' $ac_executable_extensions; do
6747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6748 ac_cv_prog_CONVERT="$ac_prog"
6749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6750 break 2
6752 done
6753 done
6754 IFS=$as_save_IFS
6758 CONVERT=$ac_cv_prog_CONVERT
6759 if test -n "$CONVERT"; then
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6761 $as_echo "$CONVERT" >&6; }
6762 else
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6764 $as_echo "no" >&6; }
6768 test -n "$CONVERT" && break
6769 done
6770 test -n "$CONVERT" || CONVERT="false"
6772 for ac_prog in icotool
6774 # Extract the first word of "$ac_prog", so it can be a program name with args.
6775 set dummy $ac_prog; ac_word=$2
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777 $as_echo_n "checking for $ac_word... " >&6; }
6778 if ${ac_cv_prog_ICOTOOL+:} false; then :
6779 $as_echo_n "(cached) " >&6
6780 else
6781 if test -n "$ICOTOOL"; then
6782 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6783 else
6784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6785 for as_dir in $PATH
6787 IFS=$as_save_IFS
6788 test -z "$as_dir" && as_dir=.
6789 for ac_exec_ext in '' $ac_executable_extensions; do
6790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6791 ac_cv_prog_ICOTOOL="$ac_prog"
6792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6793 break 2
6795 done
6796 done
6797 IFS=$as_save_IFS
6801 ICOTOOL=$ac_cv_prog_ICOTOOL
6802 if test -n "$ICOTOOL"; then
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6804 $as_echo "$ICOTOOL" >&6; }
6805 else
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807 $as_echo "no" >&6; }
6811 test -n "$ICOTOOL" && break
6812 done
6813 test -n "$ICOTOOL" || ICOTOOL="false"
6815 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6816 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6818 if test "$CONVERT" = false
6819 then
6820 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6821 else
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6823 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6824 convert_version=`convert --version | head -n1`
6825 if test "x$convert_version" != "x"
6826 then
6827 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6828 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6829 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6830 then
6831 CONVERT=false
6834 if test "$CONVERT" = false
6835 then
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6837 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6838 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6839 else
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6841 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6845 if test "$ICOTOOL" = false
6846 then
6847 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6848 else
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6850 $as_echo_n "checking for recent enough icotool... " >&6; }
6851 icotool_version=`icotool --version | head -n1`
6852 if test "x$icotool_version" != "x"
6853 then
6854 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6855 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6856 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6857 then
6858 ICOTOOL=false
6859 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6862 if test "$ICOTOOL" = false
6863 then
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6865 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6866 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6867 else
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6869 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6873 with_gettext=yes
6874 with_gettextpo=yes
6876 enable_werror=yes
6879 test "x$with_gettext" != xno || MSGFMT=false
6880 if test "$MSGFMT" != "false"
6881 then
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6883 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6884 if ${wine_cv_msgfmt_contexts+:} false; then :
6885 $as_echo_n "(cached) " >&6
6886 else
6887 cat >conftest.po <<EOF
6888 # comment
6889 msgctxt "ctxt"
6890 msgid "id"
6891 msgstr "str"
6893 if $MSGFMT -o /dev/null conftest.po 2>&5
6894 then
6895 wine_cv_msgfmt_contexts=yes
6896 else
6897 wine_cv_msgfmt_contexts=no
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6901 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6902 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6904 if test "$MSGFMT" = false; then :
6905 case "x$with_gettext" in
6906 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6907 xno) ;;
6908 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6909 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6910 esac
6911 enable_po=${enable_po:-no}
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6916 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6917 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6918 $as_echo_n "(cached) " >&6
6919 else
6920 ac_check_lib_save_LIBS=$LIBS
6921 LIBS="-li386 $LIBS"
6922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6923 /* end confdefs.h. */
6925 /* Override any GCC internal prototype to avoid an error.
6926 Use char because int might match the return type of a GCC
6927 builtin and then its argument prototype would still apply. */
6928 #ifdef __cplusplus
6929 extern "C"
6930 #endif
6931 char i386_set_ldt ();
6933 main ()
6935 return i386_set_ldt ();
6937 return 0;
6939 _ACEOF
6940 if ac_fn_c_try_link "$LINENO"; then :
6941 ac_cv_lib_i386_i386_set_ldt=yes
6942 else
6943 ac_cv_lib_i386_i386_set_ldt=no
6945 rm -f core conftest.err conftest.$ac_objext \
6946 conftest$ac_exeext conftest.$ac_ext
6947 LIBS=$ac_check_lib_save_LIBS
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6950 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6951 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6952 I386_LIBS="-li386"
6957 OPENGL_LIBS=""
6961 # Check whether --enable-largefile was given.
6962 if test "${enable_largefile+set}" = set; then :
6963 enableval=$enable_largefile;
6966 if test "$enable_largefile" != no; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6969 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6970 if ${ac_cv_sys_largefile_CC+:} false; then :
6971 $as_echo_n "(cached) " >&6
6972 else
6973 ac_cv_sys_largefile_CC=no
6974 if test "$GCC" != yes; then
6975 ac_save_CC=$CC
6976 while :; do
6977 # IRIX 6.2 and later do not support large files by default,
6978 # so use the C compiler's -n32 option if that helps.
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6981 #include <sys/types.h>
6982 /* Check that off_t can represent 2**63 - 1 correctly.
6983 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6984 since some C++ compilers masquerading as C compilers
6985 incorrectly reject 9223372036854775807. */
6986 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6987 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6988 && LARGE_OFF_T % 2147483647 == 1)
6989 ? 1 : -1];
6991 main ()
6995 return 0;
6997 _ACEOF
6998 if ac_fn_c_try_compile "$LINENO"; then :
6999 break
7001 rm -f core conftest.err conftest.$ac_objext
7002 CC="$CC -n32"
7003 if ac_fn_c_try_compile "$LINENO"; then :
7004 ac_cv_sys_largefile_CC=' -n32'; break
7006 rm -f core conftest.err conftest.$ac_objext
7007 break
7008 done
7009 CC=$ac_save_CC
7010 rm -f conftest.$ac_ext
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7014 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7015 if test "$ac_cv_sys_largefile_CC" != no; then
7016 CC=$CC$ac_cv_sys_largefile_CC
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7020 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7021 if ${ac_cv_sys_file_offset_bits+:} false; then :
7022 $as_echo_n "(cached) " >&6
7023 else
7024 while :; do
7025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h. */
7027 #include <sys/types.h>
7028 /* Check that off_t can represent 2**63 - 1 correctly.
7029 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7030 since some C++ compilers masquerading as C compilers
7031 incorrectly reject 9223372036854775807. */
7032 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7033 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7034 && LARGE_OFF_T % 2147483647 == 1)
7035 ? 1 : -1];
7037 main ()
7041 return 0;
7043 _ACEOF
7044 if ac_fn_c_try_compile "$LINENO"; then :
7045 ac_cv_sys_file_offset_bits=no; break
7047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7050 #define _FILE_OFFSET_BITS 64
7051 #include <sys/types.h>
7052 /* Check that off_t can represent 2**63 - 1 correctly.
7053 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7054 since some C++ compilers masquerading as C compilers
7055 incorrectly reject 9223372036854775807. */
7056 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7057 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7058 && LARGE_OFF_T % 2147483647 == 1)
7059 ? 1 : -1];
7061 main ()
7065 return 0;
7067 _ACEOF
7068 if ac_fn_c_try_compile "$LINENO"; then :
7069 ac_cv_sys_file_offset_bits=64; break
7071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7072 ac_cv_sys_file_offset_bits=unknown
7073 break
7074 done
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7077 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7078 case $ac_cv_sys_file_offset_bits in #(
7079 no | unknown) ;;
7081 cat >>confdefs.h <<_ACEOF
7082 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7083 _ACEOF
7085 esac
7086 rm -rf conftest*
7087 if test $ac_cv_sys_file_offset_bits = unknown; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7089 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7090 if ${ac_cv_sys_large_files+:} false; then :
7091 $as_echo_n "(cached) " >&6
7092 else
7093 while :; do
7094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7095 /* end confdefs.h. */
7096 #include <sys/types.h>
7097 /* Check that off_t can represent 2**63 - 1 correctly.
7098 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7099 since some C++ compilers masquerading as C compilers
7100 incorrectly reject 9223372036854775807. */
7101 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7102 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7103 && LARGE_OFF_T % 2147483647 == 1)
7104 ? 1 : -1];
7106 main ()
7110 return 0;
7112 _ACEOF
7113 if ac_fn_c_try_compile "$LINENO"; then :
7114 ac_cv_sys_large_files=no; break
7116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7118 /* end confdefs.h. */
7119 #define _LARGE_FILES 1
7120 #include <sys/types.h>
7121 /* Check that off_t can represent 2**63 - 1 correctly.
7122 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7123 since some C++ compilers masquerading as C compilers
7124 incorrectly reject 9223372036854775807. */
7125 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7126 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7127 && LARGE_OFF_T % 2147483647 == 1)
7128 ? 1 : -1];
7130 main ()
7134 return 0;
7136 _ACEOF
7137 if ac_fn_c_try_compile "$LINENO"; then :
7138 ac_cv_sys_large_files=1; break
7140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7141 ac_cv_sys_large_files=unknown
7142 break
7143 done
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7146 $as_echo "$ac_cv_sys_large_files" >&6; }
7147 case $ac_cv_sys_large_files in #(
7148 no | unknown) ;;
7150 cat >>confdefs.h <<_ACEOF
7151 #define _LARGE_FILES $ac_cv_sys_large_files
7152 _ACEOF
7154 esac
7155 rm -rf conftest*
7162 ac_ext=c
7163 ac_cpp='$CPP $CPPFLAGS'
7164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7168 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7169 # On Suns, sometimes $CPP names a directory.
7170 if test -n "$CPP" && test -d "$CPP"; then
7171 CPP=
7173 if test -z "$CPP"; then
7174 if ${ac_cv_prog_CPP+:} false; then :
7175 $as_echo_n "(cached) " >&6
7176 else
7177 # Double quotes because CPP needs to be expanded
7178 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7180 ac_preproc_ok=false
7181 for ac_c_preproc_warn_flag in '' yes
7183 # Use a header file that comes with gcc, so configuring glibc
7184 # with a fresh cross-compiler works.
7185 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7186 # <limits.h> exists even on freestanding compilers.
7187 # On the NeXT, cc -E runs the code through the compiler's parser,
7188 # not just through cpp. "Syntax error" is here to catch this case.
7189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7190 /* end confdefs.h. */
7191 #ifdef __STDC__
7192 # include <limits.h>
7193 #else
7194 # include <assert.h>
7195 #endif
7196 Syntax error
7197 _ACEOF
7198 if ac_fn_c_try_cpp "$LINENO"; then :
7200 else
7201 # Broken: fails on valid input.
7202 continue
7204 rm -f conftest.err conftest.i conftest.$ac_ext
7206 # OK, works on sane cases. Now check whether nonexistent headers
7207 # can be detected and how.
7208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7209 /* end confdefs.h. */
7210 #include <ac_nonexistent.h>
7211 _ACEOF
7212 if ac_fn_c_try_cpp "$LINENO"; then :
7213 # Broken: success on invalid input.
7214 continue
7215 else
7216 # Passes both tests.
7217 ac_preproc_ok=:
7218 break
7220 rm -f conftest.err conftest.i conftest.$ac_ext
7222 done
7223 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7224 rm -f conftest.i conftest.err conftest.$ac_ext
7225 if $ac_preproc_ok; then :
7226 break
7229 done
7230 ac_cv_prog_CPP=$CPP
7233 CPP=$ac_cv_prog_CPP
7234 else
7235 ac_cv_prog_CPP=$CPP
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7238 $as_echo "$CPP" >&6; }
7239 ac_preproc_ok=false
7240 for ac_c_preproc_warn_flag in '' yes
7242 # Use a header file that comes with gcc, so configuring glibc
7243 # with a fresh cross-compiler works.
7244 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7245 # <limits.h> exists even on freestanding compilers.
7246 # On the NeXT, cc -E runs the code through the compiler's parser,
7247 # not just through cpp. "Syntax error" is here to catch this case.
7248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7249 /* end confdefs.h. */
7250 #ifdef __STDC__
7251 # include <limits.h>
7252 #else
7253 # include <assert.h>
7254 #endif
7255 Syntax error
7256 _ACEOF
7257 if ac_fn_c_try_cpp "$LINENO"; then :
7259 else
7260 # Broken: fails on valid input.
7261 continue
7263 rm -f conftest.err conftest.i conftest.$ac_ext
7265 # OK, works on sane cases. Now check whether nonexistent headers
7266 # can be detected and how.
7267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268 /* end confdefs.h. */
7269 #include <ac_nonexistent.h>
7270 _ACEOF
7271 if ac_fn_c_try_cpp "$LINENO"; then :
7272 # Broken: success on invalid input.
7273 continue
7274 else
7275 # Passes both tests.
7276 ac_preproc_ok=:
7277 break
7279 rm -f conftest.err conftest.i conftest.$ac_ext
7281 done
7282 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7283 rm -f conftest.i conftest.err conftest.$ac_ext
7284 if $ac_preproc_ok; then :
7286 else
7287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7289 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7290 See \`config.log' for more details" "$LINENO" 5; }
7293 ac_ext=c
7294 ac_cpp='$CPP $CPPFLAGS'
7295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7301 $as_echo_n "checking for ANSI C header files... " >&6; }
7302 if ${ac_cv_header_stdc+:} false; then :
7303 $as_echo_n "(cached) " >&6
7304 else
7305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7306 /* end confdefs.h. */
7307 #include <stdlib.h>
7308 #include <stdarg.h>
7309 #include <string.h>
7310 #include <float.h>
7313 main ()
7317 return 0;
7319 _ACEOF
7320 if ac_fn_c_try_compile "$LINENO"; then :
7321 ac_cv_header_stdc=yes
7322 else
7323 ac_cv_header_stdc=no
7325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7327 if test $ac_cv_header_stdc = yes; then
7328 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7330 /* end confdefs.h. */
7331 #include <string.h>
7333 _ACEOF
7334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7335 $EGREP "memchr" >/dev/null 2>&1; then :
7337 else
7338 ac_cv_header_stdc=no
7340 rm -f conftest*
7344 if test $ac_cv_header_stdc = yes; then
7345 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7347 /* end confdefs.h. */
7348 #include <stdlib.h>
7350 _ACEOF
7351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7352 $EGREP "free" >/dev/null 2>&1; then :
7354 else
7355 ac_cv_header_stdc=no
7357 rm -f conftest*
7361 if test $ac_cv_header_stdc = yes; then
7362 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7363 if test "$cross_compiling" = yes; then :
7365 else
7366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7367 /* end confdefs.h. */
7368 #include <ctype.h>
7369 #include <stdlib.h>
7370 #if ((' ' & 0x0FF) == 0x020)
7371 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7372 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7373 #else
7374 # define ISLOWER(c) \
7375 (('a' <= (c) && (c) <= 'i') \
7376 || ('j' <= (c) && (c) <= 'r') \
7377 || ('s' <= (c) && (c) <= 'z'))
7378 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7379 #endif
7381 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7383 main ()
7385 int i;
7386 for (i = 0; i < 256; i++)
7387 if (XOR (islower (i), ISLOWER (i))
7388 || toupper (i) != TOUPPER (i))
7389 return 2;
7390 return 0;
7392 _ACEOF
7393 if ac_fn_c_try_run "$LINENO"; then :
7395 else
7396 ac_cv_header_stdc=no
7398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7399 conftest.$ac_objext conftest.beam conftest.$ac_ext
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7405 $as_echo "$ac_cv_header_stdc" >&6; }
7406 if test $ac_cv_header_stdc = yes; then
7408 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7412 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7413 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7414 inttypes.h stdint.h unistd.h
7415 do :
7416 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7417 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7419 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7420 cat >>confdefs.h <<_ACEOF
7421 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7422 _ACEOF
7426 done
7429 for ac_header in \
7430 AL/al.h \
7431 ApplicationServices/ApplicationServices.h \
7432 AudioToolbox/AudioConverter.h \
7433 AudioUnit/AudioUnit.h \
7434 AudioUnit/AudioComponent.h \
7435 CL/cl.h \
7436 Carbon/Carbon.h \
7437 CommonCrypto/CommonCryptor.h \
7438 CoreAudio/CoreAudio.h \
7439 DiskArbitration/DiskArbitration.h \
7440 EGL/egl.h \
7441 IOKit/IOKitLib.h \
7442 IOKit/hid/IOHIDLib.h \
7443 OpenAL/al.h \
7444 OpenCL/opencl.h \
7445 QuickTime/ImageCompression.h \
7446 Security/Security.h \
7447 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7448 SystemConfiguration/SCNetworkConfiguration.h \
7449 alias.h \
7450 arpa/inet.h \
7451 arpa/nameser.h \
7452 asm/types.h \
7453 asm/user.h \
7454 dirent.h \
7455 dlfcn.h \
7456 elf.h \
7457 float.h \
7458 fnmatch.h \
7459 getopt.h \
7460 gettext-po.h \
7461 grp.h \
7462 gsm.h \
7463 gsm/gsm.h \
7464 ieeefp.h \
7465 inet/mib2.h \
7466 kstat.h \
7467 libproc.h \
7468 link.h \
7469 linux/cdrom.h \
7470 linux/filter.h \
7471 linux/hdreg.h \
7472 linux/hidraw.h \
7473 linux/input.h \
7474 linux/ioctl.h \
7475 linux/joystick.h \
7476 linux/major.h \
7477 linux/param.h \
7478 linux/serial.h \
7479 linux/types.h \
7480 linux/ucdrom.h \
7481 lwp.h \
7482 mach-o/loader.h \
7483 mach/mach.h \
7484 machine/cpu.h \
7485 machine/sysarch.h \
7486 mntent.h \
7487 netdb.h \
7488 netinet/in.h \
7489 netinet/in_systm.h \
7490 netinet/tcp.h \
7491 netinet/tcp_fsm.h \
7492 pcap/pcap.h \
7493 poll.h \
7494 port.h \
7495 pthread.h \
7496 pwd.h \
7497 sasl/sasl.h \
7498 sched.h \
7499 scsi/scsi.h \
7500 scsi/scsi_ioctl.h \
7501 scsi/sg.h \
7502 stdint.h \
7503 stropts.h \
7504 sys/attr.h \
7505 sys/auxv.h \
7506 sys/cdio.h \
7507 sys/epoll.h \
7508 sys/event.h \
7509 sys/filio.h \
7510 sys/ioctl.h \
7511 sys/ipc.h \
7512 sys/link.h \
7513 sys/mman.h \
7514 sys/modem.h \
7515 sys/msg.h \
7516 sys/mtio.h \
7517 sys/param.h \
7518 sys/poll.h \
7519 sys/prctl.h \
7520 sys/protosw.h \
7521 sys/ptrace.h \
7522 sys/queue.h \
7523 sys/random.h \
7524 sys/resource.h \
7525 sys/scsiio.h \
7526 sys/shm.h \
7527 sys/signal.h \
7528 sys/socket.h \
7529 sys/socketvar.h \
7530 sys/sockio.h \
7531 sys/statvfs.h \
7532 sys/strtio.h \
7533 sys/syscall.h \
7534 sys/sysinfo.h \
7535 sys/tihdr.h \
7536 sys/time.h \
7537 sys/timeout.h \
7538 sys/times.h \
7539 sys/uio.h \
7540 sys/user.h \
7541 sys/utsname.h \
7542 sys/vnode.h \
7543 sys/wait.h \
7544 syscall.h \
7545 termios.h \
7546 unistd.h \
7547 utime.h \
7548 valgrind/memcheck.h \
7549 valgrind/valgrind.h
7551 do :
7552 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7553 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7554 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7555 cat >>confdefs.h <<_ACEOF
7556 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7557 _ACEOF
7561 done
7563 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7564 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7566 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7571 if test $ac_cv_header_sys_mkdev_h = no; then
7572 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7573 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7575 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7582 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7583 if ${ac_cv_header_stat_broken+:} false; then :
7584 $as_echo_n "(cached) " >&6
7585 else
7586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7588 #include <sys/types.h>
7589 #include <sys/stat.h>
7591 #if defined S_ISBLK && defined S_IFDIR
7592 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7593 #endif
7595 #if defined S_ISBLK && defined S_IFCHR
7596 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7597 #endif
7599 #if defined S_ISLNK && defined S_IFREG
7600 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7601 #endif
7603 #if defined S_ISSOCK && defined S_IFREG
7604 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7605 #endif
7607 _ACEOF
7608 if ac_fn_c_try_compile "$LINENO"; then :
7609 ac_cv_header_stat_broken=no
7610 else
7611 ac_cv_header_stat_broken=yes
7613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7616 $as_echo "$ac_cv_header_stat_broken" >&6; }
7617 if test $ac_cv_header_stat_broken = yes; then
7619 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7625 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7626 do :
7627 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7628 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7629 #ifdef HAVE_SYS_PARAM_H
7630 # include <sys/param.h>
7631 #endif
7633 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7634 cat >>confdefs.h <<_ACEOF
7635 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7636 _ACEOF
7640 done
7643 saved_sysctl_h_CFLAGS=$CFLAGS
7644 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7645 for ac_header in sys/sysctl.h
7646 do :
7647 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7648 #ifdef HAVE_SYS_PARAM_H
7649 # include <sys/param.h>
7650 #endif
7652 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7653 cat >>confdefs.h <<_ACEOF
7654 #define HAVE_SYS_SYSCTL_H 1
7655 _ACEOF
7659 done
7661 CFLAGS=$saved_sysctl_h_CFLAGS
7663 for ac_header in \
7664 netinet/ip.h \
7665 net/if.h \
7666 net/if_arp.h \
7667 net/if_dl.h \
7668 net/if_types.h \
7669 net/route.h \
7670 netinet/if_ether.h \
7671 netinet/if_inarp.h \
7672 netinet/in_pcb.h \
7673 netinet/ip_icmp.h \
7674 netinet/ip_var.h \
7675 netinet/udp.h \
7676 netipx/ipx.h \
7677 sys/un.h \
7679 do :
7680 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7681 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7682 #ifdef HAVE_SYS_SOCKET_H
7683 # include <sys/socket.h>
7684 #endif
7685 #ifdef HAVE_SYS_SOCKETVAR_H
7686 # include <sys/socketvar.h>
7687 #endif
7688 #ifdef HAVE_NET_ROUTE_H
7689 # include <net/route.h>
7690 #endif
7691 #ifdef HAVE_NETINET_IN_H
7692 # include <netinet/in.h>
7693 #endif
7694 #ifdef HAVE_NETINET_IN_SYSTM_H
7695 # include <netinet/in_systm.h>
7696 #endif
7697 #ifdef HAVE_NET_IF_H
7698 # include <net/if.h>
7699 #endif
7700 #ifdef HAVE_NETINET_IP_H
7701 # include <netinet/ip.h>
7702 #endif
7704 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7705 cat >>confdefs.h <<_ACEOF
7706 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7707 _ACEOF
7711 done
7714 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7715 do :
7716 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7717 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7718 #ifdef HAVE_ALIAS_H
7719 # include <alias.h>
7720 #endif
7721 #ifdef HAVE_SYS_SOCKET_H
7722 # include <sys/socket.h>
7723 #endif
7724 #ifdef HAVE_SYS_SOCKETVAR_H
7725 # include <sys/socketvar.h>
7726 #endif
7727 #ifdef HAVE_SYS_TIMEOUT_H
7728 # include <sys/timeout.h>
7729 #endif
7730 #ifdef HAVE_NETINET_IN_H
7731 # include <netinet/in.h>
7732 #endif
7733 #ifdef HAVE_NETINET_IN_SYSTM_H
7734 # include <netinet/in_systm.h>
7735 #endif
7736 #ifdef HAVE_NETINET_IP_H
7737 # include <netinet/ip.h>
7738 #endif
7739 #ifdef HAVE_NETINET_IP_VAR_H
7740 # include <netinet/ip_var.h>
7741 #endif
7742 #ifdef HAVE_NETINET_IP_ICMP_H
7743 # include <netinet/ip_icmp.h>
7744 #endif
7745 #ifdef HAVE_NETINET_UDP_H
7746 # include <netinet/udp.h>
7747 #endif
7748 #ifdef HAVE_NETINET_TCP_H
7749 # include <netinet/tcp.h>
7750 #endif
7751 #ifdef HAVE_NETINET_TCP_TIMER_H
7752 #include <netinet/tcp_timer.h>
7753 #endif
7755 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7756 cat >>confdefs.h <<_ACEOF
7757 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7758 _ACEOF
7762 done
7765 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7766 do :
7767 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7768 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7769 #ifdef HAVE_ASM_TYPES_H
7770 # include <asm/types.h>
7771 #endif
7772 #ifdef HAVE_SYS_SOCKET_H
7773 # include <sys/socket.h>
7774 #endif
7775 #ifdef HAVE_LINUX_TYPES_H
7776 # include <linux/types.h>
7777 #endif
7779 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7780 cat >>confdefs.h <<_ACEOF
7781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7782 _ACEOF
7786 done
7789 for ac_header in resolv.h
7790 do :
7791 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7792 #ifdef HAVE_SYS_SOCKET_H
7793 # include <sys/socket.h>
7794 #endif
7795 #ifdef HAVE_NETINET_IN_H
7796 # include <netinet/in.h>
7797 #endif
7798 #ifdef HAVE_ARPA_NAMESER_H
7799 # include <arpa/nameser.h>
7800 #endif
7802 if test "x$ac_cv_header_resolv_h" = xyes; then :
7803 cat >>confdefs.h <<_ACEOF
7804 #define HAVE_RESOLV_H 1
7805 _ACEOF
7809 done
7812 for ac_header in ifaddrs.h
7813 do :
7814 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7816 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7817 cat >>confdefs.h <<_ACEOF
7818 #define HAVE_IFADDRS_H 1
7819 _ACEOF
7823 done
7826 for ac_header in sys/ucontext.h
7827 do :
7828 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7830 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7831 cat >>confdefs.h <<_ACEOF
7832 #define HAVE_SYS_UCONTEXT_H 1
7833 _ACEOF
7837 done
7840 for ac_header in sys/thr.h
7841 do :
7842 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7843 #ifdef HAVE_SYS_UCONTEXT_H
7844 #include <sys/ucontext.h>
7845 #endif
7847 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7848 cat >>confdefs.h <<_ACEOF
7849 #define HAVE_SYS_THR_H 1
7850 _ACEOF
7854 done
7857 for ac_header in pthread_np.h
7858 do :
7859 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7860 #include <pthread.h>
7861 #endif
7863 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7864 cat >>confdefs.h <<_ACEOF
7865 #define HAVE_PTHREAD_NP_H 1
7866 _ACEOF
7870 done
7873 for ac_header in linux/videodev2.h
7874 do :
7875 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7876 #include <sys/time.h>
7877 #endif
7878 #include <sys/types.h>
7879 #ifdef HAVE_ASM_TYPES_H
7880 #include <asm/types.h>
7881 #endif
7883 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7884 cat >>confdefs.h <<_ACEOF
7885 #define HAVE_LINUX_VIDEODEV2_H 1
7886 _ACEOF
7890 done
7893 for ac_header in libprocstat.h
7894 do :
7895 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7896 #include <sys/param.h>
7897 #endif
7898 #ifdef HAVE_SYS_QUEUE_H
7899 #include <sys/queue.h>
7900 #endif
7901 #ifdef HAVE_SYS_SOCKET_H
7902 #include <sys/socket.h>
7903 #endif
7905 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7906 cat >>confdefs.h <<_ACEOF
7907 #define HAVE_LIBPROCSTAT_H 1
7908 _ACEOF
7912 done
7916 DLLFLAGS="-D_REENTRANT"
7918 LDDLLFLAGS=""
7920 LDEXECFLAGS=""
7922 TOP_INSTALL_LIB=""
7924 TOP_INSTALL_DEV=""
7926 WINELOADER_LDFLAGS=""
7928 WINEPRELOADER_LDFLAGS=""
7930 LIBEXT="so"
7931 DLLEXT=".so"
7932 # Extract the first word of "ldd", so it can be a program name with args.
7933 set dummy ldd; ac_word=$2
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7935 $as_echo_n "checking for $ac_word... " >&6; }
7936 if ${ac_cv_path_LDD+:} false; then :
7937 $as_echo_n "(cached) " >&6
7938 else
7939 case $LDD in
7940 [\\/]* | ?:[\\/]*)
7941 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 as_dummy="/sbin:/usr/sbin:$PATH"
7946 for as_dir in $as_dummy
7948 IFS=$as_save_IFS
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7954 break 2
7956 done
7957 done
7958 IFS=$as_save_IFS
7960 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7962 esac
7964 LDD=$ac_cv_path_LDD
7965 if test -n "$LDD"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7967 $as_echo "$LDD" >&6; }
7968 else
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7974 if test -n "$ac_tool_prefix"; then
7975 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7976 set dummy ${ac_tool_prefix}otool; ac_word=$2
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7978 $as_echo_n "checking for $ac_word... " >&6; }
7979 if ${ac_cv_prog_OTOOL+:} false; then :
7980 $as_echo_n "(cached) " >&6
7981 else
7982 if test -n "$OTOOL"; then
7983 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7984 else
7985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7986 for as_dir in $PATH
7988 IFS=$as_save_IFS
7989 test -z "$as_dir" && as_dir=.
7990 for ac_exec_ext in '' $ac_executable_extensions; do
7991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994 break 2
7996 done
7997 done
7998 IFS=$as_save_IFS
8002 OTOOL=$ac_cv_prog_OTOOL
8003 if test -n "$OTOOL"; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8005 $as_echo "$OTOOL" >&6; }
8006 else
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8008 $as_echo "no" >&6; }
8013 if test -z "$ac_cv_prog_OTOOL"; then
8014 ac_ct_OTOOL=$OTOOL
8015 # Extract the first word of "otool", so it can be a program name with args.
8016 set dummy otool; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8020 $as_echo_n "(cached) " >&6
8021 else
8022 if test -n "$ac_ct_OTOOL"; then
8023 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8024 else
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 for as_dir in $PATH
8028 IFS=$as_save_IFS
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_ac_ct_OTOOL="otool"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034 break 2
8036 done
8037 done
8038 IFS=$as_save_IFS
8042 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8043 if test -n "$ac_ct_OTOOL"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8045 $as_echo "$ac_ct_OTOOL" >&6; }
8046 else
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8051 if test "x$ac_ct_OTOOL" = x; then
8052 OTOOL="otool"
8053 else
8054 case $cross_compiling:$ac_tool_warned in
8055 yes:)
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8058 ac_tool_warned=yes ;;
8059 esac
8060 OTOOL=$ac_ct_OTOOL
8062 else
8063 OTOOL="$ac_cv_prog_OTOOL"
8066 if test -n "$ac_tool_prefix"; then
8067 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8068 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8070 $as_echo_n "checking for $ac_word... " >&6; }
8071 if ${ac_cv_prog_READELF+:} false; then :
8072 $as_echo_n "(cached) " >&6
8073 else
8074 if test -n "$READELF"; then
8075 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8076 else
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 for as_dir in $PATH
8080 IFS=$as_save_IFS
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8084 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8086 break 2
8088 done
8089 done
8090 IFS=$as_save_IFS
8094 READELF=$ac_cv_prog_READELF
8095 if test -n "$READELF"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8097 $as_echo "$READELF" >&6; }
8098 else
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8105 if test -z "$ac_cv_prog_READELF"; then
8106 ac_ct_READELF=$READELF
8107 # Extract the first word of "readelf", so it can be a program name with args.
8108 set dummy readelf; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110 $as_echo_n "checking for $ac_word... " >&6; }
8111 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8112 $as_echo_n "(cached) " >&6
8113 else
8114 if test -n "$ac_ct_READELF"; then
8115 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8116 else
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118 for as_dir in $PATH
8120 IFS=$as_save_IFS
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_prog_ac_ct_READELF="readelf"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8126 break 2
8128 done
8129 done
8130 IFS=$as_save_IFS
8134 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8135 if test -n "$ac_ct_READELF"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8137 $as_echo "$ac_ct_READELF" >&6; }
8138 else
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140 $as_echo "no" >&6; }
8143 if test "x$ac_ct_READELF" = x; then
8144 READELF="true"
8145 else
8146 case $cross_compiling:$ac_tool_warned in
8147 yes:)
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8150 ac_tool_warned=yes ;;
8151 esac
8152 READELF=$ac_ct_READELF
8154 else
8155 READELF="$ac_cv_prog_READELF"
8158 wine_rules_file=conf$$rules.make
8159 rm -f $wine_rules_file
8160 SUBDIRS=""
8162 DISABLED_SUBDIRS=""
8164 CONFIGURE_TARGETS=""
8167 wine_fn_append_file ()
8169 as_fn_append $1 " \\$as_nl $2"
8172 wine_fn_append_rule ()
8174 $as_echo "$1" >>$wine_rules_file
8177 wine_fn_config_makefile ()
8179 wine_fn_append_file SUBDIRS $1
8180 if eval test \"x\$"$2"\" = x"no"; then :
8181 wine_fn_append_file DISABLED_SUBDIRS $1
8185 wine_fn_config_symlink ()
8187 ac_links=$@
8188 wine_fn_append_rule \
8189 "$ac_links:
8190 @./config.status \$@"
8191 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8194 wine_binary="wine"
8195 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8196 WINELOADER_PROGRAMS="$wine_binary"
8198 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8200 case $host_os in
8201 cygwin*|mingw32*)
8202 if test -n "$ac_tool_prefix"; then
8203 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8204 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8206 $as_echo_n "checking for $ac_word... " >&6; }
8207 if ${ac_cv_prog_DLLTOOL+:} false; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 if test -n "$DLLTOOL"; then
8211 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8212 else
8213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8214 for as_dir in $PATH
8216 IFS=$as_save_IFS
8217 test -z "$as_dir" && as_dir=.
8218 for ac_exec_ext in '' $ac_executable_extensions; do
8219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8220 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8222 break 2
8224 done
8225 done
8226 IFS=$as_save_IFS
8230 DLLTOOL=$ac_cv_prog_DLLTOOL
8231 if test -n "$DLLTOOL"; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8233 $as_echo "$DLLTOOL" >&6; }
8234 else
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 $as_echo "no" >&6; }
8241 if test -z "$ac_cv_prog_DLLTOOL"; then
8242 ac_ct_DLLTOOL=$DLLTOOL
8243 # Extract the first word of "dlltool", so it can be a program name with args.
8244 set dummy dlltool; ac_word=$2
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8246 $as_echo_n "checking for $ac_word... " >&6; }
8247 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 if test -n "$ac_ct_DLLTOOL"; then
8251 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8252 else
8253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8254 for as_dir in $PATH
8256 IFS=$as_save_IFS
8257 test -z "$as_dir" && as_dir=.
8258 for ac_exec_ext in '' $ac_executable_extensions; do
8259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8260 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8262 break 2
8264 done
8265 done
8266 IFS=$as_save_IFS
8270 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8271 if test -n "$ac_ct_DLLTOOL"; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8273 $as_echo "$ac_ct_DLLTOOL" >&6; }
8274 else
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8279 if test "x$ac_ct_DLLTOOL" = x; then
8280 DLLTOOL="false"
8281 else
8282 case $cross_compiling:$ac_tool_warned in
8283 yes:)
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8286 ac_tool_warned=yes ;;
8287 esac
8288 DLLTOOL=$ac_ct_DLLTOOL
8290 else
8291 DLLTOOL="$ac_cv_prog_DLLTOOL"
8294 LIBEXT="dll"
8295 DLLEXT=""
8296 case $host_cpu in
8297 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8298 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8299 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8300 $as_echo_n "(cached) " >&6
8301 else
8302 ac_wine_try_cflags_saved=$CFLAGS
8303 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8306 int main(int argc, char **argv) { return 0; }
8307 _ACEOF
8308 if ac_fn_c_try_link "$LINENO"; then :
8309 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8310 else
8311 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8313 rm -f core conftest.err conftest.$ac_objext \
8314 conftest$ac_exeext conftest.$ac_ext
8315 CFLAGS=$ac_wine_try_cflags_saved
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8318 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8319 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8320 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8321 fi ;;
8322 esac
8323 enable_iphlpapi=${enable_iphlpapi:-no}
8324 enable_ws2_32=${enable_ws2_32:-no}
8325 enable_loader=${enable_loader:-no}
8326 enable_server=${enable_server:-no}
8327 with_x=${with_x:-no}
8328 with_pthread=${with_pthread:-no}
8331 darwin*|macosx*)
8332 ac_ext=m
8333 ac_cpp='$OBJCPP $CPPFLAGS'
8334 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8335 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8336 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8338 ac_ext=m
8339 ac_cpp='$OBJCPP $CPPFLAGS'
8340 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8341 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8342 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8343 if test -n "$ac_tool_prefix"; then
8344 for ac_prog in gcc objcc objc cc CC
8346 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8347 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8349 $as_echo_n "checking for $ac_word... " >&6; }
8350 if ${ac_cv_prog_OBJC+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 if test -n "$OBJC"; then
8354 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8355 else
8356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8357 for as_dir in $PATH
8359 IFS=$as_save_IFS
8360 test -z "$as_dir" && as_dir=.
8361 for ac_exec_ext in '' $ac_executable_extensions; do
8362 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8363 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8365 break 2
8367 done
8368 done
8369 IFS=$as_save_IFS
8373 OBJC=$ac_cv_prog_OBJC
8374 if test -n "$OBJC"; then
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8376 $as_echo "$OBJC" >&6; }
8377 else
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8379 $as_echo "no" >&6; }
8383 test -n "$OBJC" && break
8384 done
8386 if test -z "$OBJC"; then
8387 ac_ct_OBJC=$OBJC
8388 for ac_prog in gcc objcc objc cc CC
8390 # Extract the first word of "$ac_prog", so it can be a program name with args.
8391 set dummy $ac_prog; ac_word=$2
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8393 $as_echo_n "checking for $ac_word... " >&6; }
8394 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8395 $as_echo_n "(cached) " >&6
8396 else
8397 if test -n "$ac_ct_OBJC"; then
8398 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8399 else
8400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8401 for as_dir in $PATH
8403 IFS=$as_save_IFS
8404 test -z "$as_dir" && as_dir=.
8405 for ac_exec_ext in '' $ac_executable_extensions; do
8406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8407 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8409 break 2
8411 done
8412 done
8413 IFS=$as_save_IFS
8417 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8418 if test -n "$ac_ct_OBJC"; then
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8420 $as_echo "$ac_ct_OBJC" >&6; }
8421 else
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8423 $as_echo "no" >&6; }
8427 test -n "$ac_ct_OBJC" && break
8428 done
8430 if test "x$ac_ct_OBJC" = x; then
8431 OBJC="gcc"
8432 else
8433 case $cross_compiling:$ac_tool_warned in
8434 yes:)
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8437 ac_tool_warned=yes ;;
8438 esac
8439 OBJC=$ac_ct_OBJC
8443 # Provide some information about the compiler.
8444 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8445 set X $ac_compile
8446 ac_compiler=$2
8447 for ac_option in --version -v -V -qversion; do
8448 { { ac_try="$ac_compiler $ac_option >&5"
8449 case "(($ac_try" in
8450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8451 *) ac_try_echo=$ac_try;;
8452 esac
8453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8454 $as_echo "$ac_try_echo"; } >&5
8455 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8456 ac_status=$?
8457 if test -s conftest.err; then
8458 sed '10a\
8459 ... rest of stderr output deleted ...
8460 10q' conftest.err >conftest.er1
8461 cat conftest.er1 >&5
8463 rm -f conftest.er1 conftest.err
8464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8465 test $ac_status = 0; }
8466 done
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8469 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8470 if ${ac_cv_objc_compiler_gnu+:} false; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8477 main ()
8479 #ifndef __GNUC__
8480 choke me
8481 #endif
8484 return 0;
8486 _ACEOF
8487 if ac_fn_objc_try_compile "$LINENO"; then :
8488 ac_compiler_gnu=yes
8489 else
8490 ac_compiler_gnu=no
8492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8493 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8497 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8498 if test $ac_compiler_gnu = yes; then
8499 GOBJC=yes
8500 else
8501 GOBJC=
8503 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8504 ac_save_OBJCFLAGS=$OBJCFLAGS
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8506 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8507 if ${ac_cv_prog_objc_g+:} false; then :
8508 $as_echo_n "(cached) " >&6
8509 else
8510 ac_save_objc_werror_flag=$ac_objc_werror_flag
8511 ac_objc_werror_flag=yes
8512 ac_cv_prog_objc_g=no
8513 OBJCFLAGS="-g"
8514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8515 /* end confdefs.h. */
8518 main ()
8522 return 0;
8524 _ACEOF
8525 if ac_fn_objc_try_compile "$LINENO"; then :
8526 ac_cv_prog_objc_g=yes
8527 else
8528 OBJCFLAGS=""
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8533 main ()
8537 return 0;
8539 _ACEOF
8540 if ac_fn_objc_try_compile "$LINENO"; then :
8542 else
8543 ac_objc_werror_flag=$ac_save_objc_werror_flag
8544 OBJCFLAGS="-g"
8545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8546 /* end confdefs.h. */
8549 main ()
8553 return 0;
8555 _ACEOF
8556 if ac_fn_objc_try_compile "$LINENO"; then :
8557 ac_cv_prog_objc_g=yes
8559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8564 ac_objc_werror_flag=$ac_save_objc_werror_flag
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8567 $as_echo "$ac_cv_prog_objc_g" >&6; }
8568 if test "$ac_test_OBJCFLAGS" = set; then
8569 OBJCFLAGS=$ac_save_OBJCFLAGS
8570 elif test $ac_cv_prog_objc_g = yes; then
8571 if test "$GOBJC" = yes; then
8572 OBJCFLAGS="-g -O2"
8573 else
8574 OBJCFLAGS="-g"
8576 else
8577 if test "$GOBJC" = yes; then
8578 OBJCFLAGS="-O2"
8579 else
8580 OBJCFLAGS=
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
8590 ac_ext=m
8591 ac_cpp='$OBJCPP $CPPFLAGS'
8592 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8593 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8594 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8596 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8597 if test -z "$OBJCPP"; then
8598 if ${ac_cv_prog_OBJCPP+:} false; then :
8599 $as_echo_n "(cached) " >&6
8600 else
8601 # Double quotes because OBJCPP needs to be expanded
8602 for OBJCPP in "$OBJC -E" "/lib/cpp"
8604 ac_preproc_ok=false
8605 for ac_objc_preproc_warn_flag in '' yes
8607 # Use a header file that comes with gcc, so configuring glibc
8608 # with a fresh cross-compiler works.
8609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8610 # <limits.h> exists even on freestanding compilers.
8611 # On the NeXT, cc -E runs the code through the compiler's parser,
8612 # not just through cpp. "Syntax error" is here to catch this case.
8613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8614 /* end confdefs.h. */
8615 #ifdef __STDC__
8616 # include <limits.h>
8617 #else
8618 # include <assert.h>
8619 #endif
8620 Syntax error
8621 _ACEOF
8622 if ac_fn_objc_try_cpp "$LINENO"; then :
8624 else
8625 # Broken: fails on valid input.
8626 continue
8628 rm -f conftest.err conftest.i conftest.$ac_ext
8630 # OK, works on sane cases. Now check whether nonexistent headers
8631 # can be detected and how.
8632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8633 /* end confdefs.h. */
8634 #include <ac_nonexistent.h>
8635 _ACEOF
8636 if ac_fn_objc_try_cpp "$LINENO"; then :
8637 # Broken: success on invalid input.
8638 continue
8639 else
8640 # Passes both tests.
8641 ac_preproc_ok=:
8642 break
8644 rm -f conftest.err conftest.i conftest.$ac_ext
8646 done
8647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8648 rm -f conftest.i conftest.err conftest.$ac_ext
8649 if $ac_preproc_ok; then :
8650 break
8653 done
8654 ac_cv_prog_OBJCPP=$OBJCPP
8657 OBJCPP=$ac_cv_prog_OBJCPP
8658 else
8659 ac_cv_prog_OBJCPP=$OBJCPP
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8662 $as_echo "$OBJCPP" >&6; }
8663 ac_preproc_ok=false
8664 for ac_objc_preproc_warn_flag in '' yes
8666 # Use a header file that comes with gcc, so configuring glibc
8667 # with a fresh cross-compiler works.
8668 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8669 # <limits.h> exists even on freestanding compilers.
8670 # On the NeXT, cc -E runs the code through the compiler's parser,
8671 # not just through cpp. "Syntax error" is here to catch this case.
8672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8673 /* end confdefs.h. */
8674 #ifdef __STDC__
8675 # include <limits.h>
8676 #else
8677 # include <assert.h>
8678 #endif
8679 Syntax error
8680 _ACEOF
8681 if ac_fn_objc_try_cpp "$LINENO"; then :
8683 else
8684 # Broken: fails on valid input.
8685 continue
8687 rm -f conftest.err conftest.i conftest.$ac_ext
8689 # OK, works on sane cases. Now check whether nonexistent headers
8690 # can be detected and how.
8691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8692 /* end confdefs.h. */
8693 #include <ac_nonexistent.h>
8694 _ACEOF
8695 if ac_fn_objc_try_cpp "$LINENO"; then :
8696 # Broken: success on invalid input.
8697 continue
8698 else
8699 # Passes both tests.
8700 ac_preproc_ok=:
8701 break
8703 rm -f conftest.err conftest.i conftest.$ac_ext
8705 done
8706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8707 rm -f conftest.i conftest.err conftest.$ac_ext
8708 if $ac_preproc_ok; then :
8710 else
8711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8712 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8713 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8714 See \`config.log' for more details" "$LINENO" 5; }
8717 ac_ext=m
8718 ac_cpp='$OBJCPP $CPPFLAGS'
8719 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8720 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8721 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8724 for ac_header in Metal/Metal.h
8725 do :
8726 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8727 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8728 cat >>confdefs.h <<_ACEOF
8729 #define HAVE_METAL_METAL_H 1
8730 _ACEOF
8734 done
8736 ac_ext=c
8737 ac_cpp='$CPP $CPPFLAGS'
8738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8742 LIBEXT="dylib"
8743 DLLFLAGS="$DLLFLAGS -fPIC"
8744 LDDLLFLAGS="-fPIC"
8745 COREFOUNDATION_LIBS="-framework CoreFoundation"
8747 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8749 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8751 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8753 CORESERVICES_LIBS="-framework CoreServices"
8755 APPKIT_LIBS="-framework AppKit"
8757 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8760 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8762 wine_can_build_preloader=yes
8763 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"
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8765 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8766 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 ac_wine_try_cflags_saved=$CFLAGS
8770 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8773 int main(int argc, char **argv) { return 0; }
8774 _ACEOF
8775 if ac_fn_c_try_link "$LINENO"; then :
8776 ac_cv_cflags__Wl__no_new_main__e__main=yes
8777 else
8778 ac_cv_cflags__Wl__no_new_main__e__main=no
8780 rm -f core conftest.err conftest.$ac_objext \
8781 conftest$ac_exeext conftest.$ac_ext
8782 CFLAGS=$ac_wine_try_cflags_saved
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8785 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8786 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8787 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8789 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8790 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8791 $as_echo_n "(cached) " >&6
8792 else
8793 ac_wine_try_cflags_saved=$CFLAGS
8794 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8796 /* end confdefs.h. */
8797 int main(int argc, char **argv) { return 0; }
8798 _ACEOF
8799 if ac_fn_c_try_link "$LINENO"; then :
8800 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8801 else
8802 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8804 rm -f core conftest.err conftest.$ac_objext \
8805 conftest$ac_exeext conftest.$ac_ext
8806 CFLAGS=$ac_wine_try_cflags_saved
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8809 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8810 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8811 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8812 else
8813 { $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
8814 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8815 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8816 $as_echo_n "(cached) " >&6
8817 else
8818 ac_wine_try_cflags_saved=$CFLAGS
8819 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8822 int main(int argc, char **argv) { return 0; }
8823 _ACEOF
8824 if ac_fn_c_try_link "$LINENO"; then :
8825 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8826 else
8827 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8829 rm -f core conftest.err conftest.$ac_objext \
8830 conftest$ac_exeext conftest.$ac_ext
8831 CFLAGS=$ac_wine_try_cflags_saved
8833 { $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
8834 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8835 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8836 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8837 else
8838 wine_can_build_preloader=no
8841 else
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8843 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8844 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8845 $as_echo_n "(cached) " >&6
8846 else
8847 ac_wine_try_cflags_saved=$CFLAGS
8848 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8851 int main(int argc, char **argv) { return 0; }
8852 _ACEOF
8853 if ac_fn_c_try_link "$LINENO"; then :
8854 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8855 else
8856 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8858 rm -f core conftest.err conftest.$ac_objext \
8859 conftest$ac_exeext conftest.$ac_ext
8860 CFLAGS=$ac_wine_try_cflags_saved
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8863 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8864 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8865 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8866 else
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8868 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8869 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8870 $as_echo_n "(cached) " >&6
8871 else
8872 ac_wine_try_cflags_saved=$CFLAGS
8873 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8875 /* end confdefs.h. */
8876 int main(int argc, char **argv) { return 0; }
8877 _ACEOF
8878 if ac_fn_c_try_link "$LINENO"; then :
8879 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8880 else
8881 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8883 rm -f core conftest.err conftest.$ac_objext \
8884 conftest$ac_exeext conftest.$ac_ext
8885 CFLAGS=$ac_wine_try_cflags_saved
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8888 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8889 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8890 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8891 else
8892 wine_can_build_preloader=no
8896 if test "$wine_can_build_preloader" = "yes"
8897 then
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8899 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8900 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 ac_wine_try_cflags_saved=$CFLAGS
8904 CFLAGS="$CFLAGS -Wl,-no_pie"
8905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8906 /* end confdefs.h. */
8907 int main(int argc, char **argv) { return 0; }
8908 _ACEOF
8909 if ac_fn_c_try_link "$LINENO"; then :
8910 ac_cv_cflags__Wl__no_pie=yes
8911 else
8912 ac_cv_cflags__Wl__no_pie=no
8914 rm -f core conftest.err conftest.$ac_objext \
8915 conftest$ac_exeext conftest.$ac_ext
8916 CFLAGS=$ac_wine_try_cflags_saved
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8919 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8920 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8921 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8923 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8924 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8925 else
8926 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8929 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8930 then
8931 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8934 if test "$ac_cv_header_Security_Security_h" = "yes"
8935 then
8936 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8938 ac_save_LIBS="$LIBS"
8939 LIBS="$LIBS $SECURITY_LIBS"
8940 for ac_func in SSLCopyPeerCertificates
8941 do :
8942 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8943 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8944 cat >>confdefs.h <<_ACEOF
8945 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8946 _ACEOF
8949 done
8951 LIBS="$ac_save_LIBS"
8953 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8954 then
8955 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8956 then
8957 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8959 else
8960 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8963 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8964 ac_save_LIBS="$LIBS"
8965 LIBS="$LIBS $COREAUDIO_LIBS"
8966 for ac_func in AUGraphAddNode
8967 do :
8968 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8969 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8970 cat >>confdefs.h <<_ACEOF
8971 #define HAVE_AUGRAPHADDNODE 1
8972 _ACEOF
8975 done
8977 LIBS="$ac_save_LIBS"
8979 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8980 then
8981 OPENAL_LIBS="-framework OpenAL"
8984 cat >>confdefs.h <<_ACEOF
8985 #define HAVE_OPENAL 1
8986 _ACEOF
8988 ac_cv_lib_openal=yes
8990 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8991 then
8992 OPENCL_LIBS="-framework OpenCL"
8994 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8996 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8997 then
8998 ac_save_LIBS="$LIBS"
8999 LIBS="$LIBS $IOKIT_LIBS"
9000 for ac_func in IOHIDManagerCreate
9001 do :
9002 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9003 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9004 cat >>confdefs.h <<_ACEOF
9005 #define HAVE_IOHIDMANAGERCREATE 1
9006 _ACEOF
9009 done
9011 LIBS="$ac_save_LIBS"
9014 if test "x$with_quicktime" != "xno"
9015 then
9016 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9017 then
9018 ac_save_LIBS="$LIBS"
9019 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9021 $as_echo_n "checking for the QuickTime framework... " >&6; }
9022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9023 /* end confdefs.h. */
9024 #include <QuickTime/ImageCompression.h>
9026 main ()
9028 CodecManagerVersion(NULL);
9030 return 0;
9032 _ACEOF
9033 if ac_fn_c_try_link "$LINENO"; then :
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9035 $as_echo "yes" >&6; }
9036 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9038 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9039 else
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9041 $as_echo "no" >&6; }
9042 ac_cv_header_QuickTime_ImageCompression_h=no
9044 rm -f core conftest.err conftest.$ac_objext \
9045 conftest$ac_exeext conftest.$ac_ext
9046 LIBS="$ac_save_LIBS"
9049 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9050 case "x$with_quicktime" in
9051 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9052 xno) ;;
9053 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9054 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9055 esac
9059 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9060 then
9061 CARBON_LIBS="-framework Carbon"
9064 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9065 then
9066 METAL_LIBS="-framework Metal -framework QuartzCore"
9070 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9071 then
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9073 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9074 ac_ext=m
9075 ac_cpp='$OBJCPP $CPPFLAGS'
9076 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9077 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9078 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9081 /* end confdefs.h. */
9082 #include <Metal/Metal.h>
9084 main ()
9086 id<MTLDevice> device; device.registryID;
9088 return 0;
9090 _ACEOF
9091 if ac_fn_objc_try_compile "$LINENO"; then :
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9093 $as_echo "yes" >&6; }
9095 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9097 else
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9099 $as_echo "no" >&6; }
9101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9102 ac_ext=c
9103 ac_cpp='$CPP $CPPFLAGS'
9104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9110 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9111 then
9112 ac_save_LIBS="$LIBS"
9113 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9114 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9115 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9116 enable_winemac_drv=${enable_winemac_drv:-yes}
9119 LIBS="$ac_save_LIBS"
9122 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9124 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9126 WINELOADER_DEPENDS="wine_info.plist"
9128 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9131 linux-android*)
9132 DLLFLAGS="$DLLFLAGS -fPIC"
9133 LDDLLFLAGS="-fPIC"
9134 LDEXECFLAGS="-Wl,-pie"
9135 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9137 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9138 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9139 $as_echo_n "(cached) " >&6
9140 else
9141 ac_wine_try_cflags_saved=$CFLAGS
9142 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9145 int main(int argc, char **argv) { return 0; }
9146 _ACEOF
9147 if ac_fn_c_try_link "$LINENO"; then :
9148 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9149 else
9150 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9152 rm -f core conftest.err conftest.$ac_objext \
9153 conftest$ac_exeext conftest.$ac_ext
9154 CFLAGS=$ac_wine_try_cflags_saved
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9157 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9158 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9159 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9161 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9163 LIBWINE_SHAREDLIB="libwine.so"
9165 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9167 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9170 $as_echo_n "checking for -lEGL... " >&6; }
9171 if ${ac_cv_lib_soname_EGL+:} false; then :
9172 $as_echo_n "(cached) " >&6
9173 else
9174 ac_check_soname_save_LIBS=$LIBS
9175 LIBS="-lEGL $LIBS"
9176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9177 /* end confdefs.h. */
9179 /* Override any GCC internal prototype to avoid an error.
9180 Use char because int might match the return type of a GCC
9181 builtin and then its argument prototype would still apply. */
9182 #ifdef __cplusplus
9183 extern "C"
9184 #endif
9185 char eglGetProcAddress ();
9187 main ()
9189 return eglGetProcAddress ();
9191 return 0;
9193 _ACEOF
9194 if ac_fn_c_try_link "$LINENO"; then :
9195 case "$LIBEXT" in
9196 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9197 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'` ;;
9198 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9199 if ${ac_cv_lib_soname_EGL:+false} :; then :
9200 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9201 fi ;;
9202 esac
9203 else
9204 ac_cv_lib_soname_EGL=
9206 rm -f core conftest.err conftest.$ac_objext \
9207 conftest$ac_exeext conftest.$ac_ext
9208 LIBS=$ac_check_soname_save_LIBS
9210 if ${ac_cv_lib_soname_EGL:+false} :; then :
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9212 $as_echo "not found" >&6; }
9214 else
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9216 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9218 cat >>confdefs.h <<_ACEOF
9219 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9220 _ACEOF
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9225 $as_echo_n "checking for -lGLESv2... " >&6; }
9226 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9227 $as_echo_n "(cached) " >&6
9228 else
9229 ac_check_soname_save_LIBS=$LIBS
9230 LIBS="-lGLESv2 $LIBS"
9231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9234 /* Override any GCC internal prototype to avoid an error.
9235 Use char because int might match the return type of a GCC
9236 builtin and then its argument prototype would still apply. */
9237 #ifdef __cplusplus
9238 extern "C"
9239 #endif
9240 char glFlush ();
9242 main ()
9244 return glFlush ();
9246 return 0;
9248 _ACEOF
9249 if ac_fn_c_try_link "$LINENO"; then :
9250 case "$LIBEXT" in
9251 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9252 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'` ;;
9253 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9254 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9255 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9256 fi ;;
9257 esac
9258 else
9259 ac_cv_lib_soname_GLESv2=
9261 rm -f core conftest.err conftest.$ac_objext \
9262 conftest$ac_exeext conftest.$ac_ext
9263 LIBS=$ac_check_soname_save_LIBS
9265 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9267 $as_echo "not found" >&6; }
9269 else
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9271 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9273 cat >>confdefs.h <<_ACEOF
9274 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9275 _ACEOF
9280 if test "x$exec_prefix" = xNONE
9281 then
9282 case $host_cpu in
9283 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9284 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9285 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9286 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9287 esac
9292 case $host_cpu in
9293 *i[3456789]86*)
9294 DLLFLAGS="$DLLFLAGS -fno-PIC"
9295 LDDLLFLAGS="-fno-PIC"
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9297 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9298 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9299 $as_echo_n "(cached) " >&6
9300 else
9301 ac_wine_try_cflags_saved=$CFLAGS
9302 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9305 int main(int argc, char **argv) { return 0; }
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9309 else
9310 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 CFLAGS=$ac_wine_try_cflags_saved
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9317 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9318 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9319 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9323 DLLFLAGS="$DLLFLAGS -fPIC"
9324 LDDLLFLAGS="-fPIC" ;;
9325 esac
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9327 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9328 if ${ac_cv_c_dll_gnuelf+:} false; then :
9329 $as_echo_n "(cached) " >&6
9330 else
9331 ac_wine_try_cflags_saved=$CFLAGS
9332 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9334 /* end confdefs.h. */
9335 void myfunc() {}
9336 _ACEOF
9337 if ac_fn_c_try_link "$LINENO"; then :
9338 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9339 else
9340 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9342 rm -f core conftest.err conftest.$ac_objext \
9343 conftest$ac_exeext conftest.$ac_ext
9344 CFLAGS=$ac_wine_try_cflags_saved
9345 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9346 ac_cv_c_dll_gnuelf="yes"
9347 else
9348 ac_cv_c_dll_gnuelf="no"
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9352 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9353 if test "$ac_cv_c_dll_gnuelf" = "yes"
9354 then
9355 LIBWINE_LDFLAGS="-shared"
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9357 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9358 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9359 $as_echo_n "(cached) " >&6
9360 else
9361 ac_wine_try_cflags_saved=$CFLAGS
9362 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364 /* end confdefs.h. */
9365 int main(int argc, char **argv) { return 0; }
9366 _ACEOF
9367 if ac_fn_c_try_link "$LINENO"; then :
9368 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9369 else
9370 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9372 rm -f core conftest.err conftest.$ac_objext \
9373 conftest$ac_exeext conftest.$ac_ext
9374 CFLAGS=$ac_wine_try_cflags_saved
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9377 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9378 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9379 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9380 else
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9382 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9383 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9384 $as_echo_n "(cached) " >&6
9385 else
9386 ac_wine_try_cflags_saved=$CFLAGS
9387 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9389 /* end confdefs.h. */
9390 int main(int argc, char **argv) { return 0; }
9391 _ACEOF
9392 if ac_fn_c_try_link "$LINENO"; then :
9393 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9394 else
9395 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9397 rm -f core conftest.err conftest.$ac_objext \
9398 conftest$ac_exeext conftest.$ac_ext
9399 CFLAGS=$ac_wine_try_cflags_saved
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9402 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9403 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9404 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9408 echo '{ global: *; };' >conftest.map
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9410 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9411 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9412 $as_echo_n "(cached) " >&6
9413 else
9414 ac_wine_try_cflags_saved=$CFLAGS
9415 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9417 /* end confdefs.h. */
9418 int main(int argc, char **argv) { return 0; }
9419 _ACEOF
9420 if ac_fn_c_try_link "$LINENO"; then :
9421 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9422 else
9423 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9425 rm -f core conftest.err conftest.$ac_objext \
9426 conftest$ac_exeext conftest.$ac_ext
9427 CFLAGS=$ac_wine_try_cflags_saved
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9430 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9431 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9432 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9434 rm -f conftest.map
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9437 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9438 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9439 $as_echo_n "(cached) " >&6
9440 else
9441 ac_wine_try_cflags_saved=$CFLAGS
9442 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9445 int main(int argc, char **argv) { return 0; }
9446 _ACEOF
9447 if ac_fn_c_try_link "$LINENO"; then :
9448 ac_cv_cflags__Wl___export_dynamic=yes
9449 else
9450 ac_cv_cflags__Wl___export_dynamic=no
9452 rm -f core conftest.err conftest.$ac_objext \
9453 conftest$ac_exeext conftest.$ac_ext
9454 CFLAGS=$ac_wine_try_cflags_saved
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9457 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9458 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9459 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9461 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9463 case $host_cpu in
9464 *i[3456789]86* | x86_64 | *aarch64*)
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9466 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9467 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9468 $as_echo_n "(cached) " >&6
9469 else
9470 ac_wine_try_cflags_saved=$CFLAGS
9471 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9473 /* end confdefs.h. */
9474 int main(int argc, char **argv) { return 0; }
9475 _ACEOF
9476 if ac_fn_c_try_link "$LINENO"; then :
9477 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9478 else
9479 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9481 rm -f core conftest.err conftest.$ac_objext \
9482 conftest$ac_exeext conftest.$ac_ext
9483 CFLAGS=$ac_wine_try_cflags_saved
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9486 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9487 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9488 case $host_os in
9489 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9490 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9491 esac
9492 else
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9494 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9495 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9496 $as_echo_n "(cached) " >&6
9497 else
9498 ac_wine_try_cflags_saved=$CFLAGS
9499 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501 /* end confdefs.h. */
9502 int main(int argc, char **argv) { return 0; }
9503 _ACEOF
9504 if ac_fn_c_try_link "$LINENO"; then :
9505 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9506 else
9507 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9509 rm -f core conftest.err conftest.$ac_objext \
9510 conftest$ac_exeext conftest.$ac_ext
9511 CFLAGS=$ac_wine_try_cflags_saved
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9514 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9515 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9516 case $host_os in
9517 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9518 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9519 esac
9521 # Extract the first word of "prelink", so it can be a program name with args.
9522 set dummy prelink; ac_word=$2
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9524 $as_echo_n "checking for $ac_word... " >&6; }
9525 if ${ac_cv_path_PRELINK+:} false; then :
9526 $as_echo_n "(cached) " >&6
9527 else
9528 case $PRELINK in
9529 [\\/]* | ?:[\\/]*)
9530 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9534 for as_dir in /sbin /usr/sbin $PATH
9536 IFS=$as_save_IFS
9537 test -z "$as_dir" && as_dir=.
9538 for ac_exec_ext in '' $ac_executable_extensions; do
9539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9540 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9542 break 2
9544 done
9545 done
9546 IFS=$as_save_IFS
9548 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9550 esac
9552 PRELINK=$ac_cv_path_PRELINK
9553 if test -n "$PRELINK"; then
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9555 $as_echo "$PRELINK" >&6; }
9556 else
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9558 $as_echo "no" >&6; }
9562 if test "x$PRELINK" = xfalse
9563 then
9564 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9568 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9569 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9570 $as_echo_n "(cached) " >&6
9571 else
9572 ac_wine_try_cflags_saved=$CFLAGS
9573 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9575 /* end confdefs.h. */
9576 int main(int argc, char **argv) { return 0; }
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9580 else
9581 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9583 rm -f core conftest.err conftest.$ac_objext \
9584 conftest$ac_exeext conftest.$ac_ext
9585 CFLAGS=$ac_wine_try_cflags_saved
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9588 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9589 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9590 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9593 esac
9595 else
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9597 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9598 if ${ac_cv_c_dll_unixware+:} false; then :
9599 $as_echo_n "(cached) " >&6
9600 else
9601 ac_wine_try_cflags_saved=$CFLAGS
9602 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9605 void myfunc() {}
9606 _ACEOF
9607 if ac_fn_c_try_link "$LINENO"; then :
9608 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9609 else
9610 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9612 rm -f core conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 CFLAGS=$ac_wine_try_cflags_saved
9615 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9616 ac_cv_c_dll_unixware="yes"
9617 else
9618 ac_cv_c_dll_unixware="no"
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9622 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9623 if test "$ac_cv_c_dll_unixware" = "yes"
9624 then
9625 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9628 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9630 LIBWINE_DEPENDS="wine.map"
9632 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9634 esac
9636 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9637 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9638 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9639 enable_winemac_drv=${enable_winemac_drv:-no}
9640 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9643 if test "x$with_mingw" != xno
9644 then
9645 case "x$with_mingw" in
9646 x|xyes) case "$host_cpu" in
9647 aarch64*)
9648 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9649 arm*)
9650 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9651 i[3456789]86*)
9652 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
9653 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9654 mingw32-gcc" ;;
9655 x86_64)
9656 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
9657 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9659 ac_prefix_list="" ;;
9660 esac
9661 for ac_prog in $ac_prefix_list
9663 # Extract the first word of "$ac_prog", so it can be a program name with args.
9664 set dummy $ac_prog; ac_word=$2
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9666 $as_echo_n "checking for $ac_word... " >&6; }
9667 if ${ac_cv_prog_CROSSCC+:} false; then :
9668 $as_echo_n "(cached) " >&6
9669 else
9670 if test -n "$CROSSCC"; then
9671 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9672 else
9673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9674 for as_dir in $PATH
9676 IFS=$as_save_IFS
9677 test -z "$as_dir" && as_dir=.
9678 for ac_exec_ext in '' $ac_executable_extensions; do
9679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9680 ac_cv_prog_CROSSCC="$ac_prog"
9681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9682 break 2
9684 done
9685 done
9686 IFS=$as_save_IFS
9690 CROSSCC=$ac_cv_prog_CROSSCC
9691 if test -n "$CROSSCC"; then
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9693 $as_echo "$CROSSCC" >&6; }
9694 else
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9696 $as_echo "no" >&6; }
9700 test -n "$CROSSCC" && break
9701 done
9702 test -n "$CROSSCC" || CROSSCC="false"
9704 *) CROSSCC=$with_mingw ;;
9705 esac
9706 if test "$CROSSCC" != "false"
9707 then
9708 ac_save_CC="$CC"
9709 saved_CFLAGS=$CFLAGS
9710 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9712 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9716 CC="$CROSSCC"
9717 CFLAGS=$CROSSCFLAGS
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9719 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9720 if ${wine_cv_crosscc+:} false; then :
9721 $as_echo_n "(cached) " >&6
9722 else
9723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9727 main ()
9731 return 0;
9733 _ACEOF
9734 if ac_fn_c_try_compile "$LINENO"; then :
9735 wine_cv_crosscc=yes
9736 else
9737 wine_cv_crosscc=no
9739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9742 $as_echo "$wine_cv_crosscc" >&6; }
9743 if test $wine_cv_crosscc = yes
9744 then
9745 set x $CROSSCC
9746 shift
9747 while test $# -ge 1
9749 case "$1" in
9750 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9751 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9752 esac
9753 shift
9754 done
9756 llvm_target=$CROSSTARGET
9757 llvm_cflags="-fuse-ld=lld"
9758 if test -z "$llvm_target"
9759 then
9760 case $host_cpu in
9761 *i[3456789]86*) llvm_target=i686-windows ;;
9762 *) llvm_target=$host_cpu-windows ;;
9763 esac
9765 case $llvm_target in
9766 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9767 esac
9768 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9770 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9771 if eval \${$as_ac_var+:} false; then :
9772 $as_echo_n "(cached) " >&6
9773 else
9774 ac_wine_try_cflags_saved=$CFLAGS
9775 ac_wine_try_cflags_saved_cc=$CC
9776 ac_wine_try_cflags_saved_exeext=$ac_exeext
9777 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9778 CC="$CROSSCC"
9779 ac_exeext=".exe"
9780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9781 /* end confdefs.h. */
9782 int __cdecl mainCRTStartup(void) { return 0; }
9783 _ACEOF
9784 if ac_fn_c_try_link "$LINENO"; then :
9785 eval "$as_ac_var=yes"
9786 else
9787 eval "$as_ac_var=no"
9789 rm -f core conftest.err conftest.$ac_objext \
9790 conftest$ac_exeext conftest.$ac_ext
9791 CFLAGS=$ac_wine_try_cflags_saved
9792 CC=$ac_wine_try_cflags_saved_cc
9793 ac_exeext=$ac_wine_try_cflags_saved_exeext
9795 eval ac_res=\$$as_ac_var
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9797 $as_echo "$ac_res" >&6; }
9798 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9799 CROSSTARGET=$llvm_target
9800 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9801 DELAYLOADFLAG="-Wl,-delayload,"
9803 CFLAGS="$CFLAGS $llvm_cflags"
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9807 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9808 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9809 $as_echo_n "(cached) " >&6
9810 else
9811 ac_wine_try_cflags_saved=$CFLAGS
9812 ac_wine_try_cflags_saved_cc=$CC
9813 ac_wine_try_cflags_saved_exeext=$ac_exeext
9814 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9815 CC="$CROSSCC"
9816 ac_exeext=".exe"
9817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9818 /* end confdefs.h. */
9819 int __cdecl mainCRTStartup(void) { return 0; }
9820 _ACEOF
9821 if ac_fn_c_try_link "$LINENO"; then :
9822 ac_cv_crosscflags__fno_strict_aliasing=yes
9823 else
9824 ac_cv_crosscflags__fno_strict_aliasing=no
9826 rm -f core conftest.err conftest.$ac_objext \
9827 conftest$ac_exeext conftest.$ac_ext
9828 CFLAGS=$ac_wine_try_cflags_saved
9829 CC=$ac_wine_try_cflags_saved_cc
9830 ac_exeext=$ac_wine_try_cflags_saved_exeext
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9833 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9834 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9835 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9838 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9839 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9840 $as_echo_n "(cached) " >&6
9841 else
9842 ac_wine_try_cflags_saved=$CFLAGS
9843 ac_wine_try_cflags_saved_cc=$CC
9844 ac_wine_try_cflags_saved_exeext=$ac_exeext
9845 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9846 CC="$CROSSCC"
9847 ac_exeext=".exe"
9848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9849 /* end confdefs.h. */
9850 int __cdecl mainCRTStartup(void) { return 0; }
9851 _ACEOF
9852 if ac_fn_c_try_link "$LINENO"; then :
9853 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9854 else
9855 ac_cv_crosscflags__Werror_unknown_warning_option=no
9857 rm -f core conftest.err conftest.$ac_objext \
9858 conftest$ac_exeext conftest.$ac_ext
9859 CFLAGS=$ac_wine_try_cflags_saved
9860 CC=$ac_wine_try_cflags_saved_cc
9861 ac_exeext=$ac_wine_try_cflags_saved_exeext
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9864 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9865 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9866 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9869 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9870 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9871 $as_echo_n "(cached) " >&6
9872 else
9873 ac_wine_try_cflags_saved=$CFLAGS
9874 ac_wine_try_cflags_saved_cc=$CC
9875 ac_wine_try_cflags_saved_exeext=$ac_exeext
9876 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9877 CC="$CROSSCC"
9878 ac_exeext=".exe"
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9881 int __cdecl mainCRTStartup(void) { return 0; }
9882 _ACEOF
9883 if ac_fn_c_try_link "$LINENO"; then :
9884 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9885 else
9886 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9888 rm -f core conftest.err conftest.$ac_objext \
9889 conftest$ac_exeext conftest.$ac_ext
9890 CFLAGS=$ac_wine_try_cflags_saved
9891 CC=$ac_wine_try_cflags_saved_cc
9892 ac_exeext=$ac_wine_try_cflags_saved_exeext
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9895 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9896 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9897 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9900 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9901 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 ac_wine_try_cflags_saved=$CFLAGS
9905 ac_wine_try_cflags_saved_cc=$CC
9906 ac_wine_try_cflags_saved_exeext=$ac_exeext
9907 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9908 CC="$CROSSCC"
9909 ac_exeext=".exe"
9910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9911 /* end confdefs.h. */
9912 int __cdecl mainCRTStartup(void) { return 0; }
9913 _ACEOF
9914 if ac_fn_c_try_link "$LINENO"; then :
9915 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9916 else
9917 ac_cv_crosscflags__Wdeclaration_after_statement=no
9919 rm -f core conftest.err conftest.$ac_objext \
9920 conftest$ac_exeext conftest.$ac_ext
9921 CFLAGS=$ac_wine_try_cflags_saved
9922 CC=$ac_wine_try_cflags_saved_cc
9923 ac_exeext=$ac_wine_try_cflags_saved_exeext
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9926 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9927 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9928 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9931 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9932 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9933 $as_echo_n "(cached) " >&6
9934 else
9935 ac_wine_try_cflags_saved=$CFLAGS
9936 ac_wine_try_cflags_saved_cc=$CC
9937 ac_wine_try_cflags_saved_exeext=$ac_exeext
9938 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9939 CC="$CROSSCC"
9940 ac_exeext=".exe"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9943 int __cdecl mainCRTStartup(void) { return 0; }
9944 _ACEOF
9945 if ac_fn_c_try_link "$LINENO"; then :
9946 ac_cv_crosscflags__Wempty_body=yes
9947 else
9948 ac_cv_crosscflags__Wempty_body=no
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 CFLAGS=$ac_wine_try_cflags_saved
9953 CC=$ac_wine_try_cflags_saved_cc
9954 ac_exeext=$ac_wine_try_cflags_saved_exeext
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9957 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9958 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9959 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9962 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9963 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9964 $as_echo_n "(cached) " >&6
9965 else
9966 ac_wine_try_cflags_saved=$CFLAGS
9967 ac_wine_try_cflags_saved_cc=$CC
9968 ac_wine_try_cflags_saved_exeext=$ac_exeext
9969 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9970 CC="$CROSSCC"
9971 ac_exeext=".exe"
9972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9974 int __cdecl mainCRTStartup(void) { return 0; }
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 ac_cv_crosscflags__Wignored_qualifiers=yes
9978 else
9979 ac_cv_crosscflags__Wignored_qualifiers=no
9981 rm -f core conftest.err conftest.$ac_objext \
9982 conftest$ac_exeext conftest.$ac_ext
9983 CFLAGS=$ac_wine_try_cflags_saved
9984 CC=$ac_wine_try_cflags_saved_cc
9985 ac_exeext=$ac_wine_try_cflags_saved_exeext
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9988 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9989 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9990 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9993 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9994 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9995 $as_echo_n "(cached) " >&6
9996 else
9997 ac_wine_try_cflags_saved=$CFLAGS
9998 ac_wine_try_cflags_saved_cc=$CC
9999 ac_wine_try_cflags_saved_exeext=$ac_exeext
10000 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10001 CC="$CROSSCC"
10002 ac_exeext=".exe"
10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10005 int __cdecl mainCRTStartup(void) { return 0; }
10006 _ACEOF
10007 if ac_fn_c_try_link "$LINENO"; then :
10008 ac_cv_crosscflags__Winit_self=yes
10009 else
10010 ac_cv_crosscflags__Winit_self=no
10012 rm -f core conftest.err conftest.$ac_objext \
10013 conftest$ac_exeext conftest.$ac_ext
10014 CFLAGS=$ac_wine_try_cflags_saved
10015 CC=$ac_wine_try_cflags_saved_cc
10016 ac_exeext=$ac_wine_try_cflags_saved_exeext
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10019 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10020 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10021 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10024 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10025 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10026 $as_echo_n "(cached) " >&6
10027 else
10028 ac_wine_try_cflags_saved=$CFLAGS
10029 ac_wine_try_cflags_saved_cc=$CC
10030 ac_wine_try_cflags_saved_exeext=$ac_exeext
10031 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10032 CC="$CROSSCC"
10033 ac_exeext=".exe"
10034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10035 /* end confdefs.h. */
10036 int __cdecl mainCRTStartup(void) { return 0; }
10037 _ACEOF
10038 if ac_fn_c_try_link "$LINENO"; then :
10039 ac_cv_crosscflags__Wpacked_not_aligned=yes
10040 else
10041 ac_cv_crosscflags__Wpacked_not_aligned=no
10043 rm -f core conftest.err conftest.$ac_objext \
10044 conftest$ac_exeext conftest.$ac_ext
10045 CFLAGS=$ac_wine_try_cflags_saved
10046 CC=$ac_wine_try_cflags_saved_cc
10047 ac_exeext=$ac_wine_try_cflags_saved_exeext
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10050 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10051 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10052 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10055 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10056 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10057 $as_echo_n "(cached) " >&6
10058 else
10059 ac_wine_try_cflags_saved=$CFLAGS
10060 ac_wine_try_cflags_saved_cc=$CC
10061 ac_wine_try_cflags_saved_exeext=$ac_exeext
10062 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10063 CC="$CROSSCC"
10064 ac_exeext=".exe"
10065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10067 int __cdecl mainCRTStartup(void) { return 0; }
10068 _ACEOF
10069 if ac_fn_c_try_link "$LINENO"; then :
10070 ac_cv_crosscflags__Wpragma_pack=yes
10071 else
10072 ac_cv_crosscflags__Wpragma_pack=no
10074 rm -f core conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10076 CFLAGS=$ac_wine_try_cflags_saved
10077 CC=$ac_wine_try_cflags_saved_cc
10078 ac_exeext=$ac_wine_try_cflags_saved_exeext
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10081 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10082 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10083 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10086 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10087 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10088 $as_echo_n "(cached) " >&6
10089 else
10090 ac_wine_try_cflags_saved=$CFLAGS
10091 ac_wine_try_cflags_saved_cc=$CC
10092 ac_wine_try_cflags_saved_exeext=$ac_exeext
10093 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10094 CC="$CROSSCC"
10095 ac_exeext=".exe"
10096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10098 int __cdecl mainCRTStartup(void) { return 0; }
10099 _ACEOF
10100 if ac_fn_c_try_link "$LINENO"; then :
10101 ac_cv_crosscflags__Wshift_overflow_2=yes
10102 else
10103 ac_cv_crosscflags__Wshift_overflow_2=no
10105 rm -f core conftest.err conftest.$ac_objext \
10106 conftest$ac_exeext conftest.$ac_ext
10107 CFLAGS=$ac_wine_try_cflags_saved
10108 CC=$ac_wine_try_cflags_saved_cc
10109 ac_exeext=$ac_wine_try_cflags_saved_exeext
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10112 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10113 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10114 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10117 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10118 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10119 $as_echo_n "(cached) " >&6
10120 else
10121 ac_wine_try_cflags_saved=$CFLAGS
10122 ac_wine_try_cflags_saved_cc=$CC
10123 ac_wine_try_cflags_saved_exeext=$ac_exeext
10124 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10125 CC="$CROSSCC"
10126 ac_exeext=".exe"
10127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10129 int __cdecl mainCRTStartup(void) { return 0; }
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 ac_cv_crosscflags__Wstrict_prototypes=yes
10133 else
10134 ac_cv_crosscflags__Wstrict_prototypes=no
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 CFLAGS=$ac_wine_try_cflags_saved
10139 CC=$ac_wine_try_cflags_saved_cc
10140 ac_exeext=$ac_wine_try_cflags_saved_exeext
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10143 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10144 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10145 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10148 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10149 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10150 $as_echo_n "(cached) " >&6
10151 else
10152 ac_wine_try_cflags_saved=$CFLAGS
10153 ac_wine_try_cflags_saved_cc=$CC
10154 ac_wine_try_cflags_saved_exeext=$ac_exeext
10155 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10156 CC="$CROSSCC"
10157 ac_exeext=".exe"
10158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10159 /* end confdefs.h. */
10160 int __cdecl mainCRTStartup(void) { return 0; }
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"; then :
10163 ac_cv_crosscflags__Wtype_limits=yes
10164 else
10165 ac_cv_crosscflags__Wtype_limits=no
10167 rm -f core conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10169 CFLAGS=$ac_wine_try_cflags_saved
10170 CC=$ac_wine_try_cflags_saved_cc
10171 ac_exeext=$ac_wine_try_cflags_saved_exeext
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10174 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10175 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10176 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10179 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10180 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10181 $as_echo_n "(cached) " >&6
10182 else
10183 ac_wine_try_cflags_saved=$CFLAGS
10184 ac_wine_try_cflags_saved_cc=$CC
10185 ac_wine_try_cflags_saved_exeext=$ac_exeext
10186 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10187 CC="$CROSSCC"
10188 ac_exeext=".exe"
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10191 int __cdecl mainCRTStartup(void) { return 0; }
10192 _ACEOF
10193 if ac_fn_c_try_link "$LINENO"; then :
10194 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10195 else
10196 ac_cv_crosscflags__Wunused_but_set_parameter=no
10198 rm -f core conftest.err conftest.$ac_objext \
10199 conftest$ac_exeext conftest.$ac_ext
10200 CFLAGS=$ac_wine_try_cflags_saved
10201 CC=$ac_wine_try_cflags_saved_cc
10202 ac_exeext=$ac_wine_try_cflags_saved_exeext
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10205 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10206 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10207 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10210 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10211 if ${ac_cv_crosscflags__Wvla+:} false; then :
10212 $as_echo_n "(cached) " >&6
10213 else
10214 ac_wine_try_cflags_saved=$CFLAGS
10215 ac_wine_try_cflags_saved_cc=$CC
10216 ac_wine_try_cflags_saved_exeext=$ac_exeext
10217 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10218 CC="$CROSSCC"
10219 ac_exeext=".exe"
10220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10221 /* end confdefs.h. */
10222 int __cdecl mainCRTStartup(void) { return 0; }
10223 _ACEOF
10224 if ac_fn_c_try_link "$LINENO"; then :
10225 ac_cv_crosscflags__Wvla=yes
10226 else
10227 ac_cv_crosscflags__Wvla=no
10229 rm -f core conftest.err conftest.$ac_objext \
10230 conftest$ac_exeext conftest.$ac_ext
10231 CFLAGS=$ac_wine_try_cflags_saved
10232 CC=$ac_wine_try_cflags_saved_cc
10233 ac_exeext=$ac_wine_try_cflags_saved_exeext
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10236 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10237 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10238 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10241 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10242 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10243 $as_echo_n "(cached) " >&6
10244 else
10245 ac_wine_try_cflags_saved=$CFLAGS
10246 ac_wine_try_cflags_saved_cc=$CC
10247 ac_wine_try_cflags_saved_exeext=$ac_exeext
10248 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10249 CC="$CROSSCC"
10250 ac_exeext=".exe"
10251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10253 int __cdecl mainCRTStartup(void) { return 0; }
10254 _ACEOF
10255 if ac_fn_c_try_link "$LINENO"; then :
10256 ac_cv_crosscflags__Wwrite_strings=yes
10257 else
10258 ac_cv_crosscflags__Wwrite_strings=no
10260 rm -f core conftest.err conftest.$ac_objext \
10261 conftest$ac_exeext conftest.$ac_ext
10262 CFLAGS=$ac_wine_try_cflags_saved
10263 CC=$ac_wine_try_cflags_saved_cc
10264 ac_exeext=$ac_wine_try_cflags_saved_exeext
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10267 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10268 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10269 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10272 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10273 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10274 $as_echo_n "(cached) " >&6
10275 else
10276 ac_wine_try_cflags_saved=$CFLAGS
10277 ac_wine_try_cflags_saved_cc=$CC
10278 ac_wine_try_cflags_saved_exeext=$ac_exeext
10279 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10280 CC="$CROSSCC"
10281 ac_exeext=".exe"
10282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10283 /* end confdefs.h. */
10284 int __cdecl mainCRTStartup(void) { return 0; }
10285 _ACEOF
10286 if ac_fn_c_try_link "$LINENO"; then :
10287 ac_cv_crosscflags__Wpointer_arith=yes
10288 else
10289 ac_cv_crosscflags__Wpointer_arith=no
10291 rm -f core conftest.err conftest.$ac_objext \
10292 conftest$ac_exeext conftest.$ac_ext
10293 CFLAGS=$ac_wine_try_cflags_saved
10294 CC=$ac_wine_try_cflags_saved_cc
10295 ac_exeext=$ac_wine_try_cflags_saved_exeext
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10298 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10299 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10300 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10303 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10304 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_wine_try_cflags_saved=$CFLAGS
10308 ac_wine_try_cflags_saved_cc=$CC
10309 ac_wine_try_cflags_saved_exeext=$ac_exeext
10310 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10311 CC="$CROSSCC"
10312 ac_exeext=".exe"
10313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10314 /* end confdefs.h. */
10315 int __cdecl mainCRTStartup(void) { return 0; }
10316 _ACEOF
10317 if ac_fn_c_try_link "$LINENO"; then :
10318 ac_cv_crosscflags__Wlogical_op=yes
10319 else
10320 ac_cv_crosscflags__Wlogical_op=no
10322 rm -f core conftest.err conftest.$ac_objext \
10323 conftest$ac_exeext conftest.$ac_ext
10324 CFLAGS=$ac_wine_try_cflags_saved
10325 CC=$ac_wine_try_cflags_saved_cc
10326 ac_exeext=$ac_wine_try_cflags_saved_exeext
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10329 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10330 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10331 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10334 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10335 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10336 $as_echo_n "(cached) " >&6
10337 else
10338 ac_wine_try_cflags_saved=$CFLAGS
10339 ac_wine_try_cflags_saved_cc=$CC
10340 ac_wine_try_cflags_saved_exeext=$ac_exeext
10341 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10342 CC="$CROSSCC"
10343 ac_exeext=".exe"
10344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10345 /* end confdefs.h. */
10346 int __cdecl mainCRTStartup(void) { return 0; }
10347 _ACEOF
10348 if ac_fn_c_try_link "$LINENO"; then :
10349 ac_cv_crosscflags__Wabsolute_value=yes
10350 else
10351 ac_cv_crosscflags__Wabsolute_value=no
10353 rm -f core conftest.err conftest.$ac_objext \
10354 conftest$ac_exeext conftest.$ac_ext
10355 CFLAGS=$ac_wine_try_cflags_saved
10356 CC=$ac_wine_try_cflags_saved_cc
10357 ac_exeext=$ac_wine_try_cflags_saved_exeext
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10360 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10361 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10362 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10365 case $host_cpu in
10366 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10367 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10368 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_wine_try_cflags_saved=$CFLAGS
10372 ac_wine_try_cflags_saved_cc=$CC
10373 ac_wine_try_cflags_saved_exeext=$ac_exeext
10374 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10375 CC="$CROSSCC"
10376 ac_exeext=".exe"
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10379 int __cdecl mainCRTStartup(void) { return 0; }
10380 _ACEOF
10381 if ac_fn_c_try_link "$LINENO"; then :
10382 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10383 else
10384 ac_cv_crosscflags__fno_omit_frame_pointer=no
10386 rm -f core conftest.err conftest.$ac_objext \
10387 conftest$ac_exeext conftest.$ac_ext
10388 CFLAGS=$ac_wine_try_cflags_saved
10389 CC=$ac_wine_try_cflags_saved_cc
10390 ac_exeext=$ac_wine_try_cflags_saved_exeext
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10393 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10394 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10395 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10396 fi ;;
10397 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10398 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10399 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10400 $as_echo_n "(cached) " >&6
10401 else
10402 ac_wine_try_cflags_saved=$CFLAGS
10403 ac_wine_try_cflags_saved_cc=$CC
10404 ac_wine_try_cflags_saved_exeext=$ac_exeext
10405 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10406 CC="$CROSSCC"
10407 ac_exeext=".exe"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10410 int __cdecl mainCRTStartup(void) { return 0; }
10411 _ACEOF
10412 if ac_fn_c_try_link "$LINENO"; then :
10413 ac_cv_crosscflags__Wno_format=yes
10414 else
10415 ac_cv_crosscflags__Wno_format=no
10417 rm -f core conftest.err conftest.$ac_objext \
10418 conftest$ac_exeext conftest.$ac_ext
10419 CFLAGS=$ac_wine_try_cflags_saved
10420 CC=$ac_wine_try_cflags_saved_cc
10421 ac_exeext=$ac_wine_try_cflags_saved_exeext
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10424 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10425 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10426 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10429 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10430 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10431 $as_echo_n "(cached) " >&6
10432 else
10433 ac_wine_try_cflags_saved=$CFLAGS
10434 ac_wine_try_cflags_saved_cc=$CC
10435 ac_wine_try_cflags_saved_exeext=$ac_exeext
10436 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10437 CC="$CROSSCC"
10438 ac_exeext=".exe"
10439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10441 int __cdecl mainCRTStartup(void) { return 0; }
10442 _ACEOF
10443 if ac_fn_c_try_link "$LINENO"; then :
10444 ac_cv_crosscflags__Wformat_overflow=yes
10445 else
10446 ac_cv_crosscflags__Wformat_overflow=no
10448 rm -f core conftest.err conftest.$ac_objext \
10449 conftest$ac_exeext conftest.$ac_ext
10450 CFLAGS=$ac_wine_try_cflags_saved
10451 CC=$ac_wine_try_cflags_saved_cc
10452 ac_exeext=$ac_wine_try_cflags_saved_exeext
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10455 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10456 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10457 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10460 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10461 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10462 $as_echo_n "(cached) " >&6
10463 else
10464 ac_wine_try_cflags_saved=$CFLAGS
10465 ac_wine_try_cflags_saved_cc=$CC
10466 ac_wine_try_cflags_saved_exeext=$ac_exeext
10467 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10468 CC="$CROSSCC"
10469 ac_exeext=".exe"
10470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10472 int __cdecl mainCRTStartup(void) { return 0; }
10473 _ACEOF
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 ac_cv_crosscflags__Wnonnull=yes
10476 else
10477 ac_cv_crosscflags__Wnonnull=no
10479 rm -f core conftest.err conftest.$ac_objext \
10480 conftest$ac_exeext conftest.$ac_ext
10481 CFLAGS=$ac_wine_try_cflags_saved
10482 CC=$ac_wine_try_cflags_saved_cc
10483 ac_exeext=$ac_wine_try_cflags_saved_exeext
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10486 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10487 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10488 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10491 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10492 if ${ac_cv_crosscflags__mcx16+:} false; then :
10493 $as_echo_n "(cached) " >&6
10494 else
10495 ac_wine_try_cflags_saved=$CFLAGS
10496 ac_wine_try_cflags_saved_cc=$CC
10497 ac_wine_try_cflags_saved_exeext=$ac_exeext
10498 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10499 CC="$CROSSCC"
10500 ac_exeext=".exe"
10501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10502 /* end confdefs.h. */
10503 int __cdecl mainCRTStartup(void) { return 0; }
10504 _ACEOF
10505 if ac_fn_c_try_link "$LINENO"; then :
10506 ac_cv_crosscflags__mcx16=yes
10507 else
10508 ac_cv_crosscflags__mcx16=no
10510 rm -f core conftest.err conftest.$ac_objext \
10511 conftest$ac_exeext conftest.$ac_ext
10512 CFLAGS=$ac_wine_try_cflags_saved
10513 CC=$ac_wine_try_cflags_saved_cc
10514 ac_exeext=$ac_wine_try_cflags_saved_exeext
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10517 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10518 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10519 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10520 fi ;;
10521 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10522 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10523 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10524 $as_echo_n "(cached) " >&6
10525 else
10526 ac_wine_try_cflags_saved=$CFLAGS
10527 ac_wine_try_cflags_saved_cc=$CC
10528 ac_wine_try_cflags_saved_exeext=$ac_exeext
10529 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10530 CC="$CROSSCC"
10531 ac_exeext=".exe"
10532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10534 int __cdecl mainCRTStartup(void) { return 0; }
10535 _ACEOF
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 ac_cv_crosscflags__Wno_format=yes
10538 else
10539 ac_cv_crosscflags__Wno_format=no
10541 rm -f core conftest.err conftest.$ac_objext \
10542 conftest$ac_exeext conftest.$ac_ext
10543 CFLAGS=$ac_wine_try_cflags_saved
10544 CC=$ac_wine_try_cflags_saved_cc
10545 ac_exeext=$ac_wine_try_cflags_saved_exeext
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10548 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10549 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10550 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10551 fi ;;
10552 esac
10555 if test -z "$CROSSDEBUG"
10556 then
10557 for ac_flag in $CROSSCFLAGS; do
10558 case $ac_flag in
10559 -gdwarf*) CROSSDEBUG=dwarf ;;
10560 -gcodeview) CROSSDEBUG=pdb ;;
10561 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10562 esac
10563 done
10565 case $CROSSDEBUG in
10566 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10567 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10568 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10569 $as_echo_n "(cached) " >&6
10570 else
10571 ac_wine_try_cflags_saved=$CFLAGS
10572 ac_wine_try_cflags_saved_cc=$CC
10573 ac_wine_try_cflags_saved_exeext=$ac_exeext
10574 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10575 CC="$CROSSCC"
10576 ac_exeext=".exe"
10577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10578 /* end confdefs.h. */
10579 int __cdecl mainCRTStartup(void) { return 0; }
10580 _ACEOF
10581 if ac_fn_c_try_link "$LINENO"; then :
10582 ac_cv_crosscflags__gdwarf_2=yes
10583 else
10584 ac_cv_crosscflags__gdwarf_2=no
10586 rm -f core conftest.err conftest.$ac_objext \
10587 conftest$ac_exeext conftest.$ac_ext
10588 CFLAGS=$ac_wine_try_cflags_saved
10589 CC=$ac_wine_try_cflags_saved_cc
10590 ac_exeext=$ac_wine_try_cflags_saved_exeext
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10593 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10594 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10595 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10598 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10599 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10600 $as_echo_n "(cached) " >&6
10601 else
10602 ac_wine_try_cflags_saved=$CFLAGS
10603 ac_wine_try_cflags_saved_cc=$CC
10604 ac_wine_try_cflags_saved_exeext=$ac_exeext
10605 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10606 CC="$CROSSCC"
10607 ac_exeext=".exe"
10608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10609 /* end confdefs.h. */
10610 int __cdecl mainCRTStartup(void) { return 0; }
10611 _ACEOF
10612 if ac_fn_c_try_link "$LINENO"; then :
10613 ac_cv_crosscflags__gstrict_dwarf=yes
10614 else
10615 ac_cv_crosscflags__gstrict_dwarf=no
10617 rm -f core conftest.err conftest.$ac_objext \
10618 conftest$ac_exeext conftest.$ac_ext
10619 CFLAGS=$ac_wine_try_cflags_saved
10620 CC=$ac_wine_try_cflags_saved_cc
10621 ac_exeext=$ac_wine_try_cflags_saved_exeext
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10624 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10625 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10626 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10627 fi ;;
10628 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10629 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10630 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10631 $as_echo_n "(cached) " >&6
10632 else
10633 ac_wine_try_cflags_saved=$CFLAGS
10634 ac_wine_try_cflags_saved_cc=$CC
10635 ac_wine_try_cflags_saved_exeext=$ac_exeext
10636 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10637 CC="$CROSSCC"
10638 ac_exeext=".exe"
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10641 int __cdecl mainCRTStartup(void) { return 0; }
10642 _ACEOF
10643 if ac_fn_c_try_link "$LINENO"; then :
10644 ac_cv_crosscflags__gcodeview=yes
10645 else
10646 ac_cv_crosscflags__gcodeview=no
10648 rm -f core conftest.err conftest.$ac_objext \
10649 conftest$ac_exeext conftest.$ac_ext
10650 CFLAGS=$ac_wine_try_cflags_saved
10651 CC=$ac_wine_try_cflags_saved_cc
10652 ac_exeext=$ac_wine_try_cflags_saved_exeext
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10655 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10656 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10657 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10658 fi ;;
10659 esac
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10662 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10663 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10664 $as_echo_n "(cached) " >&6
10665 else
10666 ac_wine_try_cflags_saved=$CFLAGS
10667 ac_wine_try_cflags_saved_cc=$CC
10668 ac_wine_try_cflags_saved_exeext=$ac_exeext
10669 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10670 CC="$CROSSCC"
10671 ac_exeext=".exe"
10672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10673 /* end confdefs.h. */
10674 int __cdecl mainCRTStartup(void) { return 0; }
10675 _ACEOF
10676 if ac_fn_c_try_link "$LINENO"; then :
10677 ac_cv_crosscflags__fexcess_precision_standard=yes
10678 else
10679 ac_cv_crosscflags__fexcess_precision_standard=no
10681 rm -f core conftest.err conftest.$ac_objext \
10682 conftest$ac_exeext conftest.$ac_ext
10683 CFLAGS=$ac_wine_try_cflags_saved
10684 CC=$ac_wine_try_cflags_saved_cc
10685 ac_exeext=$ac_wine_try_cflags_saved_exeext
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10688 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10689 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10690 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10694 if test "x$enable_werror" = "xyes"
10695 then
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10697 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10698 if ${ac_cv_crosscflags__Werror+:} false; then :
10699 $as_echo_n "(cached) " >&6
10700 else
10701 ac_wine_try_cflags_saved=$CFLAGS
10702 ac_wine_try_cflags_saved_cc=$CC
10703 ac_wine_try_cflags_saved_exeext=$ac_exeext
10704 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10705 CC="$CROSSCC"
10706 ac_exeext=".exe"
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10709 int __cdecl mainCRTStartup(void) { return 0; }
10710 _ACEOF
10711 if ac_fn_c_try_link "$LINENO"; then :
10712 ac_cv_crosscflags__Werror=yes
10713 else
10714 ac_cv_crosscflags__Werror=no
10716 rm -f core conftest.err conftest.$ac_objext \
10717 conftest$ac_exeext conftest.$ac_ext
10718 CFLAGS=$ac_wine_try_cflags_saved
10719 CC=$ac_wine_try_cflags_saved_cc
10720 ac_exeext=$ac_wine_try_cflags_saved_exeext
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10723 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10724 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10725 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10728 if test "x$enable_build_id" = "xyes"
10729 then
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10731 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10732 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10733 $as_echo_n "(cached) " >&6
10734 else
10735 ac_wine_try_cflags_saved=$CFLAGS
10736 ac_wine_try_cflags_saved_cc=$CC
10737 ac_wine_try_cflags_saved_exeext=$ac_exeext
10738 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10739 CC="$CROSSCC"
10740 ac_exeext=".exe"
10741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10743 int __cdecl mainCRTStartup(void) { return 0; }
10744 _ACEOF
10745 if ac_fn_c_try_link "$LINENO"; then :
10746 ac_cv_crosscflags__Wl___build_id=yes
10747 else
10748 ac_cv_crosscflags__Wl___build_id=no
10750 rm -f core conftest.err conftest.$ac_objext \
10751 conftest$ac_exeext conftest.$ac_ext
10752 CFLAGS=$ac_wine_try_cflags_saved
10753 CC=$ac_wine_try_cflags_saved_cc
10754 ac_exeext=$ac_wine_try_cflags_saved_exeext
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10757 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10758 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10759 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10760 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10764 CFLAGS=$saved_CFLAGS
10765 CC="$ac_save_CC"
10768 if test "x$CROSSTARGET" = "x"; then :
10769 case "x$with_mingw" in
10770 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10771 xno) ;;
10772 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10773 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10774 esac
10779 if test "$ac_cv_header_pthread_h" = "yes"
10780 then
10781 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10782 if test "x$ac_cv_func_pthread_create" = xyes; then :
10784 else
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10786 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10787 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10788 $as_echo_n "(cached) " >&6
10789 else
10790 ac_check_lib_save_LIBS=$LIBS
10791 LIBS="-lpthread $LIBS"
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10795 /* Override any GCC internal prototype to avoid an error.
10796 Use char because int might match the return type of a GCC
10797 builtin and then its argument prototype would still apply. */
10798 #ifdef __cplusplus
10799 extern "C"
10800 #endif
10801 char pthread_create ();
10803 main ()
10805 return pthread_create ();
10807 return 0;
10809 _ACEOF
10810 if ac_fn_c_try_link "$LINENO"; then :
10811 ac_cv_lib_pthread_pthread_create=yes
10812 else
10813 ac_cv_lib_pthread_pthread_create=no
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 LIBS=$ac_check_lib_save_LIBS
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10820 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10821 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10822 PTHREAD_LIBS="-lpthread"
10829 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10830 case "x$with_pthread" in
10831 xno) ;;
10832 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10833 Wine cannot support threads without libpthread.
10834 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10835 esac
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10841 $as_echo_n "checking for X... " >&6; }
10844 # Check whether --with-x was given.
10845 if test "${with_x+set}" = set; then :
10846 withval=$with_x;
10849 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10850 if test "x$with_x" = xno; then
10851 # The user explicitly disabled X.
10852 have_x=disabled
10853 else
10854 case $x_includes,$x_libraries in #(
10855 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10856 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10857 $as_echo_n "(cached) " >&6
10858 else
10859 # One or both of the vars are not set, and there is no cached value.
10860 ac_x_includes=no ac_x_libraries=no
10861 rm -f -r conftest.dir
10862 if mkdir conftest.dir; then
10863 cd conftest.dir
10864 cat >Imakefile <<'_ACEOF'
10865 incroot:
10866 @echo incroot='${INCROOT}'
10867 usrlibdir:
10868 @echo usrlibdir='${USRLIBDIR}'
10869 libdir:
10870 @echo libdir='${LIBDIR}'
10871 _ACEOF
10872 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10873 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10874 for ac_var in incroot usrlibdir libdir; do
10875 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10876 done
10877 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10878 for ac_extension in a so sl dylib la dll; do
10879 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10880 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10881 ac_im_usrlibdir=$ac_im_libdir; break
10883 done
10884 # Screen out bogus values from the imake configuration. They are
10885 # bogus both because they are the default anyway, and because
10886 # using them would break gcc on systems where it needs fixed includes.
10887 case $ac_im_incroot in
10888 /usr/include) ac_x_includes= ;;
10889 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10890 esac
10891 case $ac_im_usrlibdir in
10892 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10893 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10894 esac
10896 cd ..
10897 rm -f -r conftest.dir
10900 # Standard set of common directories for X headers.
10901 # Check X11 before X11Rn because it is often a symlink to the current release.
10902 ac_x_header_dirs='
10903 /usr/X11/include
10904 /usr/X11R7/include
10905 /usr/X11R6/include
10906 /usr/X11R5/include
10907 /usr/X11R4/include
10909 /usr/include/X11
10910 /usr/include/X11R7
10911 /usr/include/X11R6
10912 /usr/include/X11R5
10913 /usr/include/X11R4
10915 /usr/local/X11/include
10916 /usr/local/X11R7/include
10917 /usr/local/X11R6/include
10918 /usr/local/X11R5/include
10919 /usr/local/X11R4/include
10921 /usr/local/include/X11
10922 /usr/local/include/X11R7
10923 /usr/local/include/X11R6
10924 /usr/local/include/X11R5
10925 /usr/local/include/X11R4
10927 /usr/X386/include
10928 /usr/x386/include
10929 /usr/XFree86/include/X11
10931 /usr/include
10932 /usr/local/include
10933 /usr/unsupported/include
10934 /usr/athena/include
10935 /usr/local/x11r5/include
10936 /usr/lpp/Xamples/include
10938 /usr/openwin/include
10939 /usr/openwin/share/include'
10941 if test "$ac_x_includes" = no; then
10942 # Guess where to find include files, by looking for Xlib.h.
10943 # First, try using that file with no special directory specified.
10944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10945 /* end confdefs.h. */
10946 #include <X11/Xlib.h>
10947 _ACEOF
10948 if ac_fn_c_try_cpp "$LINENO"; then :
10949 # We can compile using X headers with no special include directory.
10950 ac_x_includes=
10951 else
10952 for ac_dir in $ac_x_header_dirs; do
10953 if test -r "$ac_dir/X11/Xlib.h"; then
10954 ac_x_includes=$ac_dir
10955 break
10957 done
10959 rm -f conftest.err conftest.i conftest.$ac_ext
10960 fi # $ac_x_includes = no
10962 if test "$ac_x_libraries" = no; then
10963 # Check for the libraries.
10964 # See if we find them without any special options.
10965 # Don't add to $LIBS permanently.
10966 ac_save_LIBS=$LIBS
10967 LIBS="-lX11 $LIBS"
10968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10969 /* end confdefs.h. */
10970 #include <X11/Xlib.h>
10972 main ()
10974 XrmInitialize ()
10976 return 0;
10978 _ACEOF
10979 if ac_fn_c_try_link "$LINENO"; then :
10980 LIBS=$ac_save_LIBS
10981 # We can link X programs with no special library path.
10982 ac_x_libraries=
10983 else
10984 LIBS=$ac_save_LIBS
10985 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10987 # Don't even attempt the hair of trying to link an X program!
10988 for ac_extension in a so sl dylib la dll; do
10989 if test -r "$ac_dir/libX11.$ac_extension"; then
10990 ac_x_libraries=$ac_dir
10991 break 2
10993 done
10994 done
10996 rm -f core conftest.err conftest.$ac_objext \
10997 conftest$ac_exeext conftest.$ac_ext
10998 fi # $ac_x_libraries = no
11000 case $ac_x_includes,$ac_x_libraries in #(
11001 no,* | *,no | *\'*)
11002 # Didn't find X, or a directory has "'" in its name.
11003 ac_cv_have_x="have_x=no";; #(
11005 # Record where we found X for the cache.
11006 ac_cv_have_x="have_x=yes\
11007 ac_x_includes='$ac_x_includes'\
11008 ac_x_libraries='$ac_x_libraries'"
11009 esac
11011 ;; #(
11012 *) have_x=yes;;
11013 esac
11014 eval "$ac_cv_have_x"
11015 fi # $with_x != no
11017 if test "$have_x" != yes; then
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11019 $as_echo "$have_x" >&6; }
11020 no_x=yes
11021 else
11022 # If each of the values was on the command line, it overrides each guess.
11023 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11024 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11025 # Update the cache value to reflect the command line values.
11026 ac_cv_have_x="have_x=yes\
11027 ac_x_includes='$x_includes'\
11028 ac_x_libraries='$x_libraries'"
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11030 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11033 if test "$no_x" = yes; then
11034 # Not all programs may use this symbol, but it does not hurt to define it.
11036 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11038 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11039 else
11040 if test -n "$x_includes"; then
11041 X_CFLAGS="$X_CFLAGS -I$x_includes"
11044 # It would also be nice to do this for all -L options, not just this one.
11045 if test -n "$x_libraries"; then
11046 X_LIBS="$X_LIBS -L$x_libraries"
11047 # For Solaris; some versions of Sun CC require a space after -R and
11048 # others require no space. Words are not sufficient . . . .
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11050 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11051 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11052 ac_xsave_c_werror_flag=$ac_c_werror_flag
11053 ac_c_werror_flag=yes
11054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11055 /* end confdefs.h. */
11058 main ()
11062 return 0;
11064 _ACEOF
11065 if ac_fn_c_try_link "$LINENO"; then :
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11067 $as_echo "no" >&6; }
11068 X_LIBS="$X_LIBS -R$x_libraries"
11069 else
11070 LIBS="$ac_xsave_LIBS -R $x_libraries"
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11075 main ()
11079 return 0;
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"; then :
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11084 $as_echo "yes" >&6; }
11085 X_LIBS="$X_LIBS -R $x_libraries"
11086 else
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11088 $as_echo "neither works" >&6; }
11090 rm -f core conftest.err conftest.$ac_objext \
11091 conftest$ac_exeext conftest.$ac_ext
11093 rm -f core conftest.err conftest.$ac_objext \
11094 conftest$ac_exeext conftest.$ac_ext
11095 ac_c_werror_flag=$ac_xsave_c_werror_flag
11096 LIBS=$ac_xsave_LIBS
11099 # Check for system-dependent libraries X programs must link with.
11100 # Do this before checking for the system-independent R6 libraries
11101 # (-lICE), since we may need -lsocket or whatever for X linking.
11103 if test "$ISC" = yes; then
11104 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11105 else
11106 # Martyn Johnson says this is needed for Ultrix, if the X
11107 # libraries were built with DECnet support. And Karl Berry says
11108 # the Alpha needs dnet_stub (dnet does not exist).
11109 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11116 #ifdef __cplusplus
11117 extern "C"
11118 #endif
11119 char XOpenDisplay ();
11121 main ()
11123 return XOpenDisplay ();
11125 return 0;
11127 _ACEOF
11128 if ac_fn_c_try_link "$LINENO"; then :
11130 else
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11132 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11133 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11134 $as_echo_n "(cached) " >&6
11135 else
11136 ac_check_lib_save_LIBS=$LIBS
11137 LIBS="-ldnet $LIBS"
11138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11139 /* end confdefs.h. */
11141 /* Override any GCC internal prototype to avoid an error.
11142 Use char because int might match the return type of a GCC
11143 builtin and then its argument prototype would still apply. */
11144 #ifdef __cplusplus
11145 extern "C"
11146 #endif
11147 char dnet_ntoa ();
11149 main ()
11151 return dnet_ntoa ();
11153 return 0;
11155 _ACEOF
11156 if ac_fn_c_try_link "$LINENO"; then :
11157 ac_cv_lib_dnet_dnet_ntoa=yes
11158 else
11159 ac_cv_lib_dnet_dnet_ntoa=no
11161 rm -f core conftest.err conftest.$ac_objext \
11162 conftest$ac_exeext conftest.$ac_ext
11163 LIBS=$ac_check_lib_save_LIBS
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11166 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11167 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11168 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11171 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11173 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11174 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11175 $as_echo_n "(cached) " >&6
11176 else
11177 ac_check_lib_save_LIBS=$LIBS
11178 LIBS="-ldnet_stub $LIBS"
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h. */
11182 /* Override any GCC internal prototype to avoid an error.
11183 Use char because int might match the return type of a GCC
11184 builtin and then its argument prototype would still apply. */
11185 #ifdef __cplusplus
11186 extern "C"
11187 #endif
11188 char dnet_ntoa ();
11190 main ()
11192 return dnet_ntoa ();
11194 return 0;
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"; then :
11198 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11199 else
11200 ac_cv_lib_dnet_stub_dnet_ntoa=no
11202 rm -f core conftest.err conftest.$ac_objext \
11203 conftest$ac_exeext conftest.$ac_ext
11204 LIBS=$ac_check_lib_save_LIBS
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11207 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11208 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11209 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11214 rm -f core conftest.err conftest.$ac_objext \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS="$ac_xsave_LIBS"
11218 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11219 # to get the SysV transport functions.
11220 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11221 # needs -lnsl.
11222 # The nsl library prevents programs from opening the X display
11223 # on Irix 5.2, according to T.E. Dickey.
11224 # The functions gethostbyname, getservbyname, and inet_addr are
11225 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11226 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11227 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11231 if test $ac_cv_func_gethostbyname = no; then
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11233 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11234 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11235 $as_echo_n "(cached) " >&6
11236 else
11237 ac_check_lib_save_LIBS=$LIBS
11238 LIBS="-lnsl $LIBS"
11239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11242 /* Override any GCC internal prototype to avoid an error.
11243 Use char because int might match the return type of a GCC
11244 builtin and then its argument prototype would still apply. */
11245 #ifdef __cplusplus
11246 extern "C"
11247 #endif
11248 char gethostbyname ();
11250 main ()
11252 return gethostbyname ();
11254 return 0;
11256 _ACEOF
11257 if ac_fn_c_try_link "$LINENO"; then :
11258 ac_cv_lib_nsl_gethostbyname=yes
11259 else
11260 ac_cv_lib_nsl_gethostbyname=no
11262 rm -f core conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 LIBS=$ac_check_lib_save_LIBS
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11267 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11268 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11269 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11272 if test $ac_cv_lib_nsl_gethostbyname = no; then
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11274 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11275 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11276 $as_echo_n "(cached) " >&6
11277 else
11278 ac_check_lib_save_LIBS=$LIBS
11279 LIBS="-lbsd $LIBS"
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11286 #ifdef __cplusplus
11287 extern "C"
11288 #endif
11289 char gethostbyname ();
11291 main ()
11293 return gethostbyname ();
11295 return 0;
11297 _ACEOF
11298 if ac_fn_c_try_link "$LINENO"; then :
11299 ac_cv_lib_bsd_gethostbyname=yes
11300 else
11301 ac_cv_lib_bsd_gethostbyname=no
11303 rm -f core conftest.err conftest.$ac_objext \
11304 conftest$ac_exeext conftest.$ac_ext
11305 LIBS=$ac_check_lib_save_LIBS
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11308 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11309 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11310 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11316 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11317 # socket/setsockopt and other routines are undefined under SCO ODT
11318 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11319 # on later versions), says Simon Leinen: it contains gethostby*
11320 # variants that don't use the name server (or something). -lsocket
11321 # must be given before -lnsl if both are needed. We assume that
11322 # if connect needs -lnsl, so does gethostbyname.
11323 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11324 if test "x$ac_cv_func_connect" = xyes; then :
11328 if test $ac_cv_func_connect = no; then
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11330 $as_echo_n "checking for connect in -lsocket... " >&6; }
11331 if ${ac_cv_lib_socket_connect+:} false; then :
11332 $as_echo_n "(cached) " >&6
11333 else
11334 ac_check_lib_save_LIBS=$LIBS
11335 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11342 #ifdef __cplusplus
11343 extern "C"
11344 #endif
11345 char connect ();
11347 main ()
11349 return connect ();
11351 return 0;
11353 _ACEOF
11354 if ac_fn_c_try_link "$LINENO"; then :
11355 ac_cv_lib_socket_connect=yes
11356 else
11357 ac_cv_lib_socket_connect=no
11359 rm -f core conftest.err conftest.$ac_objext \
11360 conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_lib_save_LIBS
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11364 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11365 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11366 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11371 # Guillermo Gomez says -lposix is necessary on A/UX.
11372 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11373 if test "x$ac_cv_func_remove" = xyes; then :
11377 if test $ac_cv_func_remove = no; then
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11379 $as_echo_n "checking for remove in -lposix... " >&6; }
11380 if ${ac_cv_lib_posix_remove+:} false; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_lib_save_LIBS=$LIBS
11384 LIBS="-lposix $LIBS"
11385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11386 /* end confdefs.h. */
11388 /* Override any GCC internal prototype to avoid an error.
11389 Use char because int might match the return type of a GCC
11390 builtin and then its argument prototype would still apply. */
11391 #ifdef __cplusplus
11392 extern "C"
11393 #endif
11394 char remove ();
11396 main ()
11398 return remove ();
11400 return 0;
11402 _ACEOF
11403 if ac_fn_c_try_link "$LINENO"; then :
11404 ac_cv_lib_posix_remove=yes
11405 else
11406 ac_cv_lib_posix_remove=no
11408 rm -f core conftest.err conftest.$ac_objext \
11409 conftest$ac_exeext conftest.$ac_ext
11410 LIBS=$ac_check_lib_save_LIBS
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11413 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11414 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11415 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11420 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11421 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11422 if test "x$ac_cv_func_shmat" = xyes; then :
11426 if test $ac_cv_func_shmat = no; then
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11428 $as_echo_n "checking for shmat in -lipc... " >&6; }
11429 if ${ac_cv_lib_ipc_shmat+:} false; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-lipc $LIBS"
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char shmat ();
11445 main ()
11447 return shmat ();
11449 return 0;
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 ac_cv_lib_ipc_shmat=yes
11454 else
11455 ac_cv_lib_ipc_shmat=no
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_lib_save_LIBS
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11462 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11463 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11464 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11470 # Check for libraries that X11R6 Xt/Xaw programs need.
11471 ac_save_LDFLAGS=$LDFLAGS
11472 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11473 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11474 # check for ICE first), but we must link in the order -lSM -lICE or
11475 # we get undefined symbols. So assume we have SM if we have ICE.
11476 # These have to be linked with before -lX11, unlike the other
11477 # libraries we check for below, so use a different variable.
11478 # John Interrante, Karl Berry
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11480 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11481 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11482 $as_echo_n "(cached) " >&6
11483 else
11484 ac_check_lib_save_LIBS=$LIBS
11485 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11492 #ifdef __cplusplus
11493 extern "C"
11494 #endif
11495 char IceConnectionNumber ();
11497 main ()
11499 return IceConnectionNumber ();
11501 return 0;
11503 _ACEOF
11504 if ac_fn_c_try_link "$LINENO"; then :
11505 ac_cv_lib_ICE_IceConnectionNumber=yes
11506 else
11507 ac_cv_lib_ICE_IceConnectionNumber=no
11509 rm -f core conftest.err conftest.$ac_objext \
11510 conftest$ac_exeext conftest.$ac_ext
11511 LIBS=$ac_check_lib_save_LIBS
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11514 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11515 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11516 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11519 LDFLAGS=$ac_save_LDFLAGS
11524 if test "$have_x" = "yes"
11525 then
11526 ac_save_CPPFLAGS="$CPPFLAGS"
11527 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11530 $as_echo_n "checking for -lX11... " >&6; }
11531 if ${ac_cv_lib_soname_X11+:} false; then :
11532 $as_echo_n "(cached) " >&6
11533 else
11534 ac_check_soname_save_LIBS=$LIBS
11535 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11539 /* Override any GCC internal prototype to avoid an error.
11540 Use char because int might match the return type of a GCC
11541 builtin and then its argument prototype would still apply. */
11542 #ifdef __cplusplus
11543 extern "C"
11544 #endif
11545 char XCreateWindow ();
11547 main ()
11549 return XCreateWindow ();
11551 return 0;
11553 _ACEOF
11554 if ac_fn_c_try_link "$LINENO"; then :
11555 case "$LIBEXT" in
11556 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11557 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'` ;;
11558 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11559 if ${ac_cv_lib_soname_X11:+false} :; then :
11560 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11561 fi ;;
11562 esac
11563 else
11564 ac_cv_lib_soname_X11=
11566 rm -f core conftest.err conftest.$ac_objext \
11567 conftest$ac_exeext conftest.$ac_ext
11568 LIBS=$ac_check_soname_save_LIBS
11570 if ${ac_cv_lib_soname_X11:+false} :; then :
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11572 $as_echo "not found" >&6; }
11574 else
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11576 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11578 cat >>confdefs.h <<_ACEOF
11579 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11580 _ACEOF
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11585 $as_echo_n "checking for -lXext... " >&6; }
11586 if ${ac_cv_lib_soname_Xext+:} false; then :
11587 $as_echo_n "(cached) " >&6
11588 else
11589 ac_check_soname_save_LIBS=$LIBS
11590 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11592 /* end confdefs.h. */
11594 /* Override any GCC internal prototype to avoid an error.
11595 Use char because int might match the return type of a GCC
11596 builtin and then its argument prototype would still apply. */
11597 #ifdef __cplusplus
11598 extern "C"
11599 #endif
11600 char XextCreateExtension ();
11602 main ()
11604 return XextCreateExtension ();
11606 return 0;
11608 _ACEOF
11609 if ac_fn_c_try_link "$LINENO"; then :
11610 case "$LIBEXT" in
11611 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11612 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'` ;;
11613 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11614 if ${ac_cv_lib_soname_Xext:+false} :; then :
11615 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11616 fi ;;
11617 esac
11618 else
11619 ac_cv_lib_soname_Xext=
11621 rm -f core conftest.err conftest.$ac_objext \
11622 conftest$ac_exeext conftest.$ac_ext
11623 LIBS=$ac_check_soname_save_LIBS
11625 if ${ac_cv_lib_soname_Xext:+false} :; then :
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11627 $as_echo "not found" >&6; }
11629 else
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11631 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11633 cat >>confdefs.h <<_ACEOF
11634 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11635 _ACEOF
11637 X_LIBS="$X_LIBS -lXext"
11639 X_LIBS="$X_LIBS -lX11"
11641 for ac_header in X11/Xlib.h \
11642 X11/XKBlib.h \
11643 X11/Xutil.h \
11644 X11/Xcursor/Xcursor.h \
11645 X11/extensions/shape.h \
11646 X11/extensions/XInput.h \
11647 X11/extensions/XInput2.h \
11648 X11/extensions/XShm.h \
11649 X11/extensions/Xcomposite.h \
11650 X11/extensions/Xfixes.h \
11651 X11/extensions/Xinerama.h \
11652 X11/extensions/Xrandr.h \
11653 X11/extensions/Xrender.h \
11654 X11/extensions/xf86vmode.h \
11655 X11/extensions/xf86vmproto.h
11656 do :
11657 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11658 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11659 # include <X11/Xlib.h>
11660 #endif
11661 #ifdef HAVE_X11_XUTIL_H
11662 # include <X11/Xutil.h>
11663 #endif
11665 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11666 cat >>confdefs.h <<_ACEOF
11667 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11668 _ACEOF
11672 done
11675 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11676 then
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11678 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11679 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11680 $as_echo_n "(cached) " >&6
11681 else
11682 ac_check_lib_save_LIBS=$LIBS
11683 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11687 /* Override any GCC internal prototype to avoid an error.
11688 Use char because int might match the return type of a GCC
11689 builtin and then its argument prototype would still apply. */
11690 #ifdef __cplusplus
11691 extern "C"
11692 #endif
11693 char XkbQueryExtension ();
11695 main ()
11697 return XkbQueryExtension ();
11699 return 0;
11701 _ACEOF
11702 if ac_fn_c_try_link "$LINENO"; then :
11703 ac_cv_lib_X11_XkbQueryExtension=yes
11704 else
11705 ac_cv_lib_X11_XkbQueryExtension=no
11707 rm -f core conftest.err conftest.$ac_objext \
11708 conftest$ac_exeext conftest.$ac_ext
11709 LIBS=$ac_check_lib_save_LIBS
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11712 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11713 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11715 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11721 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11722 then
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11724 $as_echo_n "checking for -lXcursor... " >&6; }
11725 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11726 $as_echo_n "(cached) " >&6
11727 else
11728 ac_check_soname_save_LIBS=$LIBS
11729 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h. */
11733 /* Override any GCC internal prototype to avoid an error.
11734 Use char because int might match the return type of a GCC
11735 builtin and then its argument prototype would still apply. */
11736 #ifdef __cplusplus
11737 extern "C"
11738 #endif
11739 char XcursorImageLoadCursor ();
11741 main ()
11743 return XcursorImageLoadCursor ();
11745 return 0;
11747 _ACEOF
11748 if ac_fn_c_try_link "$LINENO"; then :
11749 case "$LIBEXT" in
11750 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11751 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'` ;;
11752 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11753 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11754 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11755 fi ;;
11756 esac
11757 else
11758 ac_cv_lib_soname_Xcursor=
11760 rm -f core conftest.err conftest.$ac_objext \
11761 conftest$ac_exeext conftest.$ac_ext
11762 LIBS=$ac_check_soname_save_LIBS
11764 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11766 $as_echo "not found" >&6; }
11768 else
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11770 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11772 cat >>confdefs.h <<_ACEOF
11773 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11774 _ACEOF
11779 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11780 case "x$with_xcursor" in
11781 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11782 xno) ;;
11783 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11784 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11785 esac
11789 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11790 then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11792 $as_echo_n "checking for -lXi... " >&6; }
11793 if ${ac_cv_lib_soname_Xi+:} false; then :
11794 $as_echo_n "(cached) " >&6
11795 else
11796 ac_check_soname_save_LIBS=$LIBS
11797 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11799 /* end confdefs.h. */
11801 /* Override any GCC internal prototype to avoid an error.
11802 Use char because int might match the return type of a GCC
11803 builtin and then its argument prototype would still apply. */
11804 #ifdef __cplusplus
11805 extern "C"
11806 #endif
11807 char XOpenDevice ();
11809 main ()
11811 return XOpenDevice ();
11813 return 0;
11815 _ACEOF
11816 if ac_fn_c_try_link "$LINENO"; then :
11817 case "$LIBEXT" in
11818 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11819 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'` ;;
11820 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11821 if ${ac_cv_lib_soname_Xi:+false} :; then :
11822 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11823 fi ;;
11824 esac
11825 else
11826 ac_cv_lib_soname_Xi=
11828 rm -f core conftest.err conftest.$ac_objext \
11829 conftest$ac_exeext conftest.$ac_ext
11830 LIBS=$ac_check_soname_save_LIBS
11832 if ${ac_cv_lib_soname_Xi:+false} :; then :
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11834 $as_echo "not found" >&6; }
11836 else
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11838 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11840 cat >>confdefs.h <<_ACEOF
11841 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11842 _ACEOF
11847 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11848 case "x$with_xinput" in
11849 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11850 xno) ;;
11851 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11852 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11853 esac
11857 if test "x$ac_cv_lib_soname_Xi" != x
11858 then
11859 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11860 case "x$with_xinput2" in
11861 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11862 xno) ;;
11863 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11864 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11865 esac
11870 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11871 then
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11873 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11874 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11875 $as_echo_n "(cached) " >&6
11876 else
11877 ac_check_lib_save_LIBS=$LIBS
11878 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h. */
11882 /* Override any GCC internal prototype to avoid an error.
11883 Use char because int might match the return type of a GCC
11884 builtin and then its argument prototype would still apply. */
11885 #ifdef __cplusplus
11886 extern "C"
11887 #endif
11888 char XShmQueryExtension ();
11890 main ()
11892 return XShmQueryExtension ();
11894 return 0;
11896 _ACEOF
11897 if ac_fn_c_try_link "$LINENO"; then :
11898 ac_cv_lib_Xext_XShmQueryExtension=yes
11899 else
11900 ac_cv_lib_Xext_XShmQueryExtension=no
11902 rm -f core conftest.err conftest.$ac_objext \
11903 conftest$ac_exeext conftest.$ac_ext
11904 LIBS=$ac_check_lib_save_LIBS
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11907 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11908 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11910 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11915 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11916 case "x$with_xshm" in
11917 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11918 xno) ;;
11919 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11920 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11921 esac
11925 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11926 then
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11928 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11929 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11930 $as_echo_n "(cached) " >&6
11931 else
11932 ac_check_lib_save_LIBS=$LIBS
11933 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11937 /* Override any GCC internal prototype to avoid an error.
11938 Use char because int might match the return type of a GCC
11939 builtin and then its argument prototype would still apply. */
11940 #ifdef __cplusplus
11941 extern "C"
11942 #endif
11943 char XShapeQueryExtension ();
11945 main ()
11947 return XShapeQueryExtension ();
11949 return 0;
11951 _ACEOF
11952 if ac_fn_c_try_link "$LINENO"; then :
11953 ac_cv_lib_Xext_XShapeQueryExtension=yes
11954 else
11955 ac_cv_lib_Xext_XShapeQueryExtension=no
11957 rm -f core conftest.err conftest.$ac_objext \
11958 conftest$ac_exeext conftest.$ac_ext
11959 LIBS=$ac_check_lib_save_LIBS
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11962 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11963 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11965 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11970 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11971 case "x$with_xshape" in
11972 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11973 xno) ;;
11974 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11975 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11976 esac
11980 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11981 then
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11983 $as_echo_n "checking for -lXxf86vm... " >&6; }
11984 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11985 $as_echo_n "(cached) " >&6
11986 else
11987 ac_check_soname_save_LIBS=$LIBS
11988 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11990 /* end confdefs.h. */
11992 /* Override any GCC internal prototype to avoid an error.
11993 Use char because int might match the return type of a GCC
11994 builtin and then its argument prototype would still apply. */
11995 #ifdef __cplusplus
11996 extern "C"
11997 #endif
11998 char XF86VidModeQueryExtension ();
12000 main ()
12002 return XF86VidModeQueryExtension ();
12004 return 0;
12006 _ACEOF
12007 if ac_fn_c_try_link "$LINENO"; then :
12008 case "$LIBEXT" in
12009 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12010 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'` ;;
12011 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12012 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12013 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12014 fi ;;
12015 esac
12016 else
12017 ac_cv_lib_soname_Xxf86vm=
12019 rm -f core conftest.err conftest.$ac_objext \
12020 conftest$ac_exeext conftest.$ac_ext
12021 LIBS=$ac_check_soname_save_LIBS
12023 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12025 $as_echo "not found" >&6; }
12027 else
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12029 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12031 cat >>confdefs.h <<_ACEOF
12032 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12033 _ACEOF
12038 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12039 case "x$with_xxf86vm" in
12040 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12041 xno) ;;
12042 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12043 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12044 esac
12048 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12049 then
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12051 $as_echo_n "checking for -lXrender... " >&6; }
12052 if ${ac_cv_lib_soname_Xrender+:} false; then :
12053 $as_echo_n "(cached) " >&6
12054 else
12055 ac_check_soname_save_LIBS=$LIBS
12056 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12058 /* end confdefs.h. */
12060 /* Override any GCC internal prototype to avoid an error.
12061 Use char because int might match the return type of a GCC
12062 builtin and then its argument prototype would still apply. */
12063 #ifdef __cplusplus
12064 extern "C"
12065 #endif
12066 char XRenderQueryExtension ();
12068 main ()
12070 return XRenderQueryExtension ();
12072 return 0;
12074 _ACEOF
12075 if ac_fn_c_try_link "$LINENO"; then :
12076 case "$LIBEXT" in
12077 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12078 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'` ;;
12079 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12080 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12081 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12082 fi ;;
12083 esac
12084 else
12085 ac_cv_lib_soname_Xrender=
12087 rm -f core conftest.err conftest.$ac_objext \
12088 conftest$ac_exeext conftest.$ac_ext
12089 LIBS=$ac_check_soname_save_LIBS
12091 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12093 $as_echo "not found" >&6; }
12095 else
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12097 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12099 cat >>confdefs.h <<_ACEOF
12100 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12101 _ACEOF
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12104 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12105 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12106 $as_echo_n "(cached) " >&6
12107 else
12108 ac_check_lib_save_LIBS=$LIBS
12109 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12111 /* end confdefs.h. */
12113 /* Override any GCC internal prototype to avoid an error.
12114 Use char because int might match the return type of a GCC
12115 builtin and then its argument prototype would still apply. */
12116 #ifdef __cplusplus
12117 extern "C"
12118 #endif
12119 char XRenderSetPictureTransform ();
12121 main ()
12123 return XRenderSetPictureTransform ();
12125 return 0;
12127 _ACEOF
12128 if ac_fn_c_try_link "$LINENO"; then :
12129 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12130 else
12131 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12133 rm -f core conftest.err conftest.$ac_objext \
12134 conftest$ac_exeext conftest.$ac_ext
12135 LIBS=$ac_check_lib_save_LIBS
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12138 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12139 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12141 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12146 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12147 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12148 $as_echo_n "(cached) " >&6
12149 else
12150 ac_check_lib_save_LIBS=$LIBS
12151 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12155 /* Override any GCC internal prototype to avoid an error.
12156 Use char because int might match the return type of a GCC
12157 builtin and then its argument prototype would still apply. */
12158 #ifdef __cplusplus
12159 extern "C"
12160 #endif
12161 char XRenderCreateLinearGradient ();
12163 main ()
12165 return XRenderCreateLinearGradient ();
12167 return 0;
12169 _ACEOF
12170 if ac_fn_c_try_link "$LINENO"; then :
12171 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12172 else
12173 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12175 rm -f core conftest.err conftest.$ac_objext \
12176 conftest$ac_exeext conftest.$ac_ext
12177 LIBS=$ac_check_lib_save_LIBS
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12180 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12181 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12183 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12190 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12191 case "x$with_xrender" in
12192 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12193 xno) ;;
12194 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12195 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12196 esac
12200 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12201 then
12202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12204 #include <X11/Xlib.h>
12205 #include <X11/extensions/Xrandr.h>
12207 main ()
12209 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12211 return 0;
12213 _ACEOF
12214 if ac_fn_c_try_compile "$LINENO"; then :
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12216 $as_echo_n "checking for -lXrandr... " >&6; }
12217 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12218 $as_echo_n "(cached) " >&6
12219 else
12220 ac_check_soname_save_LIBS=$LIBS
12221 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12223 /* end confdefs.h. */
12225 /* Override any GCC internal prototype to avoid an error.
12226 Use char because int might match the return type of a GCC
12227 builtin and then its argument prototype would still apply. */
12228 #ifdef __cplusplus
12229 extern "C"
12230 #endif
12231 char XRRQueryExtension ();
12233 main ()
12235 return XRRQueryExtension ();
12237 return 0;
12239 _ACEOF
12240 if ac_fn_c_try_link "$LINENO"; then :
12241 case "$LIBEXT" in
12242 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12243 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'` ;;
12244 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12245 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12246 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12247 fi ;;
12248 esac
12249 else
12250 ac_cv_lib_soname_Xrandr=
12252 rm -f core conftest.err conftest.$ac_objext \
12253 conftest$ac_exeext conftest.$ac_ext
12254 LIBS=$ac_check_soname_save_LIBS
12256 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12258 $as_echo "not found" >&6; }
12260 else
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12262 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12264 cat >>confdefs.h <<_ACEOF
12265 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12266 _ACEOF
12268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269 /* end confdefs.h. */
12270 #include <X11/Xlib.h>
12271 #include <X11/extensions/Xrandr.h>
12273 main ()
12275 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12277 return 0;
12279 _ACEOF
12280 if ac_fn_c_try_compile "$LINENO"; then :
12282 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12284 else
12285 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12292 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12293 case "x$with_xrandr" in
12294 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12295 xno) ;;
12296 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12297 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12298 esac
12302 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12303 then
12304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12305 /* end confdefs.h. */
12306 #include <X11/Xlib.h>
12307 #include <X11/extensions/Xfixes.h>
12309 main ()
12311 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12313 return 0;
12315 _ACEOF
12316 if ac_fn_c_try_compile "$LINENO"; then :
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12318 $as_echo_n "checking for -lXfixes... " >&6; }
12319 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12320 $as_echo_n "(cached) " >&6
12321 else
12322 ac_check_soname_save_LIBS=$LIBS
12323 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 #ifdef __cplusplus
12331 extern "C"
12332 #endif
12333 char XFixesQueryVersion ();
12335 main ()
12337 return XFixesQueryVersion ();
12339 return 0;
12341 _ACEOF
12342 if ac_fn_c_try_link "$LINENO"; then :
12343 case "$LIBEXT" in
12344 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12345 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'` ;;
12346 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12347 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12348 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12349 fi ;;
12350 esac
12351 else
12352 ac_cv_lib_soname_Xfixes=
12354 rm -f core conftest.err conftest.$ac_objext \
12355 conftest$ac_exeext conftest.$ac_ext
12356 LIBS=$ac_check_soname_save_LIBS
12358 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12360 $as_echo "not found" >&6; }
12362 else
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12364 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12366 cat >>confdefs.h <<_ACEOF
12367 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12368 _ACEOF
12373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12375 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12376 case "x$with_xfixes" in
12377 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12378 xno) ;;
12379 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12380 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12381 esac
12385 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12386 then
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12389 #include <X11/Xlib.h>
12390 #include <X11/extensions/Xinerama.h>
12392 main ()
12394 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12396 return 0;
12398 _ACEOF
12399 if ac_fn_c_try_compile "$LINENO"; then :
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12401 $as_echo_n "checking for -lXinerama... " >&6; }
12402 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12403 $as_echo_n "(cached) " >&6
12404 else
12405 ac_check_soname_save_LIBS=$LIBS
12406 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12410 /* Override any GCC internal prototype to avoid an error.
12411 Use char because int might match the return type of a GCC
12412 builtin and then its argument prototype would still apply. */
12413 #ifdef __cplusplus
12414 extern "C"
12415 #endif
12416 char XineramaQueryScreens ();
12418 main ()
12420 return XineramaQueryScreens ();
12422 return 0;
12424 _ACEOF
12425 if ac_fn_c_try_link "$LINENO"; then :
12426 case "$LIBEXT" in
12427 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12428 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'` ;;
12429 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12430 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12431 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12432 fi ;;
12433 esac
12434 else
12435 ac_cv_lib_soname_Xinerama=
12437 rm -f core conftest.err conftest.$ac_objext \
12438 conftest$ac_exeext conftest.$ac_ext
12439 LIBS=$ac_check_soname_save_LIBS
12441 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12443 $as_echo "not found" >&6; }
12445 else
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12447 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12449 cat >>confdefs.h <<_ACEOF
12450 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12451 _ACEOF
12456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12458 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12459 case "x$with_xinerama" in
12460 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12461 xno) ;;
12462 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12463 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12464 esac
12468 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12469 then
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12471 $as_echo_n "checking for -lXcomposite... " >&6; }
12472 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12473 $as_echo_n "(cached) " >&6
12474 else
12475 ac_check_soname_save_LIBS=$LIBS
12476 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12480 /* Override any GCC internal prototype to avoid an error.
12481 Use char because int might match the return type of a GCC
12482 builtin and then its argument prototype would still apply. */
12483 #ifdef __cplusplus
12484 extern "C"
12485 #endif
12486 char XCompositeRedirectWindow ();
12488 main ()
12490 return XCompositeRedirectWindow ();
12492 return 0;
12494 _ACEOF
12495 if ac_fn_c_try_link "$LINENO"; then :
12496 case "$LIBEXT" in
12497 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12498 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'` ;;
12499 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12500 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12501 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12502 fi ;;
12503 esac
12504 else
12505 ac_cv_lib_soname_Xcomposite=
12507 rm -f core conftest.err conftest.$ac_objext \
12508 conftest$ac_exeext conftest.$ac_ext
12509 LIBS=$ac_check_soname_save_LIBS
12511 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12513 $as_echo "not found" >&6; }
12515 else
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12517 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12519 cat >>confdefs.h <<_ACEOF
12520 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12521 _ACEOF
12526 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12527 case "x$with_xcomposite" in
12528 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12529 xno) ;;
12530 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12531 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12532 esac
12536 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12537 #include <X11/Xlib.h>
12538 #endif
12540 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12542 cat >>confdefs.h <<_ACEOF
12543 #define HAVE_XICCALLBACK_CALLBACK 1
12544 _ACEOF
12548 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12549 #include <X11/Xlib.h>
12550 #endif
12552 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12554 cat >>confdefs.h <<_ACEOF
12555 #define HAVE_XEVENT_XCOOKIE 1
12556 _ACEOF
12563 opengl_msg=""
12564 if test "x$with_opengl" != "xno"
12565 then
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12567 $as_echo_n "checking for -lGL... " >&6; }
12568 if ${ac_cv_lib_soname_GL+:} false; then :
12569 $as_echo_n "(cached) " >&6
12570 else
12571 ac_check_soname_save_LIBS=$LIBS
12572 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12574 /* end confdefs.h. */
12576 /* Override any GCC internal prototype to avoid an error.
12577 Use char because int might match the return type of a GCC
12578 builtin and then its argument prototype would still apply. */
12579 #ifdef __cplusplus
12580 extern "C"
12581 #endif
12582 char glXCreateContext ();
12584 main ()
12586 return glXCreateContext ();
12588 return 0;
12590 _ACEOF
12591 if ac_fn_c_try_link "$LINENO"; then :
12592 case "$LIBEXT" in
12593 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12594 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'` ;;
12595 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12596 if ${ac_cv_lib_soname_GL:+false} :; then :
12597 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12598 fi ;;
12599 esac
12600 else
12601 ac_cv_lib_soname_GL=
12603 rm -f core conftest.err conftest.$ac_objext \
12604 conftest$ac_exeext conftest.$ac_ext
12605 LIBS=$ac_check_soname_save_LIBS
12607 if ${ac_cv_lib_soname_GL:+false} :; then :
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12609 $as_echo "not found" >&6; }
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12611 $as_echo_n "checking for -lGL... " >&6; }
12612 if ${ac_cv_lib_soname_GL+:} false; then :
12613 $as_echo_n "(cached) " >&6
12614 else
12615 ac_check_soname_save_LIBS=$LIBS
12616 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"
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 /* Override any GCC internal prototype to avoid an error.
12621 Use char because int might match the return type of a GCC
12622 builtin and then its argument prototype would still apply. */
12623 #ifdef __cplusplus
12624 extern "C"
12625 #endif
12626 char glXCreateContext ();
12628 main ()
12630 return glXCreateContext ();
12632 return 0;
12634 _ACEOF
12635 if ac_fn_c_try_link "$LINENO"; then :
12636 case "$LIBEXT" in
12637 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12638 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'` ;;
12639 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12640 if ${ac_cv_lib_soname_GL:+false} :; then :
12641 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12642 fi ;;
12643 esac
12644 else
12645 ac_cv_lib_soname_GL=
12647 rm -f core conftest.err conftest.$ac_objext \
12648 conftest$ac_exeext conftest.$ac_ext
12649 LIBS=$ac_check_soname_save_LIBS
12651 if ${ac_cv_lib_soname_GL:+false} :; then :
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12653 $as_echo "not found" >&6; }
12654 if test -f /usr/X11R6/lib/libGL.a
12655 then
12656 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12657 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12658 else
12659 opengl_msg="No OpenGL library found on this system."
12661 else
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12663 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12665 cat >>confdefs.h <<_ACEOF
12666 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12667 _ACEOF
12669 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"
12671 else
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12673 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12675 cat >>confdefs.h <<_ACEOF
12676 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12677 _ACEOF
12679 OPENGL_LIBS="-lGL"
12681 if test "x$with_osmesa" != "xno"
12682 then
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12684 $as_echo_n "checking for -lOSMesa... " >&6; }
12685 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12686 $as_echo_n "(cached) " >&6
12687 else
12688 ac_check_soname_save_LIBS=$LIBS
12689 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12693 /* Override any GCC internal prototype to avoid an error.
12694 Use char because int might match the return type of a GCC
12695 builtin and then its argument prototype would still apply. */
12696 #ifdef __cplusplus
12697 extern "C"
12698 #endif
12699 char OSMesaGetProcAddress ();
12701 main ()
12703 return OSMesaGetProcAddress ();
12705 return 0;
12707 _ACEOF
12708 if ac_fn_c_try_link "$LINENO"; then :
12709 case "$LIBEXT" in
12710 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12711 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'` ;;
12712 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12713 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12714 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12715 fi ;;
12716 esac
12717 else
12718 ac_cv_lib_soname_OSMesa=
12720 rm -f core conftest.err conftest.$ac_objext \
12721 conftest$ac_exeext conftest.$ac_ext
12722 LIBS=$ac_check_soname_save_LIBS
12724 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12726 $as_echo "not found" >&6; }
12728 else
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12730 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12732 cat >>confdefs.h <<_ACEOF
12733 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12734 _ACEOF
12738 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12739 case "x$with_osmesa" in
12740 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12741 xno) ;;
12742 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12743 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12744 esac
12749 if test -n "$opengl_msg"; then :
12750 case "x$with_opengl" in
12751 x) as_fn_append wine_warnings "|$opengl_msg
12752 OpenGL and Direct3D won't be supported." ;;
12753 xno) ;;
12754 *) as_fn_error $? "$opengl_msg
12755 OpenGL and Direct3D won't be supported.
12756 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12757 esac
12761 CPPFLAGS="$ac_save_CPPFLAGS"
12762 else
12763 X_CFLAGS=""
12764 X_LIBS=""
12767 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12768 then
12769 if test "x$X_LIBS" = "x"; then :
12770 case "x$with_x" in
12771 xno) ;;
12772 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12773 without X support, which probably isn't what you want. You will need
12774 to install ${notice_platform}development packages of Xlib at the very least.
12775 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12776 esac
12777 enable_winex11_drv=${enable_winex11_drv:-no}
12779 else
12780 if test "x$X_LIBS" = "x"; then :
12781 case "x$with_x" in
12782 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12783 xno) ;;
12784 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12785 This is an error since --with-x was requested." "$LINENO" 5 ;;
12786 esac
12787 enable_winex11_drv=${enable_winex11_drv:-no}
12791 if test "$ac_cv_header_CL_cl_h" = "yes"
12792 then
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12794 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12795 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12796 $as_echo_n "(cached) " >&6
12797 else
12798 ac_check_lib_save_LIBS=$LIBS
12799 LIBS="-lOpenCL $LIBS"
12800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12801 /* end confdefs.h. */
12803 /* Override any GCC internal prototype to avoid an error.
12804 Use char because int might match the return type of a GCC
12805 builtin and then its argument prototype would still apply. */
12806 #ifdef __cplusplus
12807 extern "C"
12808 #endif
12809 char clGetPlatformInfo ();
12811 main ()
12813 return clGetPlatformInfo ();
12815 return 0;
12817 _ACEOF
12818 if ac_fn_c_try_link "$LINENO"; then :
12819 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12820 else
12821 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12823 rm -f core conftest.err conftest.$ac_objext \
12824 conftest$ac_exeext conftest.$ac_ext
12825 LIBS=$ac_check_lib_save_LIBS
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12828 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12829 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12830 OPENCL_LIBS="-lOpenCL"
12835 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12836 case "x$with_opencl" in
12837 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12838 xno) ;;
12839 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12840 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12841 esac
12842 enable_opencl=${enable_opencl:-no}
12845 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12846 then
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12848 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12849 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12850 $as_echo_n "(cached) " >&6
12851 else
12852 ac_check_lib_save_LIBS=$LIBS
12853 LIBS="-lpcap $LIBS"
12854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12855 /* end confdefs.h. */
12857 /* Override any GCC internal prototype to avoid an error.
12858 Use char because int might match the return type of a GCC
12859 builtin and then its argument prototype would still apply. */
12860 #ifdef __cplusplus
12861 extern "C"
12862 #endif
12863 char pcap_create ();
12865 main ()
12867 return pcap_create ();
12869 return 0;
12871 _ACEOF
12872 if ac_fn_c_try_link "$LINENO"; then :
12873 ac_cv_lib_pcap_pcap_create=yes
12874 else
12875 ac_cv_lib_pcap_pcap_create=no
12877 rm -f core conftest.err conftest.$ac_objext \
12878 conftest$ac_exeext conftest.$ac_ext
12879 LIBS=$ac_check_lib_save_LIBS
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12882 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12883 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12884 PCAP_LIBS="-lpcap"
12889 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12890 case "x$with_pcap" in
12891 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12892 xno) ;;
12893 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12894 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12895 esac
12896 enable_wpcap=${enable_wpcap:-no}
12900 if test "x$with_xml" != "xno"
12901 then
12902 if ${XML2_CFLAGS:+false} :; then :
12903 if ${PKG_CONFIG+:} false; then :
12904 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12907 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12908 if ${XML2_LIBS:+false} :; then :
12909 if ${PKG_CONFIG+:} false; then :
12910 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12913 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12914 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12915 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12916 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12917 ac_save_CPPFLAGS=$CPPFLAGS
12918 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12919 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12920 do :
12921 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12922 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12923 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12924 cat >>confdefs.h <<_ACEOF
12925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12926 _ACEOF
12930 done
12932 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"
12933 then
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12935 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12936 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12937 $as_echo_n "(cached) " >&6
12938 else
12939 ac_check_lib_save_LIBS=$LIBS
12940 LIBS="-lxml2 $XML2_LIBS $LIBS"
12941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12944 /* Override any GCC internal prototype to avoid an error.
12945 Use char because int might match the return type of a GCC
12946 builtin and then its argument prototype would still apply. */
12947 #ifdef __cplusplus
12948 extern "C"
12949 #endif
12950 char xmlParseMemory ();
12952 main ()
12954 return xmlParseMemory ();
12956 return 0;
12958 _ACEOF
12959 if ac_fn_c_try_link "$LINENO"; then :
12960 ac_cv_lib_xml2_xmlParseMemory=yes
12961 else
12962 ac_cv_lib_xml2_xmlParseMemory=no
12964 rm -f core conftest.err conftest.$ac_objext \
12965 conftest$ac_exeext conftest.$ac_ext
12966 LIBS=$ac_check_lib_save_LIBS
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12969 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12970 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12972 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12974 else
12975 XML2_LIBS=""
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12979 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12980 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12981 $as_echo_n "(cached) " >&6
12982 else
12983 ac_check_lib_save_LIBS=$LIBS
12984 LIBS="-lxml2 $XML2_LIBS $LIBS"
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12988 /* Override any GCC internal prototype to avoid an error.
12989 Use char because int might match the return type of a GCC
12990 builtin and then its argument prototype would still apply. */
12991 #ifdef __cplusplus
12992 extern "C"
12993 #endif
12994 char xmlReadMemory ();
12996 main ()
12998 return xmlReadMemory ();
13000 return 0;
13002 _ACEOF
13003 if ac_fn_c_try_link "$LINENO"; then :
13004 ac_cv_lib_xml2_xmlReadMemory=yes
13005 else
13006 ac_cv_lib_xml2_xmlReadMemory=no
13008 rm -f core conftest.err conftest.$ac_objext \
13009 conftest$ac_exeext conftest.$ac_ext
13010 LIBS=$ac_check_lib_save_LIBS
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13013 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13014 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13016 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13021 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13022 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13023 $as_echo_n "(cached) " >&6
13024 else
13025 ac_check_lib_save_LIBS=$LIBS
13026 LIBS="-lxml2 $XML2_LIBS $LIBS"
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13030 /* Override any GCC internal prototype to avoid an error.
13031 Use char because int might match the return type of a GCC
13032 builtin and then its argument prototype would still apply. */
13033 #ifdef __cplusplus
13034 extern "C"
13035 #endif
13036 char xmlNewDocPI ();
13038 main ()
13040 return xmlNewDocPI ();
13042 return 0;
13044 _ACEOF
13045 if ac_fn_c_try_link "$LINENO"; then :
13046 ac_cv_lib_xml2_xmlNewDocPI=yes
13047 else
13048 ac_cv_lib_xml2_xmlNewDocPI=no
13050 rm -f core conftest.err conftest.$ac_objext \
13051 conftest$ac_exeext conftest.$ac_ext
13052 LIBS=$ac_check_lib_save_LIBS
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13055 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13056 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13058 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13063 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13064 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13065 $as_echo_n "(cached) " >&6
13066 else
13067 ac_check_lib_save_LIBS=$LIBS
13068 LIBS="-lxml2 $XML2_LIBS $LIBS"
13069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13070 /* end confdefs.h. */
13072 /* Override any GCC internal prototype to avoid an error.
13073 Use char because int might match the return type of a GCC
13074 builtin and then its argument prototype would still apply. */
13075 #ifdef __cplusplus
13076 extern "C"
13077 #endif
13078 char xmlSchemaSetParserStructuredErrors ();
13080 main ()
13082 return xmlSchemaSetParserStructuredErrors ();
13084 return 0;
13086 _ACEOF
13087 if ac_fn_c_try_link "$LINENO"; then :
13088 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13089 else
13090 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13092 rm -f core conftest.err conftest.$ac_objext \
13093 conftest$ac_exeext conftest.$ac_ext
13094 LIBS=$ac_check_lib_save_LIBS
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13097 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13098 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13100 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13105 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13106 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13107 $as_echo_n "(cached) " >&6
13108 else
13109 ac_check_lib_save_LIBS=$LIBS
13110 LIBS="-lxml2 $XML2_LIBS $LIBS"
13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13114 /* Override any GCC internal prototype to avoid an error.
13115 Use char because int might match the return type of a GCC
13116 builtin and then its argument prototype would still apply. */
13117 #ifdef __cplusplus
13118 extern "C"
13119 #endif
13120 char xmlSchemaSetValidStructuredErrors ();
13122 main ()
13124 return xmlSchemaSetValidStructuredErrors ();
13126 return 0;
13128 _ACEOF
13129 if ac_fn_c_try_link "$LINENO"; then :
13130 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13131 else
13132 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13134 rm -f core conftest.err conftest.$ac_objext \
13135 conftest$ac_exeext conftest.$ac_ext
13136 LIBS=$ac_check_lib_save_LIBS
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13139 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13140 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13142 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13147 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13148 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13149 $as_echo_n "(cached) " >&6
13150 else
13151 ac_check_lib_save_LIBS=$LIBS
13152 LIBS="-lxml2 $XML2_LIBS $LIBS"
13153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13154 /* end confdefs.h. */
13156 /* Override any GCC internal prototype to avoid an error.
13157 Use char because int might match the return type of a GCC
13158 builtin and then its argument prototype would still apply. */
13159 #ifdef __cplusplus
13160 extern "C"
13161 #endif
13162 char xmlFirstElementChild ();
13164 main ()
13166 return xmlFirstElementChild ();
13168 return 0;
13170 _ACEOF
13171 if ac_fn_c_try_link "$LINENO"; then :
13172 ac_cv_lib_xml2_xmlFirstElementChild=yes
13173 else
13174 ac_cv_lib_xml2_xmlFirstElementChild=no
13176 rm -f core conftest.err conftest.$ac_objext \
13177 conftest$ac_exeext conftest.$ac_ext
13178 LIBS=$ac_check_lib_save_LIBS
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13181 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13182 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13184 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13188 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13190 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13192 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13196 else
13197 XML2_CFLAGS=""
13198 XML2_LIBS=""
13200 CPPFLAGS=$ac_save_CPPFLAGS
13203 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13204 case "x$with_xml" in
13205 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13206 xno) ;;
13207 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13208 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13209 esac
13213 if test "x$with_xslt" != "xno"
13214 then
13215 if ${XSLT_CFLAGS:+false} :; then :
13216 if ${PKG_CONFIG+:} false; then :
13217 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13220 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13221 if ${XSLT_LIBS:+false} :; then :
13222 if ${PKG_CONFIG+:} false; then :
13223 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13226 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13227 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13228 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13229 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13230 ac_save_CPPFLAGS=$CPPFLAGS
13231 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13232 for ac_header in libxslt/pattern.h libxslt/transform.h
13233 do :
13234 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13235 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13236 # include <libxslt/pattern.h>
13237 #endif
13239 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13240 cat >>confdefs.h <<_ACEOF
13241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13242 _ACEOF
13246 done
13248 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13249 then
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13251 $as_echo_n "checking for -lxslt... " >&6; }
13252 if ${ac_cv_lib_soname_xslt+:} false; then :
13253 $as_echo_n "(cached) " >&6
13254 else
13255 ac_check_soname_save_LIBS=$LIBS
13256 LIBS="-lxslt $XSLT_LIBS $LIBS"
13257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13258 /* end confdefs.h. */
13260 /* Override any GCC internal prototype to avoid an error.
13261 Use char because int might match the return type of a GCC
13262 builtin and then its argument prototype would still apply. */
13263 #ifdef __cplusplus
13264 extern "C"
13265 #endif
13266 char xsltCompilePattern ();
13268 main ()
13270 return xsltCompilePattern ();
13272 return 0;
13274 _ACEOF
13275 if ac_fn_c_try_link "$LINENO"; then :
13276 case "$LIBEXT" in
13277 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13278 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'` ;;
13279 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13280 if ${ac_cv_lib_soname_xslt:+false} :; then :
13281 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13282 fi ;;
13283 esac
13284 else
13285 ac_cv_lib_soname_xslt=
13287 rm -f core conftest.err conftest.$ac_objext \
13288 conftest$ac_exeext conftest.$ac_ext
13289 LIBS=$ac_check_soname_save_LIBS
13291 if ${ac_cv_lib_soname_xslt:+false} :; then :
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13293 $as_echo "not found" >&6; }
13295 else
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13297 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13299 cat >>confdefs.h <<_ACEOF
13300 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13301 _ACEOF
13305 else
13306 XSLT_CFLAGS=""
13308 CPPFLAGS=$ac_save_CPPFLAGS
13311 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13312 case "x$with_xslt" in
13313 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13314 xno) ;;
13315 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13316 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13317 esac
13321 if test "x$with_inotify" != "xno"
13322 then
13323 if ${INOTIFY_CFLAGS:+false} :; then :
13324 if ${PKG_CONFIG+:} false; then :
13325 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13329 if ${INOTIFY_LIBS:+false} :; then :
13330 if ${PKG_CONFIG+:} false; then :
13331 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13336 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13337 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13338 ac_save_CPPFLAGS=$CPPFLAGS
13339 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13340 for ac_header in sys/inotify.h
13341 do :
13342 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13343 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13344 cat >>confdefs.h <<_ACEOF
13345 #define HAVE_SYS_INOTIFY_H 1
13346 _ACEOF
13350 done
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13353 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13354 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13355 $as_echo_n "(cached) " >&6
13356 else
13357 ac_check_lib_save_LIBS=$LIBS
13358 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13360 /* end confdefs.h. */
13362 /* Override any GCC internal prototype to avoid an error.
13363 Use char because int might match the return type of a GCC
13364 builtin and then its argument prototype would still apply. */
13365 #ifdef __cplusplus
13366 extern "C"
13367 #endif
13368 char inotify_add_watch ();
13370 main ()
13372 return inotify_add_watch ();
13374 return 0;
13376 _ACEOF
13377 if ac_fn_c_try_link "$LINENO"; then :
13378 ac_cv_lib_inotify_inotify_add_watch=yes
13379 else
13380 ac_cv_lib_inotify_inotify_add_watch=no
13382 rm -f core conftest.err conftest.$ac_objext \
13383 conftest$ac_exeext conftest.$ac_ext
13384 LIBS=$ac_check_lib_save_LIBS
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13387 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13388 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13390 else
13391 INOTIFY_LIBS=""
13394 CPPFLAGS=$ac_save_CPPFLAGS
13397 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13398 case "x$with_inotify" in
13399 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13400 xno) ;;
13401 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13402 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13403 esac
13407 if test "x$with_dbus" != "xno"
13408 then
13409 if ${DBUS_CFLAGS:+false} :; then :
13410 if ${PKG_CONFIG+:} false; then :
13411 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13415 if ${DBUS_LIBS:+false} :; then :
13416 if ${PKG_CONFIG+:} false; then :
13417 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13422 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13423 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13424 ac_save_CPPFLAGS=$CPPFLAGS
13425 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13426 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13427 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13429 $as_echo_n "checking for -ldbus-1... " >&6; }
13430 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13431 $as_echo_n "(cached) " >&6
13432 else
13433 ac_check_soname_save_LIBS=$LIBS
13434 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13436 /* end confdefs.h. */
13438 /* Override any GCC internal prototype to avoid an error.
13439 Use char because int might match the return type of a GCC
13440 builtin and then its argument prototype would still apply. */
13441 #ifdef __cplusplus
13442 extern "C"
13443 #endif
13444 char dbus_connection_close ();
13446 main ()
13448 return dbus_connection_close ();
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_link "$LINENO"; then :
13454 case "$LIBEXT" in
13455 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13456 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'` ;;
13457 *) 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'`
13458 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13459 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13460 fi ;;
13461 esac
13462 else
13463 ac_cv_lib_soname_dbus_1=
13465 rm -f core conftest.err conftest.$ac_objext \
13466 conftest$ac_exeext conftest.$ac_ext
13467 LIBS=$ac_check_soname_save_LIBS
13469 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13471 $as_echo "not found" >&6; }
13472 DBUS_CFLAGS=""
13473 else
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13475 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13477 cat >>confdefs.h <<_ACEOF
13478 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13479 _ACEOF
13483 else
13484 DBUS_CFLAGS=""
13488 CPPFLAGS=$ac_save_CPPFLAGS
13491 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13492 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13493 case "x$with_dbus" in
13494 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13495 xno) ;;
13496 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13497 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13498 esac
13502 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13503 then
13504 if ${HAL_CFLAGS:+false} :; then :
13505 if ${PKG_CONFIG+:} false; then :
13506 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13510 if ${HAL_LIBS:+false} :; then :
13511 if ${PKG_CONFIG+:} false; then :
13512 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13516 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13517 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13518 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13519 ac_save_CPPFLAGS=$CPPFLAGS
13520 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13521 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13522 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13524 $as_echo_n "checking for -lhal... " >&6; }
13525 if ${ac_cv_lib_soname_hal+:} false; then :
13526 $as_echo_n "(cached) " >&6
13527 else
13528 ac_check_soname_save_LIBS=$LIBS
13529 LIBS="-lhal $HAL_LIBS $LIBS"
13530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13533 /* Override any GCC internal prototype to avoid an error.
13534 Use char because int might match the return type of a GCC
13535 builtin and then its argument prototype would still apply. */
13536 #ifdef __cplusplus
13537 extern "C"
13538 #endif
13539 char libhal_ctx_new ();
13541 main ()
13543 return libhal_ctx_new ();
13545 return 0;
13547 _ACEOF
13548 if ac_fn_c_try_link "$LINENO"; then :
13549 case "$LIBEXT" in
13550 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13551 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'` ;;
13552 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13553 if ${ac_cv_lib_soname_hal:+false} :; then :
13554 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13555 fi ;;
13556 esac
13557 else
13558 ac_cv_lib_soname_hal=
13560 rm -f core conftest.err conftest.$ac_objext \
13561 conftest$ac_exeext conftest.$ac_ext
13562 LIBS=$ac_check_soname_save_LIBS
13564 if ${ac_cv_lib_soname_hal:+false} :; then :
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13566 $as_echo "not found" >&6; }
13567 HAL_CFLAGS=""
13568 else
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13570 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13572 cat >>confdefs.h <<_ACEOF
13573 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13574 _ACEOF
13578 else
13579 HAL_CFLAGS=""
13583 CPPFLAGS=$ac_save_CPPFLAGS
13585 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13586 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13587 case "x$with_hal" in
13588 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13589 xno) ;;
13590 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13591 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13592 esac
13597 if test "x$with_gnutls" != "xno"
13598 then
13599 if ${GNUTLS_CFLAGS:+false} :; then :
13600 if ${PKG_CONFIG+:} false; then :
13601 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13605 if ${GNUTLS_LIBS:+false} :; then :
13606 if ${PKG_CONFIG+:} false; then :
13607 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13611 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13612 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13613 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13614 ac_save_CPPFLAGS=$CPPFLAGS
13615 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13616 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13617 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13620 #include <gnutls/gnutls.h>
13621 #include <gnutls/crypto.h>
13623 main ()
13625 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13627 return 0;
13629 _ACEOF
13630 if ac_fn_c_try_compile "$LINENO"; then :
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13632 $as_echo_n "checking for -lgnutls... " >&6; }
13633 if ${ac_cv_lib_soname_gnutls+:} false; then :
13634 $as_echo_n "(cached) " >&6
13635 else
13636 ac_check_soname_save_LIBS=$LIBS
13637 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13639 /* end confdefs.h. */
13641 /* Override any GCC internal prototype to avoid an error.
13642 Use char because int might match the return type of a GCC
13643 builtin and then its argument prototype would still apply. */
13644 #ifdef __cplusplus
13645 extern "C"
13646 #endif
13647 char gnutls_global_init ();
13649 main ()
13651 return gnutls_global_init ();
13653 return 0;
13655 _ACEOF
13656 if ac_fn_c_try_link "$LINENO"; then :
13657 case "$LIBEXT" in
13658 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13659 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'` ;;
13660 *) 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'`
13661 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13662 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'`
13663 fi ;;
13664 esac
13665 else
13666 ac_cv_lib_soname_gnutls=
13668 rm -f core conftest.err conftest.$ac_objext \
13669 conftest$ac_exeext conftest.$ac_ext
13670 LIBS=$ac_check_soname_save_LIBS
13672 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13674 $as_echo "not found" >&6; }
13675 GNUTLS_CFLAGS=""
13676 else
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13678 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13680 cat >>confdefs.h <<_ACEOF
13681 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13682 _ACEOF
13686 ac_wine_check_funcs_save_LIBS="$LIBS"
13687 LIBS="$LIBS $GNUTLS_LIBS"
13688 for ac_func in gnutls_cipher_init
13689 do :
13690 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13691 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13692 cat >>confdefs.h <<_ACEOF
13693 #define HAVE_GNUTLS_CIPHER_INIT 1
13694 _ACEOF
13696 else
13697 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13699 done
13701 LIBS="$ac_wine_check_funcs_save_LIBS"
13703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13704 else
13705 GNUTLS_CFLAGS=""
13709 CPPFLAGS=$ac_save_CPPFLAGS
13712 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13713 case "x$with_gnutls" in
13714 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13715 xno) ;;
13716 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13717 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13718 esac
13722 if test "x$with_sane" != "xno"
13723 then
13724 if ${SANE_CFLAGS:+false} :; then :
13725 if ${PKG_CONFIG+:} false; then :
13726 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13729 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13730 if ${SANE_LIBS:+false} :; then :
13731 if ${PKG_CONFIG+:} false; then :
13732 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13735 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13737 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13738 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13739 ac_save_CPPFLAGS=$CPPFLAGS
13740 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13741 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13742 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13744 $as_echo_n "checking for -lsane... " >&6; }
13745 if ${ac_cv_lib_soname_sane+:} false; then :
13746 $as_echo_n "(cached) " >&6
13747 else
13748 ac_check_soname_save_LIBS=$LIBS
13749 LIBS="-lsane $SANE_LIBS $LIBS"
13750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13751 /* end confdefs.h. */
13753 /* Override any GCC internal prototype to avoid an error.
13754 Use char because int might match the return type of a GCC
13755 builtin and then its argument prototype would still apply. */
13756 #ifdef __cplusplus
13757 extern "C"
13758 #endif
13759 char sane_init ();
13761 main ()
13763 return sane_init ();
13765 return 0;
13767 _ACEOF
13768 if ac_fn_c_try_link "$LINENO"; then :
13769 case "$LIBEXT" in
13770 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13771 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'` ;;
13772 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13773 if ${ac_cv_lib_soname_sane:+false} :; then :
13774 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13775 fi ;;
13776 esac
13777 else
13778 ac_cv_lib_soname_sane=
13780 rm -f core conftest.err conftest.$ac_objext \
13781 conftest$ac_exeext conftest.$ac_ext
13782 LIBS=$ac_check_soname_save_LIBS
13784 if ${ac_cv_lib_soname_sane:+false} :; then :
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13786 $as_echo "not found" >&6; }
13787 SANE_CFLAGS=""
13788 else
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13790 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13792 cat >>confdefs.h <<_ACEOF
13793 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13794 _ACEOF
13798 else
13799 SANE_CFLAGS=""
13803 CPPFLAGS=$ac_save_CPPFLAGS
13806 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13807 case "x$with_sane" in
13808 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13809 xno) ;;
13810 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13811 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13812 esac
13816 if test "x$with_usb" != "xno"
13817 then
13818 if ${USB_CFLAGS:+false} :; then :
13819 if ${PKG_CONFIG+:} false; then :
13820 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13824 if ${USB_LIBS:+false} :; then :
13825 if ${PKG_CONFIG+:} false; then :
13826 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13830 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13831 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13832 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13833 ac_save_CPPFLAGS=$CPPFLAGS
13834 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13835 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13836 if test "x$ac_cv_header_libusb_h" = xyes; then :
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13838 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13839 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 ac_check_lib_save_LIBS=$LIBS
13843 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13850 #ifdef __cplusplus
13851 extern "C"
13852 #endif
13853 char libusb_interrupt_event_handler ();
13855 main ()
13857 return libusb_interrupt_event_handler ();
13859 return 0;
13861 _ACEOF
13862 if ac_fn_c_try_link "$LINENO"; then :
13863 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13864 else
13865 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13867 rm -f core conftest.err conftest.$ac_objext \
13868 conftest$ac_exeext conftest.$ac_ext
13869 LIBS=$ac_check_lib_save_LIBS
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13872 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13873 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13875 else
13876 USB_LIBS=""
13879 else
13880 USB_LIBS=""
13884 CPPFLAGS=$ac_save_CPPFLAGS
13887 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13888 case "x$with_usb" in
13889 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13890 xno) ;;
13891 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13892 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13893 esac
13894 enable_wineusb_sys=${enable_wineusb_sys:-no}
13897 if test "x$with_v4l2" != "xno"
13898 then
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13900 $as_echo_n "checking for -lv4l2... " >&6; }
13901 if ${ac_cv_lib_soname_v4l2+:} false; then :
13902 $as_echo_n "(cached) " >&6
13903 else
13904 ac_check_soname_save_LIBS=$LIBS
13905 LIBS="-lv4l2 $LIBS"
13906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13907 /* end confdefs.h. */
13909 /* Override any GCC internal prototype to avoid an error.
13910 Use char because int might match the return type of a GCC
13911 builtin and then its argument prototype would still apply. */
13912 #ifdef __cplusplus
13913 extern "C"
13914 #endif
13915 char v4l2_open ();
13917 main ()
13919 return v4l2_open ();
13921 return 0;
13923 _ACEOF
13924 if ac_fn_c_try_link "$LINENO"; then :
13925 case "$LIBEXT" in
13926 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13927 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'` ;;
13928 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13929 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13930 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13931 fi ;;
13932 esac
13933 else
13934 ac_cv_lib_soname_v4l2=
13936 rm -f core conftest.err conftest.$ac_objext \
13937 conftest$ac_exeext conftest.$ac_ext
13938 LIBS=$ac_check_soname_save_LIBS
13940 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13942 $as_echo "not found" >&6; }
13944 else
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13946 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13948 cat >>confdefs.h <<_ACEOF
13949 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13950 _ACEOF
13955 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13956 case "x$with_v4l2" in
13957 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13958 xno) ;;
13959 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13960 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13961 esac
13965 if test "x$with_gphoto" != "xno"
13966 then
13967 if ${GPHOTO2_CFLAGS:+false} :; then :
13968 if ${PKG_CONFIG+:} false; then :
13969 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13972 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13973 if ${GPHOTO2_LIBS:+false} :; then :
13974 if ${PKG_CONFIG+:} false; then :
13975 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13978 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13979 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13980 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13981 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13982 ac_save_CPPFLAGS=$CPPFLAGS
13983 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13984 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13985 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13987 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13988 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13989 $as_echo_n "(cached) " >&6
13990 else
13991 ac_check_lib_save_LIBS=$LIBS
13992 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13996 /* Override any GCC internal prototype to avoid an error.
13997 Use char because int might match the return type of a GCC
13998 builtin and then its argument prototype would still apply. */
13999 #ifdef __cplusplus
14000 extern "C"
14001 #endif
14002 char gp_camera_new ();
14004 main ()
14006 return gp_camera_new ();
14008 return 0;
14010 _ACEOF
14011 if ac_fn_c_try_link "$LINENO"; then :
14012 ac_cv_lib_gphoto2_gp_camera_new=yes
14013 else
14014 ac_cv_lib_gphoto2_gp_camera_new=no
14016 rm -f core conftest.err conftest.$ac_objext \
14017 conftest$ac_exeext conftest.$ac_ext
14018 LIBS=$ac_check_lib_save_LIBS
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14021 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14022 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14024 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14026 else
14027 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14030 else
14031 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14035 CPPFLAGS=$ac_save_CPPFLAGS
14037 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14038 if ${PKG_CONFIG+:} false; then :
14039 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14042 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14043 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14044 if ${PKG_CONFIG+:} false; then :
14045 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14048 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14049 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14050 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14051 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14052 ac_save_CPPFLAGS=$CPPFLAGS
14053 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14054 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14055 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14057 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14058 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14059 $as_echo_n "(cached) " >&6
14060 else
14061 ac_check_lib_save_LIBS=$LIBS
14062 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14066 /* Override any GCC internal prototype to avoid an error.
14067 Use char because int might match the return type of a GCC
14068 builtin and then its argument prototype would still apply. */
14069 #ifdef __cplusplus
14070 extern "C"
14071 #endif
14072 char gp_port_info_list_new ();
14074 main ()
14076 return gp_port_info_list_new ();
14078 return 0;
14080 _ACEOF
14081 if ac_fn_c_try_link "$LINENO"; then :
14082 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14083 else
14084 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14086 rm -f core conftest.err conftest.$ac_objext \
14087 conftest$ac_exeext conftest.$ac_ext
14088 LIBS=$ac_check_lib_save_LIBS
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14091 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14092 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14094 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14096 else
14097 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14100 else
14101 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14105 CPPFLAGS=$ac_save_CPPFLAGS
14108 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14109 case "x$with_gphoto" in
14110 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14111 xno) ;;
14112 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14113 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14114 esac
14117 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14118 case "x$with_gphoto" in
14119 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14120 xno) ;;
14121 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14122 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14123 esac
14128 if test "$ac_cv_header_resolv_h" = "yes"
14129 then
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14131 $as_echo_n "checking for resolver library... " >&6; }
14132 if ${ac_cv_have_resolv+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 ac_save_LIBS="$LIBS"
14136 for lib in '' -lresolv
14138 LIBS="$lib $ac_save_LIBS"
14139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14141 #ifdef HAVE_NETINET_IN_H
14142 #include <netinet/in.h>
14143 #endif
14144 #include <resolv.h>
14146 main ()
14148 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14150 return 0;
14152 _ACEOF
14153 if ac_fn_c_try_link "$LINENO"; then :
14154 ac_cv_have_resolv=${lib:-"none required"}
14155 else
14156 ac_cv_have_resolv="not found"
14158 rm -f core conftest.err conftest.$ac_objext \
14159 conftest$ac_exeext conftest.$ac_ext
14160 test "x$ac_cv_have_resolv" = "xnot found" || break
14161 done
14162 LIBS="$ac_save_LIBS"
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14165 $as_echo "$ac_cv_have_resolv" >&6; }
14167 case "$ac_cv_have_resolv" in
14168 "not found") ;;
14169 "none required")
14171 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14174 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14176 RESOLV_LIBS=$ac_cv_have_resolv
14178 esac
14180 if test "x$ac_cv_have_resolv" != "xnot found"
14181 then
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14183 $as_echo_n "checking for res_getservers... " >&6; }
14184 if ${ac_cv_have_res_getservers+:} false; then :
14185 $as_echo_n "(cached) " >&6
14186 else
14187 ac_save_LIBS="$LIBS"
14188 LIBS="$RESOLV_LIBS $LIBS"
14189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14191 #include <resolv.h>
14193 main ()
14195 res_getservers(NULL, NULL, 0);
14197 return 0;
14199 _ACEOF
14200 if ac_fn_c_try_link "$LINENO"; then :
14201 ac_cv_have_res_getservers=yes
14202 else
14203 ac_cv_have_res_getservers=no
14205 rm -f core conftest.err conftest.$ac_objext \
14206 conftest$ac_exeext conftest.$ac_ext
14207 LIBS="$ac_save_LIBS"
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14210 $as_echo "$ac_cv_have_res_getservers" >&6; }
14211 if test "$ac_cv_have_res_getservers" = "yes"
14212 then
14214 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14220 if test "x$with_cms" != "xno"
14221 then
14222 if ${LCMS2_CFLAGS:+false} :; then :
14223 if ${PKG_CONFIG+:} false; then :
14224 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14228 if ${LCMS2_LIBS:+false} :; then :
14229 if ${PKG_CONFIG+:} false; then :
14230 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14234 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14235 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14236 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14237 ac_save_CPPFLAGS=$CPPFLAGS
14238 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14239 for ac_header in lcms2.h
14240 do :
14241 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14242 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14243 cat >>confdefs.h <<_ACEOF
14244 #define HAVE_LCMS2_H 1
14245 _ACEOF
14249 done
14251 if test "$ac_cv_header_lcms2_h" = "yes"
14252 then
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14254 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14255 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14256 $as_echo_n "(cached) " >&6
14257 else
14258 ac_check_lib_save_LIBS=$LIBS
14259 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14263 /* Override any GCC internal prototype to avoid an error.
14264 Use char because int might match the return type of a GCC
14265 builtin and then its argument prototype would still apply. */
14266 #ifdef __cplusplus
14267 extern "C"
14268 #endif
14269 char cmsOpenProfileFromFile ();
14271 main ()
14273 return cmsOpenProfileFromFile ();
14275 return 0;
14277 _ACEOF
14278 if ac_fn_c_try_link "$LINENO"; then :
14279 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14280 else
14281 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14283 rm -f core conftest.err conftest.$ac_objext \
14284 conftest$ac_exeext conftest.$ac_ext
14285 LIBS=$ac_check_lib_save_LIBS
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14288 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14289 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14291 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14293 else
14294 LCMS2_LIBS=""
14297 else
14298 LCMS2_CFLAGS=""
14299 LCMS2_LIBS=""
14301 CPPFLAGS=$ac_save_CPPFLAGS
14304 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14305 case "x$with_cms" in
14306 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14307 xno) ;;
14308 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14309 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14310 esac
14314 if test "x$with_freetype" != "xno"
14315 then
14316 if ${FREETYPE_CFLAGS:+false} :; then :
14317 if ${PKG_CONFIG+:} false; then :
14318 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14321 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14322 if ${FREETYPE_LIBS:+false} :; then :
14323 if ${PKG_CONFIG+:} false; then :
14324 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14327 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14328 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14329 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14330 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14331 ac_save_CPPFLAGS=$CPPFLAGS
14332 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14333 for ac_header in ft2build.h
14334 do :
14335 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14336 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14337 cat >>confdefs.h <<_ACEOF
14338 #define HAVE_FT2BUILD_H 1
14339 _ACEOF
14343 done
14345 if test "$ac_cv_header_ft2build_h" = "yes"
14346 then
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14348 $as_echo_n "checking for -lfreetype... " >&6; }
14349 if ${ac_cv_lib_soname_freetype+:} false; then :
14350 $as_echo_n "(cached) " >&6
14351 else
14352 ac_check_soname_save_LIBS=$LIBS
14353 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14357 /* Override any GCC internal prototype to avoid an error.
14358 Use char because int might match the return type of a GCC
14359 builtin and then its argument prototype would still apply. */
14360 #ifdef __cplusplus
14361 extern "C"
14362 #endif
14363 char FT_Init_FreeType ();
14365 main ()
14367 return FT_Init_FreeType ();
14369 return 0;
14371 _ACEOF
14372 if ac_fn_c_try_link "$LINENO"; then :
14373 case "$LIBEXT" in
14374 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14375 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'` ;;
14376 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14377 if ${ac_cv_lib_soname_freetype:+false} :; then :
14378 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14379 fi ;;
14380 esac
14381 else
14382 ac_cv_lib_soname_freetype=
14384 rm -f core conftest.err conftest.$ac_objext \
14385 conftest$ac_exeext conftest.$ac_ext
14386 LIBS=$ac_check_soname_save_LIBS
14388 if ${ac_cv_lib_soname_freetype:+false} :; then :
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14390 $as_echo "not found" >&6; }
14391 FREETYPE_LIBS=""
14392 else
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14394 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14396 cat >>confdefs.h <<_ACEOF
14397 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14398 _ACEOF
14401 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14403 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14404 #include FT_MODULE_H
14406 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14408 cat >>confdefs.h <<_ACEOF
14409 #define HAVE_FT_TRUETYPEENGINETYPE 1
14410 _ACEOF
14416 else
14417 FREETYPE_CFLAGS=""
14418 FREETYPE_LIBS=""
14420 CPPFLAGS=$ac_save_CPPFLAGS
14423 if test "x$ac_cv_lib_soname_freetype" = x; then :
14424 case "x$with_freetype" in
14425 xno) ;;
14426 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14427 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14428 esac
14429 enable_fonts=${enable_fonts:-no}
14432 ac_wine_check_funcs_save_LIBS="$LIBS"
14433 LIBS="$LIBS $PTHREAD_LIBS"
14434 for ac_func in \
14435 pthread_getthreadid_np
14436 do :
14437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14439 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14440 cat >>confdefs.h <<_ACEOF
14441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14442 _ACEOF
14445 done
14447 LIBS="$ac_wine_check_funcs_save_LIBS"
14449 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14450 then
14451 if test "$ac_cv_header_gettext_po_h" = "yes"
14452 then
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14454 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14455 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14456 $as_echo_n "(cached) " >&6
14457 else
14458 ac_check_lib_save_LIBS=$LIBS
14459 LIBS="-lgettextpo $LIBS"
14460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14461 /* end confdefs.h. */
14463 /* Override any GCC internal prototype to avoid an error.
14464 Use char because int might match the return type of a GCC
14465 builtin and then its argument prototype would still apply. */
14466 #ifdef __cplusplus
14467 extern "C"
14468 #endif
14469 char po_message_msgctxt ();
14471 main ()
14473 return po_message_msgctxt ();
14475 return 0;
14477 _ACEOF
14478 if ac_fn_c_try_link "$LINENO"; then :
14479 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14480 else
14481 ac_cv_lib_gettextpo_po_message_msgctxt=no
14483 rm -f core conftest.err conftest.$ac_objext \
14484 conftest$ac_exeext conftest.$ac_ext
14485 LIBS=$ac_check_lib_save_LIBS
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14488 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14489 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14491 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14493 GETTEXTPO_LIBS="-lgettextpo"
14498 if test "x$GETTEXTPO_LIBS" = "x"; then :
14499 case "x$with_gettextpo" in
14500 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14501 xno) ;;
14502 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14503 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14504 esac
14507 if test "$srcdir" != .; then :
14508 case "x$with_gettextpo" in
14509 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14510 xno) ;;
14511 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14512 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14513 esac
14518 if test "x$with_pulse" != "xno";
14519 then
14520 if ${PULSE_CFLAGS:+false} :; then :
14521 if ${PKG_CONFIG+:} false; then :
14522 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14526 if ${PULSE_LIBS:+false} :; then :
14527 if ${PKG_CONFIG+:} false; then :
14528 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14533 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14534 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14535 ac_save_CPPFLAGS=$CPPFLAGS
14536 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14537 for ac_header in pulse/pulseaudio.h
14538 do :
14539 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14540 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14541 cat >>confdefs.h <<_ACEOF
14542 #define HAVE_PULSE_PULSEAUDIO_H 1
14543 _ACEOF
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14545 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14546 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14547 $as_echo_n "(cached) " >&6
14548 else
14549 ac_check_lib_save_LIBS=$LIBS
14550 LIBS="-lpulse $PULSE_LIBS $LIBS"
14551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14554 /* Override any GCC internal prototype to avoid an error.
14555 Use char because int might match the return type of a GCC
14556 builtin and then its argument prototype would still apply. */
14557 #ifdef __cplusplus
14558 extern "C"
14559 #endif
14560 char pa_stream_is_corked ();
14562 main ()
14564 return pa_stream_is_corked ();
14566 return 0;
14568 _ACEOF
14569 if ac_fn_c_try_link "$LINENO"; then :
14570 ac_cv_lib_pulse_pa_stream_is_corked=yes
14571 else
14572 ac_cv_lib_pulse_pa_stream_is_corked=no
14574 rm -f core conftest.err conftest.$ac_objext \
14575 conftest$ac_exeext conftest.$ac_ext
14576 LIBS=$ac_check_lib_save_LIBS
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14579 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14580 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14582 else
14583 PULSE_LIBS=""
14586 else
14587 PULSE_LIBS=""
14590 done
14592 CPPFLAGS=$ac_save_CPPFLAGS
14595 if test -z "$PULSE_LIBS"; then :
14596 case "x$with_pulse" in
14597 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14598 xno) ;;
14599 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14600 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14601 esac
14602 enable_winepulse_drv=${enable_winepulse_drv:-no}
14605 if test "x$with_gstreamer" != "xno"
14606 then
14607 if ${GSTREAMER_CFLAGS:+false} :; then :
14608 if ${PKG_CONFIG+:} false; then :
14609 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14613 if ${GSTREAMER_LIBS:+false} :; then :
14614 if ${PKG_CONFIG+:} false; then :
14615 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14620 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14621 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14622 ac_save_CPPFLAGS=$CPPFLAGS
14623 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14624 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14625 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14627 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14630 #include <gst/gst.h>
14632 main ()
14634 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14636 return 0;
14638 _ACEOF
14639 if ac_fn_c_try_compile "$LINENO"; then :
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14641 $as_echo "yes" >&6; }
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14643 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14644 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14645 $as_echo_n "(cached) " >&6
14646 else
14647 ac_check_lib_save_LIBS=$LIBS
14648 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h. */
14652 /* Override any GCC internal prototype to avoid an error.
14653 Use char because int might match the return type of a GCC
14654 builtin and then its argument prototype would still apply. */
14655 #ifdef __cplusplus
14656 extern "C"
14657 #endif
14658 char gst_pad_new ();
14660 main ()
14662 return gst_pad_new ();
14664 return 0;
14666 _ACEOF
14667 if ac_fn_c_try_link "$LINENO"; then :
14668 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14669 else
14670 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14672 rm -f core conftest.err conftest.$ac_objext \
14673 conftest$ac_exeext conftest.$ac_ext
14674 LIBS=$ac_check_lib_save_LIBS
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14677 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14678 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14682 else
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14684 $as_echo "no" >&6; }
14685 ac_glib2_broken=yes
14686 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14692 CPPFLAGS=$ac_save_CPPFLAGS
14695 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 :
14696 case "x$with_gstreamer" in
14697 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14698 xno) ;;
14699 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14700 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14701 esac
14704 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14706 ALSA_LIBS=""
14708 if test "x$with_alsa" != "xno"
14709 then
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14711 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14712 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14713 $as_echo_n "(cached) " >&6
14714 else
14715 ac_check_lib_save_LIBS=$LIBS
14716 LIBS="-lasound $LIBS"
14717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14718 /* end confdefs.h. */
14720 /* Override any GCC internal prototype to avoid an error.
14721 Use char because int might match the return type of a GCC
14722 builtin and then its argument prototype would still apply. */
14723 #ifdef __cplusplus
14724 extern "C"
14725 #endif
14726 char snd_pcm_hw_params_get_access_mask ();
14728 main ()
14730 return snd_pcm_hw_params_get_access_mask ();
14732 return 0;
14734 _ACEOF
14735 if ac_fn_c_try_link "$LINENO"; then :
14736 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14737 else
14738 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14740 rm -f core conftest.err conftest.$ac_objext \
14741 conftest$ac_exeext conftest.$ac_ext
14742 LIBS=$ac_check_lib_save_LIBS
14744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14745 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14746 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14749 #include <alsa/asoundlib.h>
14751 main ()
14753 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14755 return 0;
14757 _ACEOF
14758 if ac_fn_c_try_compile "$LINENO"; then :
14759 ALSA_LIBS="-lasound"
14761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14765 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14767 if test "x$with_oss" != xno
14768 then
14769 ac_save_CPPFLAGS="$CPPFLAGS"
14770 if test -f /etc/oss.conf
14771 then
14772 . /etc/oss.conf
14774 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14775 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14776 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14777 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14778 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14780 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14782 cat >>confdefs.h <<_ACEOF
14783 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14784 _ACEOF
14786 OSS4_CFLAGS="$ac_oss_incl"
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14789 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14790 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14791 $as_echo_n "(cached) " >&6
14792 else
14793 ac_check_lib_save_LIBS=$LIBS
14794 LIBS="-lossaudio $LIBS"
14795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h. */
14798 /* Override any GCC internal prototype to avoid an error.
14799 Use char because int might match the return type of a GCC
14800 builtin and then its argument prototype would still apply. */
14801 #ifdef __cplusplus
14802 extern "C"
14803 #endif
14804 char _oss_ioctl ();
14806 main ()
14808 return _oss_ioctl ();
14810 return 0;
14812 _ACEOF
14813 if ac_fn_c_try_link "$LINENO"; then :
14814 ac_cv_lib_ossaudio__oss_ioctl=yes
14815 else
14816 ac_cv_lib_ossaudio__oss_ioctl=no
14818 rm -f core conftest.err conftest.$ac_objext \
14819 conftest$ac_exeext conftest.$ac_ext
14820 LIBS=$ac_check_lib_save_LIBS
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14823 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14824 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14825 OSS4_LIBS="-lossaudio"
14834 CPPFLAGS="$ac_save_CPPFLAGS"
14836 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14837 case "x$with_oss" in
14838 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14839 xno) ;;
14840 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14841 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14842 esac
14843 enable_wineoss_drv=${enable_wineoss_drv:-no}
14846 if test "x$with_udev" != "xno"
14847 then
14848 if ${UDEV_CFLAGS:+false} :; then :
14849 if ${PKG_CONFIG+:} false; then :
14850 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14854 if ${UDEV_LIBS:+false} :; then :
14855 if ${PKG_CONFIG+:} false; then :
14856 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14860 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14861 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14862 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14863 ac_save_CPPFLAGS=$CPPFLAGS
14864 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14865 for ac_header in libudev.h
14866 do :
14867 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14868 if test "x$ac_cv_header_libudev_h" = xyes; then :
14869 cat >>confdefs.h <<_ACEOF
14870 #define HAVE_LIBUDEV_H 1
14871 _ACEOF
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14873 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14874 if ${ac_cv_lib_udev_udev_new+:} false; then :
14875 $as_echo_n "(cached) " >&6
14876 else
14877 ac_check_lib_save_LIBS=$LIBS
14878 LIBS="-ludev $UDEV_LIBS $LIBS"
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14882 /* Override any GCC internal prototype to avoid an error.
14883 Use char because int might match the return type of a GCC
14884 builtin and then its argument prototype would still apply. */
14885 #ifdef __cplusplus
14886 extern "C"
14887 #endif
14888 char udev_new ();
14890 main ()
14892 return udev_new ();
14894 return 0;
14896 _ACEOF
14897 if ac_fn_c_try_link "$LINENO"; then :
14898 ac_cv_lib_udev_udev_new=yes
14899 else
14900 ac_cv_lib_udev_udev_new=no
14902 rm -f core conftest.err conftest.$ac_objext \
14903 conftest$ac_exeext conftest.$ac_ext
14904 LIBS=$ac_check_lib_save_LIBS
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14907 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14908 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14910 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14912 else
14913 UDEV_LIBS=""
14916 else
14917 UDEV_LIBS=""
14920 done
14922 CPPFLAGS=$ac_save_CPPFLAGS
14925 if test "x$UDEV_LIBS" = "x"; then :
14926 case "x$with_udev" in
14927 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14928 xno) ;;
14929 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14930 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14931 esac
14935 if test "x$with_unwind" != xno
14936 then
14937 if ${UNWIND_CFLAGS:+false} :; then :
14938 if ${PKG_CONFIG+:} false; then :
14939 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14943 if ${UNWIND_LIBS:+false} :; then :
14944 if ${PKG_CONFIG+:} false; then :
14945 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14949 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14950 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14951 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14952 ac_save_CPPFLAGS=$CPPFLAGS
14953 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14955 $as_echo_n "checking for unw_step... " >&6; }
14956 if ${wine_cv_have_unw_step+:} false; then :
14957 $as_echo_n "(cached) " >&6
14958 else
14959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14960 /* end confdefs.h. */
14961 #define UNW_LOCAL_ONLY
14962 #include <libunwind.h>
14964 main ()
14966 unw_cursor_t cursor; unw_step( &cursor );
14968 return 0;
14970 _ACEOF
14971 if ac_fn_c_try_link "$LINENO"; then :
14972 wine_cv_have_unw_step="yes"
14973 else
14974 wine_cv_have_unw_step="no"
14976 rm -f core conftest.err conftest.$ac_objext \
14977 conftest$ac_exeext conftest.$ac_ext
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14980 $as_echo "$wine_cv_have_unw_step" >&6; }
14981 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14982 then
14983 save_libs=$LIBS
14984 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14985 LIBS="$UNWIND_LIBS $LIBS"
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14987 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14988 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14989 $as_echo_n "(cached) " >&6
14990 else
14991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14992 /* end confdefs.h. */
14993 #define UNW_LOCAL_ONLY
14994 #include <libunwind.h>
14996 main ()
14998 unw_cursor_t cursor; unw_step( &cursor );
15000 return 0;
15002 _ACEOF
15003 if ac_fn_c_try_link "$LINENO"; then :
15004 wine_cv_have_libunwind_unw_step="yes"
15005 else
15006 wine_cv_have_libunwind_unw_step="no"
15008 rm -f core conftest.err conftest.$ac_objext \
15009 conftest$ac_exeext conftest.$ac_ext
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15012 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15013 LIBS=$save_libs
15015 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15016 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15017 then
15019 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15022 CPPFLAGS=$ac_save_CPPFLAGS
15025 case $host in
15026 aarch64*|*-darwin*)
15027 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15028 case "x$with_unwind" in
15029 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15030 xno) ;;
15031 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15032 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15033 esac
15035 fi ;;
15036 esac
15038 if test "x$with_sdl" != "xno"
15039 then
15040 if ${SDL2_CFLAGS:+false} :; then :
15041 if ${PKG_CONFIG+:} false; then :
15042 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15046 if ${SDL2_LIBS:+false} :; then :
15047 if ${PKG_CONFIG+:} false; then :
15048 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15052 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15053 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15054 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15055 ac_save_CPPFLAGS=$CPPFLAGS
15056 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15057 for ac_header in SDL.h
15058 do :
15059 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15060 if test "x$ac_cv_header_SDL_h" = xyes; then :
15061 cat >>confdefs.h <<_ACEOF
15062 #define HAVE_SDL_H 1
15063 _ACEOF
15064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15065 $as_echo_n "checking for -lSDL2... " >&6; }
15066 if ${ac_cv_lib_soname_SDL2+:} false; then :
15067 $as_echo_n "(cached) " >&6
15068 else
15069 ac_check_soname_save_LIBS=$LIBS
15070 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15072 /* end confdefs.h. */
15074 /* Override any GCC internal prototype to avoid an error.
15075 Use char because int might match the return type of a GCC
15076 builtin and then its argument prototype would still apply. */
15077 #ifdef __cplusplus
15078 extern "C"
15079 #endif
15080 char SDL_Init ();
15082 main ()
15084 return SDL_Init ();
15086 return 0;
15088 _ACEOF
15089 if ac_fn_c_try_link "$LINENO"; then :
15090 case "$LIBEXT" in
15091 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15092 dylib) ac_cv_lib_soname_SDL2=`$OTOOL -L conftest$ac_exeext | grep "libSDL2-2.0*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libSDL2-2.0*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15093 *) ac_cv_lib_soname_SDL2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libSDL2-2.0*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15094 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15095 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15096 fi ;;
15097 esac
15098 else
15099 ac_cv_lib_soname_SDL2=
15101 rm -f core conftest.err conftest.$ac_objext \
15102 conftest$ac_exeext conftest.$ac_ext
15103 LIBS=$ac_check_soname_save_LIBS
15105 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15107 $as_echo "not found" >&6; }
15109 else
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15111 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15113 cat >>confdefs.h <<_ACEOF
15114 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15115 _ACEOF
15121 done
15123 CPPFLAGS=$ac_save_CPPFLAGS
15126 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15127 case "x$with_sdl" in
15128 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15129 xno) ;;
15130 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15131 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15132 esac
15136 if test "x$with_faudio" != "xno"
15137 then
15138 if ${FAUDIO_CFLAGS:+false} :; then :
15139 if ${PKG_CONFIG+:} false; then :
15140 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15144 if ${FAUDIO_LIBS:+false} :; then :
15145 if ${PKG_CONFIG+:} false; then :
15146 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15150 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15151 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15152 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15153 ac_save_CPPFLAGS=$CPPFLAGS
15154 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15155 for ac_header in FAudio.h
15156 do :
15157 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15158 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15159 cat >>confdefs.h <<_ACEOF
15160 #define HAVE_FAUDIO_H 1
15161 _ACEOF
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15163 $as_echo_n "checking for -lFAudio... " >&6; }
15164 if ${ac_cv_lib_soname_FAudio+:} false; then :
15165 $as_echo_n "(cached) " >&6
15166 else
15167 ac_check_soname_save_LIBS=$LIBS
15168 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15172 /* Override any GCC internal prototype to avoid an error.
15173 Use char because int might match the return type of a GCC
15174 builtin and then its argument prototype would still apply. */
15175 #ifdef __cplusplus
15176 extern "C"
15177 #endif
15178 char FAudioCreate ();
15180 main ()
15182 return FAudioCreate ();
15184 return 0;
15186 _ACEOF
15187 if ac_fn_c_try_link "$LINENO"; then :
15188 case "$LIBEXT" in
15189 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15190 dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15191 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15192 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15193 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15194 fi ;;
15195 esac
15196 else
15197 ac_cv_lib_soname_FAudio=
15199 rm -f core conftest.err conftest.$ac_objext \
15200 conftest$ac_exeext conftest.$ac_ext
15201 LIBS=$ac_check_soname_save_LIBS
15203 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15205 $as_echo "not found" >&6; }
15207 else
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15209 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15211 cat >>confdefs.h <<_ACEOF
15212 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15213 _ACEOF
15219 done
15221 ac_wine_check_funcs_save_LIBS="$LIBS"
15222 LIBS="$LIBS $FAUDIO_LIBS"
15223 for ac_func in FAudio_CommitOperationSet \
15224 F3DAudioInitialize8 \
15225 FAudioLinkedVersion \
15226 FAudioCreateReverb9WithCustomAllocatorEXT
15227 do :
15228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15229 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15230 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15231 cat >>confdefs.h <<_ACEOF
15232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15233 _ACEOF
15236 done
15238 LIBS="$ac_wine_check_funcs_save_LIBS"
15240 CPPFLAGS=$ac_save_CPPFLAGS
15243 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15244 case "x$with_faudio" in
15245 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15246 xno) ;;
15247 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15248 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15249 esac
15253 if test "x$with_capi" != "xno"
15254 then
15255 if ${CAPI20_CFLAGS:+false} :; then :
15256 if ${PKG_CONFIG+:} false; then :
15257 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15261 if ${CAPI20_LIBS:+false} :; then :
15262 if ${PKG_CONFIG+:} false; then :
15263 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15268 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15269 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15270 ac_save_CPPFLAGS=$CPPFLAGS
15271 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15272 for ac_header in capi20.h linux/capi.h
15273 do :
15274 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15275 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15277 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15278 cat >>confdefs.h <<_ACEOF
15279 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15280 _ACEOF
15284 done
15286 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15287 then
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15289 $as_echo_n "checking for -lcapi20... " >&6; }
15290 if ${ac_cv_lib_soname_capi20+:} false; then :
15291 $as_echo_n "(cached) " >&6
15292 else
15293 ac_check_soname_save_LIBS=$LIBS
15294 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15296 /* end confdefs.h. */
15298 /* Override any GCC internal prototype to avoid an error.
15299 Use char because int might match the return type of a GCC
15300 builtin and then its argument prototype would still apply. */
15301 #ifdef __cplusplus
15302 extern "C"
15303 #endif
15304 char capi20_register ();
15306 main ()
15308 return capi20_register ();
15310 return 0;
15312 _ACEOF
15313 if ac_fn_c_try_link "$LINENO"; then :
15314 case "$LIBEXT" in
15315 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15316 dylib) ac_cv_lib_soname_capi20=`$OTOOL -L conftest$ac_exeext | grep "libcapi20\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15317 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15318 if ${ac_cv_lib_soname_capi20:+false} :; then :
15319 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15320 fi ;;
15321 esac
15322 else
15323 ac_cv_lib_soname_capi20=
15325 rm -f core conftest.err conftest.$ac_objext \
15326 conftest$ac_exeext conftest.$ac_ext
15327 LIBS=$ac_check_soname_save_LIBS
15329 if ${ac_cv_lib_soname_capi20:+false} :; then :
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15331 $as_echo "not found" >&6; }
15333 else
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15335 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15337 cat >>confdefs.h <<_ACEOF
15338 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15339 _ACEOF
15344 CPPFLAGS=$ac_save_CPPFLAGS
15347 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15348 case "x$with_capi" in
15349 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15350 xno) ;;
15351 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15352 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15353 esac
15357 if test "x$with_cups" != "xno"
15358 then
15359 if ${CUPS_CFLAGS:+false} :; then :
15360 if ${PKG_CONFIG+:} false; then :
15361 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15364 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15365 if ${CUPS_LIBS:+false} :; then :
15366 if ${PKG_CONFIG+:} false; then :
15367 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15370 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15371 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15372 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15373 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15374 ac_save_CPPFLAGS=$CPPFLAGS
15375 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15376 for ac_header in cups/cups.h cups/ppd.h
15377 do :
15378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15379 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15380 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15381 cat >>confdefs.h <<_ACEOF
15382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15383 _ACEOF
15387 done
15389 if test "$ac_cv_header_cups_cups_h" = "yes"
15390 then
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15392 $as_echo_n "checking for -lcups... " >&6; }
15393 if ${ac_cv_lib_soname_cups+:} false; then :
15394 $as_echo_n "(cached) " >&6
15395 else
15396 ac_check_soname_save_LIBS=$LIBS
15397 LIBS="-lcups $CUPS_LIBS $LIBS"
15398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15401 /* Override any GCC internal prototype to avoid an error.
15402 Use char because int might match the return type of a GCC
15403 builtin and then its argument prototype would still apply. */
15404 #ifdef __cplusplus
15405 extern "C"
15406 #endif
15407 char cupsGetDefault ();
15409 main ()
15411 return cupsGetDefault ();
15413 return 0;
15415 _ACEOF
15416 if ac_fn_c_try_link "$LINENO"; then :
15417 case "$LIBEXT" in
15418 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15419 dylib) ac_cv_lib_soname_cups=`$OTOOL -L conftest$ac_exeext | grep "libcups\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15420 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15421 if ${ac_cv_lib_soname_cups:+false} :; then :
15422 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15423 fi ;;
15424 esac
15425 else
15426 ac_cv_lib_soname_cups=
15428 rm -f core conftest.err conftest.$ac_objext \
15429 conftest$ac_exeext conftest.$ac_ext
15430 LIBS=$ac_check_soname_save_LIBS
15432 if ${ac_cv_lib_soname_cups:+false} :; then :
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15434 $as_echo "not found" >&6; }
15435 CUPS_LIBS=""
15436 else
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15438 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15440 cat >>confdefs.h <<_ACEOF
15441 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15442 _ACEOF
15446 else
15447 CUPS_CFLAGS=""
15448 CUPS_LIBS=""
15450 CPPFLAGS=$ac_save_CPPFLAGS
15453 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15454 case "x$with_cups" in
15455 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15456 xno) ;;
15457 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15458 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15459 esac
15463 if test "x$with_fontconfig" != "xno"
15464 then
15465 if ${FONTCONFIG_CFLAGS:+false} :; then :
15466 if ${PKG_CONFIG+:} false; then :
15467 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15470 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15471 if ${FONTCONFIG_LIBS:+false} :; then :
15472 if ${PKG_CONFIG+:} false; then :
15473 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15476 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15478 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15479 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15480 ac_save_CPPFLAGS=$CPPFLAGS
15481 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15482 for ac_header in fontconfig/fontconfig.h
15483 do :
15484 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15485 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15486 cat >>confdefs.h <<_ACEOF
15487 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15488 _ACEOF
15492 done
15494 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15495 then
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15497 $as_echo_n "checking for -lfontconfig... " >&6; }
15498 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15499 $as_echo_n "(cached) " >&6
15500 else
15501 ac_check_soname_save_LIBS=$LIBS
15502 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15504 /* end confdefs.h. */
15506 /* Override any GCC internal prototype to avoid an error.
15507 Use char because int might match the return type of a GCC
15508 builtin and then its argument prototype would still apply. */
15509 #ifdef __cplusplus
15510 extern "C"
15511 #endif
15512 char FcInit ();
15514 main ()
15516 return FcInit ();
15518 return 0;
15520 _ACEOF
15521 if ac_fn_c_try_link "$LINENO"; then :
15522 case "$LIBEXT" in
15523 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15524 dylib) ac_cv_lib_soname_fontconfig=`$OTOOL -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15525 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15526 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15527 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15528 fi ;;
15529 esac
15530 else
15531 ac_cv_lib_soname_fontconfig=
15533 rm -f core conftest.err conftest.$ac_objext \
15534 conftest$ac_exeext conftest.$ac_ext
15535 LIBS=$ac_check_soname_save_LIBS
15537 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15539 $as_echo "not found" >&6; }
15540 FONTCONFIG_CFLAGS=""
15541 else
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15543 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15545 cat >>confdefs.h <<_ACEOF
15546 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15547 _ACEOF
15551 else
15552 FONTCONFIG_CFLAGS=""
15554 CPPFLAGS=$ac_save_CPPFLAGS
15557 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15558 case "x$with_fontconfig" in
15559 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15560 xno) ;;
15561 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15562 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15563 esac
15567 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15568 then
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15570 $as_echo_n "checking for -lgsm... " >&6; }
15571 if ${ac_cv_lib_soname_gsm+:} false; then :
15572 $as_echo_n "(cached) " >&6
15573 else
15574 ac_check_soname_save_LIBS=$LIBS
15575 LIBS="-lgsm $LIBS"
15576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15577 /* end confdefs.h. */
15579 /* Override any GCC internal prototype to avoid an error.
15580 Use char because int might match the return type of a GCC
15581 builtin and then its argument prototype would still apply. */
15582 #ifdef __cplusplus
15583 extern "C"
15584 #endif
15585 char gsm_create ();
15587 main ()
15589 return gsm_create ();
15591 return 0;
15593 _ACEOF
15594 if ac_fn_c_try_link "$LINENO"; then :
15595 case "$LIBEXT" in
15596 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15597 dylib) ac_cv_lib_soname_gsm=`$OTOOL -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15598 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15599 if ${ac_cv_lib_soname_gsm:+false} :; then :
15600 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15601 fi ;;
15602 esac
15603 else
15604 ac_cv_lib_soname_gsm=
15606 rm -f core conftest.err conftest.$ac_objext \
15607 conftest$ac_exeext conftest.$ac_ext
15608 LIBS=$ac_check_soname_save_LIBS
15610 if ${ac_cv_lib_soname_gsm:+false} :; then :
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15612 $as_echo "not found" >&6; }
15614 else
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15616 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15618 cat >>confdefs.h <<_ACEOF
15619 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15620 _ACEOF
15625 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15626 case "x$with_gsm" in
15627 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15628 xno) ;;
15629 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15630 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15631 esac
15635 if test "x$with_krb5" != "xno"
15636 then
15637 if ${KRB5_CFLAGS:+false} :; then :
15638 if ${PKG_CONFIG+:} false; then :
15639 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15642 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15643 if ${KRB5_LIBS:+false} :; then :
15644 if ${PKG_CONFIG+:} false; then :
15645 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15648 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15650 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15651 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15652 ac_save_CPPFLAGS=$CPPFLAGS
15653 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15654 for ac_header in krb5/krb5.h
15655 do :
15656 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15657 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15658 cat >>confdefs.h <<_ACEOF
15659 #define HAVE_KRB5_KRB5_H 1
15660 _ACEOF
15664 done
15666 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15667 then
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15669 $as_echo_n "checking for -lkrb5... " >&6; }
15670 if ${ac_cv_lib_soname_krb5+:} false; then :
15671 $as_echo_n "(cached) " >&6
15672 else
15673 ac_check_soname_save_LIBS=$LIBS
15674 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15676 /* end confdefs.h. */
15678 /* Override any GCC internal prototype to avoid an error.
15679 Use char because int might match the return type of a GCC
15680 builtin and then its argument prototype would still apply. */
15681 #ifdef __cplusplus
15682 extern "C"
15683 #endif
15684 char krb5_is_config_principal ();
15686 main ()
15688 return krb5_is_config_principal ();
15690 return 0;
15692 _ACEOF
15693 if ac_fn_c_try_link "$LINENO"; then :
15694 case "$LIBEXT" in
15695 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15696 dylib) ac_cv_lib_soname_krb5=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15697 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15698 if ${ac_cv_lib_soname_krb5:+false} :; then :
15699 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15700 fi ;;
15701 esac
15702 else
15703 ac_cv_lib_soname_krb5=
15705 rm -f core conftest.err conftest.$ac_objext \
15706 conftest$ac_exeext conftest.$ac_ext
15707 LIBS=$ac_check_soname_save_LIBS
15709 if ${ac_cv_lib_soname_krb5:+false} :; then :
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15711 $as_echo "not found" >&6; }
15712 KRB5_CFLAGS=""
15713 else
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15715 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15717 cat >>confdefs.h <<_ACEOF
15718 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15719 _ACEOF
15723 else
15724 KRB5_CFLAGS=""
15726 CPPFLAGS=$ac_save_CPPFLAGS
15729 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15730 case "x$with_krb5" in
15731 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15732 xno) ;;
15733 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15734 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15735 esac
15738 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15740 if test "x$with_gssapi" != "xno"
15741 then
15742 if ${GSSAPI_CFLAGS:+false} :; then :
15743 if ${PKG_CONFIG+:} false; then :
15744 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15747 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15748 if ${GSSAPI_LIBS:+false} :; then :
15749 if ${PKG_CONFIG+:} false; then :
15750 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15753 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15755 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15756 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15757 ac_save_CPPFLAGS=$CPPFLAGS
15758 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15759 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15760 do :
15761 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15762 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15763 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15764 cat >>confdefs.h <<_ACEOF
15765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15766 _ACEOF
15770 done
15772 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15773 then
15774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15775 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15776 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15777 $as_echo_n "(cached) " >&6
15778 else
15779 ac_check_soname_save_LIBS=$LIBS
15780 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15784 /* Override any GCC internal prototype to avoid an error.
15785 Use char because int might match the return type of a GCC
15786 builtin and then its argument prototype would still apply. */
15787 #ifdef __cplusplus
15788 extern "C"
15789 #endif
15790 char gss_init_sec_context ();
15792 main ()
15794 return gss_init_sec_context ();
15796 return 0;
15798 _ACEOF
15799 if ac_fn_c_try_link "$LINENO"; then :
15800 case "$LIBEXT" in
15801 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15802 dylib) ac_cv_lib_soname_gssapi_krb5=`$OTOOL -L conftest$ac_exeext | grep "libgssapi_krb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgssapi_krb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15803 *) ac_cv_lib_soname_gssapi_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgssapi_krb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15804 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15805 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15806 fi ;;
15807 esac
15808 else
15809 ac_cv_lib_soname_gssapi_krb5=
15811 rm -f core conftest.err conftest.$ac_objext \
15812 conftest$ac_exeext conftest.$ac_ext
15813 LIBS=$ac_check_soname_save_LIBS
15815 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15817 $as_echo "not found" >&6; }
15818 GSSAPI_CFLAGS=""
15819 else
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15821 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15823 cat >>confdefs.h <<_ACEOF
15824 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15825 _ACEOF
15829 else
15830 GSSAPI_CFLAGS=""
15832 CPPFLAGS=$ac_save_CPPFLAGS
15835 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15836 case "x$with_gssapi" in
15837 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15838 xno) ;;
15839 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15840 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15841 esac
15845 if test "x$with_jpeg" != "xno"
15846 then
15847 if ${JPEG_CFLAGS:+false} :; then :
15848 if ${PKG_CONFIG+:} false; then :
15849 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15853 if ${JPEG_LIBS:+false} :; then :
15854 if ${PKG_CONFIG+:} false; then :
15855 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15860 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15861 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15862 ac_save_CPPFLAGS=$CPPFLAGS
15863 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15864 for ac_header in jpeglib.h
15865 do :
15866 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15867 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15868 cat >>confdefs.h <<_ACEOF
15869 #define HAVE_JPEGLIB_H 1
15870 _ACEOF
15874 done
15876 if test "$ac_cv_header_jpeglib_h" = "yes"
15877 then
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15879 $as_echo_n "checking for -ljpeg... " >&6; }
15880 if ${ac_cv_lib_soname_jpeg+:} false; then :
15881 $as_echo_n "(cached) " >&6
15882 else
15883 ac_check_soname_save_LIBS=$LIBS
15884 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15886 /* end confdefs.h. */
15888 /* Override any GCC internal prototype to avoid an error.
15889 Use char because int might match the return type of a GCC
15890 builtin and then its argument prototype would still apply. */
15891 #ifdef __cplusplus
15892 extern "C"
15893 #endif
15894 char jpeg_start_decompress ();
15896 main ()
15898 return jpeg_start_decompress ();
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_link "$LINENO"; then :
15904 case "$LIBEXT" in
15905 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15906 dylib) ac_cv_lib_soname_jpeg=`$OTOOL -L conftest$ac_exeext | grep "libjpeg\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15907 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15908 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15909 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15910 fi ;;
15911 esac
15912 else
15913 ac_cv_lib_soname_jpeg=
15915 rm -f core conftest.err conftest.$ac_objext \
15916 conftest$ac_exeext conftest.$ac_ext
15917 LIBS=$ac_check_soname_save_LIBS
15919 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15921 $as_echo "not found" >&6; }
15922 JPEG_CFLAGS=""
15923 else
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15925 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15927 cat >>confdefs.h <<_ACEOF
15928 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15929 _ACEOF
15933 else
15934 JPEG_CFLAGS=""
15936 CPPFLAGS=$ac_save_CPPFLAGS
15939 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15940 case "x$with_jpeg" in
15941 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15942 xno) ;;
15943 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15944 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15945 esac
15949 if test "x$with_jxrlib" != "xno"
15950 then
15951 if ${JXRLIB_CFLAGS:+false} :; then :
15952 if ${PKG_CONFIG+:} false; then :
15953 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15956 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15957 if ${JXRLIB_LIBS:+false} :; then :
15958 if ${PKG_CONFIG+:} false; then :
15959 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15964 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15965 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15966 ac_save_CPPFLAGS=$CPPFLAGS
15967 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15968 for ac_header in JXRGlue.h
15969 do :
15970 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15972 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15973 cat >>confdefs.h <<_ACEOF
15974 #define HAVE_JXRGLUE_H 1
15975 _ACEOF
15979 done
15981 if test "$ac_cv_header_JXRGlue_h" = "yes"
15982 then
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15984 $as_echo_n "checking for -ljxrglue... " >&6; }
15985 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15986 $as_echo_n "(cached) " >&6
15987 else
15988 ac_check_soname_save_LIBS=$LIBS
15989 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15991 /* end confdefs.h. */
15993 /* Override any GCC internal prototype to avoid an error.
15994 Use char because int might match the return type of a GCC
15995 builtin and then its argument prototype would still apply. */
15996 #ifdef __cplusplus
15997 extern "C"
15998 #endif
15999 char PKImageDecode_Create_WMP ();
16001 main ()
16003 return PKImageDecode_Create_WMP ();
16005 return 0;
16007 _ACEOF
16008 if ac_fn_c_try_link "$LINENO"; then :
16009 case "$LIBEXT" in
16010 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16011 dylib) ac_cv_lib_soname_jxrglue=`$OTOOL -L conftest$ac_exeext | grep "libjxrglue\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjxrglue\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16012 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16013 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16014 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16015 fi ;;
16016 esac
16017 else
16018 ac_cv_lib_soname_jxrglue=
16020 rm -f core conftest.err conftest.$ac_objext \
16021 conftest$ac_exeext conftest.$ac_ext
16022 LIBS=$ac_check_soname_save_LIBS
16024 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16026 $as_echo "not found" >&6; }
16027 JXRLIB_CFLAGS=""
16028 else
16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16030 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16032 cat >>confdefs.h <<_ACEOF
16033 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16034 _ACEOF
16038 else
16039 JXRLIB_CFLAGS=""
16041 CPPFLAGS=$ac_save_CPPFLAGS
16044 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16045 case "x$with_jxrlib" in
16046 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16047 xno) ;;
16048 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16049 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16050 esac
16054 if test "x$with_png" != "xno"
16055 then
16056 if ${PNG_CFLAGS:+false} :; then :
16057 if ${PKG_CONFIG+:} false; then :
16058 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16061 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16062 if ${PNG_LIBS:+false} :; then :
16063 if ${PKG_CONFIG+:} false; then :
16064 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16067 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16069 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16070 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16071 ac_save_CPPFLAGS=$CPPFLAGS
16072 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16073 for ac_header in png.h
16074 do :
16075 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16076 if test "x$ac_cv_header_png_h" = xyes; then :
16077 cat >>confdefs.h <<_ACEOF
16078 #define HAVE_PNG_H 1
16079 _ACEOF
16083 done
16085 if test "$ac_cv_header_png_h" = "yes"
16086 then
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16088 $as_echo_n "checking for -lpng... " >&6; }
16089 if ${ac_cv_lib_soname_png+:} false; then :
16090 $as_echo_n "(cached) " >&6
16091 else
16092 ac_check_soname_save_LIBS=$LIBS
16093 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16095 /* end confdefs.h. */
16097 /* Override any GCC internal prototype to avoid an error.
16098 Use char because int might match the return type of a GCC
16099 builtin and then its argument prototype would still apply. */
16100 #ifdef __cplusplus
16101 extern "C"
16102 #endif
16103 char png_create_read_struct ();
16105 main ()
16107 return png_create_read_struct ();
16109 return 0;
16111 _ACEOF
16112 if ac_fn_c_try_link "$LINENO"; then :
16113 case "$LIBEXT" in
16114 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16115 dylib) ac_cv_lib_soname_png=`$OTOOL -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16116 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16117 if ${ac_cv_lib_soname_png:+false} :; then :
16118 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16119 fi ;;
16120 esac
16121 else
16122 ac_cv_lib_soname_png=
16124 rm -f core conftest.err conftest.$ac_objext \
16125 conftest$ac_exeext conftest.$ac_ext
16126 LIBS=$ac_check_soname_save_LIBS
16128 if ${ac_cv_lib_soname_png:+false} :; then :
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16130 $as_echo "not found" >&6; }
16131 PNG_CFLAGS=""
16132 else
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16134 $as_echo "$ac_cv_lib_soname_png" >&6; }
16136 cat >>confdefs.h <<_ACEOF
16137 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16138 _ACEOF
16142 else
16143 PNG_CFLAGS=""
16145 CPPFLAGS=$ac_save_CPPFLAGS
16148 if test "x$ac_cv_lib_soname_png" = "x"; then :
16149 case "x$with_png" in
16150 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16151 xno) ;;
16152 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16153 This is an error since --with-png was requested." "$LINENO" 5 ;;
16154 esac
16158 if test "x$with_tiff" != "xno"
16159 then
16160 if ${TIFF_CFLAGS:+false} :; then :
16161 if ${PKG_CONFIG+:} false; then :
16162 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16166 if ${TIFF_LIBS:+false} :; then :
16167 if ${PKG_CONFIG+:} false; then :
16168 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16173 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16174 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16175 ac_save_CPPFLAGS=$CPPFLAGS
16176 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16177 for ac_header in tiffio.h
16178 do :
16179 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16180 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16181 cat >>confdefs.h <<_ACEOF
16182 #define HAVE_TIFFIO_H 1
16183 _ACEOF
16187 done
16189 if test "$ac_cv_header_tiffio_h" = "yes"
16190 then
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16192 $as_echo_n "checking for -ltiff... " >&6; }
16193 if ${ac_cv_lib_soname_tiff+:} false; then :
16194 $as_echo_n "(cached) " >&6
16195 else
16196 ac_check_soname_save_LIBS=$LIBS
16197 LIBS="-ltiff $TIFF_LIBS $LIBS"
16198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16199 /* end confdefs.h. */
16201 /* Override any GCC internal prototype to avoid an error.
16202 Use char because int might match the return type of a GCC
16203 builtin and then its argument prototype would still apply. */
16204 #ifdef __cplusplus
16205 extern "C"
16206 #endif
16207 char TIFFClientOpen ();
16209 main ()
16211 return TIFFClientOpen ();
16213 return 0;
16215 _ACEOF
16216 if ac_fn_c_try_link "$LINENO"; then :
16217 case "$LIBEXT" in
16218 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16219 dylib) ac_cv_lib_soname_tiff=`$OTOOL -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16220 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16221 if ${ac_cv_lib_soname_tiff:+false} :; then :
16222 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16223 fi ;;
16224 esac
16225 else
16226 ac_cv_lib_soname_tiff=
16228 rm -f core conftest.err conftest.$ac_objext \
16229 conftest$ac_exeext conftest.$ac_ext
16230 LIBS=$ac_check_soname_save_LIBS
16232 if ${ac_cv_lib_soname_tiff:+false} :; then :
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16234 $as_echo "not found" >&6; }
16236 else
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16238 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16240 cat >>confdefs.h <<_ACEOF
16241 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16242 _ACEOF
16247 CPPFLAGS=$ac_save_CPPFLAGS
16250 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16251 case "x$with_tiff" in
16252 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16253 xno) ;;
16254 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16255 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16256 esac
16260 if test "x$with_mpg123" != "xno"
16261 then
16262 if ${MPG123_CFLAGS:+false} :; then :
16263 if ${PKG_CONFIG+:} false; then :
16264 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16268 if ${MPG123_LIBS:+false} :; then :
16269 if ${PKG_CONFIG+:} false; then :
16270 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16274 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16275 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16276 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16277 ac_save_CPPFLAGS=$CPPFLAGS
16278 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16279 for ac_header in mpg123.h
16280 do :
16281 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16282 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16283 cat >>confdefs.h <<_ACEOF
16284 #define HAVE_MPG123_H 1
16285 _ACEOF
16289 done
16291 if test "$ac_cv_header_mpg123_h" = "yes"
16292 then
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16294 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16295 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16296 $as_echo_n "(cached) " >&6
16297 else
16298 ac_check_lib_save_LIBS=$LIBS
16299 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16301 /* end confdefs.h. */
16303 /* Override any GCC internal prototype to avoid an error.
16304 Use char because int might match the return type of a GCC
16305 builtin and then its argument prototype would still apply. */
16306 #ifdef __cplusplus
16307 extern "C"
16308 #endif
16309 char mpg123_feed ();
16311 main ()
16313 return mpg123_feed ();
16315 return 0;
16317 _ACEOF
16318 if ac_fn_c_try_link "$LINENO"; then :
16319 ac_cv_lib_mpg123_mpg123_feed=yes
16320 else
16321 ac_cv_lib_mpg123_mpg123_feed=no
16323 rm -f core conftest.err conftest.$ac_objext \
16324 conftest$ac_exeext conftest.$ac_ext
16325 LIBS=$ac_check_lib_save_LIBS
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16328 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16329 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16331 else
16332 MPG123_LIBS=""
16335 else
16336 MPG123_CFLAGS=""
16337 MPG123_LIBS=""
16339 CPPFLAGS=$ac_save_CPPFLAGS
16342 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16343 case "x$with_mpg123" in
16344 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16345 xno) ;;
16346 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16347 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16348 esac
16349 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16351 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16353 if test "$ac_cv_header_AL_al_h" = "yes"
16354 then
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16356 $as_echo_n "checking for -lopenal... " >&6; }
16357 if ${ac_cv_lib_soname_openal+:} false; then :
16358 $as_echo_n "(cached) " >&6
16359 else
16360 ac_check_soname_save_LIBS=$LIBS
16361 LIBS="-lopenal $LIBS"
16362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16363 /* end confdefs.h. */
16365 /* Override any GCC internal prototype to avoid an error.
16366 Use char because int might match the return type of a GCC
16367 builtin and then its argument prototype would still apply. */
16368 #ifdef __cplusplus
16369 extern "C"
16370 #endif
16371 char alGetSource3i ();
16373 main ()
16375 return alGetSource3i ();
16377 return 0;
16379 _ACEOF
16380 if ac_fn_c_try_link "$LINENO"; then :
16381 case "$LIBEXT" in
16382 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16383 dylib) ac_cv_lib_soname_openal=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16384 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16385 if ${ac_cv_lib_soname_openal:+false} :; then :
16386 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16387 fi ;;
16388 esac
16389 else
16390 ac_cv_lib_soname_openal=
16392 rm -f core conftest.err conftest.$ac_objext \
16393 conftest$ac_exeext conftest.$ac_ext
16394 LIBS=$ac_check_soname_save_LIBS
16396 if ${ac_cv_lib_soname_openal:+false} :; then :
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16398 $as_echo "not found" >&6; }
16400 else
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16402 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16404 cat >>confdefs.h <<_ACEOF
16405 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16406 _ACEOF
16408 OPENAL_LIBS="-lopenal"
16410 ac_cv_lib_openal=yes
16412 cat >>confdefs.h <<_ACEOF
16413 #define HAVE_OPENAL 1
16414 _ACEOF
16418 if test "x$ac_cv_lib_openal" != xyes; then :
16419 case "x$with_openal" in
16420 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16421 xno) ;;
16422 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16423 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16424 esac
16425 enable_openal32=${enable_openal32:-no}
16428 if test "x$ac_cv_lib_soname_FAudio" = "x"
16429 then
16430 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16431 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16432 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16433 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16434 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16435 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16436 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16437 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16438 enable_xactengine3_0=${enable_xactengine3_0:-no}
16439 enable_xactengine3_1=${enable_xactengine3_1:-no}
16440 enable_xactengine3_2=${enable_xactengine3_2:-no}
16441 enable_xactengine3_3=${enable_xactengine3_3:-no}
16442 enable_xactengine3_4=${enable_xactengine3_4:-no}
16443 enable_xactengine3_5=${enable_xactengine3_5:-no}
16444 enable_xactengine3_6=${enable_xactengine3_6:-no}
16445 enable_xactengine3_7=${enable_xactengine3_7:-no}
16446 enable_xapofx1_1=${enable_xapofx1_1:-no}
16447 enable_xapofx1_2=${enable_xapofx1_2:-no}
16448 enable_xapofx1_3=${enable_xapofx1_3:-no}
16449 enable_xapofx1_4=${enable_xapofx1_4:-no}
16450 enable_xapofx1_5=${enable_xapofx1_5:-no}
16451 enable_xaudio2_0=${enable_xaudio2_0:-no}
16452 enable_xaudio2_1=${enable_xaudio2_1:-no}
16453 enable_xaudio2_2=${enable_xaudio2_2:-no}
16454 enable_xaudio2_3=${enable_xaudio2_3:-no}
16455 enable_xaudio2_4=${enable_xaudio2_4:-no}
16456 enable_xaudio2_5=${enable_xaudio2_5:-no}
16457 enable_xaudio2_6=${enable_xaudio2_6:-no}
16458 enable_xaudio2_7=${enable_xaudio2_7:-no}
16459 enable_xaudio2_8=${enable_xaudio2_8:-no}
16460 enable_xaudio2_9=${enable_xaudio2_9:-no}
16463 if test "$ac_cv_header_kstat_h" = "yes"
16464 then
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16466 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16467 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16468 $as_echo_n "(cached) " >&6
16469 else
16470 ac_check_lib_save_LIBS=$LIBS
16471 LIBS="-lkstat $LIBS"
16472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16473 /* end confdefs.h. */
16475 /* Override any GCC internal prototype to avoid an error.
16476 Use char because int might match the return type of a GCC
16477 builtin and then its argument prototype would still apply. */
16478 #ifdef __cplusplus
16479 extern "C"
16480 #endif
16481 char kstat_open ();
16483 main ()
16485 return kstat_open ();
16487 return 0;
16489 _ACEOF
16490 if ac_fn_c_try_link "$LINENO"; then :
16491 ac_cv_lib_kstat_kstat_open=yes
16492 else
16493 ac_cv_lib_kstat_kstat_open=no
16495 rm -f core conftest.err conftest.$ac_objext \
16496 conftest$ac_exeext conftest.$ac_ext
16497 LIBS=$ac_check_lib_save_LIBS
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16500 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16501 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16503 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16505 KSTAT_LIBS="-lkstat"
16511 if test "$ac_cv_header_libprocstat_h" = "yes"
16512 then
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16514 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16515 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16516 $as_echo_n "(cached) " >&6
16517 else
16518 ac_check_lib_save_LIBS=$LIBS
16519 LIBS="-lprocstat $LIBS"
16520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16521 /* end confdefs.h. */
16523 /* Override any GCC internal prototype to avoid an error.
16524 Use char because int might match the return type of a GCC
16525 builtin and then its argument prototype would still apply. */
16526 #ifdef __cplusplus
16527 extern "C"
16528 #endif
16529 char procstat_open_sysctl ();
16531 main ()
16533 return procstat_open_sysctl ();
16535 return 0;
16537 _ACEOF
16538 if ac_fn_c_try_link "$LINENO"; then :
16539 ac_cv_lib_procstat_procstat_open_sysctl=yes
16540 else
16541 ac_cv_lib_procstat_procstat_open_sysctl=no
16543 rm -f core conftest.err conftest.$ac_objext \
16544 conftest$ac_exeext conftest.$ac_ext
16545 LIBS=$ac_check_lib_save_LIBS
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16548 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16549 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16551 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16553 PROCSTAT_LIBS="-lprocstat"
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16560 $as_echo_n "checking for -lodbc... " >&6; }
16561 if ${ac_cv_lib_soname_odbc+:} false; then :
16562 $as_echo_n "(cached) " >&6
16563 else
16564 ac_check_soname_save_LIBS=$LIBS
16565 LIBS="-lodbc $LIBS"
16566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h. */
16569 /* Override any GCC internal prototype to avoid an error.
16570 Use char because int might match the return type of a GCC
16571 builtin and then its argument prototype would still apply. */
16572 #ifdef __cplusplus
16573 extern "C"
16574 #endif
16575 char SQLConnect ();
16577 main ()
16579 return SQLConnect ();
16581 return 0;
16583 _ACEOF
16584 if ac_fn_c_try_link "$LINENO"; then :
16585 case "$LIBEXT" in
16586 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16587 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'` ;;
16588 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16589 if ${ac_cv_lib_soname_odbc:+false} :; then :
16590 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16591 fi ;;
16592 esac
16593 else
16594 ac_cv_lib_soname_odbc=
16596 rm -f core conftest.err conftest.$ac_objext \
16597 conftest$ac_exeext conftest.$ac_ext
16598 LIBS=$ac_check_soname_save_LIBS
16600 if ${ac_cv_lib_soname_odbc:+false} :; then :
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16602 $as_echo "not found" >&6; }
16603 cat >>confdefs.h <<_ACEOF
16604 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16605 _ACEOF
16607 else
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16609 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16611 cat >>confdefs.h <<_ACEOF
16612 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16613 _ACEOF
16618 if test "x$with_netapi" != "xno"
16619 then
16620 if ${NETAPI_CFLAGS:+false} :; then :
16621 if ${PKG_CONFIG+:} false; then :
16622 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16626 if ${NETAPI_LIBS:+false} :; then :
16627 if ${PKG_CONFIG+:} false; then :
16628 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16633 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16634 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16635 ac_save_CPPFLAGS=$CPPFLAGS
16636 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16638 $as_echo_n "checking for -lnetapi... " >&6; }
16639 if ${ac_cv_lib_soname_netapi+:} false; then :
16640 $as_echo_n "(cached) " >&6
16641 else
16642 ac_check_soname_save_LIBS=$LIBS
16643 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16645 /* end confdefs.h. */
16647 /* Override any GCC internal prototype to avoid an error.
16648 Use char because int might match the return type of a GCC
16649 builtin and then its argument prototype would still apply. */
16650 #ifdef __cplusplus
16651 extern "C"
16652 #endif
16653 char libnetapi_init ();
16655 main ()
16657 return libnetapi_init ();
16659 return 0;
16661 _ACEOF
16662 if ac_fn_c_try_link "$LINENO"; then :
16663 case "$LIBEXT" in
16664 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16665 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'` ;;
16666 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16667 if ${ac_cv_lib_soname_netapi:+false} :; then :
16668 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16669 fi ;;
16670 esac
16671 else
16672 ac_cv_lib_soname_netapi=
16674 rm -f core conftest.err conftest.$ac_objext \
16675 conftest$ac_exeext conftest.$ac_ext
16676 LIBS=$ac_check_soname_save_LIBS
16678 if ${ac_cv_lib_soname_netapi:+false} :; then :
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16680 $as_echo "not found" >&6; }
16681 cat >>confdefs.h <<_ACEOF
16682 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16683 _ACEOF
16685 else
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16687 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16689 cat >>confdefs.h <<_ACEOF
16690 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16691 _ACEOF
16695 CPPFLAGS=$ac_save_CPPFLAGS
16699 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16700 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16701 then
16702 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16705 if test "x$with_vulkan" != "xno"
16706 then
16707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16708 $as_echo_n "checking for -lvulkan... " >&6; }
16709 if ${ac_cv_lib_soname_vulkan+:} false; then :
16710 $as_echo_n "(cached) " >&6
16711 else
16712 ac_check_soname_save_LIBS=$LIBS
16713 LIBS="-lvulkan $LIBS"
16714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16717 /* Override any GCC internal prototype to avoid an error.
16718 Use char because int might match the return type of a GCC
16719 builtin and then its argument prototype would still apply. */
16720 #ifdef __cplusplus
16721 extern "C"
16722 #endif
16723 char vkGetInstanceProcAddr ();
16725 main ()
16727 return vkGetInstanceProcAddr ();
16729 return 0;
16731 _ACEOF
16732 if ac_fn_c_try_link "$LINENO"; then :
16733 case "$LIBEXT" in
16734 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16735 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'` ;;
16736 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16737 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16738 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16739 fi ;;
16740 esac
16741 else
16742 ac_cv_lib_soname_vulkan=
16744 rm -f core conftest.err conftest.$ac_objext \
16745 conftest$ac_exeext conftest.$ac_ext
16746 LIBS=$ac_check_soname_save_LIBS
16748 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16750 $as_echo "not found" >&6; }
16752 else
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16754 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16756 cat >>confdefs.h <<_ACEOF
16757 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16758 _ACEOF
16762 if test "x$ac_cv_lib_soname_vulkan" = "x"
16763 then
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16765 $as_echo_n "checking for -lMoltenVK... " >&6; }
16766 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16767 $as_echo_n "(cached) " >&6
16768 else
16769 ac_check_soname_save_LIBS=$LIBS
16770 LIBS="-lMoltenVK $LIBS"
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h. */
16774 /* Override any GCC internal prototype to avoid an error.
16775 Use char because int might match the return type of a GCC
16776 builtin and then its argument prototype would still apply. */
16777 #ifdef __cplusplus
16778 extern "C"
16779 #endif
16780 char vkGetInstanceProcAddr ();
16782 main ()
16784 return vkGetInstanceProcAddr ();
16786 return 0;
16788 _ACEOF
16789 if ac_fn_c_try_link "$LINENO"; then :
16790 case "$LIBEXT" in
16791 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16792 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'` ;;
16793 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16794 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16795 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16796 fi ;;
16797 esac
16798 else
16799 ac_cv_lib_soname_MoltenVK=
16801 rm -f core conftest.err conftest.$ac_objext \
16802 conftest$ac_exeext conftest.$ac_ext
16803 LIBS=$ac_check_soname_save_LIBS
16805 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16807 $as_echo "not found" >&6; }
16809 else
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16811 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16813 cat >>confdefs.h <<_ACEOF
16814 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16815 _ACEOF
16821 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16822 case "x$with_vulkan" in
16823 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16824 xno) ;;
16825 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16826 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16827 esac
16831 if test "x$with_vkd3d" != "xno"
16832 then
16833 if ${VKD3D_CFLAGS:+false} :; then :
16834 if ${PKG_CONFIG+:} false; then :
16835 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16839 if ${VKD3D_LIBS:+false} :; then :
16840 if ${PKG_CONFIG+:} false; then :
16841 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16846 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16847 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16848 ac_save_CPPFLAGS=$CPPFLAGS
16849 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16851 $as_echo_n "checking for -lvkd3d... " >&6; }
16852 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16853 $as_echo_n "(cached) " >&6
16854 else
16855 ac_check_soname_save_LIBS=$LIBS
16856 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16858 /* end confdefs.h. */
16860 /* Override any GCC internal prototype to avoid an error.
16861 Use char because int might match the return type of a GCC
16862 builtin and then its argument prototype would still apply. */
16863 #ifdef __cplusplus
16864 extern "C"
16865 #endif
16866 char vkd3d_serialize_versioned_root_signature ();
16868 main ()
16870 return vkd3d_serialize_versioned_root_signature ();
16872 return 0;
16874 _ACEOF
16875 if ac_fn_c_try_link "$LINENO"; then :
16876 case "$LIBEXT" in
16877 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16878 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'` ;;
16879 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16880 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16881 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16882 fi ;;
16883 esac
16884 else
16885 ac_cv_lib_soname_vkd3d=
16887 rm -f core conftest.err conftest.$ac_objext \
16888 conftest$ac_exeext conftest.$ac_ext
16889 LIBS=$ac_check_soname_save_LIBS
16891 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16893 $as_echo "not found" >&6; }
16895 else
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16897 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16899 cat >>confdefs.h <<_ACEOF
16900 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16901 _ACEOF
16905 CPPFLAGS=$ac_save_CPPFLAGS
16907 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16908 if ${PKG_CONFIG+:} false; then :
16909 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16913 if ${VKD3D_SHADER_LIBS:+false} :; then :
16914 if ${PKG_CONFIG+:} false; then :
16915 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16920 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16921 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16922 ac_save_CPPFLAGS=$CPPFLAGS
16923 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16925 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16926 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16927 $as_echo_n "(cached) " >&6
16928 else
16929 ac_check_soname_save_LIBS=$LIBS
16930 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16934 /* Override any GCC internal prototype to avoid an error.
16935 Use char because int might match the return type of a GCC
16936 builtin and then its argument prototype would still apply. */
16937 #ifdef __cplusplus
16938 extern "C"
16939 #endif
16940 char vkd3d_shader_compile ();
16942 main ()
16944 return vkd3d_shader_compile ();
16946 return 0;
16948 _ACEOF
16949 if ac_fn_c_try_link "$LINENO"; then :
16950 case "$LIBEXT" in
16951 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16952 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'` ;;
16953 *) 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'`
16954 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16955 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16956 fi ;;
16957 esac
16958 else
16959 ac_cv_lib_soname_vkd3d_shader=
16961 rm -f core conftest.err conftest.$ac_objext \
16962 conftest$ac_exeext conftest.$ac_ext
16963 LIBS=$ac_check_soname_save_LIBS
16965 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16967 $as_echo "not found" >&6; }
16969 else
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16971 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16973 cat >>confdefs.h <<_ACEOF
16974 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16975 _ACEOF
16979 CPPFLAGS=$ac_save_CPPFLAGS
16982 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16983 case "x$with_vkd3d" in
16984 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16985 xno) ;;
16986 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16987 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16988 esac
16991 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16994 EXTRACFLAGS=""
16996 if test "x${GCC}" = "xyes"
16997 then
16998 EXTRACFLAGS="-Wall -pipe"
17000 saved_CFLAGS=$CFLAGS
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17002 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17003 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17004 $as_echo_n "(cached) " >&6
17005 else
17006 ac_wine_try_cflags_saved=$CFLAGS
17007 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 int main(int argc, char **argv) { return 0; }
17011 _ACEOF
17012 if ac_fn_c_try_link "$LINENO"; then :
17013 ac_cv_cflags__Werror_unknown_warning_option=yes
17014 else
17015 ac_cv_cflags__Werror_unknown_warning_option=no
17017 rm -f core conftest.err conftest.$ac_objext \
17018 conftest$ac_exeext conftest.$ac_ext
17019 CFLAGS=$ac_wine_try_cflags_saved
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17022 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17023 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17024 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17027 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17028 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17029 $as_echo_n "(cached) " >&6
17030 else
17031 ac_wine_try_cflags_saved=$CFLAGS
17032 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17034 /* end confdefs.h. */
17035 int main(int argc, char **argv) { return 0; }
17036 _ACEOF
17037 if ac_fn_c_try_link "$LINENO"; then :
17038 ac_cv_cflags__Werror_unused_command_line_argument=yes
17039 else
17040 ac_cv_cflags__Werror_unused_command_line_argument=no
17042 rm -f core conftest.err conftest.$ac_objext \
17043 conftest$ac_exeext conftest.$ac_ext
17044 CFLAGS=$ac_wine_try_cflags_saved
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17047 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17048 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17049 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17052 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17053 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17054 $as_echo_n "(cached) " >&6
17055 else
17056 ac_wine_try_cflags_saved=$CFLAGS
17057 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h. */
17060 int main(int argc, char **argv) { return 0; }
17061 _ACEOF
17062 if ac_fn_c_try_link "$LINENO"; then :
17063 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17064 else
17065 ac_cv_cflags__Werror_ignored_optimization_argument=no
17067 rm -f core conftest.err conftest.$ac_objext \
17068 conftest$ac_exeext conftest.$ac_ext
17069 CFLAGS=$ac_wine_try_cflags_saved
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17072 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17073 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17074 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17077 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17078 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17079 $as_echo_n "(cached) " >&6
17080 else
17081 ac_wine_try_cflags_saved=$CFLAGS
17082 CFLAGS="$CFLAGS -fcf-protection=none"
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 int main(int argc, char **argv) { return 0; }
17086 _ACEOF
17087 if ac_fn_c_try_link "$LINENO"; then :
17088 ac_cv_cflags__fcf_protection_none=yes
17089 else
17090 ac_cv_cflags__fcf_protection_none=no
17092 rm -f core conftest.err conftest.$ac_objext \
17093 conftest$ac_exeext conftest.$ac_ext
17094 CFLAGS=$ac_wine_try_cflags_saved
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17097 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17098 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17099 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17102 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17103 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17104 $as_echo_n "(cached) " >&6
17105 else
17106 ac_wine_try_cflags_saved=$CFLAGS
17107 CFLAGS="$CFLAGS -fno-stack-protector"
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 int main(int argc, char **argv) { return 0; }
17111 _ACEOF
17112 if ac_fn_c_try_link "$LINENO"; then :
17113 ac_cv_cflags__fno_stack_protector=yes
17114 else
17115 ac_cv_cflags__fno_stack_protector=no
17117 rm -f core conftest.err conftest.$ac_objext \
17118 conftest$ac_exeext conftest.$ac_ext
17119 CFLAGS=$ac_wine_try_cflags_saved
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17122 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17123 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17124 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17127 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17128 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17129 $as_echo_n "(cached) " >&6
17130 else
17131 ac_wine_try_cflags_saved=$CFLAGS
17132 CFLAGS="$CFLAGS -fno-strict-aliasing"
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 int main(int argc, char **argv) { return 0; }
17136 _ACEOF
17137 if ac_fn_c_try_link "$LINENO"; then :
17138 ac_cv_cflags__fno_strict_aliasing=yes
17139 else
17140 ac_cv_cflags__fno_strict_aliasing=no
17142 rm -f core conftest.err conftest.$ac_objext \
17143 conftest$ac_exeext conftest.$ac_ext
17144 CFLAGS=$ac_wine_try_cflags_saved
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17147 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17148 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17149 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17152 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17153 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17154 $as_echo_n "(cached) " >&6
17155 else
17156 ac_wine_try_cflags_saved=$CFLAGS
17157 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17159 /* end confdefs.h. */
17160 int main(int argc, char **argv) { return 0; }
17161 _ACEOF
17162 if ac_fn_c_try_link "$LINENO"; then :
17163 ac_cv_cflags__Wdeclaration_after_statement=yes
17164 else
17165 ac_cv_cflags__Wdeclaration_after_statement=no
17167 rm -f core conftest.err conftest.$ac_objext \
17168 conftest$ac_exeext conftest.$ac_ext
17169 CFLAGS=$ac_wine_try_cflags_saved
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17172 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17173 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17174 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17177 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17178 if ${ac_cv_cflags__Wempty_body+:} false; then :
17179 $as_echo_n "(cached) " >&6
17180 else
17181 ac_wine_try_cflags_saved=$CFLAGS
17182 CFLAGS="$CFLAGS -Wempty-body"
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17185 int main(int argc, char **argv) { return 0; }
17186 _ACEOF
17187 if ac_fn_c_try_link "$LINENO"; then :
17188 ac_cv_cflags__Wempty_body=yes
17189 else
17190 ac_cv_cflags__Wempty_body=no
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 CFLAGS=$ac_wine_try_cflags_saved
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17197 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17198 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17199 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17202 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17203 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17204 $as_echo_n "(cached) " >&6
17205 else
17206 ac_wine_try_cflags_saved=$CFLAGS
17207 CFLAGS="$CFLAGS -Wignored-qualifiers"
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210 int main(int argc, char **argv) { return 0; }
17211 _ACEOF
17212 if ac_fn_c_try_link "$LINENO"; then :
17213 ac_cv_cflags__Wignored_qualifiers=yes
17214 else
17215 ac_cv_cflags__Wignored_qualifiers=no
17217 rm -f core conftest.err conftest.$ac_objext \
17218 conftest$ac_exeext conftest.$ac_ext
17219 CFLAGS=$ac_wine_try_cflags_saved
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17222 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17223 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17224 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17227 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17228 if ${ac_cv_cflags__Winit_self+:} false; then :
17229 $as_echo_n "(cached) " >&6
17230 else
17231 ac_wine_try_cflags_saved=$CFLAGS
17232 CFLAGS="$CFLAGS -Winit-self"
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17235 int main(int argc, char **argv) { return 0; }
17236 _ACEOF
17237 if ac_fn_c_try_link "$LINENO"; then :
17238 ac_cv_cflags__Winit_self=yes
17239 else
17240 ac_cv_cflags__Winit_self=no
17242 rm -f core conftest.err conftest.$ac_objext \
17243 conftest$ac_exeext conftest.$ac_ext
17244 CFLAGS=$ac_wine_try_cflags_saved
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17247 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17248 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17249 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17252 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17253 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_wine_try_cflags_saved=$CFLAGS
17257 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17260 int main(int argc, char **argv) { return 0; }
17261 _ACEOF
17262 if ac_fn_c_try_link "$LINENO"; then :
17263 ac_cv_cflags__Wpacked_not_aligned=yes
17264 else
17265 ac_cv_cflags__Wpacked_not_aligned=no
17267 rm -f core conftest.err conftest.$ac_objext \
17268 conftest$ac_exeext conftest.$ac_ext
17269 CFLAGS=$ac_wine_try_cflags_saved
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17272 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17273 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17274 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17277 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17278 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17279 $as_echo_n "(cached) " >&6
17280 else
17281 ac_wine_try_cflags_saved=$CFLAGS
17282 CFLAGS="$CFLAGS -Wpragma-pack"
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17285 int main(int argc, char **argv) { return 0; }
17286 _ACEOF
17287 if ac_fn_c_try_link "$LINENO"; then :
17288 ac_cv_cflags__Wpragma_pack=yes
17289 else
17290 ac_cv_cflags__Wpragma_pack=no
17292 rm -f core conftest.err conftest.$ac_objext \
17293 conftest$ac_exeext conftest.$ac_ext
17294 CFLAGS=$ac_wine_try_cflags_saved
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17297 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17298 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17299 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17302 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17303 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17306 ac_wine_try_cflags_saved=$CFLAGS
17307 CFLAGS="$CFLAGS -Wshift-overflow=2"
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17310 int main(int argc, char **argv) { return 0; }
17311 _ACEOF
17312 if ac_fn_c_try_link "$LINENO"; then :
17313 ac_cv_cflags__Wshift_overflow_2=yes
17314 else
17315 ac_cv_cflags__Wshift_overflow_2=no
17317 rm -f core conftest.err conftest.$ac_objext \
17318 conftest$ac_exeext conftest.$ac_ext
17319 CFLAGS=$ac_wine_try_cflags_saved
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17322 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17323 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17324 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17327 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17328 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17329 $as_echo_n "(cached) " >&6
17330 else
17331 ac_wine_try_cflags_saved=$CFLAGS
17332 CFLAGS="$CFLAGS -Wstrict-prototypes"
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17335 int main(int argc, char **argv) { return 0; }
17336 _ACEOF
17337 if ac_fn_c_try_link "$LINENO"; then :
17338 ac_cv_cflags__Wstrict_prototypes=yes
17339 else
17340 ac_cv_cflags__Wstrict_prototypes=no
17342 rm -f core conftest.err conftest.$ac_objext \
17343 conftest$ac_exeext conftest.$ac_ext
17344 CFLAGS=$ac_wine_try_cflags_saved
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17347 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17348 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17349 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17352 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17353 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17354 $as_echo_n "(cached) " >&6
17355 else
17356 ac_wine_try_cflags_saved=$CFLAGS
17357 CFLAGS="$CFLAGS -Wtype-limits"
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360 int main(int argc, char **argv) { return 0; }
17361 _ACEOF
17362 if ac_fn_c_try_link "$LINENO"; then :
17363 ac_cv_cflags__Wtype_limits=yes
17364 else
17365 ac_cv_cflags__Wtype_limits=no
17367 rm -f core conftest.err conftest.$ac_objext \
17368 conftest$ac_exeext conftest.$ac_ext
17369 CFLAGS=$ac_wine_try_cflags_saved
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17372 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17373 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17374 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17377 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17378 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17381 ac_wine_try_cflags_saved=$CFLAGS
17382 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 int main(int argc, char **argv) { return 0; }
17386 _ACEOF
17387 if ac_fn_c_try_link "$LINENO"; then :
17388 ac_cv_cflags__Wunused_but_set_parameter=yes
17389 else
17390 ac_cv_cflags__Wunused_but_set_parameter=no
17392 rm -f core conftest.err conftest.$ac_objext \
17393 conftest$ac_exeext conftest.$ac_ext
17394 CFLAGS=$ac_wine_try_cflags_saved
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17397 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17398 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17399 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17402 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17403 if ${ac_cv_cflags__Wvla+:} false; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406 ac_wine_try_cflags_saved=$CFLAGS
17407 CFLAGS="$CFLAGS -Wvla"
17408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h. */
17410 int main(int argc, char **argv) { return 0; }
17411 _ACEOF
17412 if ac_fn_c_try_link "$LINENO"; then :
17413 ac_cv_cflags__Wvla=yes
17414 else
17415 ac_cv_cflags__Wvla=no
17417 rm -f core conftest.err conftest.$ac_objext \
17418 conftest$ac_exeext conftest.$ac_ext
17419 CFLAGS=$ac_wine_try_cflags_saved
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17422 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17423 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17424 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17427 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17428 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17429 $as_echo_n "(cached) " >&6
17430 else
17431 ac_wine_try_cflags_saved=$CFLAGS
17432 CFLAGS="$CFLAGS -Wwrite-strings"
17433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17434 /* end confdefs.h. */
17435 int main(int argc, char **argv) { return 0; }
17436 _ACEOF
17437 if ac_fn_c_try_link "$LINENO"; then :
17438 ac_cv_cflags__Wwrite_strings=yes
17439 else
17440 ac_cv_cflags__Wwrite_strings=no
17442 rm -f core conftest.err conftest.$ac_objext \
17443 conftest$ac_exeext conftest.$ac_ext
17444 CFLAGS=$ac_wine_try_cflags_saved
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17447 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17448 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17449 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17452 if test -z "$CROSSTARGET"
17453 then
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17455 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17456 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17457 $as_echo_n "(cached) " >&6
17458 else
17459 ac_wine_try_cflags_saved=$CFLAGS
17460 CFLAGS="$CFLAGS -fexcess-precision=standard"
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17463 int main(int argc, char **argv) { return 0; }
17464 _ACEOF
17465 if ac_fn_c_try_link "$LINENO"; then :
17466 ac_cv_cflags__fexcess_precision_standard=yes
17467 else
17468 ac_cv_cflags__fexcess_precision_standard=no
17470 rm -f core conftest.err conftest.$ac_objext \
17471 conftest$ac_exeext conftest.$ac_ext
17472 CFLAGS=$ac_wine_try_cflags_saved
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17475 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17476 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17477 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17483 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17484 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17485 $as_echo_n "(cached) " >&6
17486 else
17487 ac_wine_try_cflags_saved=$CFLAGS
17488 CFLAGS="$CFLAGS -Wpointer-arith"
17489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17490 /* end confdefs.h. */
17491 int main(int argc, char **argv) { return 0; }
17492 _ACEOF
17493 if ac_fn_c_try_link "$LINENO"; then :
17494 ac_cv_cflags__Wpointer_arith=yes
17495 else
17496 ac_cv_cflags__Wpointer_arith=no
17498 rm -f core conftest.err conftest.$ac_objext \
17499 conftest$ac_exeext conftest.$ac_ext
17500 CFLAGS=$ac_wine_try_cflags_saved
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17503 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17504 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17505 saved_string_h_CFLAGS=$CFLAGS
17506 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17508 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17509 if ${ac_cv_c_string_h_warnings+:} false; then :
17510 $as_echo_n "(cached) " >&6
17511 else
17512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17514 #include <string.h>
17516 main ()
17520 return 0;
17522 _ACEOF
17523 if ac_fn_c_try_compile "$LINENO"; then :
17524 ac_cv_c_string_h_warnings=no
17525 else
17526 ac_cv_c_string_h_warnings=yes
17528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17531 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17532 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17533 CFLAGS=$saved_string_h_CFLAGS
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17537 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17538 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17539 $as_echo_n "(cached) " >&6
17540 else
17541 ac_wine_try_cflags_saved=$CFLAGS
17542 CFLAGS="$CFLAGS -Wlogical-op"
17543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17544 /* end confdefs.h. */
17545 int main(int argc, char **argv) { return 0; }
17546 _ACEOF
17547 if ac_fn_c_try_link "$LINENO"; then :
17548 ac_cv_cflags__Wlogical_op=yes
17549 else
17550 ac_cv_cflags__Wlogical_op=no
17552 rm -f core conftest.err conftest.$ac_objext \
17553 conftest$ac_exeext conftest.$ac_ext
17554 CFLAGS=$ac_wine_try_cflags_saved
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17557 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17558 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17559 saved_string_h_CFLAGS=$CFLAGS
17560 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17562 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17563 if ${ac_cv_c_logicalop_noisy+:} false; then :
17564 $as_echo_n "(cached) " >&6
17565 else
17566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17567 /* end confdefs.h. */
17568 #include <string.h>
17569 char*f(const char *h,char n) {return strchr(h,n);}
17571 main ()
17575 return 0;
17577 _ACEOF
17578 if ac_fn_c_try_compile "$LINENO"; then :
17579 ac_cv_c_logicalop_noisy=no
17580 else
17581 ac_cv_c_logicalop_noisy=yes
17583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17586 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17587 CFLAGS=$saved_string_h_CFLAGS
17588 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17592 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17593 if ${wine_cv_64bit_compare_swap+:} false; then :
17594 $as_echo_n "(cached) " >&6
17595 else
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17598 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17599 #error no
17600 #endif
17602 main ()
17606 return 0;
17608 _ACEOF
17609 if ac_fn_c_try_compile "$LINENO"; then :
17610 wine_cv_64bit_compare_swap="none needed"
17611 else
17612 case $host_cpu in
17613 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17614 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17615 *) wine_cv_64bit_compare_swap="unknown" ;;
17616 esac
17617 if test "x$wine_cv_64bit_compare_swap" != xunknown
17618 then
17619 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17623 #error no
17624 #endif
17626 main ()
17630 return 0;
17632 _ACEOF
17633 if ac_fn_c_try_compile "$LINENO"; then :
17635 else
17636 wine_cv_64bit_compare_swap="unknown"
17638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17639 CFLAGS=$saved_CFLAGS
17642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17645 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17646 case "$wine_cv_64bit_compare_swap" in
17647 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17648 "none needed") ;;
17649 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17650 esac
17652 for ac_flag in $CFLAGS; do
17653 case $ac_flag in
17654 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17655 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17656 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17657 $as_echo_n "(cached) " >&6
17658 else
17659 ac_wine_try_cflags_saved=$CFLAGS
17660 CFLAGS="$CFLAGS -gdwarf-2"
17661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17662 /* end confdefs.h. */
17663 int main(int argc, char **argv) { return 0; }
17664 _ACEOF
17665 if ac_fn_c_try_link "$LINENO"; then :
17666 ac_cv_cflags__gdwarf_2=yes
17667 else
17668 ac_cv_cflags__gdwarf_2=no
17670 rm -f core conftest.err conftest.$ac_objext \
17671 conftest$ac_exeext conftest.$ac_ext
17672 CFLAGS=$ac_wine_try_cflags_saved
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17675 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17676 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17677 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17680 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17681 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17682 $as_echo_n "(cached) " >&6
17683 else
17684 ac_wine_try_cflags_saved=$CFLAGS
17685 CFLAGS="$CFLAGS -gstrict-dwarf"
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17688 int main(int argc, char **argv) { return 0; }
17689 _ACEOF
17690 if ac_fn_c_try_link "$LINENO"; then :
17691 ac_cv_cflags__gstrict_dwarf=yes
17692 else
17693 ac_cv_cflags__gstrict_dwarf=no
17695 rm -f core conftest.err conftest.$ac_objext \
17696 conftest$ac_exeext conftest.$ac_ext
17697 CFLAGS=$ac_wine_try_cflags_saved
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17700 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17701 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17702 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17703 fi ;;
17704 esac
17705 done
17707 MSVCRTFLAGS=""
17709 case $host_os in
17710 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17711 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17712 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17713 $as_echo_n "(cached) " >&6
17714 else
17715 ac_wine_try_cflags_saved=$CFLAGS
17716 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17719 int main(int argc, char **argv) { return 0; }
17720 _ACEOF
17721 if ac_fn_c_try_link "$LINENO"; then :
17722 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17723 else
17724 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17726 rm -f core conftest.err conftest.$ac_objext \
17727 conftest$ac_exeext conftest.$ac_ext
17728 CFLAGS=$ac_wine_try_cflags_saved
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17731 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17732 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17733 DELAYLOADFLAG="-Wl,-delayload,"
17735 fi ;;
17736 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17737 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17738 if ${ac_cv_cflags__fno_builtin+:} false; then :
17739 $as_echo_n "(cached) " >&6
17740 else
17741 ac_wine_try_cflags_saved=$CFLAGS
17742 CFLAGS="$CFLAGS -fno-builtin"
17743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17745 int main(int argc, char **argv) { return 0; }
17746 _ACEOF
17747 if ac_fn_c_try_link "$LINENO"; then :
17748 ac_cv_cflags__fno_builtin=yes
17749 else
17750 ac_cv_cflags__fno_builtin=no
17752 rm -f core conftest.err conftest.$ac_objext \
17753 conftest$ac_exeext conftest.$ac_ext
17754 CFLAGS=$ac_wine_try_cflags_saved
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17757 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17758 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17759 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17762 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17763 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17764 $as_echo_n "(cached) " >&6
17765 else
17766 ac_wine_try_cflags_saved=$CFLAGS
17767 CFLAGS="$CFLAGS -fshort-wchar"
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17770 int main(int argc, char **argv) { return 0; }
17771 _ACEOF
17772 if ac_fn_c_try_link "$LINENO"; then :
17773 ac_cv_cflags__fshort_wchar=yes
17774 else
17775 ac_cv_cflags__fshort_wchar=no
17777 rm -f core conftest.err conftest.$ac_objext \
17778 conftest$ac_exeext conftest.$ac_ext
17779 CFLAGS=$ac_wine_try_cflags_saved
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17782 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17783 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17784 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17785 fi ;;
17786 esac
17788 case $host_cpu in
17789 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17790 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17791 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17792 $as_echo_n "(cached) " >&6
17793 else
17794 ac_wine_try_cflags_saved=$CFLAGS
17795 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17797 /* end confdefs.h. */
17798 int main(int argc, char **argv) { return 0; }
17799 _ACEOF
17800 if ac_fn_c_try_link "$LINENO"; then :
17801 ac_cv_cflags__fno_omit_frame_pointer=yes
17802 else
17803 ac_cv_cflags__fno_omit_frame_pointer=no
17805 rm -f core conftest.err conftest.$ac_objext \
17806 conftest$ac_exeext conftest.$ac_ext
17807 CFLAGS=$ac_wine_try_cflags_saved
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17810 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17811 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17812 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17813 fi ;;
17814 *x86_64*)
17815 case $host_os in
17816 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17817 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17818 if ${ac_cv_cflags__Wno_format+:} false; then :
17819 $as_echo_n "(cached) " >&6
17820 else
17821 ac_wine_try_cflags_saved=$CFLAGS
17822 CFLAGS="$CFLAGS -Wno-format"
17823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17824 /* end confdefs.h. */
17825 int main(int argc, char **argv) { return 0; }
17826 _ACEOF
17827 if ac_fn_c_try_link "$LINENO"; then :
17828 ac_cv_cflags__Wno_format=yes
17829 else
17830 ac_cv_cflags__Wno_format=no
17832 rm -f core conftest.err conftest.$ac_objext \
17833 conftest$ac_exeext conftest.$ac_ext
17834 CFLAGS=$ac_wine_try_cflags_saved
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17837 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17838 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17839 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17840 fi ;;
17841 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17842 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17843 if ${ac_cv_cflags__mabi_ms+:} false; then :
17844 $as_echo_n "(cached) " >&6
17845 else
17846 ac_wine_try_cflags_saved=$CFLAGS
17847 CFLAGS="$CFLAGS -mabi=ms"
17848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17849 /* end confdefs.h. */
17850 int main(int argc, char **argv) { return 0; }
17851 _ACEOF
17852 if ac_fn_c_try_link "$LINENO"; then :
17853 ac_cv_cflags__mabi_ms=yes
17854 else
17855 ac_cv_cflags__mabi_ms=no
17857 rm -f core conftest.err conftest.$ac_objext \
17858 conftest$ac_exeext conftest.$ac_ext
17859 CFLAGS=$ac_wine_try_cflags_saved
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17862 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17863 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17864 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17865 fi ;;
17866 esac ;;
17867 esac
17869 CFLAGS=$saved_CFLAGS
17871 if test "x$enable_werror" = "xyes"
17872 then
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17874 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17875 if ${ac_cv_cflags__Werror+:} false; then :
17876 $as_echo_n "(cached) " >&6
17877 else
17878 ac_wine_try_cflags_saved=$CFLAGS
17879 CFLAGS="$CFLAGS -Werror"
17880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17881 /* end confdefs.h. */
17882 int main(int argc, char **argv) { return 0; }
17883 _ACEOF
17884 if ac_fn_c_try_link "$LINENO"; then :
17885 ac_cv_cflags__Werror=yes
17886 else
17887 ac_cv_cflags__Werror=no
17889 rm -f core conftest.err conftest.$ac_objext \
17890 conftest$ac_exeext conftest.$ac_ext
17891 CFLAGS=$ac_wine_try_cflags_saved
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17894 $as_echo "$ac_cv_cflags__Werror" >&6; }
17895 if test "x$ac_cv_cflags__Werror" = xyes; then :
17896 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17899 if test "x$enable_build_id" = "xyes"
17900 then
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17902 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17903 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17904 $as_echo_n "(cached) " >&6
17905 else
17906 ac_wine_try_cflags_saved=$CFLAGS
17907 CFLAGS="$CFLAGS -Wl,--build-id"
17908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17909 /* end confdefs.h. */
17910 int main(int argc, char **argv) { return 0; }
17911 _ACEOF
17912 if ac_fn_c_try_link "$LINENO"; then :
17913 ac_cv_cflags__Wl___build_id=yes
17914 else
17915 ac_cv_cflags__Wl___build_id=no
17917 rm -f core conftest.err conftest.$ac_objext \
17918 conftest$ac_exeext conftest.$ac_ext
17919 CFLAGS=$ac_wine_try_cflags_saved
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17922 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17923 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17924 CFLAGS="$CFLAGS -Wl,--build-id"
17925 LDFLAGS="$LDFLAGS -Wl,--build-id"
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17932 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17933 if ${ac_cv_c_fortify_enabled+:} false; then :
17934 $as_echo_n "(cached) " >&6
17935 else
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #include <string.h>
17940 main ()
17942 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17943 #error Fortify enabled
17944 #endif
17946 return 0;
17948 _ACEOF
17949 if ac_fn_c_try_compile "$LINENO"; then :
17950 ac_cv_c_fortify_enabled=no
17951 else
17952 ac_cv_c_fortify_enabled=yes
17954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17957 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17958 if test "$ac_cv_c_fortify_enabled" = yes
17959 then
17960 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17965 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17966 if ${ac_cv_c_cfi_support+:} false; then :
17967 $as_echo_n "(cached) " >&6
17968 else
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17971 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17973 main ()
17977 return 0;
17979 _ACEOF
17980 if ac_fn_c_try_compile "$LINENO"; then :
17981 ac_cv_c_cfi_support="yes"
17982 else
17983 ac_cv_c_cfi_support="no"
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17988 $as_echo "$ac_cv_c_cfi_support" >&6; }
17989 if test "$ac_cv_c_cfi_support" = "yes"
17990 then
17991 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17992 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17993 else
17994 if test "x$enable_win64" = "xyes"
17995 then
17996 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18001 case $build_os in
18002 cygwin*|mingw32*) TOOLSEXT=".exe"
18004 esac
18006 case $host_os in
18007 linux*)
18008 case $host_cpu in
18009 *i[3456789]86*|x86_64*|*aarch64*)
18010 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18011 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18013 esac
18015 esac
18018 ac_save_CFLAGS="$CFLAGS"
18019 CFLAGS="$CFLAGS $BUILTINFLAG"
18020 for ac_func in \
18021 __res_get_state \
18022 __res_getservers \
18023 _spawnvp \
18024 epoll_create \
18025 fnmatch \
18026 fork \
18027 fstatfs \
18028 futimens \
18029 futimes \
18030 futimesat \
18031 getattrlist \
18032 getauxval \
18033 getifaddrs \
18034 getopt_long_only \
18035 getrandom \
18036 kqueue \
18037 lstat \
18038 mach_continuous_time \
18039 pipe2 \
18040 poll \
18041 port_create \
18042 prctl \
18043 pread \
18044 proc_pidinfo \
18045 pwrite \
18046 readlink \
18047 sched_yield \
18048 setproctitle \
18049 setprogname \
18050 sigprocmask \
18051 symlink \
18052 tcdrain \
18053 thr_kill2
18055 do :
18056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18058 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18059 cat >>confdefs.h <<_ACEOF
18060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18061 _ACEOF
18064 done
18066 CFLAGS="$ac_save_CFLAGS"
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18069 $as_echo_n "checking for library containing dlopen... " >&6; }
18070 if ${ac_cv_search_dlopen+:} false; then :
18071 $as_echo_n "(cached) " >&6
18072 else
18073 ac_func_search_save_LIBS=$LIBS
18074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18075 /* end confdefs.h. */
18077 /* Override any GCC internal prototype to avoid an error.
18078 Use char because int might match the return type of a GCC
18079 builtin and then its argument prototype would still apply. */
18080 #ifdef __cplusplus
18081 extern "C"
18082 #endif
18083 char dlopen ();
18085 main ()
18087 return dlopen ();
18089 return 0;
18091 _ACEOF
18092 for ac_lib in '' dl; do
18093 if test -z "$ac_lib"; then
18094 ac_res="none required"
18095 else
18096 ac_res=-l$ac_lib
18097 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18099 if ac_fn_c_try_link "$LINENO"; then :
18100 ac_cv_search_dlopen=$ac_res
18102 rm -f core conftest.err conftest.$ac_objext \
18103 conftest$ac_exeext
18104 if ${ac_cv_search_dlopen+:} false; then :
18105 break
18107 done
18108 if ${ac_cv_search_dlopen+:} false; then :
18110 else
18111 ac_cv_search_dlopen=no
18113 rm conftest.$ac_ext
18114 LIBS=$ac_func_search_save_LIBS
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18117 $as_echo "$ac_cv_search_dlopen" >&6; }
18118 ac_res=$ac_cv_search_dlopen
18119 if test "$ac_res" != no; then :
18120 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18124 ac_wine_check_funcs_save_LIBS="$LIBS"
18125 LIBS="$LIBS $DL_LIBS"
18126 for ac_func in dladdr dlinfo
18127 do :
18128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18130 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18131 cat >>confdefs.h <<_ACEOF
18132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18133 _ACEOF
18136 done
18138 LIBS="$ac_wine_check_funcs_save_LIBS"
18140 if test "$ac_cv_func_poll" = no
18141 then
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18143 $as_echo_n "checking for poll in -lpoll... " >&6; }
18144 if ${ac_cv_lib_poll_poll+:} false; then :
18145 $as_echo_n "(cached) " >&6
18146 else
18147 ac_check_lib_save_LIBS=$LIBS
18148 LIBS="-lpoll $LIBS"
18149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18150 /* end confdefs.h. */
18152 /* Override any GCC internal prototype to avoid an error.
18153 Use char because int might match the return type of a GCC
18154 builtin and then its argument prototype would still apply. */
18155 #ifdef __cplusplus
18156 extern "C"
18157 #endif
18158 char poll ();
18160 main ()
18162 return poll ();
18164 return 0;
18166 _ACEOF
18167 if ac_fn_c_try_link "$LINENO"; then :
18168 ac_cv_lib_poll_poll=yes
18169 else
18170 ac_cv_lib_poll_poll=no
18172 rm -f core conftest.err conftest.$ac_objext \
18173 conftest$ac_exeext conftest.$ac_ext
18174 LIBS=$ac_check_lib_save_LIBS
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18177 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18178 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18179 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18180 POLL_LIBS="-lpoll"
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18187 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18188 if ${ac_cv_search_gethostbyname+:} false; then :
18189 $as_echo_n "(cached) " >&6
18190 else
18191 ac_func_search_save_LIBS=$LIBS
18192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18193 /* end confdefs.h. */
18195 /* Override any GCC internal prototype to avoid an error.
18196 Use char because int might match the return type of a GCC
18197 builtin and then its argument prototype would still apply. */
18198 #ifdef __cplusplus
18199 extern "C"
18200 #endif
18201 char gethostbyname ();
18203 main ()
18205 return gethostbyname ();
18207 return 0;
18209 _ACEOF
18210 for ac_lib in '' nsl; do
18211 if test -z "$ac_lib"; then
18212 ac_res="none required"
18213 else
18214 ac_res=-l$ac_lib
18215 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18217 if ac_fn_c_try_link "$LINENO"; then :
18218 ac_cv_search_gethostbyname=$ac_res
18220 rm -f core conftest.err conftest.$ac_objext \
18221 conftest$ac_exeext
18222 if ${ac_cv_search_gethostbyname+:} false; then :
18223 break
18225 done
18226 if ${ac_cv_search_gethostbyname+:} false; then :
18228 else
18229 ac_cv_search_gethostbyname=no
18231 rm conftest.$ac_ext
18232 LIBS=$ac_func_search_save_LIBS
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18235 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18236 ac_res=$ac_cv_search_gethostbyname
18237 if test "$ac_res" != no; then :
18238 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18244 $as_echo_n "checking for library containing connect... " >&6; }
18245 if ${ac_cv_search_connect+:} false; then :
18246 $as_echo_n "(cached) " >&6
18247 else
18248 ac_func_search_save_LIBS=$LIBS
18249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h. */
18252 /* Override any GCC internal prototype to avoid an error.
18253 Use char because int might match the return type of a GCC
18254 builtin and then its argument prototype would still apply. */
18255 #ifdef __cplusplus
18256 extern "C"
18257 #endif
18258 char connect ();
18260 main ()
18262 return connect ();
18264 return 0;
18266 _ACEOF
18267 for ac_lib in '' socket; do
18268 if test -z "$ac_lib"; then
18269 ac_res="none required"
18270 else
18271 ac_res=-l$ac_lib
18272 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18274 if ac_fn_c_try_link "$LINENO"; then :
18275 ac_cv_search_connect=$ac_res
18277 rm -f core conftest.err conftest.$ac_objext \
18278 conftest$ac_exeext
18279 if ${ac_cv_search_connect+:} false; then :
18280 break
18282 done
18283 if ${ac_cv_search_connect+:} false; then :
18285 else
18286 ac_cv_search_connect=no
18288 rm conftest.$ac_ext
18289 LIBS=$ac_func_search_save_LIBS
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18292 $as_echo "$ac_cv_search_connect" >&6; }
18293 ac_res=$ac_cv_search_connect
18294 if test "$ac_res" != no; then :
18295 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18301 $as_echo_n "checking for library containing inet_aton... " >&6; }
18302 if ${ac_cv_search_inet_aton+:} false; then :
18303 $as_echo_n "(cached) " >&6
18304 else
18305 ac_func_search_save_LIBS=$LIBS
18306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18307 /* end confdefs.h. */
18309 /* Override any GCC internal prototype to avoid an error.
18310 Use char because int might match the return type of a GCC
18311 builtin and then its argument prototype would still apply. */
18312 #ifdef __cplusplus
18313 extern "C"
18314 #endif
18315 char inet_aton ();
18317 main ()
18319 return inet_aton ();
18321 return 0;
18323 _ACEOF
18324 for ac_lib in '' resolv; do
18325 if test -z "$ac_lib"; then
18326 ac_res="none required"
18327 else
18328 ac_res=-l$ac_lib
18329 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18331 if ac_fn_c_try_link "$LINENO"; then :
18332 ac_cv_search_inet_aton=$ac_res
18334 rm -f core conftest.err conftest.$ac_objext \
18335 conftest$ac_exeext
18336 if ${ac_cv_search_inet_aton+:} false; then :
18337 break
18339 done
18340 if ${ac_cv_search_inet_aton+:} false; then :
18342 else
18343 ac_cv_search_inet_aton=no
18345 rm conftest.$ac_ext
18346 LIBS=$ac_func_search_save_LIBS
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18349 $as_echo "$ac_cv_search_inet_aton" >&6; }
18350 ac_res=$ac_cv_search_inet_aton
18351 if test "$ac_res" != no; then :
18352 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18357 for ac_func in \
18358 getaddrinfo \
18359 getnameinfo \
18360 getservbyport \
18362 do :
18363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18365 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18366 cat >>confdefs.h <<_ACEOF
18367 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18368 _ACEOF
18371 done
18374 case $host_os in
18375 darwin*|macosx*) ;;
18376 *) ac_save_LIBS=$LIBS
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18378 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18379 if ${ac_cv_search_clock_gettime+:} false; then :
18380 $as_echo_n "(cached) " >&6
18381 else
18382 ac_func_search_save_LIBS=$LIBS
18383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18384 /* end confdefs.h. */
18386 /* Override any GCC internal prototype to avoid an error.
18387 Use char because int might match the return type of a GCC
18388 builtin and then its argument prototype would still apply. */
18389 #ifdef __cplusplus
18390 extern "C"
18391 #endif
18392 char clock_gettime ();
18394 main ()
18396 return clock_gettime ();
18398 return 0;
18400 _ACEOF
18401 for ac_lib in '' rt; do
18402 if test -z "$ac_lib"; then
18403 ac_res="none required"
18404 else
18405 ac_res=-l$ac_lib
18406 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18408 if ac_fn_c_try_link "$LINENO"; then :
18409 ac_cv_search_clock_gettime=$ac_res
18411 rm -f core conftest.err conftest.$ac_objext \
18412 conftest$ac_exeext
18413 if ${ac_cv_search_clock_gettime+:} false; then :
18414 break
18416 done
18417 if ${ac_cv_search_clock_gettime+:} false; then :
18419 else
18420 ac_cv_search_clock_gettime=no
18422 rm conftest.$ac_ext
18423 LIBS=$ac_func_search_save_LIBS
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18426 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18427 ac_res=$ac_cv_search_clock_gettime
18428 if test "$ac_res" != no; then :
18429 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18431 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18433 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18437 LIBS=$ac_save_LIBS
18439 esac
18441 if test "x$with_ldap" != "xno"
18442 then
18443 if ${LDAP_CFLAGS:+false} :; then :
18444 if ${PKG_CONFIG+:} false; then :
18445 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18449 if ${LDAP_LIBS:+false} :; then :
18450 if ${PKG_CONFIG+:} false; then :
18451 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18455 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18456 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18457 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18458 ac_save_CPPFLAGS=$CPPFLAGS
18459 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18460 for ac_header in ldap.h lber.h
18461 do :
18462 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18463 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18464 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18465 cat >>confdefs.h <<_ACEOF
18466 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18467 _ACEOF
18471 done
18473 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18474 then
18475 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18477 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18479 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18480 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18481 $as_echo_n "(cached) " >&6
18482 else
18483 ac_check_lib_save_LIBS=$LIBS
18484 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18486 /* end confdefs.h. */
18488 /* Override any GCC internal prototype to avoid an error.
18489 Use char because int might match the return type of a GCC
18490 builtin and then its argument prototype would still apply. */
18491 #ifdef __cplusplus
18492 extern "C"
18493 #endif
18494 char ldap_initialize ();
18496 main ()
18498 return ldap_initialize ();
18500 return 0;
18502 _ACEOF
18503 if ac_fn_c_try_link "$LINENO"; then :
18504 ac_cv_lib_ldap_r_ldap_initialize=yes
18505 else
18506 ac_cv_lib_ldap_r_ldap_initialize=no
18508 rm -f core conftest.err conftest.$ac_objext \
18509 conftest$ac_exeext conftest.$ac_ext
18510 LIBS=$ac_check_lib_save_LIBS
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18513 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18514 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18516 $as_echo_n "checking for ber_init in -llber... " >&6; }
18517 if ${ac_cv_lib_lber_ber_init+:} false; then :
18518 $as_echo_n "(cached) " >&6
18519 else
18520 ac_check_lib_save_LIBS=$LIBS
18521 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18525 /* Override any GCC internal prototype to avoid an error.
18526 Use char because int might match the return type of a GCC
18527 builtin and then its argument prototype would still apply. */
18528 #ifdef __cplusplus
18529 extern "C"
18530 #endif
18531 char ber_init ();
18533 main ()
18535 return ber_init ();
18537 return 0;
18539 _ACEOF
18540 if ac_fn_c_try_link "$LINENO"; then :
18541 ac_cv_lib_lber_ber_init=yes
18542 else
18543 ac_cv_lib_lber_ber_init=no
18545 rm -f core conftest.err conftest.$ac_objext \
18546 conftest$ac_exeext conftest.$ac_ext
18547 LIBS=$ac_check_lib_save_LIBS
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18550 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18551 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18553 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18555 else
18556 LDAP_LIBS=""
18559 else
18560 LDAP_LIBS=""
18563 else
18564 LDAP_LIBS=""
18567 ac_wine_check_funcs_save_LIBS="$LIBS"
18568 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18569 for ac_func in \
18570 ldap_count_references \
18571 ldap_first_reference \
18572 ldap_next_reference \
18573 ldap_parse_reference \
18574 ldap_parse_sort_control \
18575 ldap_parse_sortresponse_control \
18576 ldap_parse_vlv_control \
18577 ldap_parse_vlvresponse_control
18578 do :
18579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18581 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18582 cat >>confdefs.h <<_ACEOF
18583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18584 _ACEOF
18587 done
18589 LIBS="$ac_wine_check_funcs_save_LIBS"
18590 else
18591 LDAP_LIBS=""
18593 CPPFLAGS=$ac_save_CPPFLAGS
18596 if test "x$LDAP_LIBS" = "x"; then :
18597 case "x$with_ldap" in
18598 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18599 xno) ;;
18600 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18601 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18602 esac
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18607 $as_echo_n "checking for sched_setaffinity... " >&6; }
18608 if ${wine_cv_have_sched_setaffinity+:} false; then :
18609 $as_echo_n "(cached) " >&6
18610 else
18611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18612 /* end confdefs.h. */
18613 #define _GNU_SOURCE
18614 #include <sched.h>
18616 main ()
18618 sched_setaffinity(0, 0, 0);
18620 return 0;
18622 _ACEOF
18623 if ac_fn_c_try_link "$LINENO"; then :
18624 wine_cv_have_sched_setaffinity=yes
18625 else
18626 wine_cv_have_sched_setaffinity=no
18628 rm -f core conftest.err conftest.$ac_objext \
18629 conftest$ac_exeext conftest.$ac_ext
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18632 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18633 if test "$wine_cv_have_sched_setaffinity" = "yes"
18634 then
18636 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18641 $as_echo_n "checking for fallocate... " >&6; }
18642 if ${wine_cv_have_fallocate+:} false; then :
18643 $as_echo_n "(cached) " >&6
18644 else
18645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h. */
18647 #define _GNU_SOURCE
18648 #include <fcntl.h>
18650 main ()
18652 fallocate(-1, 0, 0, 0);
18654 return 0;
18656 _ACEOF
18657 if ac_fn_c_try_link "$LINENO"; then :
18658 wine_cv_have_fallocate=yes
18659 else
18660 wine_cv_have_fallocate=no
18662 rm -f core conftest.err conftest.$ac_objext \
18663 conftest$ac_exeext conftest.$ac_ext
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18666 $as_echo "$wine_cv_have_fallocate" >&6; }
18667 if test "$wine_cv_have_fallocate" = "yes"
18668 then
18670 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18676 $as_echo_n "checking for inline... " >&6; }
18677 if ${ac_cv_c_inline+:} false; then :
18678 $as_echo_n "(cached) " >&6
18679 else
18680 ac_cv_c_inline=no
18681 for ac_kw in inline __inline__ __inline; do
18682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18683 /* end confdefs.h. */
18684 #ifndef __cplusplus
18685 typedef int foo_t;
18686 static $ac_kw foo_t static_foo () {return 0; }
18687 $ac_kw foo_t foo () {return 0; }
18688 #endif
18690 _ACEOF
18691 if ac_fn_c_try_compile "$LINENO"; then :
18692 ac_cv_c_inline=$ac_kw
18694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18695 test "$ac_cv_c_inline" != no && break
18696 done
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18700 $as_echo "$ac_cv_c_inline" >&6; }
18702 case $ac_cv_c_inline in
18703 inline | yes) ;;
18705 case $ac_cv_c_inline in
18706 no) ac_val=;;
18707 *) ac_val=$ac_cv_c_inline;;
18708 esac
18709 cat >>confdefs.h <<_ACEOF
18710 #ifndef __cplusplus
18711 #define inline $ac_val
18712 #endif
18713 _ACEOF
18715 esac
18717 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18718 #include <signal.h>
18720 if test "x$ac_cv_type_sigset_t" = xyes; then :
18722 cat >>confdefs.h <<_ACEOF
18723 #define HAVE_SIGSET_T 1
18724 _ACEOF
18729 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18731 if test "x$ac_cv_type_request_sense" = xyes; then :
18733 cat >>confdefs.h <<_ACEOF
18734 #define HAVE_REQUEST_SENSE 1
18735 _ACEOF
18741 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18742 #ifdef HAVE_SYS_SOCKET_H
18743 #include <sys/socket.h>
18744 #endif
18745 #ifdef HAVE_SYS_SOCKETVAR_H
18746 #include <sys/socketvar.h>
18747 #endif
18748 #ifdef HAVE_NET_ROUTE_H
18749 #include <net/route.h>
18750 #endif
18751 #ifdef HAVE_NETINET_IN_H
18752 #include <netinet/in.h>
18753 #endif
18754 #ifdef HAVE_NETINET_IN_SYSTM_H
18755 #include <netinet/in_systm.h>
18756 #endif
18757 #ifdef HAVE_NETINET_IP_H
18758 #include <netinet/ip.h>
18759 #endif
18760 #ifdef HAVE_NETINET_IN_PCB_H
18761 #include <netinet/in_pcb.h>
18762 #endif
18764 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18766 cat >>confdefs.h <<_ACEOF
18767 #define HAVE_STRUCT_XINPGEN 1
18768 _ACEOF
18774 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18775 #include <linux/input.h>
18776 #endif
18778 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18780 cat >>confdefs.h <<_ACEOF
18781 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18782 _ACEOF
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18789 $as_echo_n "checking for if_nameindex... " >&6; }
18790 if ${wine_cv_have_if_nameindex+:} false; then :
18791 $as_echo_n "(cached) " >&6
18792 else
18793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18794 /* end confdefs.h. */
18795 #ifdef HAVE_SYS_TYPES_H
18796 #include <sys/types.h>
18797 #endif
18798 #ifdef HAVE_SYS_SOCKET_H
18799 #include <sys/socket.h>
18800 #endif
18801 #ifdef HAVE_NET_IF_H
18802 # include <net/if.h>
18803 #endif
18805 main ()
18807 struct if_nameindex *p = if_nameindex(); return p->if_index;
18809 return 0;
18811 _ACEOF
18812 if ac_fn_c_try_link "$LINENO"; then :
18813 wine_cv_have_if_nameindex=yes
18814 else
18815 wine_cv_have_if_nameindex=no
18817 rm -f core conftest.err conftest.$ac_objext \
18818 conftest$ac_exeext conftest.$ac_ext
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18821 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18822 if test "$wine_cv_have_if_nameindex" = "yes"
18823 then
18825 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18830 $as_echo_n "checking for sigaddset... " >&6; }
18831 if ${wine_cv_have_sigaddset+:} false; then :
18832 $as_echo_n "(cached) " >&6
18833 else
18834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18835 /* end confdefs.h. */
18836 #include <signal.h>
18838 main ()
18840 sigset_t set; sigaddset(&set,SIGTERM);
18842 return 0;
18844 _ACEOF
18845 if ac_fn_c_try_link "$LINENO"; then :
18846 wine_cv_have_sigaddset=yes
18847 else
18848 wine_cv_have_sigaddset=no
18850 rm -f core conftest.err conftest.$ac_objext \
18851 conftest$ac_exeext conftest.$ac_ext
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18854 $as_echo "$wine_cv_have_sigaddset" >&6; }
18855 if test "$wine_cv_have_sigaddset" = "yes"
18856 then
18858 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18864 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18865 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18866 $as_echo_n "(cached) " >&6
18867 else
18868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18869 /* end confdefs.h. */
18870 #include <netdb.h>
18872 main ()
18875 char *name=0;
18876 struct hostent he;
18877 struct hostent *result;
18878 char *buf=0;
18879 int bufsize=0;
18880 int errnr;
18881 char *addr=0;
18882 int addrlen=0;
18883 int addrtype=0;
18884 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18885 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18888 return 0;
18890 _ACEOF
18891 if ac_fn_c_try_link "$LINENO"; then :
18892 wine_cv_linux_gethostbyname_r_6=yes
18893 else
18894 wine_cv_linux_gethostbyname_r_6=no
18897 rm -f core conftest.err conftest.$ac_objext \
18898 conftest$ac_exeext conftest.$ac_ext
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18902 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18903 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18904 then
18906 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18910 if test "$ac_cv_header_linux_joystick_h" = "yes"
18911 then
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18913 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18914 if ${wine_cv_linux_joystick_22_api+:} false; then :
18915 $as_echo_n "(cached) " >&6
18916 else
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18920 #include <sys/ioctl.h>
18921 #include <sys/types.h>
18922 #include <linux/joystick.h>
18924 struct js_event blub;
18925 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18926 #error "no 2.2 header"
18927 #endif
18930 main ()
18932 /*empty*/
18934 return 0;
18936 _ACEOF
18937 if ac_fn_c_try_compile "$LINENO"; then :
18938 wine_cv_linux_joystick_22_api=yes
18939 else
18940 wine_cv_linux_joystick_22_api=no
18942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18946 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18947 if test "$wine_cv_linux_joystick_22_api" = "yes"
18948 then
18950 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18955 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18956 #ifdef HAVE_SYS_SOCKET_H
18957 # include <sys/socket.h>
18958 #endif
18959 #ifdef HAVE_SYS_UN_H
18960 # include <sys/un.h>
18961 #endif
18963 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18965 cat >>confdefs.h <<_ACEOF
18966 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18967 _ACEOF
18971 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18972 #ifdef HAVE_SYS_SOCKET_H
18973 # include <sys/socket.h>
18974 #endif
18975 #ifdef HAVE_SYS_UN_H
18976 # include <sys/un.h>
18977 #endif
18979 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18981 cat >>confdefs.h <<_ACEOF
18982 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18983 _ACEOF
18987 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18988 #ifdef HAVE_SYS_SOCKET_H
18989 # include <sys/socket.h>
18990 #endif
18991 #ifdef HAVE_SYS_UN_H
18992 # include <sys/un.h>
18993 #endif
18995 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18999 _ACEOF
19005 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19006 #ifdef HAVE_SCSI_SG_H
19007 #include <scsi/sg.h>
19008 #endif
19010 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19012 cat >>confdefs.h <<_ACEOF
19013 #define HAVE_SCSIREQ_T_CMD 1
19014 _ACEOF
19018 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>
19019 #ifdef HAVE_SCSI_SG_H
19020 #include <scsi/sg.h>
19021 #endif
19023 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19025 cat >>confdefs.h <<_ACEOF
19026 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19027 _ACEOF
19033 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19035 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19037 cat >>confdefs.h <<_ACEOF
19038 #define HAVE_SIGINFO_T_SI_FD 1
19039 _ACEOF
19045 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19046 #ifdef HAVE_SYS_MTIO_H
19047 #include <sys/mtio.h>
19048 #endif
19050 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19052 cat >>confdefs.h <<_ACEOF
19053 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19054 _ACEOF
19058 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19059 #ifdef HAVE_SYS_MTIO_H
19060 #include <sys/mtio.h>
19061 #endif
19063 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19067 _ACEOF
19071 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19072 #ifdef HAVE_SYS_MTIO_H
19073 #include <sys/mtio.h>
19074 #endif
19076 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19078 cat >>confdefs.h <<_ACEOF
19079 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19080 _ACEOF
19086 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19087 #include <getopt.h>
19088 #endif
19090 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19092 cat >>confdefs.h <<_ACEOF
19093 #define HAVE_STRUCT_OPTION_NAME 1
19094 _ACEOF
19100 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19101 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19103 cat >>confdefs.h <<_ACEOF
19104 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19105 _ACEOF
19109 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19110 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19112 cat >>confdefs.h <<_ACEOF
19113 #define HAVE_STRUCT_STAT_ST_MTIM 1
19114 _ACEOF
19118 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19119 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19121 cat >>confdefs.h <<_ACEOF
19122 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19123 _ACEOF
19127 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19128 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19130 cat >>confdefs.h <<_ACEOF
19131 #define HAVE_STRUCT_STAT_ST_CTIM 1
19132 _ACEOF
19136 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19137 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19139 cat >>confdefs.h <<_ACEOF
19140 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19141 _ACEOF
19145 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19146 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STRUCT_STAT_ST_ATIM 1
19150 _ACEOF
19154 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19155 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19157 cat >>confdefs.h <<_ACEOF
19158 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19159 _ACEOF
19163 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19164 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19166 cat >>confdefs.h <<_ACEOF
19167 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19168 _ACEOF
19172 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19173 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19175 cat >>confdefs.h <<_ACEOF
19176 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19177 _ACEOF
19181 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19182 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19184 cat >>confdefs.h <<_ACEOF
19185 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19186 _ACEOF
19190 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19191 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19193 cat >>confdefs.h <<_ACEOF
19194 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19195 _ACEOF
19199 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19200 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19202 cat >>confdefs.h <<_ACEOF
19203 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19204 _ACEOF
19210 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
19211 #include <sys/types.h>
19212 #endif
19213 #ifdef HAVE_NETINET_IN_H
19214 #include <netinet/in.h>
19215 #endif
19217 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19219 cat >>confdefs.h <<_ACEOF
19220 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19221 _ACEOF
19227 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19228 #include <sys/types.h>
19229 #endif
19230 #ifdef HAVE_NETINET_IN_H
19231 #include <netinet/in.h>
19232 #endif
19233 #ifdef HAVE_RESOLV_H
19234 #include <resolv.h>
19235 #endif
19237 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19239 cat >>confdefs.h <<_ACEOF
19240 #define HAVE_STRUCT___RES_STATE 1
19241 _ACEOF
19247 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
19248 #include <resolv.h>
19249 #endif
19251 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19253 cat >>confdefs.h <<_ACEOF
19254 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19255 _ACEOF
19261 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19262 #include <sys/types.h>
19263 #endif
19264 #ifdef HAVE_NETINET_IN_H
19265 # include <netinet/in.h>
19266 #endif
19267 #ifdef HAVE_ARPA_NAMESER_H
19268 # include <arpa/nameser.h>
19269 #endif
19271 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_NS_MSG__MSG_PTR 1
19275 _ACEOF
19281 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19282 #include <sys/types.h>
19283 #endif
19284 #ifdef HAVE_NETINET_IN_H
19285 #include <netinet/in.h>
19286 #endif
19287 #ifdef HAVE_NETINET_IP_H
19288 #include <netinet/ip.h>
19289 #endif
19290 #ifdef HAVE_NETINET_IP_ICMP_H
19291 #include <netinet/ip_icmp.h>
19292 #endif
19293 #ifdef HAVE_NETINET_ICMP_VAR_H
19294 #include <netinet/icmp_var.h>
19295 #endif
19297 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19299 cat >>confdefs.h <<_ACEOF
19300 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19301 _ACEOF
19307 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19308 #include <sys/types.h>
19309 #endif
19310 #ifdef HAVE_ALIAS_H
19311 #include <alias.h>
19312 #endif
19313 #ifdef HAVE_SYS_SOCKET_H
19314 #include <sys/socket.h>
19315 #endif
19316 #ifdef HAVE_SYS_SOCKETVAR_H
19317 #include <sys/socketvar.h>
19318 #endif
19319 #ifdef HAVE_SYS_TIMEOUT_H
19320 #include <sys/timeout.h>
19321 #endif
19322 #ifdef HAVE_NETINET_IN_H
19323 #include <netinet/in.h>
19324 #endif
19325 #ifdef HAVE_NETINET_IN_SYSTM_H
19326 #include <netinet/in_systm.h>
19327 #endif
19328 #ifdef HAVE_NETINET_IP_H
19329 #include <netinet/ip.h>
19330 #endif
19331 #ifdef HAVE_NETINET_IP_VAR_H
19332 #include <netinet/ip_var.h>
19333 #endif
19334 #ifdef HAVE_NETINET_IP_ICMP_H
19335 #include <netinet/ip_icmp.h>
19336 #endif
19337 #ifdef HAVE_NETINET_ICMP_VAR_H
19338 #include <netinet/icmp_var.h>
19339 #endif
19341 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19343 cat >>confdefs.h <<_ACEOF
19344 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19345 _ACEOF
19351 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19352 #include <sys/types.h>
19353 #endif
19354 #ifdef HAVE_SYS_SOCKETVAR_H
19355 #include <sys/socketvar.h>
19356 #endif
19357 #ifdef HAVE_NETINET_IN_H
19358 #include <netinet/in.h>
19359 #endif
19360 #ifdef HAVE_NETINET_IP_VAR_H
19361 #include <netinet/ip_var.h>
19362 #endif
19364 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19366 cat >>confdefs.h <<_ACEOF
19367 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19368 _ACEOF
19374 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
19375 #include <netinet/ip_var.h>
19376 #endif
19378 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19380 cat >>confdefs.h <<_ACEOF
19381 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19382 _ACEOF
19388 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19389 #include <sys/types.h>
19390 #endif
19391 #ifdef HAVE_SYS_SOCKETVAR_H
19392 #include <sys/socketvar.h>
19393 #endif
19394 #ifdef HAVE_NETINET_IN_H
19395 #include <netinet/in.h>
19396 #endif
19397 #ifdef HAVE_NETINET_TCP_H
19398 #include <netinet/tcp.h>
19399 #endif
19400 #ifdef HAVE_NETINET_TCP_VAR_H
19401 #include <netinet/tcp_var.h>
19402 #endif
19404 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19406 cat >>confdefs.h <<_ACEOF
19407 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19408 _ACEOF
19414 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
19415 #include <netinet/tcp_var.h>
19416 #endif
19418 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19420 cat >>confdefs.h <<_ACEOF
19421 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19422 _ACEOF
19428 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19429 #include <sys/types.h>
19430 #endif
19431 #ifdef HAVE_NETINET_IN_H
19432 #include <netinet/in.h>
19433 #endif
19434 #ifdef HAVE_NETINET_IP_VAR_H
19435 #include <netinet/ip_var.h>
19436 #endif
19437 #ifdef HAVE_NETINET_UDP_H
19438 #include <netinet/udp.h>
19439 #endif
19440 #ifdef HAVE_NETINET_UDP_VAR_H
19441 #include <netinet/udp_var.h>
19442 #endif
19444 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19446 cat >>confdefs.h <<_ACEOF
19447 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19448 _ACEOF
19454 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19455 #include <sys/types.h>
19456 #endif
19457 #ifdef HAVE_NET_IF_H
19458 # include <net/if.h>
19459 #endif
19461 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19463 cat >>confdefs.h <<_ACEOF
19464 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19465 _ACEOF
19471 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19472 # include <sys/sysinfo.h>
19473 #endif
19475 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19477 cat >>confdefs.h <<_ACEOF
19478 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19479 _ACEOF
19483 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19484 # include <sys/sysinfo.h>
19485 #endif
19487 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19489 cat >>confdefs.h <<_ACEOF
19490 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19491 _ACEOF
19497 ac_save_LIBS="$LIBS"
19498 LIBS="$LIBS -lm"
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19500 $as_echo_n "checking for isfinite... " >&6; }
19501 if ${ac_cv_have_isfinite+:} false; then :
19502 $as_echo_n "(cached) " >&6
19503 else
19504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19506 #define _GNU_SOURCE
19507 #include <math.h>
19509 main ()
19511 float f = 0.0; return isfinite(f)
19513 return 0;
19515 _ACEOF
19516 if ac_fn_c_try_link "$LINENO"; then :
19517 ac_cv_have_isfinite="yes"
19518 else
19519 ac_cv_have_isfinite="no"
19521 rm -f core conftest.err conftest.$ac_objext \
19522 conftest$ac_exeext conftest.$ac_ext
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19525 $as_echo "$ac_cv_have_isfinite" >&6; }
19526 if test "$ac_cv_have_isfinite" = "yes"
19527 then
19529 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19534 $as_echo_n "checking for isinf... " >&6; }
19535 if ${ac_cv_have_isinf+:} false; then :
19536 $as_echo_n "(cached) " >&6
19537 else
19538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19539 /* end confdefs.h. */
19540 #include <math.h>
19542 main ()
19544 float f = 0.0; return isinf(f)
19546 return 0;
19548 _ACEOF
19549 if ac_fn_c_try_link "$LINENO"; then :
19550 ac_cv_have_isinf="yes"
19551 else
19552 ac_cv_have_isinf="no"
19554 rm -f core conftest.err conftest.$ac_objext \
19555 conftest$ac_exeext conftest.$ac_ext
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19558 $as_echo "$ac_cv_have_isinf" >&6; }
19559 if test "$ac_cv_have_isinf" = "yes"
19560 then
19562 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19567 $as_echo_n "checking for isnan... " >&6; }
19568 if ${ac_cv_have_isnan+:} false; then :
19569 $as_echo_n "(cached) " >&6
19570 else
19571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19572 /* end confdefs.h. */
19573 #include <math.h>
19575 main ()
19577 float f = 0.0; return isnan(f)
19579 return 0;
19581 _ACEOF
19582 if ac_fn_c_try_link "$LINENO"; then :
19583 ac_cv_have_isnan="yes"
19584 else
19585 ac_cv_have_isnan="no"
19587 rm -f core conftest.err conftest.$ac_objext \
19588 conftest$ac_exeext conftest.$ac_ext
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19591 $as_echo "$ac_cv_have_isnan" >&6; }
19592 if test "$ac_cv_have_isnan" = "yes"
19593 then
19595 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19599 for ac_func in \
19600 acosh \
19601 acoshf \
19602 asinh \
19603 asinhf \
19604 atanh \
19605 atanhf \
19606 cbrt \
19607 cbrtf \
19608 erf \
19609 erfc \
19610 erfcf \
19611 erff \
19612 exp2 \
19613 exp2f \
19614 expm1 \
19615 expm1f \
19616 fma \
19617 fmaf \
19618 j0 \
19619 j1 \
19620 jn \
19621 lgamma \
19622 lgammaf \
19623 llrint \
19624 llrintf \
19625 llround \
19626 llroundf \
19627 log1p \
19628 log1pf \
19629 log2 \
19630 log2f \
19631 lrint \
19632 lrintf \
19633 lround \
19634 lroundf \
19635 nearbyint \
19636 nearbyintf \
19637 nexttoward \
19638 nexttowardf \
19639 remainder \
19640 remainderf \
19641 remquo \
19642 remquof \
19643 rint \
19644 rintf \
19645 round \
19646 roundf \
19647 tgamma \
19648 tgammaf \
19649 trunc \
19650 truncf \
19651 y0 \
19652 y1 \
19655 do :
19656 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19657 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19658 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19659 cat >>confdefs.h <<_ACEOF
19660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19661 _ACEOF
19664 done
19666 LIBS="$ac_save_LIBS"
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19669 $as_echo_n "checking for __builtin_popcount... " >&6; }
19670 if ${ac_cv_have___builtin_popcount+:} false; then :
19671 $as_echo_n "(cached) " >&6
19672 else
19673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19674 /* end confdefs.h. */
19677 main ()
19679 return __builtin_popcount(1)
19681 return 0;
19683 _ACEOF
19684 if ac_fn_c_try_link "$LINENO"; then :
19685 ac_cv_have___builtin_popcount="yes"
19686 else
19687 ac_cv_have___builtin_popcount="no"
19689 rm -f core conftest.err conftest.$ac_objext \
19690 conftest$ac_exeext conftest.$ac_ext
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19693 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19694 if test "$ac_cv_have___builtin_popcount" = "yes"
19695 then
19697 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19702 $as_echo_n "checking for __clear_cache... " >&6; }
19703 if ${ac_cv_have___clear_cache+:} false; then :
19704 $as_echo_n "(cached) " >&6
19705 else
19706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19707 /* end confdefs.h. */
19710 main ()
19712 __clear_cache((void*)0, (void*)0); return 0;
19714 return 0;
19716 _ACEOF
19717 if ac_fn_c_try_link "$LINENO"; then :
19718 ac_cv_have___clear_cache="yes"
19719 else
19720 ac_cv_have___clear_cache="no"
19722 rm -f core conftest.err conftest.$ac_objext \
19723 conftest$ac_exeext conftest.$ac_ext
19725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19726 $as_echo "$ac_cv_have___clear_cache" >&6; }
19727 if test "$ac_cv_have___clear_cache" = "yes"
19728 then
19730 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19735 case $host_cpu in
19736 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19737 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19738 if ${ac_cv_cpp_def___i386__+:} false; then :
19739 $as_echo_n "(cached) " >&6
19740 else
19741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742 /* end confdefs.h. */
19743 #ifndef __i386__
19745 #endif
19746 _ACEOF
19747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19748 $EGREP "yes" >/dev/null 2>&1; then :
19749 ac_cv_cpp_def___i386__=yes
19750 else
19751 ac_cv_cpp_def___i386__=no
19753 rm -f conftest*
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19757 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19758 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19759 CFLAGS="$CFLAGS -D__i386__"
19760 LINTFLAGS="$LINTFLAGS -D__i386__"
19761 fi ;;
19762 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19763 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19764 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19765 $as_echo_n "(cached) " >&6
19766 else
19767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19768 /* end confdefs.h. */
19769 #ifndef __x86_64__
19771 #endif
19772 _ACEOF
19773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19774 $EGREP "yes" >/dev/null 2>&1; then :
19775 ac_cv_cpp_def___x86_64__=yes
19776 else
19777 ac_cv_cpp_def___x86_64__=no
19779 rm -f conftest*
19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19783 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19784 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19785 CFLAGS="$CFLAGS -D__x86_64__"
19786 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19787 fi ;;
19788 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19789 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19790 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19791 $as_echo_n "(cached) " >&6
19792 else
19793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h. */
19795 #ifndef __sparc64__
19797 #endif
19798 _ACEOF
19799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19800 $EGREP "yes" >/dev/null 2>&1; then :
19801 ac_cv_cpp_def___sparc64__=yes
19802 else
19803 ac_cv_cpp_def___sparc64__=no
19805 rm -f conftest*
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19809 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19810 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19811 CFLAGS="$CFLAGS -D__sparc64__"
19812 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19813 fi ;;
19814 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19815 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19816 if ${ac_cv_cpp_def___sparc__+:} false; then :
19817 $as_echo_n "(cached) " >&6
19818 else
19819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19820 /* end confdefs.h. */
19821 #ifndef __sparc__
19823 #endif
19824 _ACEOF
19825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19826 $EGREP "yes" >/dev/null 2>&1; then :
19827 ac_cv_cpp_def___sparc__=yes
19828 else
19829 ac_cv_cpp_def___sparc__=no
19831 rm -f conftest*
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19835 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19836 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19837 CFLAGS="$CFLAGS -D__sparc__"
19838 LINTFLAGS="$LINTFLAGS -D__sparc__"
19839 fi ;;
19840 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19841 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19842 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19843 $as_echo_n "(cached) " >&6
19844 else
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19847 #ifndef __powerpc64__
19849 #endif
19850 _ACEOF
19851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19852 $EGREP "yes" >/dev/null 2>&1; then :
19853 ac_cv_cpp_def___powerpc64__=yes
19854 else
19855 ac_cv_cpp_def___powerpc64__=no
19857 rm -f conftest*
19860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19861 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19862 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19863 CFLAGS="$CFLAGS -D__powerpc64__"
19864 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19865 fi ;;
19866 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19867 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19868 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19869 $as_echo_n "(cached) " >&6
19870 else
19871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19872 /* end confdefs.h. */
19873 #ifndef __powerpc__
19875 #endif
19876 _ACEOF
19877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19878 $EGREP "yes" >/dev/null 2>&1; then :
19879 ac_cv_cpp_def___powerpc__=yes
19880 else
19881 ac_cv_cpp_def___powerpc__=no
19883 rm -f conftest*
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19887 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19888 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19889 CFLAGS="$CFLAGS -D__powerpc__"
19890 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19891 fi ;;
19892 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19893 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19894 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19895 $as_echo_n "(cached) " >&6
19896 else
19897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19898 /* end confdefs.h. */
19899 #ifndef __aarch64__
19901 #endif
19902 _ACEOF
19903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19904 $EGREP "yes" >/dev/null 2>&1; then :
19905 ac_cv_cpp_def___aarch64__=yes
19906 else
19907 ac_cv_cpp_def___aarch64__=no
19909 rm -f conftest*
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19913 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19914 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19915 CFLAGS="$CFLAGS -D__aarch64__"
19916 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19917 fi ;;
19918 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19919 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19920 if ${ac_cv_cpp_def___arm__+:} false; then :
19921 $as_echo_n "(cached) " >&6
19922 else
19923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19924 /* end confdefs.h. */
19925 #ifndef __arm__
19927 #endif
19928 _ACEOF
19929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19930 $EGREP "yes" >/dev/null 2>&1; then :
19931 ac_cv_cpp_def___arm__=yes
19932 else
19933 ac_cv_cpp_def___arm__=no
19935 rm -f conftest*
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19939 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19940 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19941 CFLAGS="$CFLAGS -D__arm__"
19942 LINTFLAGS="$LINTFLAGS -D__arm__"
19943 fi ;;
19944 esac
19946 case $host_vendor in
19947 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19948 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19949 if ${ac_cv_cpp_def___sun__+:} false; then :
19950 $as_echo_n "(cached) " >&6
19951 else
19952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19953 /* end confdefs.h. */
19954 #ifndef __sun__
19956 #endif
19957 _ACEOF
19958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19959 $EGREP "yes" >/dev/null 2>&1; then :
19960 ac_cv_cpp_def___sun__=yes
19961 else
19962 ac_cv_cpp_def___sun__=no
19964 rm -f conftest*
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19968 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19969 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19970 CFLAGS="$CFLAGS -D__sun__"
19971 LINTFLAGS="$LINTFLAGS -D__sun__"
19972 fi ;;
19973 esac
19979 ac_config_commands="$ac_config_commands include/stamp-h"
19981 $as_echo_n "creating Makefile rules..." >&6
19983 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19984 OPENGL_LIBS = $OPENGL_LIBS
19985 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19986 IOKIT_LIBS = $IOKIT_LIBS
19987 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19988 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19989 CORESERVICES_LIBS = $CORESERVICES_LIBS
19990 APPKIT_LIBS = $APPKIT_LIBS
19991 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19992 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19993 SECURITY_LIBS = $SECURITY_LIBS
19994 COREAUDIO_LIBS = $COREAUDIO_LIBS
19995 OPENAL_LIBS = $OPENAL_LIBS
19996 OPENCL_LIBS = $OPENCL_LIBS
19997 QUICKTIME_LIBS = $QUICKTIME_LIBS
19998 CARBON_LIBS = $CARBON_LIBS
19999 METAL_LIBS = $METAL_LIBS
20000 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20001 PTHREAD_LIBS = $PTHREAD_LIBS
20002 X_CFLAGS = $X_CFLAGS
20003 X_PRE_LIBS = $X_PRE_LIBS
20004 X_LIBS = $X_LIBS
20005 X_EXTRA_LIBS = $X_EXTRA_LIBS
20006 PCAP_LIBS = $PCAP_LIBS
20007 XML2_CFLAGS = $XML2_CFLAGS
20008 XML2_LIBS = $XML2_LIBS
20009 XSLT_CFLAGS = $XSLT_CFLAGS
20010 XSLT_LIBS = $XSLT_LIBS
20011 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20012 INOTIFY_LIBS = $INOTIFY_LIBS
20013 DBUS_CFLAGS = $DBUS_CFLAGS
20014 DBUS_LIBS = $DBUS_LIBS
20015 HAL_CFLAGS = $HAL_CFLAGS
20016 HAL_LIBS = $HAL_LIBS
20017 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20018 GNUTLS_LIBS = $GNUTLS_LIBS
20019 SANE_CFLAGS = $SANE_CFLAGS
20020 SANE_LIBS = $SANE_LIBS
20021 USB_CFLAGS = $USB_CFLAGS
20022 USB_LIBS = $USB_LIBS
20023 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20024 GPHOTO2_LIBS = $GPHOTO2_LIBS
20025 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20026 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20027 RESOLV_LIBS = $RESOLV_LIBS
20028 LCMS2_CFLAGS = $LCMS2_CFLAGS
20029 LCMS2_LIBS = $LCMS2_LIBS
20030 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20031 FREETYPE_LIBS = $FREETYPE_LIBS
20032 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20033 PULSE_CFLAGS = $PULSE_CFLAGS
20034 PULSE_LIBS = $PULSE_LIBS
20035 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20036 GSTREAMER_LIBS = $GSTREAMER_LIBS
20037 ALSA_LIBS = $ALSA_LIBS
20038 OSS4_CFLAGS = $OSS4_CFLAGS
20039 OSS4_LIBS = $OSS4_LIBS
20040 UDEV_CFLAGS = $UDEV_CFLAGS
20041 UDEV_LIBS = $UDEV_LIBS
20042 UNWIND_CFLAGS = $UNWIND_CFLAGS
20043 UNWIND_LIBS = $UNWIND_LIBS
20044 SDL2_CFLAGS = $SDL2_CFLAGS
20045 SDL2_LIBS = $SDL2_LIBS
20046 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20047 FAUDIO_LIBS = $FAUDIO_LIBS
20048 CAPI20_CFLAGS = $CAPI20_CFLAGS
20049 CAPI20_LIBS = $CAPI20_LIBS
20050 CUPS_CFLAGS = $CUPS_CFLAGS
20051 CUPS_LIBS = $CUPS_LIBS
20052 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20053 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20054 KRB5_CFLAGS = $KRB5_CFLAGS
20055 KRB5_LIBS = $KRB5_LIBS
20056 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20057 GSSAPI_LIBS = $GSSAPI_LIBS
20058 JPEG_CFLAGS = $JPEG_CFLAGS
20059 JPEG_LIBS = $JPEG_LIBS
20060 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20061 JXRLIB_LIBS = $JXRLIB_LIBS
20062 PNG_CFLAGS = $PNG_CFLAGS
20063 PNG_LIBS = $PNG_LIBS
20064 TIFF_CFLAGS = $TIFF_CFLAGS
20065 TIFF_LIBS = $TIFF_LIBS
20066 MPG123_CFLAGS = $MPG123_CFLAGS
20067 MPG123_LIBS = $MPG123_LIBS
20068 KSTAT_LIBS = $KSTAT_LIBS
20069 PROCSTAT_LIBS = $PROCSTAT_LIBS
20070 NETAPI_CFLAGS = $NETAPI_CFLAGS
20071 NETAPI_LIBS = $NETAPI_LIBS
20072 VKD3D_CFLAGS = $VKD3D_CFLAGS
20073 VKD3D_LIBS = $VKD3D_LIBS
20074 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20075 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20076 POLL_LIBS = $POLL_LIBS
20077 RT_LIBS = $RT_LIBS
20078 LDAP_CFLAGS = $LDAP_CFLAGS
20079 LDAP_LIBS = $LDAP_LIBS
20083 makedep_flags=""
20084 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20087 wine_fn_append_rule "
20088 # Rules automatically generated by configure
20090 .INIT: Makefile
20091 .MAKEFILEDEPS:
20092 all: Makefile
20093 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20094 @./config.status Make.tmp Makefile
20095 depend: \$(MAKEDEP)
20096 \$(MAKEDEP)$makedep_flags
20097 dummy:
20098 .PHONY: depend dummy"
20100 ac_config_links="$ac_config_links wine:tools/winewrapper"
20101 wine_fn_config_symlink wine
20102 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20103 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20104 wine_fn_config_symlink wine64
20107 wine_fn_config_makefile dlls/acledit enable_acledit
20108 wine_fn_config_makefile dlls/aclui enable_aclui
20109 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20110 wine_fn_config_makefile dlls/activeds enable_activeds
20111 wine_fn_config_makefile dlls/activeds/tests enable_tests
20112 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20113 wine_fn_config_makefile dlls/adsiid enable_adsiid
20114 wine_fn_config_makefile dlls/adsldp enable_adsldp
20115 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20116 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20117 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20118 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20119 wine_fn_config_makefile dlls/advpack enable_advpack
20120 wine_fn_config_makefile dlls/advpack/tests enable_tests
20121 wine_fn_config_makefile dlls/amsi enable_amsi
20122 wine_fn_config_makefile dlls/amstream enable_amstream
20123 wine_fn_config_makefile dlls/amstream/tests enable_tests
20124 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20126 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20127 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20129 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20134 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20142 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20144 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20146 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20149 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20150 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20157 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20158 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20160 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20161 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20170 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20174 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20175 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20179 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20182 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20186 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20187 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20195 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20196 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20197 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20198 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20206 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20210 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20211 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20212 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20235 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20239 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20242 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20253 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20258 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20259 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20264 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20266 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20285 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20286 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20306 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20317 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20321 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20323 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20325 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20326 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20330 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20331 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20333 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20338 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20339 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20342 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20344 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20347 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_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/mfplay/tests enable_tests
20738 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20739 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20740 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20741 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20742 wine_fn_config_makefile dlls/midimap enable_midimap
20743 wine_fn_config_makefile dlls/mlang enable_mlang
20744 wine_fn_config_makefile dlls/mlang/tests enable_tests
20745 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20746 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20747 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20748 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20749 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20750 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20751 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20752 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20753 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20754 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20755 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20756 wine_fn_config_makefile dlls/mpr enable_mpr
20757 wine_fn_config_makefile dlls/mpr/tests enable_tests
20758 wine_fn_config_makefile dlls/mprapi enable_mprapi
20759 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20760 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20761 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20762 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20763 wine_fn_config_makefile dlls/msado15 enable_msado15
20764 wine_fn_config_makefile dlls/msado15/tests enable_tests
20765 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20766 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20767 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20768 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20769 wine_fn_config_makefile dlls/mscms enable_mscms
20770 wine_fn_config_makefile dlls/mscms/tests enable_tests
20771 wine_fn_config_makefile dlls/mscoree enable_mscoree
20772 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20773 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20774 wine_fn_config_makefile dlls/msctf enable_msctf
20775 wine_fn_config_makefile dlls/msctf/tests enable_tests
20776 wine_fn_config_makefile dlls/msctfp enable_msctfp
20777 wine_fn_config_makefile dlls/msdaps enable_msdaps
20778 wine_fn_config_makefile dlls/msdelta enable_msdelta
20779 wine_fn_config_makefile dlls/msdmo enable_msdmo
20780 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20781 wine_fn_config_makefile dlls/msdrm enable_msdrm
20782 wine_fn_config_makefile dlls/msftedit enable_msftedit
20783 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20784 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20785 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20786 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20787 wine_fn_config_makefile dlls/mshtml enable_mshtml
20788 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20789 wine_fn_config_makefile dlls/msi enable_msi
20790 wine_fn_config_makefile dlls/msi/tests enable_tests
20791 wine_fn_config_makefile dlls/msident enable_msident
20792 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20793 wine_fn_config_makefile dlls/msimsg enable_msimsg
20794 wine_fn_config_makefile dlls/msimtf enable_msimtf
20795 wine_fn_config_makefile dlls/msisip enable_msisip
20796 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20797 wine_fn_config_makefile dlls/msls31 enable_msls31
20798 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20799 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20800 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20801 wine_fn_config_makefile dlls/msports enable_msports
20802 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20803 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20804 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20805 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20806 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20807 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20808 wine_fn_config_makefile dlls/mstask enable_mstask
20809 wine_fn_config_makefile dlls/mstask/tests enable_tests
20810 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20811 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20812 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20813 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20814 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20815 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20816 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20817 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20818 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20819 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20820 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20821 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20822 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20823 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20824 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20825 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20826 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20827 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20828 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20829 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20830 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20831 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20832 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20833 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20834 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20835 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20836 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20837 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20838 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20839 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20840 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20841 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20842 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20843 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20844 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20845 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20846 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20847 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20848 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20849 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20850 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20851 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20852 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20853 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20854 wine_fn_config_makefile dlls/mswsock enable_mswsock
20855 wine_fn_config_makefile dlls/msxml enable_msxml
20856 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20857 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20858 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20859 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20860 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20861 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20862 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20863 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20864 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20865 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20866 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20867 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20868 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20869 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20870 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20871 wine_fn_config_makefile dlls/netprofm enable_netprofm
20872 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20873 wine_fn_config_makefile dlls/netutils enable_netutils
20874 wine_fn_config_makefile dlls/newdev enable_newdev
20875 wine_fn_config_makefile dlls/ninput enable_ninput
20876 wine_fn_config_makefile dlls/ninput/tests enable_tests
20877 wine_fn_config_makefile dlls/normaliz enable_normaliz
20878 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20879 wine_fn_config_makefile dlls/npptools enable_npptools
20880 wine_fn_config_makefile dlls/ntdll enable_ntdll
20881 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20882 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20883 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20884 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20885 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20886 wine_fn_config_makefile dlls/ntprint enable_ntprint
20887 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20888 wine_fn_config_makefile dlls/objsel enable_objsel
20889 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20890 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20891 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20892 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20893 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20894 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20895 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20896 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20897 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20898 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20899 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20900 wine_fn_config_makefile dlls/ole32 enable_ole32
20901 wine_fn_config_makefile dlls/ole32/tests enable_tests
20902 wine_fn_config_makefile dlls/oleacc enable_oleacc
20903 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20904 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20905 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20906 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20907 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20908 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20909 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20910 wine_fn_config_makefile dlls/oledlg enable_oledlg
20911 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20912 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20913 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20914 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20915 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20916 wine_fn_config_makefile dlls/opcservices enable_opcservices
20917 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20918 wine_fn_config_makefile dlls/openal32 enable_openal32
20919 wine_fn_config_makefile dlls/opencl enable_opencl
20920 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20921 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20922 wine_fn_config_makefile dlls/packager enable_packager
20923 wine_fn_config_makefile dlls/packager/tests enable_tests
20924 wine_fn_config_makefile dlls/pdh enable_pdh
20925 wine_fn_config_makefile dlls/pdh/tests enable_tests
20926 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20927 wine_fn_config_makefile dlls/pidgen enable_pidgen
20928 wine_fn_config_makefile dlls/powrprof enable_powrprof
20929 wine_fn_config_makefile dlls/printui enable_printui
20930 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20931 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20932 wine_fn_config_makefile dlls/propsys enable_propsys
20933 wine_fn_config_makefile dlls/propsys/tests enable_tests
20934 wine_fn_config_makefile dlls/psapi enable_psapi
20935 wine_fn_config_makefile dlls/psapi/tests enable_tests
20936 wine_fn_config_makefile dlls/pstorec enable_pstorec
20937 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20938 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20939 wine_fn_config_makefile dlls/qasf enable_qasf
20940 wine_fn_config_makefile dlls/qasf/tests enable_tests
20941 wine_fn_config_makefile dlls/qcap enable_qcap
20942 wine_fn_config_makefile dlls/qcap/tests enable_tests
20943 wine_fn_config_makefile dlls/qdvd enable_qdvd
20944 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20945 wine_fn_config_makefile dlls/qedit enable_qedit
20946 wine_fn_config_makefile dlls/qedit/tests enable_tests
20947 wine_fn_config_makefile dlls/qmgr enable_qmgr
20948 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20949 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20950 wine_fn_config_makefile dlls/quartz enable_quartz
20951 wine_fn_config_makefile dlls/quartz/tests enable_tests
20952 wine_fn_config_makefile dlls/query enable_query
20953 wine_fn_config_makefile dlls/qwave enable_qwave
20954 wine_fn_config_makefile dlls/qwave/tests enable_tests
20955 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20956 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20957 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20958 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20959 wine_fn_config_makefile dlls/regapi enable_regapi
20960 wine_fn_config_makefile dlls/resutils enable_resutils
20961 wine_fn_config_makefile dlls/riched20 enable_riched20
20962 wine_fn_config_makefile dlls/riched20/tests enable_tests
20963 wine_fn_config_makefile dlls/riched32 enable_riched32
20964 wine_fn_config_makefile dlls/riched32/tests enable_tests
20965 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20966 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20967 wine_fn_config_makefile dlls/rsabase enable_rsabase
20968 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20969 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20970 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20971 wine_fn_config_makefile dlls/rtutils enable_rtutils
20972 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20973 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20974 wine_fn_config_makefile dlls/samlib enable_samlib
20975 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20976 wine_fn_config_makefile dlls/sapi enable_sapi
20977 wine_fn_config_makefile dlls/sapi/tests enable_tests
20978 wine_fn_config_makefile dlls/sas enable_sas
20979 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20980 wine_fn_config_makefile dlls/sccbase enable_sccbase
20981 wine_fn_config_makefile dlls/schannel enable_schannel
20982 wine_fn_config_makefile dlls/schannel/tests enable_tests
20983 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20984 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20985 wine_fn_config_makefile dlls/scrobj enable_scrobj
20986 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20987 wine_fn_config_makefile dlls/scrrun enable_scrrun
20988 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20989 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20990 wine_fn_config_makefile dlls/sechost enable_sechost
20991 wine_fn_config_makefile dlls/secur32 enable_secur32
20992 wine_fn_config_makefile dlls/secur32/tests enable_tests
20993 wine_fn_config_makefile dlls/security enable_security
20994 wine_fn_config_makefile dlls/sensapi enable_sensapi
20995 wine_fn_config_makefile dlls/serialui enable_serialui
20996 wine_fn_config_makefile dlls/serialui/tests enable_tests
20997 wine_fn_config_makefile dlls/setupapi enable_setupapi
20998 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20999 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21000 wine_fn_config_makefile dlls/sfc enable_sfc
21001 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21002 wine_fn_config_makefile dlls/shcore enable_shcore
21003 wine_fn_config_makefile dlls/shcore/tests enable_tests
21004 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21005 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21006 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21007 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21008 wine_fn_config_makefile dlls/shell32 enable_shell32
21009 wine_fn_config_makefile dlls/shell32/tests enable_tests
21010 wine_fn_config_makefile dlls/shfolder enable_shfolder
21011 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21012 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21013 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21014 wine_fn_config_makefile dlls/slc enable_slc
21015 wine_fn_config_makefile dlls/slc/tests enable_tests
21016 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21017 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21018 wine_fn_config_makefile dlls/softpub enable_softpub
21019 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21020 wine_fn_config_makefile dlls/spoolss enable_spoolss
21021 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21022 wine_fn_config_makefile dlls/srclient enable_srclient
21023 wine_fn_config_makefile dlls/srvcli enable_srvcli
21024 wine_fn_config_makefile dlls/sspicli enable_sspicli
21025 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21026 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21027 wine_fn_config_makefile dlls/sti enable_sti
21028 wine_fn_config_makefile dlls/sti/tests enable_tests
21029 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21030 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21031 wine_fn_config_makefile dlls/strmbase enable_strmbase
21032 wine_fn_config_makefile dlls/strmdll enable_strmdll
21033 wine_fn_config_makefile dlls/strmiids enable_strmiids
21034 wine_fn_config_makefile dlls/svrapi enable_svrapi
21035 wine_fn_config_makefile dlls/sxs enable_sxs
21036 wine_fn_config_makefile dlls/sxs/tests enable_tests
21037 wine_fn_config_makefile dlls/system.drv16 enable_win16
21038 wine_fn_config_makefile dlls/t2embed enable_t2embed
21039 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21040 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21041 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21042 wine_fn_config_makefile dlls/taskschd enable_taskschd
21043 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21044 wine_fn_config_makefile dlls/tdh enable_tdh
21045 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21046 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21047 wine_fn_config_makefile dlls/traffic enable_traffic
21048 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21049 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21050 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21051 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21052 wine_fn_config_makefile dlls/tzres enable_tzres
21053 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21054 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21055 wine_fn_config_makefile dlls/uianimation enable_uianimation
21056 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21057 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21058 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21059 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21060 wine_fn_config_makefile dlls/unicows enable_unicows
21061 wine_fn_config_makefile dlls/updspapi enable_updspapi
21062 wine_fn_config_makefile dlls/url enable_url
21063 wine_fn_config_makefile dlls/urlmon enable_urlmon
21064 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21065 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21066 wine_fn_config_makefile dlls/user.exe16 enable_win16
21067 wine_fn_config_makefile dlls/user32 enable_user32
21068 wine_fn_config_makefile dlls/user32/tests enable_tests
21069 wine_fn_config_makefile dlls/userenv enable_userenv
21070 wine_fn_config_makefile dlls/userenv/tests enable_tests
21071 wine_fn_config_makefile dlls/usp10 enable_usp10
21072 wine_fn_config_makefile dlls/usp10/tests enable_tests
21073 wine_fn_config_makefile dlls/utildll enable_utildll
21074 wine_fn_config_makefile dlls/uuid enable_uuid
21075 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21076 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21077 wine_fn_config_makefile dlls/vbscript enable_vbscript
21078 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21079 wine_fn_config_makefile dlls/vcomp enable_vcomp
21080 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21081 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21082 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21083 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21084 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21085 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21086 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21087 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21088 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21089 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21090 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21091 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21092 wine_fn_config_makefile dlls/version enable_version
21093 wine_fn_config_makefile dlls/version/tests enable_tests
21094 wine_fn_config_makefile dlls/vga enable_vga
21095 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21096 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21097 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21098 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21099 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21100 wine_fn_config_makefile dlls/vssapi enable_vssapi
21101 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21102 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21103 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21104 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21105 wine_fn_config_makefile dlls/w32skrnl enable_win16
21106 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21107 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21108 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21109 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21110 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21111 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21112 wine_fn_config_makefile dlls/wdscore enable_wdscore
21113 wine_fn_config_makefile dlls/webservices enable_webservices
21114 wine_fn_config_makefile dlls/webservices/tests enable_tests
21115 wine_fn_config_makefile dlls/websocket enable_websocket
21116 wine_fn_config_makefile dlls/wer enable_wer
21117 wine_fn_config_makefile dlls/wer/tests enable_tests
21118 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21119 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21120 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21121 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21122 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21123 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21124 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21125 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21126 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21127 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21128 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21129 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21130 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21131 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21132 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21133 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21134 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21135 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21136 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21137 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21138 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21139 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21140 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21141 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21142 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21143 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21144 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21145 wine_fn_config_makefile dlls/wined3d enable_wined3d
21146 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21147 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21148 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21149 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21150 wine_fn_config_makefile dlls/winemapi enable_winemapi
21151 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21152 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21153 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21154 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21155 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21156 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21157 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21158 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21159 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21160 wine_fn_config_makefile dlls/wing32 enable_wing32
21161 wine_fn_config_makefile dlls/winhttp enable_winhttp
21162 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21163 wine_fn_config_makefile dlls/wininet enable_wininet
21164 wine_fn_config_makefile dlls/wininet/tests enable_tests
21165 wine_fn_config_makefile dlls/winmm enable_winmm
21166 wine_fn_config_makefile dlls/winmm/tests enable_tests
21167 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21168 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21169 wine_fn_config_makefile dlls/winscard enable_winscard
21170 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21171 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21172 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21173 wine_fn_config_makefile dlls/winsta enable_winsta
21174 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21175 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21176 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21177 wine_fn_config_makefile dlls/wintrust enable_wintrust
21178 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21179 wine_fn_config_makefile dlls/winusb enable_winusb
21180 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21181 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21182 wine_fn_config_makefile dlls/wlanui enable_wlanui
21183 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21184 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21185 wine_fn_config_makefile dlls/wmasf enable_wmasf
21186 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21187 wine_fn_config_makefile dlls/wmi enable_wmi
21188 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21189 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21190 wine_fn_config_makefile dlls/wmp enable_wmp
21191 wine_fn_config_makefile dlls/wmp/tests enable_tests
21192 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21193 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21194 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21195 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21196 wine_fn_config_makefile dlls/wow32 enable_win16
21197 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21198 wine_fn_config_makefile dlls/wpc enable_wpc
21199 wine_fn_config_makefile dlls/wpc/tests enable_tests
21200 wine_fn_config_makefile dlls/wpcap enable_wpcap
21201 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21202 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21203 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21204 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21205 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21206 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21207 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21208 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21209 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21210 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21211 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21212 wine_fn_config_makefile dlls/wuapi enable_wuapi
21213 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21214 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21215 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21216 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21217 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21218 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21219 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21220 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21221 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21222 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21223 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21224 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21225 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21226 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21227 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21228 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21229 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21230 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21231 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21232 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21233 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21234 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21235 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21236 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21237 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21238 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21239 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21240 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21241 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21242 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21243 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21244 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21245 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21246 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21247 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21248 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21249 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21250 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21251 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21252 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21253 wine_fn_config_makefile dlls/xmllite enable_xmllite
21254 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21255 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21256 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21257 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21258 wine_fn_config_makefile fonts enable_fonts
21259 wine_fn_config_makefile include enable_include
21260 wine_fn_config_makefile libs/port enable_port
21261 wine_fn_config_makefile libs/wine enable_wine
21262 wine_fn_config_makefile libs/wpp enable_wpp
21263 wine_fn_config_makefile loader enable_loader
21264 wine_fn_config_makefile nls enable_nls
21265 wine_fn_config_makefile po enable_po
21266 wine_fn_config_makefile programs/arp enable_arp
21267 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21268 wine_fn_config_makefile programs/attrib enable_attrib
21269 wine_fn_config_makefile programs/cabarc enable_cabarc
21270 wine_fn_config_makefile programs/cacls enable_cacls
21271 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21272 wine_fn_config_makefile programs/clock enable_clock
21273 wine_fn_config_makefile programs/cmd enable_cmd
21274 wine_fn_config_makefile programs/cmd/tests enable_tests
21275 wine_fn_config_makefile programs/conhost enable_conhost
21276 wine_fn_config_makefile programs/conhost/tests enable_tests
21277 wine_fn_config_makefile programs/control enable_control
21278 wine_fn_config_makefile programs/cscript enable_cscript
21279 wine_fn_config_makefile programs/dism enable_dism
21280 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21281 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21282 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21283 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21284 wine_fn_config_makefile programs/eject enable_eject
21285 wine_fn_config_makefile programs/expand enable_expand
21286 wine_fn_config_makefile programs/explorer enable_explorer
21287 wine_fn_config_makefile programs/extrac32 enable_extrac32
21288 wine_fn_config_makefile programs/fc enable_fc
21289 wine_fn_config_makefile programs/find enable_find
21290 wine_fn_config_makefile programs/find/tests enable_tests
21291 wine_fn_config_makefile programs/findstr enable_findstr
21292 wine_fn_config_makefile programs/fsutil enable_fsutil
21293 wine_fn_config_makefile programs/fsutil/tests enable_tests
21294 wine_fn_config_makefile programs/hh enable_hh
21295 wine_fn_config_makefile programs/hostname enable_hostname
21296 wine_fn_config_makefile programs/icacls enable_icacls
21297 wine_fn_config_makefile programs/icinfo enable_icinfo
21298 wine_fn_config_makefile programs/iexplore enable_iexplore
21299 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21300 wine_fn_config_makefile programs/lodctr enable_lodctr
21301 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21302 wine_fn_config_makefile programs/mshta enable_mshta
21303 wine_fn_config_makefile programs/msidb enable_msidb
21304 wine_fn_config_makefile programs/msiexec enable_msiexec
21305 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21306 wine_fn_config_makefile programs/net enable_net
21307 wine_fn_config_makefile programs/netsh enable_netsh
21308 wine_fn_config_makefile programs/netstat enable_netstat
21309 wine_fn_config_makefile programs/ngen enable_ngen
21310 wine_fn_config_makefile programs/notepad enable_notepad
21311 wine_fn_config_makefile programs/oleview enable_oleview
21312 wine_fn_config_makefile programs/ping enable_ping
21313 wine_fn_config_makefile programs/plugplay enable_plugplay
21314 wine_fn_config_makefile programs/powershell enable_powershell
21315 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21316 wine_fn_config_makefile programs/progman enable_progman
21317 wine_fn_config_makefile programs/reg enable_reg
21318 wine_fn_config_makefile programs/reg/tests enable_tests
21319 wine_fn_config_makefile programs/regasm enable_regasm
21320 wine_fn_config_makefile programs/regedit enable_regedit
21321 wine_fn_config_makefile programs/regedit/tests enable_tests
21322 wine_fn_config_makefile programs/regini enable_regini
21323 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21324 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21325 wine_fn_config_makefile programs/rpcss enable_rpcss
21326 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21327 wine_fn_config_makefile programs/rundll32 enable_rundll32
21328 wine_fn_config_makefile programs/sc enable_sc
21329 wine_fn_config_makefile programs/schtasks enable_schtasks
21330 wine_fn_config_makefile programs/schtasks/tests enable_tests
21331 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21332 wine_fn_config_makefile programs/secedit enable_secedit
21333 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21334 wine_fn_config_makefile programs/services enable_services
21335 wine_fn_config_makefile programs/services/tests enable_tests
21336 wine_fn_config_makefile programs/shutdown enable_shutdown
21337 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21338 wine_fn_config_makefile programs/start enable_start
21339 wine_fn_config_makefile programs/subst enable_subst
21340 wine_fn_config_makefile programs/svchost enable_svchost
21341 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21342 wine_fn_config_makefile programs/taskkill enable_taskkill
21343 wine_fn_config_makefile programs/tasklist enable_tasklist
21344 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21345 wine_fn_config_makefile programs/termsv enable_termsv
21346 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21347 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21348 wine_fn_config_makefile programs/view enable_view
21349 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21350 wine_fn_config_makefile programs/where enable_where
21351 wine_fn_config_makefile programs/whoami enable_whoami
21352 wine_fn_config_makefile programs/wineboot enable_wineboot
21353 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21354 wine_fn_config_makefile programs/winecfg enable_winecfg
21355 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21356 wine_fn_config_makefile programs/winedbg enable_winedbg
21357 wine_fn_config_makefile programs/winedevice enable_winedevice
21358 wine_fn_config_makefile programs/winefile enable_winefile
21359 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21360 wine_fn_config_makefile programs/winemine enable_winemine
21361 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21362 wine_fn_config_makefile programs/winepath enable_winepath
21363 wine_fn_config_makefile programs/winetest enable_winetest
21364 wine_fn_config_makefile programs/winevdm enable_win16
21365 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21366 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21367 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21368 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21369 wine_fn_config_makefile programs/winver enable_winver
21370 wine_fn_config_makefile programs/wmic enable_wmic
21371 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21372 wine_fn_config_makefile programs/wordpad enable_wordpad
21373 wine_fn_config_makefile programs/write enable_write
21374 wine_fn_config_makefile programs/wscript enable_wscript
21375 wine_fn_config_makefile programs/wscript/tests enable_tests
21376 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21377 wine_fn_config_makefile programs/wusa enable_wusa
21378 wine_fn_config_makefile programs/xcopy enable_xcopy
21379 wine_fn_config_makefile programs/xcopy/tests enable_tests
21380 wine_fn_config_makefile server enable_server
21381 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21382 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21383 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21384 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21385 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21386 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21387 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21388 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21389 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21392 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21393 wine_fn_append_file CONFIGURE_TARGETS "tags"
21394 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21395 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21396 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21397 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21398 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21399 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21401 if test "x$enable_tools" != xno
21402 then
21403 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21404 ac_config_commands="$ac_config_commands tools/makedep"
21408 ac_config_commands="$ac_config_commands Makefile"
21411 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21415 if test "x$enable_maintainer_mode" = xyes
21416 then
21417 wine_fn_append_rule "configure: configure.ac aclocal.m4
21418 autoconf --warnings=all
21419 include/config.h.in: include/stamp-h.in
21420 include/stamp-h.in: configure.ac aclocal.m4
21421 autoheader --warnings=all
21422 @echo timestamp > \$@"
21425 if test "x$enable_tools" != xno
21426 then
21427 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21428 @./config.status tools/makedep
21429 Makefile: tools/makedep$ac_exeext"
21430 else
21431 wine_fn_append_rule "\$(MAKEDEP):
21432 @echo \"You need to run make in $TOOLSDIR first\" && false"
21435 if test -n "$with_wine64"
21436 then
21437 case "$with_wine64" in
21438 /*) reldir="" ;;
21439 *) reldir="../" ;;
21440 esac
21441 rm -f fonts server 2>/dev/null
21442 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21443 loader/wine64 loader/wine64-preloader:
21444 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21445 $with_wine64/loader/wine:
21446 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21447 $with_wine64/loader/wine-preloader:
21448 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21449 clean::
21450 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21451 else
21452 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21453 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21454 fonts \
21455 loader/wine.inf \
21456 nls \
21457 programs/msidb/msidb \
21458 programs/msiexec/msiexec \
21459 programs/notepad/notepad \
21460 programs/regedit/regedit \
21461 programs/regsvr32/regsvr32 \
21462 programs/wineboot/wineboot \
21463 programs/winecfg/winecfg \
21464 programs/wineconsole/wineconsole \
21465 programs/winedbg/winedbg \
21466 programs/winefile/winefile \
21467 programs/winemine/winemine \
21468 programs/winepath/winepath \
21469 server/wineserver"
21471 case $host_os in
21472 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21473 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21474 esac
21477 $as_echo " done" >&6
21478 cat >confcache <<\_ACEOF
21479 # This file is a shell script that caches the results of configure
21480 # tests run on this system so they can be shared between configure
21481 # scripts and configure runs, see configure's option --config-cache.
21482 # It is not useful on other systems. If it contains results you don't
21483 # want to keep, you may remove or edit it.
21485 # config.status only pays attention to the cache file if you give it
21486 # the --recheck option to rerun configure.
21488 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21489 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21490 # following values.
21492 _ACEOF
21494 # The following way of writing the cache mishandles newlines in values,
21495 # but we know of no workaround that is simple, portable, and efficient.
21496 # So, we kill variables containing newlines.
21497 # Ultrix sh set writes to stderr and can't be redirected directly,
21498 # and sets the high bit in the cache file unless we assign to the vars.
21500 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21501 eval ac_val=\$$ac_var
21502 case $ac_val in #(
21503 *${as_nl}*)
21504 case $ac_var in #(
21505 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21506 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21507 esac
21508 case $ac_var in #(
21509 _ | IFS | as_nl) ;; #(
21510 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21511 *) { eval $ac_var=; unset $ac_var;} ;;
21512 esac ;;
21513 esac
21514 done
21516 (set) 2>&1 |
21517 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21518 *${as_nl}ac_space=\ *)
21519 # `set' does not quote correctly, so add quotes: double-quote
21520 # substitution turns \\\\ into \\, and sed turns \\ into \.
21521 sed -n \
21522 "s/'/'\\\\''/g;
21523 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21524 ;; #(
21526 # `set' quotes correctly as required by POSIX, so do not add quotes.
21527 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21529 esac |
21530 sort
21532 sed '
21533 /^ac_cv_env_/b end
21534 t clear
21535 :clear
21536 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21537 t end
21538 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21539 :end' >>confcache
21540 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21541 if test -w "$cache_file"; then
21542 if test "x$cache_file" != "x/dev/null"; then
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21544 $as_echo "$as_me: updating cache $cache_file" >&6;}
21545 if test ! -f "$cache_file" || test -h "$cache_file"; then
21546 cat confcache >"$cache_file"
21547 else
21548 case $cache_file in #(
21549 */* | ?:*)
21550 mv -f confcache "$cache_file"$$ &&
21551 mv -f "$cache_file"$$ "$cache_file" ;; #(
21553 mv -f confcache "$cache_file" ;;
21554 esac
21557 else
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21559 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21562 rm -f confcache
21564 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21565 # Let make expand exec_prefix.
21566 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21568 DEFS=-DHAVE_CONFIG_H
21570 ac_libobjs=
21571 ac_ltlibobjs=
21573 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21574 # 1. Remove the extension, and $U if already installed.
21575 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21576 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21577 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21578 # will be set to the directory where LIBOBJS objects are built.
21579 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21580 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21581 done
21582 LIBOBJS=$ac_libobjs
21584 LTLIBOBJS=$ac_ltlibobjs
21588 : "${CONFIG_STATUS=./config.status}"
21589 ac_write_fail=0
21590 ac_clean_files_save=$ac_clean_files
21591 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21593 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21594 as_write_fail=0
21595 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21596 #! $SHELL
21597 # Generated by $as_me.
21598 # Run this file to recreate the current configuration.
21599 # Compiler output produced by configure, useful for debugging
21600 # configure, is in config.log if it exists.
21602 debug=false
21603 ac_cs_recheck=false
21604 ac_cs_silent=false
21606 SHELL=\${CONFIG_SHELL-$SHELL}
21607 export SHELL
21608 _ASEOF
21609 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21610 ## -------------------- ##
21611 ## M4sh Initialization. ##
21612 ## -------------------- ##
21614 # Be more Bourne compatible
21615 DUALCASE=1; export DUALCASE # for MKS sh
21616 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21617 emulate sh
21618 NULLCMD=:
21619 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21620 # is contrary to our usage. Disable this feature.
21621 alias -g '${1+"$@"}'='"$@"'
21622 setopt NO_GLOB_SUBST
21623 else
21624 case `(set -o) 2>/dev/null` in #(
21625 *posix*) :
21626 set -o posix ;; #(
21627 *) :
21629 esac
21633 as_nl='
21635 export as_nl
21636 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21637 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21638 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21639 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21640 # Prefer a ksh shell builtin over an external printf program on Solaris,
21641 # but without wasting forks for bash or zsh.
21642 if test -z "$BASH_VERSION$ZSH_VERSION" \
21643 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21644 as_echo='print -r --'
21645 as_echo_n='print -rn --'
21646 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21647 as_echo='printf %s\n'
21648 as_echo_n='printf %s'
21649 else
21650 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21651 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21652 as_echo_n='/usr/ucb/echo -n'
21653 else
21654 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21655 as_echo_n_body='eval
21656 arg=$1;
21657 case $arg in #(
21658 *"$as_nl"*)
21659 expr "X$arg" : "X\\(.*\\)$as_nl";
21660 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21661 esac;
21662 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21664 export as_echo_n_body
21665 as_echo_n='sh -c $as_echo_n_body as_echo'
21667 export as_echo_body
21668 as_echo='sh -c $as_echo_body as_echo'
21671 # The user is always right.
21672 if test "${PATH_SEPARATOR+set}" != set; then
21673 PATH_SEPARATOR=:
21674 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21675 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21676 PATH_SEPARATOR=';'
21681 # IFS
21682 # We need space, tab and new line, in precisely that order. Quoting is
21683 # there to prevent editors from complaining about space-tab.
21684 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21685 # splitting by setting IFS to empty value.)
21686 IFS=" "" $as_nl"
21688 # Find who we are. Look in the path if we contain no directory separator.
21689 as_myself=
21690 case $0 in #((
21691 *[\\/]* ) as_myself=$0 ;;
21692 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21693 for as_dir in $PATH
21695 IFS=$as_save_IFS
21696 test -z "$as_dir" && as_dir=.
21697 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21698 done
21699 IFS=$as_save_IFS
21702 esac
21703 # We did not find ourselves, most probably we were run as `sh COMMAND'
21704 # in which case we are not to be found in the path.
21705 if test "x$as_myself" = x; then
21706 as_myself=$0
21708 if test ! -f "$as_myself"; then
21709 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21710 exit 1
21713 # Unset variables that we do not need and which cause bugs (e.g. in
21714 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21715 # suppresses any "Segmentation fault" message there. '((' could
21716 # trigger a bug in pdksh 5.2.14.
21717 for as_var in BASH_ENV ENV MAIL MAILPATH
21718 do eval test x\${$as_var+set} = xset \
21719 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21720 done
21721 PS1='$ '
21722 PS2='> '
21723 PS4='+ '
21725 # NLS nuisances.
21726 LC_ALL=C
21727 export LC_ALL
21728 LANGUAGE=C
21729 export LANGUAGE
21731 # CDPATH.
21732 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21735 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21736 # ----------------------------------------
21737 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21738 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21739 # script with STATUS, using 1 if that was 0.
21740 as_fn_error ()
21742 as_status=$1; test $as_status -eq 0 && as_status=1
21743 if test "$4"; then
21744 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21745 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21747 $as_echo "$as_me: error: $2" >&2
21748 as_fn_exit $as_status
21749 } # as_fn_error
21752 # as_fn_set_status STATUS
21753 # -----------------------
21754 # Set $? to STATUS, without forking.
21755 as_fn_set_status ()
21757 return $1
21758 } # as_fn_set_status
21760 # as_fn_exit STATUS
21761 # -----------------
21762 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21763 as_fn_exit ()
21765 set +e
21766 as_fn_set_status $1
21767 exit $1
21768 } # as_fn_exit
21770 # as_fn_unset VAR
21771 # ---------------
21772 # Portably unset VAR.
21773 as_fn_unset ()
21775 { eval $1=; unset $1;}
21777 as_unset=as_fn_unset
21778 # as_fn_append VAR VALUE
21779 # ----------------------
21780 # Append the text in VALUE to the end of the definition contained in VAR. Take
21781 # advantage of any shell optimizations that allow amortized linear growth over
21782 # repeated appends, instead of the typical quadratic growth present in naive
21783 # implementations.
21784 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21785 eval 'as_fn_append ()
21787 eval $1+=\$2
21789 else
21790 as_fn_append ()
21792 eval $1=\$$1\$2
21794 fi # as_fn_append
21796 # as_fn_arith ARG...
21797 # ------------------
21798 # Perform arithmetic evaluation on the ARGs, and store the result in the
21799 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21800 # must be portable across $(()) and expr.
21801 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21802 eval 'as_fn_arith ()
21804 as_val=$(( $* ))
21806 else
21807 as_fn_arith ()
21809 as_val=`expr "$@" || test $? -eq 1`
21811 fi # as_fn_arith
21814 if expr a : '\(a\)' >/dev/null 2>&1 &&
21815 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21816 as_expr=expr
21817 else
21818 as_expr=false
21821 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21822 as_basename=basename
21823 else
21824 as_basename=false
21827 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21828 as_dirname=dirname
21829 else
21830 as_dirname=false
21833 as_me=`$as_basename -- "$0" ||
21834 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21835 X"$0" : 'X\(//\)$' \| \
21836 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21837 $as_echo X/"$0" |
21838 sed '/^.*\/\([^/][^/]*\)\/*$/{
21839 s//\1/
21842 /^X\/\(\/\/\)$/{
21843 s//\1/
21846 /^X\/\(\/\).*/{
21847 s//\1/
21850 s/.*/./; q'`
21852 # Avoid depending upon Character Ranges.
21853 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21854 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21855 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21856 as_cr_digits='0123456789'
21857 as_cr_alnum=$as_cr_Letters$as_cr_digits
21859 ECHO_C= ECHO_N= ECHO_T=
21860 case `echo -n x` in #(((((
21861 -n*)
21862 case `echo 'xy\c'` in
21863 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21864 xy) ECHO_C='\c';;
21865 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21866 ECHO_T=' ';;
21867 esac;;
21869 ECHO_N='-n';;
21870 esac
21872 rm -f conf$$ conf$$.exe conf$$.file
21873 if test -d conf$$.dir; then
21874 rm -f conf$$.dir/conf$$.file
21875 else
21876 rm -f conf$$.dir
21877 mkdir conf$$.dir 2>/dev/null
21879 if (echo >conf$$.file) 2>/dev/null; then
21880 if ln -s conf$$.file conf$$ 2>/dev/null; then
21881 as_ln_s='ln -s'
21882 # ... but there are two gotchas:
21883 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21884 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21885 # In both cases, we have to default to `cp -pR'.
21886 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21887 as_ln_s='cp -pR'
21888 elif ln conf$$.file conf$$ 2>/dev/null; then
21889 as_ln_s=ln
21890 else
21891 as_ln_s='cp -pR'
21893 else
21894 as_ln_s='cp -pR'
21896 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21897 rmdir conf$$.dir 2>/dev/null
21900 # as_fn_mkdir_p
21901 # -------------
21902 # Create "$as_dir" as a directory, including parents if necessary.
21903 as_fn_mkdir_p ()
21906 case $as_dir in #(
21907 -*) as_dir=./$as_dir;;
21908 esac
21909 test -d "$as_dir" || eval $as_mkdir_p || {
21910 as_dirs=
21911 while :; do
21912 case $as_dir in #(
21913 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21914 *) as_qdir=$as_dir;;
21915 esac
21916 as_dirs="'$as_qdir' $as_dirs"
21917 as_dir=`$as_dirname -- "$as_dir" ||
21918 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21919 X"$as_dir" : 'X\(//\)[^/]' \| \
21920 X"$as_dir" : 'X\(//\)$' \| \
21921 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21922 $as_echo X"$as_dir" |
21923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21924 s//\1/
21927 /^X\(\/\/\)[^/].*/{
21928 s//\1/
21931 /^X\(\/\/\)$/{
21932 s//\1/
21935 /^X\(\/\).*/{
21936 s//\1/
21939 s/.*/./; q'`
21940 test -d "$as_dir" && break
21941 done
21942 test -z "$as_dirs" || eval "mkdir $as_dirs"
21943 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21946 } # as_fn_mkdir_p
21947 if mkdir -p . 2>/dev/null; then
21948 as_mkdir_p='mkdir -p "$as_dir"'
21949 else
21950 test -d ./-p && rmdir ./-p
21951 as_mkdir_p=false
21955 # as_fn_executable_p FILE
21956 # -----------------------
21957 # Test if FILE is an executable regular file.
21958 as_fn_executable_p ()
21960 test -f "$1" && test -x "$1"
21961 } # as_fn_executable_p
21962 as_test_x='test -x'
21963 as_executable_p=as_fn_executable_p
21965 # Sed expression to map a string onto a valid CPP name.
21966 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21968 # Sed expression to map a string onto a valid variable name.
21969 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21972 exec 6>&1
21973 ## ----------------------------------- ##
21974 ## Main body of $CONFIG_STATUS script. ##
21975 ## ----------------------------------- ##
21976 _ASEOF
21977 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21980 # Save the log message, to keep $0 and so on meaningful, and to
21981 # report actual input values of CONFIG_FILES etc. instead of their
21982 # values after options handling.
21983 ac_log="
21984 This file was extended by Wine $as_me 6.6, which was
21985 generated by GNU Autoconf 2.69. Invocation command line was
21987 CONFIG_FILES = $CONFIG_FILES
21988 CONFIG_HEADERS = $CONFIG_HEADERS
21989 CONFIG_LINKS = $CONFIG_LINKS
21990 CONFIG_COMMANDS = $CONFIG_COMMANDS
21991 $ $0 $@
21993 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21996 _ACEOF
21998 case $ac_config_files in *"
21999 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22000 esac
22002 case $ac_config_headers in *"
22003 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22004 esac
22007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22008 # Files that config.status was made for.
22009 config_files="$ac_config_files"
22010 config_headers="$ac_config_headers"
22011 config_links="$ac_config_links"
22012 config_commands="$ac_config_commands"
22014 _ACEOF
22016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22017 ac_cs_usage="\
22018 \`$as_me' instantiates files and other configuration actions
22019 from templates according to the current configuration. Unless the files
22020 and actions are specified as TAGs, all are instantiated by default.
22022 Usage: $0 [OPTION]... [TAG]...
22024 -h, --help print this help, then exit
22025 -V, --version print version number and configuration settings, then exit
22026 --config print configuration, then exit
22027 -q, --quiet, --silent
22028 do not print progress messages
22029 -d, --debug don't remove temporary files
22030 --recheck update $as_me by reconfiguring in the same conditions
22031 --file=FILE[:TEMPLATE]
22032 instantiate the configuration file FILE
22033 --header=FILE[:TEMPLATE]
22034 instantiate the configuration header FILE
22036 Configuration files:
22037 $config_files
22039 Configuration headers:
22040 $config_headers
22042 Configuration links:
22043 $config_links
22045 Configuration commands:
22046 $config_commands
22048 Report bugs to <wine-devel@winehq.org>.
22049 Wine home page: <https://www.winehq.org>."
22051 _ACEOF
22052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22053 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22054 ac_cs_version="\\
22055 Wine config.status 6.6
22056 configured by $0, generated by GNU Autoconf 2.69,
22057 with options \\"\$ac_cs_config\\"
22059 Copyright (C) 2012 Free Software Foundation, Inc.
22060 This config.status script is free software; the Free Software Foundation
22061 gives unlimited permission to copy, distribute and modify it."
22063 ac_pwd='$ac_pwd'
22064 srcdir='$srcdir'
22065 test -n "\$AWK" || AWK=awk
22066 _ACEOF
22068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22069 # The default lists apply if the user does not specify any file.
22070 ac_need_defaults=:
22071 while test $# != 0
22073 case $1 in
22074 --*=?*)
22075 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22076 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22077 ac_shift=:
22079 --*=)
22080 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22081 ac_optarg=
22082 ac_shift=:
22085 ac_option=$1
22086 ac_optarg=$2
22087 ac_shift=shift
22089 esac
22091 case $ac_option in
22092 # Handling of the options.
22093 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22094 ac_cs_recheck=: ;;
22095 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22096 $as_echo "$ac_cs_version"; exit ;;
22097 --config | --confi | --conf | --con | --co | --c )
22098 $as_echo "$ac_cs_config"; exit ;;
22099 --debug | --debu | --deb | --de | --d | -d )
22100 debug=: ;;
22101 --file | --fil | --fi | --f )
22102 $ac_shift
22103 case $ac_optarg in
22104 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22105 '') as_fn_error $? "missing file argument" ;;
22106 esac
22107 as_fn_append CONFIG_FILES " '$ac_optarg'"
22108 ac_need_defaults=false;;
22109 --header | --heade | --head | --hea )
22110 $ac_shift
22111 case $ac_optarg in
22112 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22113 esac
22114 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22115 ac_need_defaults=false;;
22116 --he | --h)
22117 # Conflict between --help and --header
22118 as_fn_error $? "ambiguous option: \`$1'
22119 Try \`$0 --help' for more information.";;
22120 --help | --hel | -h )
22121 $as_echo "$ac_cs_usage"; exit ;;
22122 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22123 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22124 ac_cs_silent=: ;;
22126 # This is an error.
22127 -*) as_fn_error $? "unrecognized option: \`$1'
22128 Try \`$0 --help' for more information." ;;
22130 *) as_fn_append ac_config_targets " $1"
22131 ac_need_defaults=false ;;
22133 esac
22134 shift
22135 done
22137 ac_configure_extra_args=
22139 if $ac_cs_silent; then
22140 exec 6>/dev/null
22141 ac_configure_extra_args="$ac_configure_extra_args --silent"
22144 _ACEOF
22145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22146 if \$ac_cs_recheck; then
22147 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22148 shift
22149 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22150 CONFIG_SHELL='$SHELL'
22151 export CONFIG_SHELL
22152 exec "\$@"
22155 _ACEOF
22156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22157 exec 5>>config.log
22159 echo
22160 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22161 ## Running $as_me. ##
22162 _ASBOX
22163 $as_echo "$ac_log"
22164 } >&5
22166 _ACEOF
22167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22169 # INIT-COMMANDS
22171 wine_fn_output_makedep ()
22173 as_dir=tools; as_fn_mkdir_p
22174 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22176 wine_fn_output_makefile ()
22178 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22179 `cat $wine_rules_file`
22180 _WINE_EOF
22181 as_fn_error $? "could not create Makefile" "$LINENO" 5
22184 _ACEOF
22186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22188 # Handling of arguments.
22189 for ac_config_target in $ac_config_targets
22191 case $ac_config_target in
22192 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22193 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22194 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22195 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22196 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22197 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22198 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22200 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22201 esac
22202 done
22205 # If the user did not use the arguments to specify the items to instantiate,
22206 # then the envvar interface is used. Set only those that are not.
22207 # We use the long form for the default assignment because of an extremely
22208 # bizarre bug on SunOS 4.1.3.
22209 if $ac_need_defaults; then
22210 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22211 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22212 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22213 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22216 # Have a temporary directory for convenience. Make it in the build tree
22217 # simply because there is no reason against having it here, and in addition,
22218 # creating and moving files from /tmp can sometimes cause problems.
22219 # Hook for its removal unless debugging.
22220 # Note that there is a small window in which the directory will not be cleaned:
22221 # after its creation but before its name has been assigned to `$tmp'.
22222 $debug ||
22224 tmp= ac_tmp=
22225 trap 'exit_status=$?
22226 : "${ac_tmp:=$tmp}"
22227 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22229 trap 'as_fn_exit 1' 1 2 13 15
22231 # Create a (secure) tmp directory for tmp files.
22234 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22235 test -d "$tmp"
22236 } ||
22238 tmp=./conf$$-$RANDOM
22239 (umask 077 && mkdir "$tmp")
22240 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22241 ac_tmp=$tmp
22243 # Set up the scripts for CONFIG_FILES section.
22244 # No need to generate them if there are no CONFIG_FILES.
22245 # This happens for instance with `./config.status config.h'.
22246 if test -n "$CONFIG_FILES"; then
22249 ac_cr=`echo X | tr X '\015'`
22250 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22251 # But we know of no other shell where ac_cr would be empty at this
22252 # point, so we can use a bashism as a fallback.
22253 if test "x$ac_cr" = x; then
22254 eval ac_cr=\$\'\\r\'
22256 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22257 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22258 ac_cs_awk_cr='\\r'
22259 else
22260 ac_cs_awk_cr=$ac_cr
22263 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22264 _ACEOF
22268 echo "cat >conf$$subs.awk <<_ACEOF" &&
22269 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22270 echo "_ACEOF"
22271 } >conf$$subs.sh ||
22272 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22273 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22274 ac_delim='%!_!# '
22275 for ac_last_try in false false false false false :; do
22276 . ./conf$$subs.sh ||
22277 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22279 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22280 if test $ac_delim_n = $ac_delim_num; then
22281 break
22282 elif $ac_last_try; then
22283 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22284 else
22285 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22287 done
22288 rm -f conf$$subs.sh
22290 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22291 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22292 _ACEOF
22293 sed -n '
22295 s/^/S["/; s/!.*/"]=/
22298 s/^[^!]*!//
22299 :repl
22300 t repl
22301 s/'"$ac_delim"'$//
22302 t delim
22305 s/\(.\{148\}\)..*/\1/
22306 t more1
22307 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22310 b repl
22311 :more1
22312 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22315 s/.\{148\}//
22316 t nl
22317 :delim
22319 s/\(.\{148\}\)..*/\1/
22320 t more2
22321 s/["\\]/\\&/g; s/^/"/; s/$/"/
22324 :more2
22325 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22328 s/.\{148\}//
22329 t delim
22330 ' <conf$$subs.awk | sed '
22331 /^[^""]/{
22333 s/\n//
22335 ' >>$CONFIG_STATUS || ac_write_fail=1
22336 rm -f conf$$subs.awk
22337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22338 _ACAWK
22339 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22340 for (key in S) S_is_set[key] = 1
22341 FS = "\a"
22345 line = $ 0
22346 nfields = split(line, field, "@")
22347 substed = 0
22348 len = length(field[1])
22349 for (i = 2; i < nfields; i++) {
22350 key = field[i]
22351 keylen = length(key)
22352 if (S_is_set[key]) {
22353 value = S[key]
22354 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22355 len += length(value) + length(field[++i])
22356 substed = 1
22357 } else
22358 len += 1 + keylen
22361 print line
22364 _ACAWK
22365 _ACEOF
22366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22367 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22368 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22369 else
22371 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22372 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22373 _ACEOF
22375 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22376 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22377 # trailing colons and then remove the whole line if VPATH becomes empty
22378 # (actually we leave an empty line to preserve line numbers).
22379 if test "x$srcdir" = x.; then
22380 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22382 s///
22383 s/^/:/
22384 s/[ ]*$/:/
22385 s/:\$(srcdir):/:/g
22386 s/:\${srcdir}:/:/g
22387 s/:@srcdir@:/:/g
22388 s/^:*//
22389 s/:*$//
22391 s/\(=[ ]*\).*/\1/
22393 s/\n//
22394 s/^[^=]*=[ ]*$//
22398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22399 fi # test -n "$CONFIG_FILES"
22401 # Set up the scripts for CONFIG_HEADERS section.
22402 # No need to generate them if there are no CONFIG_HEADERS.
22403 # This happens for instance with `./config.status Makefile'.
22404 if test -n "$CONFIG_HEADERS"; then
22405 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22406 BEGIN {
22407 _ACEOF
22409 # Transform confdefs.h into an awk script `defines.awk', embedded as
22410 # here-document in config.status, that substitutes the proper values into
22411 # config.h.in to produce config.h.
22413 # Create a delimiter string that does not exist in confdefs.h, to ease
22414 # handling of long lines.
22415 ac_delim='%!_!# '
22416 for ac_last_try in false false :; do
22417 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22418 if test -z "$ac_tt"; then
22419 break
22420 elif $ac_last_try; then
22421 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22422 else
22423 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22425 done
22427 # For the awk script, D is an array of macro values keyed by name,
22428 # likewise P contains macro parameters if any. Preserve backslash
22429 # newline sequences.
22431 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22432 sed -n '
22433 s/.\{148\}/&'"$ac_delim"'/g
22434 t rset
22435 :rset
22436 s/^[ ]*#[ ]*define[ ][ ]*/ /
22437 t def
22439 :def
22440 s/\\$//
22441 t bsnl
22442 s/["\\]/\\&/g
22443 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22444 D["\1"]=" \3"/p
22445 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22447 :bsnl
22448 s/["\\]/\\&/g
22449 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22450 D["\1"]=" \3\\\\\\n"\\/p
22451 t cont
22452 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22453 t cont
22455 :cont
22457 s/.\{148\}/&'"$ac_delim"'/g
22458 t clear
22459 :clear
22460 s/\\$//
22461 t bsnlc
22462 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22464 :bsnlc
22465 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22466 b cont
22467 ' <confdefs.h | sed '
22468 s/'"$ac_delim"'/"\\\
22469 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22472 for (key in D) D_is_set[key] = 1
22473 FS = "\a"
22475 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22476 line = \$ 0
22477 split(line, arg, " ")
22478 if (arg[1] == "#") {
22479 defundef = arg[2]
22480 mac1 = arg[3]
22481 } else {
22482 defundef = substr(arg[1], 2)
22483 mac1 = arg[2]
22485 split(mac1, mac2, "(") #)
22486 macro = mac2[1]
22487 prefix = substr(line, 1, index(line, defundef) - 1)
22488 if (D_is_set[macro]) {
22489 # Preserve the white space surrounding the "#".
22490 print prefix "define", macro P[macro] D[macro]
22491 next
22492 } else {
22493 # Replace #undef with comments. This is necessary, for example,
22494 # in the case of _POSIX_SOURCE, which is predefined and required
22495 # on some systems where configure will not decide to define it.
22496 if (defundef == "undef") {
22497 print "/*", prefix defundef, macro, "*/"
22498 next
22502 { print }
22503 _ACAWK
22504 _ACEOF
22505 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22506 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22507 fi # test -n "$CONFIG_HEADERS"
22510 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22511 shift
22512 for ac_tag
22514 case $ac_tag in
22515 :[FHLC]) ac_mode=$ac_tag; continue;;
22516 esac
22517 case $ac_mode$ac_tag in
22518 :[FHL]*:*);;
22519 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22520 :[FH]-) ac_tag=-:-;;
22521 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22522 esac
22523 ac_save_IFS=$IFS
22524 IFS=:
22525 set x $ac_tag
22526 IFS=$ac_save_IFS
22527 shift
22528 ac_file=$1
22529 shift
22531 case $ac_mode in
22532 :L) ac_source=$1;;
22533 :[FH])
22534 ac_file_inputs=
22535 for ac_f
22537 case $ac_f in
22538 -) ac_f="$ac_tmp/stdin";;
22539 *) # Look for the file first in the build tree, then in the source tree
22540 # (if the path is not absolute). The absolute path cannot be DOS-style,
22541 # because $ac_f cannot contain `:'.
22542 test -f "$ac_f" ||
22543 case $ac_f in
22544 [\\/$]*) false;;
22545 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22546 esac ||
22547 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22548 esac
22549 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22550 as_fn_append ac_file_inputs " '$ac_f'"
22551 done
22553 # Let's still pretend it is `configure' which instantiates (i.e., don't
22554 # use $as_me), people would be surprised to read:
22555 # /* config.h. Generated by config.status. */
22556 configure_input='Generated from '`
22557 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22558 `' by configure.'
22559 if test x"$ac_file" != x-; then
22560 configure_input="$ac_file. $configure_input"
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22562 $as_echo "$as_me: creating $ac_file" >&6;}
22564 # Neutralize special characters interpreted by sed in replacement strings.
22565 case $configure_input in #(
22566 *\&* | *\|* | *\\* )
22567 ac_sed_conf_input=`$as_echo "$configure_input" |
22568 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22569 *) ac_sed_conf_input=$configure_input;;
22570 esac
22572 case $ac_tag in
22573 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22574 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22575 esac
22577 esac
22579 ac_dir=`$as_dirname -- "$ac_file" ||
22580 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22581 X"$ac_file" : 'X\(//\)[^/]' \| \
22582 X"$ac_file" : 'X\(//\)$' \| \
22583 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22584 $as_echo X"$ac_file" |
22585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22586 s//\1/
22589 /^X\(\/\/\)[^/].*/{
22590 s//\1/
22593 /^X\(\/\/\)$/{
22594 s//\1/
22597 /^X\(\/\).*/{
22598 s//\1/
22601 s/.*/./; q'`
22602 as_dir="$ac_dir"; as_fn_mkdir_p
22603 ac_builddir=.
22605 case "$ac_dir" in
22606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22608 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22609 # A ".." for each directory in $ac_dir_suffix.
22610 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22611 case $ac_top_builddir_sub in
22612 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22613 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22614 esac ;;
22615 esac
22616 ac_abs_top_builddir=$ac_pwd
22617 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22618 # for backward compatibility:
22619 ac_top_builddir=$ac_top_build_prefix
22621 case $srcdir in
22622 .) # We are building in place.
22623 ac_srcdir=.
22624 ac_top_srcdir=$ac_top_builddir_sub
22625 ac_abs_top_srcdir=$ac_pwd ;;
22626 [\\/]* | ?:[\\/]* ) # Absolute name.
22627 ac_srcdir=$srcdir$ac_dir_suffix;
22628 ac_top_srcdir=$srcdir
22629 ac_abs_top_srcdir=$srcdir ;;
22630 *) # Relative name.
22631 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22632 ac_top_srcdir=$ac_top_build_prefix$srcdir
22633 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22634 esac
22635 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22638 case $ac_mode in
22641 # CONFIG_FILE
22644 _ACEOF
22646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22647 # If the template does not know about datarootdir, expand it.
22648 # FIXME: This hack should be removed a few years after 2.60.
22649 ac_datarootdir_hack=; ac_datarootdir_seen=
22650 ac_sed_dataroot='
22651 /datarootdir/ {
22655 /@datadir@/p
22656 /@docdir@/p
22657 /@infodir@/p
22658 /@localedir@/p
22659 /@mandir@/p'
22660 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22661 *datarootdir*) ac_datarootdir_seen=yes;;
22662 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22664 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22665 _ACEOF
22666 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22667 ac_datarootdir_hack='
22668 s&@datadir@&$datadir&g
22669 s&@docdir@&$docdir&g
22670 s&@infodir@&$infodir&g
22671 s&@localedir@&$localedir&g
22672 s&@mandir@&$mandir&g
22673 s&\\\${datarootdir}&$datarootdir&g' ;;
22674 esac
22675 _ACEOF
22677 # Neutralize VPATH when `$srcdir' = `.'.
22678 # Shell code in configure.ac might set extrasub.
22679 # FIXME: do we really want to maintain this feature?
22680 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22681 ac_sed_extra="$ac_vpsub
22682 $extrasub
22683 _ACEOF
22684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22686 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22687 s|@configure_input@|$ac_sed_conf_input|;t t
22688 s&@top_builddir@&$ac_top_builddir_sub&;t t
22689 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22690 s&@srcdir@&$ac_srcdir&;t t
22691 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22692 s&@top_srcdir@&$ac_top_srcdir&;t t
22693 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22694 s&@builddir@&$ac_builddir&;t t
22695 s&@abs_builddir@&$ac_abs_builddir&;t t
22696 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22697 $ac_datarootdir_hack
22699 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22700 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22702 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22703 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22704 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22705 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22707 which seems to be undefined. Please make sure it is defined" >&5
22708 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22709 which seems to be undefined. Please make sure it is defined" >&2;}
22711 rm -f "$ac_tmp/stdin"
22712 case $ac_file in
22713 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22714 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22715 esac \
22716 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22720 # CONFIG_HEADER
22722 if test x"$ac_file" != x-; then
22724 $as_echo "/* $configure_input */" \
22725 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22726 } >"$ac_tmp/config.h" \
22727 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22728 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22730 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22731 else
22732 rm -f "$ac_file"
22733 mv "$ac_tmp/config.h" "$ac_file" \
22734 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22736 else
22737 $as_echo "/* $configure_input */" \
22738 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22739 || as_fn_error $? "could not create -" "$LINENO" 5
22744 # CONFIG_LINK
22747 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22749 else
22750 # Prefer the file from the source tree if names are identical.
22751 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22752 ac_source=$srcdir/$ac_source
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22756 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22758 if test ! -r "$ac_source"; then
22759 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22761 rm -f "$ac_file"
22763 # Try a relative symlink, then a hard link, then a copy.
22764 case $ac_source in
22765 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22766 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22767 esac
22768 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22769 ln "$ac_source" "$ac_file" 2>/dev/null ||
22770 cp -p "$ac_source" "$ac_file" ||
22771 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22774 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22775 $as_echo "$as_me: executing $ac_file commands" >&6;}
22777 esac
22780 case $ac_file$ac_mode in
22781 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22782 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22783 "Makefile":C) wine_fn_output_makefile Makefile ;;
22785 esac
22786 done # for ac_tag
22789 as_fn_exit 0
22790 _ACEOF
22791 ac_clean_files=$ac_clean_files_save
22793 test $ac_write_fail = 0 ||
22794 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22797 # configure is writing to config.log, and then calls config.status.
22798 # config.status does its own redirection, appending to config.log.
22799 # Unfortunately, on DOS this fails, as config.log is still kept open
22800 # by configure, so config.status won't be able to write to it; its
22801 # output is simply discarded. So we exec the FD to /dev/null,
22802 # effectively closing config.log, so it can be properly (re)opened and
22803 # appended to by config.status. When coming back to configure, we
22804 # need to make the FD available again.
22805 if test "$no_create" != yes; then
22806 ac_cs_success=:
22807 ac_config_status_args=
22808 test "$silent" = yes &&
22809 ac_config_status_args="$ac_config_status_args --quiet"
22810 exec 5>/dev/null
22811 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22812 exec 5>>config.log
22813 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22814 # would make configure fail if this is the last instruction.
22815 $ac_cs_success || as_fn_exit 1
22817 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22819 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22823 if test "$no_create" = "yes"
22824 then
22825 exit 0
22828 ac_save_IFS="$IFS"
22829 if test "x$wine_notices" != x; then
22830 echo >&6
22831 IFS="|"
22832 for msg in $wine_notices; do
22833 IFS="$ac_save_IFS"
22834 if ${msg:+false} :; then :
22836 else
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22838 $as_echo "$as_me: $msg" >&6;}
22840 done
22842 IFS="|"
22843 for msg in $wine_warnings; do
22844 IFS="$ac_save_IFS"
22845 if ${msg:+false} :; then :
22847 else
22848 echo >&2
22849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22850 $as_echo "$as_me: WARNING: $msg" >&2;}
22852 done
22853 IFS="$ac_save_IFS"
22855 $as_echo "
22856 $as_me: Finished. Do '${ac_make}' to compile Wine.
22857 " >&6