msvcp140_1: Implement the DLL.
[wine.git] / configure
blob9eee07f88768e4f0f28ecee3e9d9e0c4fbf857f6
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.5.
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.5'
584 PACKAGE_STRING='Wine 6.5'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_build_id
846 enable_maintainer_mode
847 enable_silent_rules
848 enable_werror
849 with_alsa
850 with_capi
851 with_cms
852 with_coreaudio
853 with_cups
854 with_dbus
855 with_faudio
856 with_float_abi
857 with_fontconfig
858 with_freetype
859 with_gettext
860 with_gettextpo
861 with_gphoto
862 with_gnutls
863 with_gsm
864 with_gssapi
865 with_gstreamer
866 with_hal
867 with_inotify
868 with_jpeg
869 with_jxrlib
870 with_krb5
871 with_ldap
872 with_mingw
873 with_mpg123
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_png
882 with_pthread
883 with_pulse
884 with_quicktime
885 with_sane
886 with_sdl
887 with_tiff
888 with_udev
889 with_unwind
890 with_usb
891 with_v4l2
892 with_vkd3d
893 with_vulkan
894 with_xcomposite
895 with_xcursor
896 with_xfixes
897 with_xinerama
898 with_xinput
899 with_xinput2
900 with_xml
901 with_xrandr
902 with_xrender
903 with_xshape
904 with_xshm
905 with_xslt
906 with_xxf86vm
907 with_wine_tools
908 with_wine64
909 enable_largefile
910 with_x
911 enable_acledit
912 enable_aclui
913 enable_activeds_tlb
914 enable_activeds
915 enable_actxprxy
916 enable_adsiid
917 enable_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l2_1_0
937 enable_api_ms_win_core_crt_l1_1_0
938 enable_api_ms_win_core_crt_l2_1_0
939 enable_api_ms_win_core_datetime_l1_1_0
940 enable_api_ms_win_core_datetime_l1_1_1
941 enable_api_ms_win_core_debug_l1_1_0
942 enable_api_ms_win_core_debug_l1_1_1
943 enable_api_ms_win_core_delayload_l1_1_0
944 enable_api_ms_win_core_delayload_l1_1_1
945 enable_api_ms_win_core_errorhandling_l1_1_0
946 enable_api_ms_win_core_errorhandling_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_2
948 enable_api_ms_win_core_errorhandling_l1_1_3
949 enable_api_ms_win_core_fibers_l1_1_0
950 enable_api_ms_win_core_fibers_l1_1_1
951 enable_api_ms_win_core_file_ansi_l2_1_0
952 enable_api_ms_win_core_file_fromapp_l1_1_0
953 enable_api_ms_win_core_file_l1_1_0
954 enable_api_ms_win_core_file_l1_2_0
955 enable_api_ms_win_core_file_l1_2_1
956 enable_api_ms_win_core_file_l1_2_2
957 enable_api_ms_win_core_file_l2_1_0
958 enable_api_ms_win_core_file_l2_1_1
959 enable_api_ms_win_core_file_l2_1_2
960 enable_api_ms_win_core_handle_l1_1_0
961 enable_api_ms_win_core_heap_l1_1_0
962 enable_api_ms_win_core_heap_l1_2_0
963 enable_api_ms_win_core_heap_l2_1_0
964 enable_api_ms_win_core_heap_obsolete_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_2_0
967 enable_api_ms_win_core_io_l1_1_0
968 enable_api_ms_win_core_io_l1_1_1
969 enable_api_ms_win_core_job_l1_1_0
970 enable_api_ms_win_core_job_l2_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_1
973 enable_api_ms_win_core_kernel32_legacy_l1_1_2
974 enable_api_ms_win_core_kernel32_private_l1_1_1
975 enable_api_ms_win_core_largeinteger_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_0
977 enable_api_ms_win_core_libraryloader_l1_1_1
978 enable_api_ms_win_core_libraryloader_l1_2_0
979 enable_api_ms_win_core_libraryloader_l1_2_1
980 enable_api_ms_win_core_libraryloader_l1_2_2
981 enable_api_ms_win_core_libraryloader_l2_1_0
982 enable_api_ms_win_core_localization_l1_1_0
983 enable_api_ms_win_core_localization_l1_2_0
984 enable_api_ms_win_core_localization_l1_2_1
985 enable_api_ms_win_core_localization_l1_2_2
986 enable_api_ms_win_core_localization_l2_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_1_0
988 enable_api_ms_win_core_localization_obsolete_l1_2_0
989 enable_api_ms_win_core_localization_obsolete_l1_3_0
990 enable_api_ms_win_core_localization_private_l1_1_0
991 enable_api_ms_win_core_localregistry_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_0
993 enable_api_ms_win_core_memory_l1_1_1
994 enable_api_ms_win_core_memory_l1_1_2
995 enable_api_ms_win_core_memory_l1_1_3
996 enable_api_ms_win_core_memory_l1_1_4
997 enable_api_ms_win_core_misc_l1_1_0
998 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_1_0
1000 enable_api_ms_win_core_namedpipe_l1_2_0
1001 enable_api_ms_win_core_namespace_l1_1_0
1002 enable_api_ms_win_core_normalization_l1_1_0
1003 enable_api_ms_win_core_path_l1_1_0
1004 enable_api_ms_win_core_privateprofile_l1_1_1
1005 enable_api_ms_win_core_processenvironment_l1_1_0
1006 enable_api_ms_win_core_processenvironment_l1_2_0
1007 enable_api_ms_win_core_processthreads_l1_1_0
1008 enable_api_ms_win_core_processthreads_l1_1_1
1009 enable_api_ms_win_core_processthreads_l1_1_2
1010 enable_api_ms_win_core_processthreads_l1_1_3
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_quirks_l1_1_0
1017 enable_api_ms_win_core_realtime_l1_1_0
1018 enable_api_ms_win_core_registry_l1_1_0
1019 enable_api_ms_win_core_registry_l2_1_0
1020 enable_api_ms_win_core_registry_l2_2_0
1021 enable_api_ms_win_core_registryuserspecific_l1_1_0
1022 enable_api_ms_win_core_rtlsupport_l1_1_0
1023 enable_api_ms_win_core_rtlsupport_l1_2_0
1024 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1025 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1026 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1027 enable_api_ms_win_core_shutdown_l1_1_0
1028 enable_api_ms_win_core_sidebyside_l1_1_0
1029 enable_api_ms_win_core_string_l1_1_0
1030 enable_api_ms_win_core_string_l2_1_0
1031 enable_api_ms_win_core_string_obsolete_l1_1_0
1032 enable_api_ms_win_core_stringansi_l1_1_0
1033 enable_api_ms_win_core_stringloader_l1_1_1
1034 enable_api_ms_win_core_synch_ansi_l1_1_0
1035 enable_api_ms_win_core_synch_l1_1_0
1036 enable_api_ms_win_core_synch_l1_2_0
1037 enable_api_ms_win_core_synch_l1_2_1
1038 enable_api_ms_win_core_sysinfo_l1_1_0
1039 enable_api_ms_win_core_sysinfo_l1_2_0
1040 enable_api_ms_win_core_sysinfo_l1_2_1
1041 enable_api_ms_win_core_systemtopology_l1_1_0
1042 enable_api_ms_win_core_threadpool_l1_1_0
1043 enable_api_ms_win_core_threadpool_l1_2_0
1044 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1045 enable_api_ms_win_core_threadpool_private_l1_1_0
1046 enable_api_ms_win_core_timezone_l1_1_0
1047 enable_api_ms_win_core_toolhelp_l1_1_0
1048 enable_api_ms_win_core_url_l1_1_0
1049 enable_api_ms_win_core_util_l1_1_0
1050 enable_api_ms_win_core_version_l1_1_0
1051 enable_api_ms_win_core_version_l1_1_1
1052 enable_api_ms_win_core_version_private_l1_1_0
1053 enable_api_ms_win_core_versionansi_l1_1_0
1054 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1055 enable_api_ms_win_core_winrt_error_l1_1_0
1056 enable_api_ms_win_core_winrt_error_l1_1_1
1057 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1058 enable_api_ms_win_core_winrt_l1_1_0
1059 enable_api_ms_win_core_winrt_registration_l1_1_0
1060 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1061 enable_api_ms_win_core_winrt_string_l1_1_0
1062 enable_api_ms_win_core_winrt_string_l1_1_1
1063 enable_api_ms_win_core_wow64_l1_1_0
1064 enable_api_ms_win_core_wow64_l1_1_1
1065 enable_api_ms_win_core_xstate_l1_1_0
1066 enable_api_ms_win_core_xstate_l2_1_0
1067 enable_api_ms_win_crt_conio_l1_1_0
1068 enable_api_ms_win_crt_convert_l1_1_0
1069 enable_api_ms_win_crt_environment_l1_1_0
1070 enable_api_ms_win_crt_filesystem_l1_1_0
1071 enable_api_ms_win_crt_heap_l1_1_0
1072 enable_api_ms_win_crt_locale_l1_1_0
1073 enable_api_ms_win_crt_math_l1_1_0
1074 enable_api_ms_win_crt_multibyte_l1_1_0
1075 enable_api_ms_win_crt_private_l1_1_0
1076 enable_api_ms_win_crt_process_l1_1_0
1077 enable_api_ms_win_crt_runtime_l1_1_0
1078 enable_api_ms_win_crt_stdio_l1_1_0
1079 enable_api_ms_win_crt_string_l1_1_0
1080 enable_api_ms_win_crt_time_l1_1_0
1081 enable_api_ms_win_crt_utility_l1_1_0
1082 enable_api_ms_win_devices_config_l1_1_0
1083 enable_api_ms_win_devices_config_l1_1_1
1084 enable_api_ms_win_devices_query_l1_1_1
1085 enable_api_ms_win_downlevel_advapi32_l1_1_0
1086 enable_api_ms_win_downlevel_advapi32_l2_1_0
1087 enable_api_ms_win_downlevel_kernel32_l2_1_0
1088 enable_api_ms_win_downlevel_normaliz_l1_1_0
1089 enable_api_ms_win_downlevel_ole32_l1_1_0
1090 enable_api_ms_win_downlevel_shell32_l1_1_0
1091 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1092 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1093 enable_api_ms_win_downlevel_user32_l1_1_0
1094 enable_api_ms_win_downlevel_version_l1_1_0
1095 enable_api_ms_win_dx_d3dkmt_l1_1_0
1096 enable_api_ms_win_eventing_classicprovider_l1_1_0
1097 enable_api_ms_win_eventing_consumer_l1_1_0
1098 enable_api_ms_win_eventing_controller_l1_1_0
1099 enable_api_ms_win_eventing_legacy_l1_1_0
1100 enable_api_ms_win_eventing_provider_l1_1_0
1101 enable_api_ms_win_eventlog_legacy_l1_1_0
1102 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1103 enable_api_ms_win_mm_joystick_l1_1_0
1104 enable_api_ms_win_mm_misc_l1_1_1
1105 enable_api_ms_win_mm_mme_l1_1_0
1106 enable_api_ms_win_mm_time_l1_1_0
1107 enable_api_ms_win_ntuser_dc_access_l1_1_0
1108 enable_api_ms_win_ntuser_rectangle_l1_1_0
1109 enable_api_ms_win_ntuser_sysparams_l1_1_0
1110 enable_api_ms_win_perf_legacy_l1_1_0
1111 enable_api_ms_win_power_base_l1_1_0
1112 enable_api_ms_win_power_setting_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1116 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1120 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1121 enable_api_ms_win_security_audit_l1_1_1
1122 enable_api_ms_win_security_base_l1_1_0
1123 enable_api_ms_win_security_base_l1_2_0
1124 enable_api_ms_win_security_base_private_l1_1_1
1125 enable_api_ms_win_security_credentials_l1_1_0
1126 enable_api_ms_win_security_cryptoapi_l1_1_0
1127 enable_api_ms_win_security_grouppolicy_l1_1_0
1128 enable_api_ms_win_security_lsalookup_l1_1_0
1129 enable_api_ms_win_security_lsalookup_l1_1_1
1130 enable_api_ms_win_security_lsalookup_l2_1_0
1131 enable_api_ms_win_security_lsalookup_l2_1_1
1132 enable_api_ms_win_security_lsapolicy_l1_1_0
1133 enable_api_ms_win_security_provider_l1_1_0
1134 enable_api_ms_win_security_sddl_l1_1_0
1135 enable_api_ms_win_security_systemfunctions_l1_1_0
1136 enable_api_ms_win_service_core_l1_1_0
1137 enable_api_ms_win_service_core_l1_1_1
1138 enable_api_ms_win_service_management_l1_1_0
1139 enable_api_ms_win_service_management_l2_1_0
1140 enable_api_ms_win_service_private_l1_1_1
1141 enable_api_ms_win_service_winsvc_l1_1_0
1142 enable_api_ms_win_service_winsvc_l1_2_0
1143 enable_api_ms_win_shcore_obsolete_l1_1_0
1144 enable_api_ms_win_shcore_scaling_l1_1_1
1145 enable_api_ms_win_shcore_stream_l1_1_0
1146 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1147 enable_api_ms_win_shcore_thread_l1_1_0
1148 enable_api_ms_win_shell_shellcom_l1_1_0
1149 enable_api_ms_win_shell_shellfolders_l1_1_0
1150 enable_apphelp
1151 enable_appwiz_cpl
1152 enable_atl
1153 enable_atl100
1154 enable_atl110
1155 enable_atl80
1156 enable_atl90
1157 enable_atlthunk
1158 enable_atmlib
1159 enable_authz
1160 enable_avicap32
1161 enable_avifil32
1162 enable_avrt
1163 enable_bcrypt
1164 enable_bluetoothapis
1165 enable_browseui
1166 enable_bthprops_cpl
1167 enable_cabinet
1168 enable_capi2032
1169 enable_cards
1170 enable_cdosys
1171 enable_cfgmgr32
1172 enable_clusapi
1173 enable_combase
1174 enable_comcat
1175 enable_comctl32
1176 enable_comdlg32
1177 enable_compstui
1178 enable_comsvcs
1179 enable_concrt140
1180 enable_connect
1181 enable_credui
1182 enable_crtdll
1183 enable_crypt32
1184 enable_cryptdlg
1185 enable_cryptdll
1186 enable_cryptext
1187 enable_cryptnet
1188 enable_cryptsp
1189 enable_cryptui
1190 enable_ctapi32
1191 enable_ctl3d32
1192 enable_d2d1
1193 enable_d3d10
1194 enable_d3d10_1
1195 enable_d3d10core
1196 enable_d3d11
1197 enable_d3d12
1198 enable_d3d8
1199 enable_d3d8thk
1200 enable_d3d9
1201 enable_d3dcompiler_33
1202 enable_d3dcompiler_34
1203 enable_d3dcompiler_35
1204 enable_d3dcompiler_36
1205 enable_d3dcompiler_37
1206 enable_d3dcompiler_38
1207 enable_d3dcompiler_39
1208 enable_d3dcompiler_40
1209 enable_d3dcompiler_41
1210 enable_d3dcompiler_42
1211 enable_d3dcompiler_43
1212 enable_d3dcompiler_46
1213 enable_d3dcompiler_47
1214 enable_d3dim
1215 enable_d3dim700
1216 enable_d3drm
1217 enable_d3dx10_33
1218 enable_d3dx10_34
1219 enable_d3dx10_35
1220 enable_d3dx10_36
1221 enable_d3dx10_37
1222 enable_d3dx10_38
1223 enable_d3dx10_39
1224 enable_d3dx10_40
1225 enable_d3dx10_41
1226 enable_d3dx10_42
1227 enable_d3dx10_43
1228 enable_d3dx11_42
1229 enable_d3dx11_43
1230 enable_d3dx9_24
1231 enable_d3dx9_25
1232 enable_d3dx9_26
1233 enable_d3dx9_27
1234 enable_d3dx9_28
1235 enable_d3dx9_29
1236 enable_d3dx9_30
1237 enable_d3dx9_31
1238 enable_d3dx9_32
1239 enable_d3dx9_33
1240 enable_d3dx9_34
1241 enable_d3dx9_35
1242 enable_d3dx9_36
1243 enable_d3dx9_37
1244 enable_d3dx9_38
1245 enable_d3dx9_39
1246 enable_d3dx9_40
1247 enable_d3dx9_41
1248 enable_d3dx9_42
1249 enable_d3dx9_43
1250 enable_d3dxof
1251 enable_davclnt
1252 enable_dbgeng
1253 enable_dbghelp
1254 enable_dciman32
1255 enable_dcomp
1256 enable_ddraw
1257 enable_ddrawex
1258 enable_devenum
1259 enable_dhcpcsvc
1260 enable_dhtmled_ocx
1261 enable_difxapi
1262 enable_dinput
1263 enable_dinput8
1264 enable_directmanipulation
1265 enable_dispex
1266 enable_dmband
1267 enable_dmcompos
1268 enable_dmime
1269 enable_dmloader
1270 enable_dmoguids
1271 enable_dmscript
1272 enable_dmstyle
1273 enable_dmsynth
1274 enable_dmusic
1275 enable_dmusic32
1276 enable_dnsapi
1277 enable_dplay
1278 enable_dplayx
1279 enable_dpnaddr
1280 enable_dpnet
1281 enable_dpnhpast
1282 enable_dpnlobby
1283 enable_dpvoice
1284 enable_dpwsockx
1285 enable_drmclien
1286 enable_dsdmo
1287 enable_dsound
1288 enable_dsquery
1289 enable_dssenh
1290 enable_dsuiext
1291 enable_dswave
1292 enable_dwmapi
1293 enable_dwrite
1294 enable_dx8vb
1295 enable_dxdiagn
1296 enable_dxerr8
1297 enable_dxerr9
1298 enable_dxgi
1299 enable_dxguid
1300 enable_dxva2
1301 enable_esent
1302 enable_evr
1303 enable_explorerframe
1304 enable_ext_ms_win_authz_context_l1_1_0
1305 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1306 enable_ext_ms_win_dwmapi_ext_l1_1_0
1307 enable_ext_ms_win_gdi_dc_create_l1_1_0
1308 enable_ext_ms_win_gdi_dc_create_l1_1_1
1309 enable_ext_ms_win_gdi_dc_l1_2_0
1310 enable_ext_ms_win_gdi_devcaps_l1_1_0
1311 enable_ext_ms_win_gdi_draw_l1_1_0
1312 enable_ext_ms_win_gdi_draw_l1_1_1
1313 enable_ext_ms_win_gdi_font_l1_1_0
1314 enable_ext_ms_win_gdi_font_l1_1_1
1315 enable_ext_ms_win_gdi_render_l1_1_0
1316 enable_ext_ms_win_kernel32_package_current_l1_1_0
1317 enable_ext_ms_win_kernel32_package_l1_1_1
1318 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1319 enable_ext_ms_win_ntuser_draw_l1_1_0
1320 enable_ext_ms_win_ntuser_gui_l1_1_0
1321 enable_ext_ms_win_ntuser_gui_l1_3_0
1322 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1323 enable_ext_ms_win_ntuser_message_l1_1_0
1324 enable_ext_ms_win_ntuser_message_l1_1_1
1325 enable_ext_ms_win_ntuser_misc_l1_1_0
1326 enable_ext_ms_win_ntuser_misc_l1_2_0
1327 enable_ext_ms_win_ntuser_misc_l1_5_1
1328 enable_ext_ms_win_ntuser_mouse_l1_1_0
1329 enable_ext_ms_win_ntuser_private_l1_1_1
1330 enable_ext_ms_win_ntuser_private_l1_3_1
1331 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1332 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1333 enable_ext_ms_win_ntuser_window_l1_1_0
1334 enable_ext_ms_win_ntuser_window_l1_1_1
1335 enable_ext_ms_win_ntuser_window_l1_1_4
1336 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1337 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1338 enable_ext_ms_win_oleacc_l1_1_0
1339 enable_ext_ms_win_ras_rasapi32_l1_1_0
1340 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1341 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1342 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1343 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1346 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1347 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1350 enable_ext_ms_win_security_credui_l1_1_0
1351 enable_ext_ms_win_security_cryptui_l1_1_0
1352 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1353 enable_ext_ms_win_shell_comdlg32_l1_1_0
1354 enable_ext_ms_win_shell_shell32_l1_2_0
1355 enable_ext_ms_win_uxtheme_themes_l1_1_0
1356 enable_faultrep
1357 enable_feclient
1358 enable_fltlib
1359 enable_fltmgr_sys
1360 enable_fntcache
1361 enable_fontsub
1362 enable_fusion
1363 enable_fwpuclnt
1364 enable_gameux
1365 enable_gdi32
1366 enable_gdiplus
1367 enable_glu32
1368 enable_gphoto2_ds
1369 enable_gpkcsp
1370 enable_hal
1371 enable_hhctrl_ocx
1372 enable_hid
1373 enable_hidclass_sys
1374 enable_hlink
1375 enable_hnetcfg
1376 enable_http_sys
1377 enable_httpapi
1378 enable_iccvid
1379 enable_icmp
1380 enable_ieframe
1381 enable_ieproxy
1382 enable_imaadp32_acm
1383 enable_imagehlp
1384 enable_imm32
1385 enable_inetcomm
1386 enable_inetcpl_cpl
1387 enable_inetmib1
1388 enable_infosoft
1389 enable_initpki
1390 enable_inkobj
1391 enable_inseng
1392 enable_iphlpapi
1393 enable_iprop
1394 enable_irprops_cpl
1395 enable_itircl
1396 enable_itss
1397 enable_joy_cpl
1398 enable_jscript
1399 enable_jsproxy
1400 enable_kerberos
1401 enable_kernel32
1402 enable_kernelbase
1403 enable_ksecdd_sys
1404 enable_ksproxy_ax
1405 enable_ksuser
1406 enable_ktmw32
1407 enable_l3codeca_acm
1408 enable_loadperf
1409 enable_localspl
1410 enable_localui
1411 enable_lz32
1412 enable_mapi32
1413 enable_mapistub
1414 enable_mciavi32
1415 enable_mcicda
1416 enable_mciqtz32
1417 enable_mciseq
1418 enable_mciwave
1419 enable_mf
1420 enable_mf3216
1421 enable_mferror
1422 enable_mfmediaengine
1423 enable_mfplat
1424 enable_mfplay
1425 enable_mfreadwrite
1426 enable_mfuuid
1427 enable_mgmtapi
1428 enable_midimap
1429 enable_mlang
1430 enable_mmcndmgr
1431 enable_mmdevapi
1432 enable_mountmgr_sys
1433 enable_mp3dmod
1434 enable_mpr
1435 enable_mprapi
1436 enable_msacm32_drv
1437 enable_msacm32
1438 enable_msado15
1439 enable_msadp32_acm
1440 enable_msasn1
1441 enable_mscat32
1442 enable_mscms
1443 enable_mscoree
1444 enable_mscorwks
1445 enable_msctf
1446 enable_msctfp
1447 enable_msdaps
1448 enable_msdelta
1449 enable_msdmo
1450 enable_msdrm
1451 enable_msftedit
1452 enable_msg711_acm
1453 enable_msgsm32_acm
1454 enable_mshtml_tlb
1455 enable_mshtml
1456 enable_msi
1457 enable_msident
1458 enable_msimg32
1459 enable_msimsg
1460 enable_msimtf
1461 enable_msisip
1462 enable_msisys_ocx
1463 enable_msls31
1464 enable_msnet32
1465 enable_mspatcha
1466 enable_msports
1467 enable_msrle32
1468 enable_msscript_ocx
1469 enable_mssign32
1470 enable_mssip32
1471 enable_mstask
1472 enable_msvcirt
1473 enable_msvcm80
1474 enable_msvcm90
1475 enable_msvcp100
1476 enable_msvcp110
1477 enable_msvcp120
1478 enable_msvcp120_app
1479 enable_msvcp140
1480 enable_msvcp140_1
1481 enable_msvcp60
1482 enable_msvcp70
1483 enable_msvcp71
1484 enable_msvcp80
1485 enable_msvcp90
1486 enable_msvcr100
1487 enable_msvcr110
1488 enable_msvcr120
1489 enable_msvcr120_app
1490 enable_msvcr70
1491 enable_msvcr71
1492 enable_msvcr80
1493 enable_msvcr90
1494 enable_msvcrt
1495 enable_msvcrt20
1496 enable_msvcrt40
1497 enable_msvcrtd
1498 enable_msvfw32
1499 enable_msvidc32
1500 enable_mswsock
1501 enable_msxml
1502 enable_msxml2
1503 enable_msxml3
1504 enable_msxml4
1505 enable_msxml6
1506 enable_mtxdm
1507 enable_ncrypt
1508 enable_nddeapi
1509 enable_ndis_sys
1510 enable_netapi32
1511 enable_netcfgx
1512 enable_netio_sys
1513 enable_netprofm
1514 enable_netutils
1515 enable_newdev
1516 enable_ninput
1517 enable_normaliz
1518 enable_npmshtml
1519 enable_npptools
1520 enable_ntdll
1521 enable_ntdsapi
1522 enable_ntoskrnl_exe
1523 enable_ntprint
1524 enable_objsel
1525 enable_odbc32
1526 enable_odbcbcp
1527 enable_odbccp32
1528 enable_odbccu32
1529 enable_ole32
1530 enable_oleacc
1531 enable_oleaut32
1532 enable_olecli32
1533 enable_oledb32
1534 enable_oledlg
1535 enable_olepro32
1536 enable_olesvr32
1537 enable_olethk32
1538 enable_opcservices
1539 enable_openal32
1540 enable_opencl
1541 enable_opengl32
1542 enable_packager
1543 enable_pdh
1544 enable_photometadatahandler
1545 enable_pidgen
1546 enable_powrprof
1547 enable_printui
1548 enable_prntvpt
1549 enable_propsys
1550 enable_psapi
1551 enable_pstorec
1552 enable_pwrshplugin
1553 enable_qasf
1554 enable_qcap
1555 enable_qdvd
1556 enable_qedit
1557 enable_qmgr
1558 enable_qmgrprxy
1559 enable_quartz
1560 enable_query
1561 enable_qwave
1562 enable_rasapi32
1563 enable_rasdlg
1564 enable_regapi
1565 enable_resutils
1566 enable_riched20
1567 enable_riched32
1568 enable_rpcrt4
1569 enable_rsabase
1570 enable_rsaenh
1571 enable_rstrtmgr
1572 enable_rtutils
1573 enable_rtworkq
1574 enable_samlib
1575 enable_sane_ds
1576 enable_sapi
1577 enable_sas
1578 enable_scarddlg
1579 enable_sccbase
1580 enable_schannel
1581 enable_schedsvc
1582 enable_scrobj
1583 enable_scrrun
1584 enable_scsiport_sys
1585 enable_sechost
1586 enable_secur32
1587 enable_security
1588 enable_sensapi
1589 enable_serialui
1590 enable_setupapi
1591 enable_sfc
1592 enable_sfc_os
1593 enable_shcore
1594 enable_shdoclc
1595 enable_shdocvw
1596 enable_shell32
1597 enable_shfolder
1598 enable_shlwapi
1599 enable_slbcsp
1600 enable_slc
1601 enable_snmpapi
1602 enable_softpub
1603 enable_spoolss
1604 enable_srclient
1605 enable_srvcli
1606 enable_sspicli
1607 enable_stdole2_tlb
1608 enable_stdole32_tlb
1609 enable_sti
1610 enable_strmbase
1611 enable_strmdll
1612 enable_strmiids
1613 enable_svrapi
1614 enable_sxs
1615 enable_t2embed
1616 enable_tapi32
1617 enable_taskschd
1618 enable_tdh
1619 enable_tdi_sys
1620 enable_traffic
1621 enable_twain_32
1622 enable_tzres
1623 enable_ucrtbase
1624 enable_uianimation
1625 enable_uiautomationcore
1626 enable_uiribbon
1627 enable_unicows
1628 enable_updspapi
1629 enable_url
1630 enable_urlmon
1631 enable_usbd_sys
1632 enable_user32
1633 enable_userenv
1634 enable_usp10
1635 enable_utildll
1636 enable_uuid
1637 enable_uxtheme
1638 enable_vbscript
1639 enable_vcomp
1640 enable_vcomp100
1641 enable_vcomp110
1642 enable_vcomp120
1643 enable_vcomp140
1644 enable_vcomp90
1645 enable_vcruntime140
1646 enable_vcruntime140_1
1647 enable_vdmdbg
1648 enable_version
1649 enable_vga
1650 enable_virtdisk
1651 enable_vssapi
1652 enable_vulkan_1
1653 enable_wbemdisp
1654 enable_wbemprox
1655 enable_wbemuuid
1656 enable_wdscore
1657 enable_webservices
1658 enable_websocket
1659 enable_wer
1660 enable_wevtapi
1661 enable_wevtsvc
1662 enable_wiaservc
1663 enable_wimgapi
1664 enable_windows_gaming_input
1665 enable_windows_globalization
1666 enable_windows_media_speech
1667 enable_windowscodecs
1668 enable_windowscodecsext
1669 enable_winealsa_drv
1670 enable_wineandroid_drv
1671 enable_winebus_sys
1672 enable_winecoreaudio_drv
1673 enable_winecrt0
1674 enable_wined3d
1675 enable_winegstreamer
1676 enable_winehid_sys
1677 enable_winejoystick_drv
1678 enable_winemac_drv
1679 enable_winemapi
1680 enable_wineoss_drv
1681 enable_wineps_drv
1682 enable_winepulse_drv
1683 enable_wineqtdecoder
1684 enable_wineusb_sys
1685 enable_winevulkan
1686 enable_winex11_drv
1687 enable_wing32
1688 enable_winhttp
1689 enable_wininet
1690 enable_winmm
1691 enable_winnls32
1692 enable_winscard
1693 enable_winspool_drv
1694 enable_winsta
1695 enable_wintab32
1696 enable_wintrust
1697 enable_winusb
1698 enable_wlanapi
1699 enable_wlanui
1700 enable_wldap32
1701 enable_wmasf
1702 enable_wmcodecdspuuid
1703 enable_wmi
1704 enable_wmiutils
1705 enable_wmp
1706 enable_wmphoto
1707 enable_wmvcore
1708 enable_wnaspi32
1709 enable_wow64cpu
1710 enable_wpc
1711 enable_wpcap
1712 enable_ws2_32
1713 enable_wsdapi
1714 enable_wshom_ocx
1715 enable_wsnmp32
1716 enable_wsock32
1717 enable_wtsapi32
1718 enable_wuapi
1719 enable_wuaueng
1720 enable_x3daudio1_0
1721 enable_x3daudio1_1
1722 enable_x3daudio1_2
1723 enable_x3daudio1_3
1724 enable_x3daudio1_4
1725 enable_x3daudio1_5
1726 enable_x3daudio1_6
1727 enable_x3daudio1_7
1728 enable_xactengine3_0
1729 enable_xactengine3_1
1730 enable_xactengine3_2
1731 enable_xactengine3_3
1732 enable_xactengine3_4
1733 enable_xactengine3_5
1734 enable_xactengine3_6
1735 enable_xactengine3_7
1736 enable_xapofx1_1
1737 enable_xapofx1_2
1738 enable_xapofx1_3
1739 enable_xapofx1_4
1740 enable_xapofx1_5
1741 enable_xaudio2_0
1742 enable_xaudio2_1
1743 enable_xaudio2_2
1744 enable_xaudio2_3
1745 enable_xaudio2_4
1746 enable_xaudio2_5
1747 enable_xaudio2_6
1748 enable_xaudio2_7
1749 enable_xaudio2_8
1750 enable_xaudio2_9
1751 enable_xinput1_1
1752 enable_xinput1_2
1753 enable_xinput1_3
1754 enable_xinput1_4
1755 enable_xinput9_1_0
1756 enable_xmllite
1757 enable_xolehlp
1758 enable_xpsprint
1759 enable_xpssvcs
1760 enable_fonts
1761 enable_include
1762 enable_port
1763 enable_wine
1764 enable_wpp
1765 enable_loader
1766 enable_nls
1767 enable_po
1768 enable_arp
1769 enable_aspnet_regiis
1770 enable_attrib
1771 enable_cabarc
1772 enable_cacls
1773 enable_chcp_com
1774 enable_clock
1775 enable_cmd
1776 enable_conhost
1777 enable_control
1778 enable_cscript
1779 enable_dism
1780 enable_dplaysvr
1781 enable_dpnsvr
1782 enable_dpvsetup
1783 enable_dxdiag
1784 enable_eject
1785 enable_expand
1786 enable_explorer
1787 enable_extrac32
1788 enable_fc
1789 enable_find
1790 enable_findstr
1791 enable_fsutil
1792 enable_hh
1793 enable_hostname
1794 enable_icacls
1795 enable_icinfo
1796 enable_iexplore
1797 enable_ipconfig
1798 enable_lodctr
1799 enable_mofcomp
1800 enable_mshta
1801 enable_msidb
1802 enable_msiexec
1803 enable_msinfo32
1804 enable_net
1805 enable_netsh
1806 enable_netstat
1807 enable_ngen
1808 enable_notepad
1809 enable_oleview
1810 enable_ping
1811 enable_plugplay
1812 enable_powershell
1813 enable_presentationfontcache
1814 enable_progman
1815 enable_reg
1816 enable_regasm
1817 enable_regedit
1818 enable_regini
1819 enable_regsvcs
1820 enable_regsvr32
1821 enable_rpcss
1822 enable_rundll32
1823 enable_sc
1824 enable_schtasks
1825 enable_sdbinst
1826 enable_secedit
1827 enable_servicemodelreg
1828 enable_services
1829 enable_shutdown
1830 enable_spoolsv
1831 enable_start
1832 enable_subst
1833 enable_svchost
1834 enable_systeminfo
1835 enable_taskkill
1836 enable_tasklist
1837 enable_taskmgr
1838 enable_termsv
1839 enable_uninstaller
1840 enable_unlodctr
1841 enable_view
1842 enable_wevtutil
1843 enable_where
1844 enable_whoami
1845 enable_wineboot
1846 enable_winebrowser
1847 enable_winecfg
1848 enable_wineconsole
1849 enable_winedbg
1850 enable_winedevice
1851 enable_winefile
1852 enable_winemenubuilder
1853 enable_winemine
1854 enable_winemsibuilder
1855 enable_winepath
1856 enable_winetest
1857 enable_winhlp32
1858 enable_winmgmt
1859 enable_winver
1860 enable_wmic
1861 enable_wmplayer
1862 enable_wordpad
1863 enable_write
1864 enable_wscript
1865 enable_wuauserv
1866 enable_wusa
1867 enable_xcopy
1868 enable_server
1869 enable_tools
1870 enable_sfnt2fon
1871 enable_widl
1872 enable_winebuild
1873 enable_winedump
1874 enable_winegcc
1875 enable_winemaker
1876 enable_wmc
1877 enable_wrc
1879 ac_precious_vars='build_alias
1880 host_alias
1881 target_alias
1883 CFLAGS
1884 LDFLAGS
1885 LIBS
1886 CPPFLAGS
1888 CXXFLAGS
1891 OBJC
1892 OBJCFLAGS
1893 OBJCPP
1894 XMKMF
1895 XML2_CFLAGS
1896 XML2_LIBS
1897 XSLT_CFLAGS
1898 XSLT_LIBS
1899 INOTIFY_CFLAGS
1900 INOTIFY_LIBS
1901 DBUS_CFLAGS
1902 DBUS_LIBS
1903 HAL_CFLAGS
1904 HAL_LIBS
1905 GNUTLS_CFLAGS
1906 GNUTLS_LIBS
1907 SANE_CFLAGS
1908 SANE_LIBS
1909 USB_CFLAGS
1910 USB_LIBS
1911 GPHOTO2_CFLAGS
1912 GPHOTO2_LIBS
1913 GPHOTO2_PORT_CFLAGS
1914 GPHOTO2_PORT_LIBS
1915 LCMS2_CFLAGS
1916 LCMS2_LIBS
1917 FREETYPE_CFLAGS
1918 FREETYPE_LIBS
1919 PULSE_CFLAGS
1920 PULSE_LIBS
1921 GSTREAMER_CFLAGS
1922 GSTREAMER_LIBS
1923 UDEV_CFLAGS
1924 UDEV_LIBS
1925 UNWIND_CFLAGS
1926 UNWIND_LIBS
1927 SDL2_CFLAGS
1928 SDL2_LIBS
1929 FAUDIO_CFLAGS
1930 FAUDIO_LIBS
1931 CAPI20_CFLAGS
1932 CAPI20_LIBS
1933 CUPS_CFLAGS
1934 CUPS_LIBS
1935 FONTCONFIG_CFLAGS
1936 FONTCONFIG_LIBS
1937 KRB5_CFLAGS
1938 KRB5_LIBS
1939 GSSAPI_CFLAGS
1940 GSSAPI_LIBS
1941 JPEG_CFLAGS
1942 JPEG_LIBS
1943 JXRLIB_CFLAGS
1944 JXRLIB_LIBS
1945 PNG_CFLAGS
1946 PNG_LIBS
1947 TIFF_CFLAGS
1948 TIFF_LIBS
1949 MPG123_CFLAGS
1950 MPG123_LIBS
1951 NETAPI_CFLAGS
1952 NETAPI_LIBS
1953 VKD3D_CFLAGS
1954 VKD3D_LIBS
1955 VKD3D_SHADER_CFLAGS
1956 VKD3D_SHADER_LIBS
1957 LDAP_CFLAGS
1958 LDAP_LIBS'
1961 # Initialize some variables set by options.
1962 ac_init_help=
1963 ac_init_version=false
1964 ac_unrecognized_opts=
1965 ac_unrecognized_sep=
1966 # The variables have the same names as the options, with
1967 # dashes changed to underlines.
1968 cache_file=/dev/null
1969 exec_prefix=NONE
1970 no_create=
1971 no_recursion=
1972 prefix=NONE
1973 program_prefix=NONE
1974 program_suffix=NONE
1975 program_transform_name=s,x,x,
1976 silent=
1977 site=
1978 srcdir=
1979 verbose=
1980 x_includes=NONE
1981 x_libraries=NONE
1983 # Installation directory options.
1984 # These are left unexpanded so users can "make install exec_prefix=/foo"
1985 # and all the variables that are supposed to be based on exec_prefix
1986 # by default will actually change.
1987 # Use braces instead of parens because sh, perl, etc. also accept them.
1988 # (The list follows the same order as the GNU Coding Standards.)
1989 bindir='${exec_prefix}/bin'
1990 sbindir='${exec_prefix}/sbin'
1991 libexecdir='${exec_prefix}/libexec'
1992 datarootdir='${prefix}/share'
1993 datadir='${datarootdir}'
1994 sysconfdir='${prefix}/etc'
1995 sharedstatedir='${prefix}/com'
1996 localstatedir='${prefix}/var'
1997 runstatedir='${localstatedir}/run'
1998 includedir='${prefix}/include'
1999 oldincludedir='/usr/include'
2000 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2001 infodir='${datarootdir}/info'
2002 htmldir='${docdir}'
2003 dvidir='${docdir}'
2004 pdfdir='${docdir}'
2005 psdir='${docdir}'
2006 libdir='${exec_prefix}/lib'
2007 localedir='${datarootdir}/locale'
2008 mandir='${datarootdir}/man'
2010 ac_prev=
2011 ac_dashdash=
2012 for ac_option
2014 # If the previous option needs an argument, assign it.
2015 if test -n "$ac_prev"; then
2016 eval $ac_prev=\$ac_option
2017 ac_prev=
2018 continue
2021 case $ac_option in
2022 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2023 *=) ac_optarg= ;;
2024 *) ac_optarg=yes ;;
2025 esac
2027 # Accept the important Cygnus configure options, so we can diagnose typos.
2029 case $ac_dashdash$ac_option in
2031 ac_dashdash=yes ;;
2033 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2034 ac_prev=bindir ;;
2035 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2036 bindir=$ac_optarg ;;
2038 -build | --build | --buil | --bui | --bu)
2039 ac_prev=build_alias ;;
2040 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2041 build_alias=$ac_optarg ;;
2043 -cache-file | --cache-file | --cache-fil | --cache-fi \
2044 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2045 ac_prev=cache_file ;;
2046 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2047 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2048 cache_file=$ac_optarg ;;
2050 --config-cache | -C)
2051 cache_file=config.cache ;;
2053 -datadir | --datadir | --datadi | --datad)
2054 ac_prev=datadir ;;
2055 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2056 datadir=$ac_optarg ;;
2058 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2059 | --dataroo | --dataro | --datar)
2060 ac_prev=datarootdir ;;
2061 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2062 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2063 datarootdir=$ac_optarg ;;
2065 -disable-* | --disable-*)
2066 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2067 # Reject names that are not valid shell variable names.
2068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2069 as_fn_error $? "invalid feature name: $ac_useropt"
2070 ac_useropt_orig=$ac_useropt
2071 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2072 case $ac_user_opts in
2074 "enable_$ac_useropt"
2075 "*) ;;
2076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2077 ac_unrecognized_sep=', ';;
2078 esac
2079 eval enable_$ac_useropt=no ;;
2081 -docdir | --docdir | --docdi | --doc | --do)
2082 ac_prev=docdir ;;
2083 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2084 docdir=$ac_optarg ;;
2086 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2087 ac_prev=dvidir ;;
2088 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2089 dvidir=$ac_optarg ;;
2091 -enable-* | --enable-*)
2092 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2093 # Reject names that are not valid shell variable names.
2094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2095 as_fn_error $? "invalid feature name: $ac_useropt"
2096 ac_useropt_orig=$ac_useropt
2097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2098 case $ac_user_opts in
2100 "enable_$ac_useropt"
2101 "*) ;;
2102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2103 ac_unrecognized_sep=', ';;
2104 esac
2105 eval enable_$ac_useropt=\$ac_optarg ;;
2107 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2108 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2109 | --exec | --exe | --ex)
2110 ac_prev=exec_prefix ;;
2111 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2112 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2113 | --exec=* | --exe=* | --ex=*)
2114 exec_prefix=$ac_optarg ;;
2116 -gas | --gas | --ga | --g)
2117 # Obsolete; use --with-gas.
2118 with_gas=yes ;;
2120 -help | --help | --hel | --he | -h)
2121 ac_init_help=long ;;
2122 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2123 ac_init_help=recursive ;;
2124 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2125 ac_init_help=short ;;
2127 -host | --host | --hos | --ho)
2128 ac_prev=host_alias ;;
2129 -host=* | --host=* | --hos=* | --ho=*)
2130 host_alias=$ac_optarg ;;
2132 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2133 ac_prev=htmldir ;;
2134 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2135 | --ht=*)
2136 htmldir=$ac_optarg ;;
2138 -includedir | --includedir | --includedi | --included | --include \
2139 | --includ | --inclu | --incl | --inc)
2140 ac_prev=includedir ;;
2141 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2142 | --includ=* | --inclu=* | --incl=* | --inc=*)
2143 includedir=$ac_optarg ;;
2145 -infodir | --infodir | --infodi | --infod | --info | --inf)
2146 ac_prev=infodir ;;
2147 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2148 infodir=$ac_optarg ;;
2150 -libdir | --libdir | --libdi | --libd)
2151 ac_prev=libdir ;;
2152 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2153 libdir=$ac_optarg ;;
2155 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2156 | --libexe | --libex | --libe)
2157 ac_prev=libexecdir ;;
2158 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2159 | --libexe=* | --libex=* | --libe=*)
2160 libexecdir=$ac_optarg ;;
2162 -localedir | --localedir | --localedi | --localed | --locale)
2163 ac_prev=localedir ;;
2164 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2165 localedir=$ac_optarg ;;
2167 -localstatedir | --localstatedir | --localstatedi | --localstated \
2168 | --localstate | --localstat | --localsta | --localst | --locals)
2169 ac_prev=localstatedir ;;
2170 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2171 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2172 localstatedir=$ac_optarg ;;
2174 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2175 ac_prev=mandir ;;
2176 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2177 mandir=$ac_optarg ;;
2179 -nfp | --nfp | --nf)
2180 # Obsolete; use --without-fp.
2181 with_fp=no ;;
2183 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2184 | --no-cr | --no-c | -n)
2185 no_create=yes ;;
2187 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2188 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2189 no_recursion=yes ;;
2191 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2192 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2193 | --oldin | --oldi | --old | --ol | --o)
2194 ac_prev=oldincludedir ;;
2195 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2196 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2197 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2198 oldincludedir=$ac_optarg ;;
2200 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2201 ac_prev=prefix ;;
2202 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2203 prefix=$ac_optarg ;;
2205 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2206 | --program-pre | --program-pr | --program-p)
2207 ac_prev=program_prefix ;;
2208 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2209 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2210 program_prefix=$ac_optarg ;;
2212 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2213 | --program-suf | --program-su | --program-s)
2214 ac_prev=program_suffix ;;
2215 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2216 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2217 program_suffix=$ac_optarg ;;
2219 -program-transform-name | --program-transform-name \
2220 | --program-transform-nam | --program-transform-na \
2221 | --program-transform-n | --program-transform- \
2222 | --program-transform | --program-transfor \
2223 | --program-transfo | --program-transf \
2224 | --program-trans | --program-tran \
2225 | --progr-tra | --program-tr | --program-t)
2226 ac_prev=program_transform_name ;;
2227 -program-transform-name=* | --program-transform-name=* \
2228 | --program-transform-nam=* | --program-transform-na=* \
2229 | --program-transform-n=* | --program-transform-=* \
2230 | --program-transform=* | --program-transfor=* \
2231 | --program-transfo=* | --program-transf=* \
2232 | --program-trans=* | --program-tran=* \
2233 | --progr-tra=* | --program-tr=* | --program-t=*)
2234 program_transform_name=$ac_optarg ;;
2236 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2237 ac_prev=pdfdir ;;
2238 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2239 pdfdir=$ac_optarg ;;
2241 -psdir | --psdir | --psdi | --psd | --ps)
2242 ac_prev=psdir ;;
2243 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2244 psdir=$ac_optarg ;;
2246 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2247 | -silent | --silent | --silen | --sile | --sil)
2248 silent=yes ;;
2250 -runstatedir | --runstatedir | --runstatedi | --runstated \
2251 | --runstate | --runstat | --runsta | --runst | --runs \
2252 | --run | --ru | --r)
2253 ac_prev=runstatedir ;;
2254 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2255 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2256 | --run=* | --ru=* | --r=*)
2257 runstatedir=$ac_optarg ;;
2259 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2260 ac_prev=sbindir ;;
2261 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2262 | --sbi=* | --sb=*)
2263 sbindir=$ac_optarg ;;
2265 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2266 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2267 | --sharedst | --shareds | --shared | --share | --shar \
2268 | --sha | --sh)
2269 ac_prev=sharedstatedir ;;
2270 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2271 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2272 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2273 | --sha=* | --sh=*)
2274 sharedstatedir=$ac_optarg ;;
2276 -site | --site | --sit)
2277 ac_prev=site ;;
2278 -site=* | --site=* | --sit=*)
2279 site=$ac_optarg ;;
2281 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2282 ac_prev=srcdir ;;
2283 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2284 srcdir=$ac_optarg ;;
2286 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2287 | --syscon | --sysco | --sysc | --sys | --sy)
2288 ac_prev=sysconfdir ;;
2289 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2290 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2291 sysconfdir=$ac_optarg ;;
2293 -target | --target | --targe | --targ | --tar | --ta | --t)
2294 ac_prev=target_alias ;;
2295 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2296 target_alias=$ac_optarg ;;
2298 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2299 verbose=yes ;;
2301 -version | --version | --versio | --versi | --vers | -V)
2302 ac_init_version=: ;;
2304 -with-* | --with-*)
2305 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2306 # Reject names that are not valid shell variable names.
2307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2308 as_fn_error $? "invalid package name: $ac_useropt"
2309 ac_useropt_orig=$ac_useropt
2310 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2311 case $ac_user_opts in
2313 "with_$ac_useropt"
2314 "*) ;;
2315 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2316 ac_unrecognized_sep=', ';;
2317 esac
2318 eval with_$ac_useropt=\$ac_optarg ;;
2320 -without-* | --without-*)
2321 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2322 # Reject names that are not valid shell variable names.
2323 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2324 as_fn_error $? "invalid package name: $ac_useropt"
2325 ac_useropt_orig=$ac_useropt
2326 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2327 case $ac_user_opts in
2329 "with_$ac_useropt"
2330 "*) ;;
2331 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2332 ac_unrecognized_sep=', ';;
2333 esac
2334 eval with_$ac_useropt=no ;;
2336 --x)
2337 # Obsolete; use --with-x.
2338 with_x=yes ;;
2340 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2341 | --x-incl | --x-inc | --x-in | --x-i)
2342 ac_prev=x_includes ;;
2343 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2344 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2345 x_includes=$ac_optarg ;;
2347 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2348 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2349 ac_prev=x_libraries ;;
2350 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2351 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2352 x_libraries=$ac_optarg ;;
2354 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2355 Try \`$0 --help' for more information"
2358 *=*)
2359 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2360 # Reject names that are not valid shell variable names.
2361 case $ac_envvar in #(
2362 '' | [0-9]* | *[!_$as_cr_alnum]* )
2363 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2364 esac
2365 eval $ac_envvar=\$ac_optarg
2366 export $ac_envvar ;;
2369 # FIXME: should be removed in autoconf 3.0.
2370 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2371 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2372 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2373 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2376 esac
2377 done
2379 if test -n "$ac_prev"; then
2380 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2381 as_fn_error $? "missing argument to $ac_option"
2384 if test -n "$ac_unrecognized_opts"; then
2385 case $enable_option_checking in
2386 no) ;;
2387 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2388 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2389 esac
2392 # Check all directory arguments for consistency.
2393 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2394 datadir sysconfdir sharedstatedir localstatedir includedir \
2395 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2396 libdir localedir mandir runstatedir
2398 eval ac_val=\$$ac_var
2399 # Remove trailing slashes.
2400 case $ac_val in
2401 */ )
2402 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2403 eval $ac_var=\$ac_val;;
2404 esac
2405 # Be sure to have absolute directory names.
2406 case $ac_val in
2407 [\\/$]* | ?:[\\/]* ) continue;;
2408 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2409 esac
2410 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2411 done
2413 # There might be people who depend on the old broken behavior: `$host'
2414 # used to hold the argument of --host etc.
2415 # FIXME: To remove some day.
2416 build=$build_alias
2417 host=$host_alias
2418 target=$target_alias
2420 # FIXME: To remove some day.
2421 if test "x$host_alias" != x; then
2422 if test "x$build_alias" = x; then
2423 cross_compiling=maybe
2424 elif test "x$build_alias" != "x$host_alias"; then
2425 cross_compiling=yes
2429 ac_tool_prefix=
2430 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2432 test "$silent" = yes && exec 6>/dev/null
2435 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2436 ac_ls_di=`ls -di .` &&
2437 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2438 as_fn_error $? "working directory cannot be determined"
2439 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2440 as_fn_error $? "pwd does not report name of working directory"
2443 # Find the source files, if location was not specified.
2444 if test -z "$srcdir"; then
2445 ac_srcdir_defaulted=yes
2446 # Try the directory containing this script, then the parent directory.
2447 ac_confdir=`$as_dirname -- "$as_myself" ||
2448 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2449 X"$as_myself" : 'X\(//\)[^/]' \| \
2450 X"$as_myself" : 'X\(//\)$' \| \
2451 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2452 $as_echo X"$as_myself" |
2453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2454 s//\1/
2457 /^X\(\/\/\)[^/].*/{
2458 s//\1/
2461 /^X\(\/\/\)$/{
2462 s//\1/
2465 /^X\(\/\).*/{
2466 s//\1/
2469 s/.*/./; q'`
2470 srcdir=$ac_confdir
2471 if test ! -r "$srcdir/$ac_unique_file"; then
2472 srcdir=..
2474 else
2475 ac_srcdir_defaulted=no
2477 if test ! -r "$srcdir/$ac_unique_file"; then
2478 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2479 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2481 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2482 ac_abs_confdir=`(
2483 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2484 pwd)`
2485 # When building in place, set srcdir=.
2486 if test "$ac_abs_confdir" = "$ac_pwd"; then
2487 srcdir=.
2489 # Remove unnecessary trailing slashes from srcdir.
2490 # Double slashes in file names in object file debugging info
2491 # mess up M-x gdb in Emacs.
2492 case $srcdir in
2493 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2494 esac
2495 for ac_var in $ac_precious_vars; do
2496 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2497 eval ac_env_${ac_var}_value=\$${ac_var}
2498 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2499 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2500 done
2503 # Report the --help message.
2505 if test "$ac_init_help" = "long"; then
2506 # Omit some internal or obsolete options to make the list less imposing.
2507 # This message is too long to be a string in the A/UX 3.1 sh.
2508 cat <<_ACEOF
2509 \`configure' configures Wine 6.5 to adapt to many kinds of systems.
2511 Usage: $0 [OPTION]... [VAR=VALUE]...
2513 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2514 VAR=VALUE. See below for descriptions of some of the useful variables.
2516 Defaults for the options are specified in brackets.
2518 Configuration:
2519 -h, --help display this help and exit
2520 --help=short display options specific to this package
2521 --help=recursive display the short help of all the included packages
2522 -V, --version display version information and exit
2523 -q, --quiet, --silent do not print \`checking ...' messages
2524 --cache-file=FILE cache test results in FILE [disabled]
2525 -C, --config-cache alias for \`--cache-file=config.cache'
2526 -n, --no-create do not create output files
2527 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2529 Installation directories:
2530 --prefix=PREFIX install architecture-independent files in PREFIX
2531 [$ac_default_prefix]
2532 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2533 [PREFIX]
2535 By default, \`make install' will install all the files in
2536 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2537 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2538 for instance \`--prefix=\$HOME'.
2540 For better control, use the options below.
2542 Fine tuning of the installation directories:
2543 --bindir=DIR user executables [EPREFIX/bin]
2544 --sbindir=DIR system admin executables [EPREFIX/sbin]
2545 --libexecdir=DIR program executables [EPREFIX/libexec]
2546 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2547 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2548 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2549 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2550 --libdir=DIR object code libraries [EPREFIX/lib]
2551 --includedir=DIR C header files [PREFIX/include]
2552 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2553 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2554 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2555 --infodir=DIR info documentation [DATAROOTDIR/info]
2556 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2557 --mandir=DIR man documentation [DATAROOTDIR/man]
2558 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2559 --htmldir=DIR html documentation [DOCDIR]
2560 --dvidir=DIR dvi documentation [DOCDIR]
2561 --pdfdir=DIR pdf documentation [DOCDIR]
2562 --psdir=DIR ps documentation [DOCDIR]
2563 _ACEOF
2565 cat <<\_ACEOF
2567 X features:
2568 --x-includes=DIR X include files are in DIR
2569 --x-libraries=DIR X library files are in DIR
2571 System types:
2572 --build=BUILD configure for building on BUILD [guessed]
2573 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2574 _ACEOF
2577 if test -n "$ac_init_help"; then
2578 case $ac_init_help in
2579 short | recursive ) echo "Configuration of Wine 6.5:";;
2580 esac
2581 cat <<\_ACEOF
2583 Optional Features:
2584 --disable-option-checking ignore unrecognized --enable/--with options
2585 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2586 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2587 --disable-win16 do not include Win16 support
2588 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2589 binaries)
2590 --disable-tests do not build the regression tests
2591 --enable-build-id include .buildid section in output objects
2592 --enable-maintainer-mode
2593 enable maintainer-specific build rules
2594 --enable-silent-rules use silent build rules (override: "make V=1")
2595 --enable-werror treat compilation warnings as errors
2596 --disable-largefile omit support for large files
2598 Optional Packages:
2599 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2600 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2601 --without-alsa do not use the Alsa sound support
2602 --without-capi do not use CAPI (ISDN support)
2603 --without-cms do not use CMS (color management support)
2604 --without-coreaudio do not use the CoreAudio sound support
2605 --without-cups do not use CUPS
2606 --without-dbus do not use DBus (dynamic device support)
2607 --without-faudio do not use FAudio (XAudio2 support)
2608 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2609 --without-fontconfig do not use fontconfig
2610 --without-freetype do not use the FreeType library
2611 --without-gettext do not use gettext
2612 --with-gettextpo use the GetTextPO library to rebuild po files
2613 --without-gphoto do not use gphoto (Digital Camera support)
2614 --without-gnutls do not use GnuTLS (schannel support)
2615 --without-gsm do not use libgsm (GSM 06.10 codec support)
2616 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2617 --without-gstreamer do not use GStreamer (codecs support)
2618 --without-hal do not use HAL (dynamic device support)
2619 --without-inotify do not use inotify (filesystem change notifications)
2620 --without-jpeg do not use JPEG
2621 --without-jxrlib do not use JPEG-XR
2622 --without-krb5 do not use krb5 (Kerberos)
2623 --without-ldap do not use LDAP
2624 --without-mingw do not use the MinGW cross-compiler
2625 --without-mpg123 do not use the mpg123 library
2626 --without-netapi do not use the Samba NetAPI library
2627 --without-openal do not use OpenAL
2628 --without-opencl do not use OpenCL
2629 --without-opengl do not use OpenGL
2630 --without-osmesa do not use the OSMesa library
2631 --without-oss do not use the OSS sound support
2632 --without-pcap do not use the Packet Capture library
2633 --without-png do not use PNG
2634 --without-pthread do not use the pthread library
2635 --without-pulse do not use PulseAudio sound support
2636 --without-quicktime do not use QuickTime support
2637 --without-sane do not use SANE (scanner support)
2638 --without-sdl do not use SDL
2639 --without-tiff do not use TIFF
2640 --without-udev do not use udev (plug and play support)
2641 --without-unwind do not use the libunwind library (exception
2642 handling)
2643 --without-usb do not use the libusb library
2644 --without-v4l2 do not use v4l2 (video capture)
2645 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2646 --without-vulkan do not use Vulkan
2647 --without-xcomposite do not use the Xcomposite extension
2648 --without-xcursor do not use the Xcursor extension
2649 --without-xfixes do not use Xfixes for clipboard change notifications
2650 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2651 --without-xinput do not use the Xinput extension
2652 --without-xinput2 do not use the Xinput 2 extension
2653 --without-xml do not use XML
2654 --without-xrandr do not use Xrandr (multi-monitor support)
2655 --without-xrender do not use the Xrender extension
2656 --without-xshape do not use the Xshape extension
2657 --without-xshm do not use XShm (shared memory extension)
2658 --without-xslt do not use XSLT
2659 --without-xxf86vm do not use XFree video mode extension
2660 --with-wine-tools=DIR use Wine tools from directory DIR
2661 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2662 --with-x use the X Window System
2664 Some influential environment variables:
2665 CC C compiler command
2666 CFLAGS C compiler flags
2667 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2668 nonstandard directory <lib dir>
2669 LIBS libraries to pass to the linker, e.g. -l<library>
2670 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2671 you have headers in a nonstandard directory <include dir>
2672 CXX C++ compiler command
2673 CXXFLAGS C++ compiler flags
2674 CPP C preprocessor
2675 OBJC Objective C compiler command
2676 OBJCFLAGS Objective C compiler flags
2677 OBJCPP Objective C preprocessor
2678 XMKMF Path to xmkmf, Makefile generator for X Window System
2679 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2680 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2681 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2682 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2683 INOTIFY_CFLAGS
2684 C compiler flags for libinotify, overriding pkg-config
2685 INOTIFY_LIBS
2686 Linker flags for libinotify, overriding pkg-config
2687 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2688 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2689 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2690 HAL_LIBS Linker flags for hal, overriding pkg-config
2691 GNUTLS_CFLAGS
2692 C compiler flags for gnutls, overriding pkg-config
2693 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2694 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2695 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2696 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2697 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2698 GPHOTO2_CFLAGS
2699 C compiler flags for libgphoto2, overriding pkg-config
2700 GPHOTO2_LIBS
2701 Linker flags for libgphoto2, overriding pkg-config
2702 GPHOTO2_PORT_CFLAGS
2703 C compiler flags for libgphoto2_port, overriding pkg-config
2704 GPHOTO2_PORT_LIBS
2705 Linker flags for libgphoto2_port, overriding pkg-config
2706 LCMS2_CFLAGS
2707 C compiler flags for lcms2, overriding pkg-config
2708 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2709 FREETYPE_CFLAGS
2710 C compiler flags for freetype2, overriding pkg-config
2711 FREETYPE_LIBS
2712 Linker flags for freetype2, overriding pkg-config
2713 PULSE_CFLAGS
2714 C compiler flags for libpulse, overriding pkg-config
2715 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2716 GSTREAMER_CFLAGS
2717 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2718 gstreamer-audio-1.0, overriding pkg-config
2719 GSTREAMER_LIBS
2720 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2721 gstreamer-audio-1.0, overriding pkg-config
2722 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2723 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2724 UNWIND_CFLAGS
2725 C compiler flags for libunwind, overriding pkg-config
2726 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2727 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2728 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2729 FAUDIO_CFLAGS
2730 C compiler flags for faudio, overriding pkg-config
2731 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2732 CAPI20_CFLAGS
2733 C compiler flags for capi20, overriding pkg-config
2734 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2735 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2736 CUPS_LIBS Linker flags for cups, overriding pkg-config
2737 FONTCONFIG_CFLAGS
2738 C compiler flags for fontconfig, overriding pkg-config
2739 FONTCONFIG_LIBS
2740 Linker flags for fontconfig, overriding pkg-config
2741 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2742 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2743 GSSAPI_CFLAGS
2744 C compiler flags for krb5-gssapi, overriding pkg-config
2745 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2746 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2747 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2748 JXRLIB_CFLAGS
2749 C compiler flags for jxrlib, overriding pkg-config
2750 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2751 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2752 PNG_LIBS Linker flags for libpng, overriding pkg-config
2753 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2754 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2755 MPG123_CFLAGS
2756 C compiler flags for libmpg123, overriding pkg-config
2757 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2758 NETAPI_CFLAGS
2759 C compiler flags for netapi, overriding pkg-config
2760 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2761 VKD3D_CFLAGS
2762 C compiler flags for libvkd3d, overriding pkg-config
2763 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2764 VKD3D_SHADER_CFLAGS
2765 C compiler flags for libvkd3d-shader, overriding pkg-config
2766 VKD3D_SHADER_LIBS
2767 Linker flags for libvkd3d-shader, overriding pkg-config
2768 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2769 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2771 Use these variables to override the choices made by `configure' or to help
2772 it to find libraries and programs with nonstandard names/locations.
2774 Report bugs to <wine-devel@winehq.org>.
2775 Wine home page: <https://www.winehq.org>.
2776 _ACEOF
2777 ac_status=$?
2780 if test "$ac_init_help" = "recursive"; then
2781 # If there are subdirs, report their specific --help.
2782 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2783 test -d "$ac_dir" ||
2784 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2785 continue
2786 ac_builddir=.
2788 case "$ac_dir" in
2789 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2791 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2792 # A ".." for each directory in $ac_dir_suffix.
2793 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2794 case $ac_top_builddir_sub in
2795 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2796 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2797 esac ;;
2798 esac
2799 ac_abs_top_builddir=$ac_pwd
2800 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2801 # for backward compatibility:
2802 ac_top_builddir=$ac_top_build_prefix
2804 case $srcdir in
2805 .) # We are building in place.
2806 ac_srcdir=.
2807 ac_top_srcdir=$ac_top_builddir_sub
2808 ac_abs_top_srcdir=$ac_pwd ;;
2809 [\\/]* | ?:[\\/]* ) # Absolute name.
2810 ac_srcdir=$srcdir$ac_dir_suffix;
2811 ac_top_srcdir=$srcdir
2812 ac_abs_top_srcdir=$srcdir ;;
2813 *) # Relative name.
2814 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2815 ac_top_srcdir=$ac_top_build_prefix$srcdir
2816 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2817 esac
2818 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2820 cd "$ac_dir" || { ac_status=$?; continue; }
2821 # Check for guested configure.
2822 if test -f "$ac_srcdir/configure.gnu"; then
2823 echo &&
2824 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2825 elif test -f "$ac_srcdir/configure"; then
2826 echo &&
2827 $SHELL "$ac_srcdir/configure" --help=recursive
2828 else
2829 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2830 fi || ac_status=$?
2831 cd "$ac_pwd" || { ac_status=$?; break; }
2832 done
2835 test -n "$ac_init_help" && exit $ac_status
2836 if $ac_init_version; then
2837 cat <<\_ACEOF
2838 Wine configure 6.5
2839 generated by GNU Autoconf 2.69
2841 Copyright (C) 2012 Free Software Foundation, Inc.
2842 This configure script is free software; the Free Software Foundation
2843 gives unlimited permission to copy, distribute and modify it.
2844 _ACEOF
2845 exit
2848 ## ------------------------ ##
2849 ## Autoconf initialization. ##
2850 ## ------------------------ ##
2852 # ac_fn_c_try_compile LINENO
2853 # --------------------------
2854 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2855 ac_fn_c_try_compile ()
2857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2858 rm -f conftest.$ac_objext
2859 if { { ac_try="$ac_compile"
2860 case "(($ac_try" in
2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2863 esac
2864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2865 $as_echo "$ac_try_echo"; } >&5
2866 (eval "$ac_compile") 2>conftest.err
2867 ac_status=$?
2868 if test -s conftest.err; then
2869 grep -v '^ *+' conftest.err >conftest.er1
2870 cat conftest.er1 >&5
2871 mv -f conftest.er1 conftest.err
2873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2874 test $ac_status = 0; } && {
2875 test -z "$ac_c_werror_flag" ||
2876 test ! -s conftest.err
2877 } && test -s conftest.$ac_objext; then :
2878 ac_retval=0
2879 else
2880 $as_echo "$as_me: failed program was:" >&5
2881 sed 's/^/| /' conftest.$ac_ext >&5
2883 ac_retval=1
2885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2886 as_fn_set_status $ac_retval
2888 } # ac_fn_c_try_compile
2890 # ac_fn_cxx_try_compile LINENO
2891 # ----------------------------
2892 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2893 ac_fn_cxx_try_compile ()
2895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2896 rm -f conftest.$ac_objext
2897 if { { ac_try="$ac_compile"
2898 case "(($ac_try" in
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2901 esac
2902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2903 $as_echo "$ac_try_echo"; } >&5
2904 (eval "$ac_compile") 2>conftest.err
2905 ac_status=$?
2906 if test -s conftest.err; then
2907 grep -v '^ *+' conftest.err >conftest.er1
2908 cat conftest.er1 >&5
2909 mv -f conftest.er1 conftest.err
2911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2912 test $ac_status = 0; } && {
2913 test -z "$ac_cxx_werror_flag" ||
2914 test ! -s conftest.err
2915 } && test -s conftest.$ac_objext; then :
2916 ac_retval=0
2917 else
2918 $as_echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2921 ac_retval=1
2923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2924 as_fn_set_status $ac_retval
2926 } # ac_fn_cxx_try_compile
2928 # ac_fn_c_try_link LINENO
2929 # -----------------------
2930 # Try to link conftest.$ac_ext, and return whether this succeeded.
2931 ac_fn_c_try_link ()
2933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2934 rm -f conftest.$ac_objext conftest$ac_exeext
2935 if { { ac_try="$ac_link"
2936 case "(($ac_try" in
2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938 *) ac_try_echo=$ac_try;;
2939 esac
2940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2941 $as_echo "$ac_try_echo"; } >&5
2942 (eval "$ac_link") 2>conftest.err
2943 ac_status=$?
2944 if test -s conftest.err; then
2945 grep -v '^ *+' conftest.err >conftest.er1
2946 cat conftest.er1 >&5
2947 mv -f conftest.er1 conftest.err
2949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2950 test $ac_status = 0; } && {
2951 test -z "$ac_c_werror_flag" ||
2952 test ! -s conftest.err
2953 } && test -s conftest$ac_exeext && {
2954 test "$cross_compiling" = yes ||
2955 test -x conftest$ac_exeext
2956 }; then :
2957 ac_retval=0
2958 else
2959 $as_echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2962 ac_retval=1
2964 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2965 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2966 # interfere with the next link command; also delete a directory that is
2967 # left behind by Apple's compiler. We do this before executing the actions.
2968 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2970 as_fn_set_status $ac_retval
2972 } # ac_fn_c_try_link
2974 # ac_fn_c_try_cpp LINENO
2975 # ----------------------
2976 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2977 ac_fn_c_try_cpp ()
2979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2980 if { { ac_try="$ac_cpp conftest.$ac_ext"
2981 case "(($ac_try" in
2982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2983 *) ac_try_echo=$ac_try;;
2984 esac
2985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2986 $as_echo "$ac_try_echo"; } >&5
2987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2988 ac_status=$?
2989 if test -s conftest.err; then
2990 grep -v '^ *+' conftest.err >conftest.er1
2991 cat conftest.er1 >&5
2992 mv -f conftest.er1 conftest.err
2994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2995 test $ac_status = 0; } > conftest.i && {
2996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2997 test ! -s conftest.err
2998 }; then :
2999 ac_retval=0
3000 else
3001 $as_echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.$ac_ext >&5
3004 ac_retval=1
3006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3007 as_fn_set_status $ac_retval
3009 } # ac_fn_c_try_cpp
3011 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3012 # -------------------------------------------------------
3013 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3014 # the include files in INCLUDES and setting the cache variable VAR
3015 # accordingly.
3016 ac_fn_c_check_header_mongrel ()
3018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3019 if eval \${$3+:} false; then :
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3021 $as_echo_n "checking for $2... " >&6; }
3022 if eval \${$3+:} false; then :
3023 $as_echo_n "(cached) " >&6
3025 eval ac_res=\$$3
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3027 $as_echo "$ac_res" >&6; }
3028 else
3029 # Is the header compilable?
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3031 $as_echo_n "checking $2 usability... " >&6; }
3032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3033 /* end confdefs.h. */
3035 #include <$2>
3036 _ACEOF
3037 if ac_fn_c_try_compile "$LINENO"; then :
3038 ac_header_compiler=yes
3039 else
3040 ac_header_compiler=no
3042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3044 $as_echo "$ac_header_compiler" >&6; }
3046 # Is the header present?
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3048 $as_echo_n "checking $2 presence... " >&6; }
3049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3050 /* end confdefs.h. */
3051 #include <$2>
3052 _ACEOF
3053 if ac_fn_c_try_cpp "$LINENO"; then :
3054 ac_header_preproc=yes
3055 else
3056 ac_header_preproc=no
3058 rm -f conftest.err conftest.i conftest.$ac_ext
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3060 $as_echo "$ac_header_preproc" >&6; }
3062 # So? What about this header?
3063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3064 yes:no: )
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3066 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3068 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3070 no:yes:* )
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3072 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3074 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3076 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3078 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3080 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3081 ( $as_echo "## ------------------------------------ ##
3082 ## Report this to wine-devel@winehq.org ##
3083 ## ------------------------------------ ##"
3084 ) | sed "s/^/$as_me: WARNING: /" >&2
3086 esac
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3088 $as_echo_n "checking for $2... " >&6; }
3089 if eval \${$3+:} false; then :
3090 $as_echo_n "(cached) " >&6
3091 else
3092 eval "$3=\$ac_header_compiler"
3094 eval ac_res=\$$3
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3096 $as_echo "$ac_res" >&6; }
3098 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3100 } # ac_fn_c_check_header_mongrel
3102 # ac_fn_c_try_run LINENO
3103 # ----------------------
3104 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3105 # that executables *can* be run.
3106 ac_fn_c_try_run ()
3108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3109 if { { ac_try="$ac_link"
3110 case "(($ac_try" in
3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3113 esac
3114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3115 $as_echo "$ac_try_echo"; } >&5
3116 (eval "$ac_link") 2>&5
3117 ac_status=$?
3118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3119 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3120 { { case "(($ac_try" in
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3123 esac
3124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3125 $as_echo "$ac_try_echo"; } >&5
3126 (eval "$ac_try") 2>&5
3127 ac_status=$?
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; }; }; then :
3130 ac_retval=0
3131 else
3132 $as_echo "$as_me: program exited with status $ac_status" >&5
3133 $as_echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3136 ac_retval=$ac_status
3138 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3139 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3140 as_fn_set_status $ac_retval
3142 } # ac_fn_c_try_run
3144 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3145 # -------------------------------------------------------
3146 # Tests whether HEADER exists and can be compiled using the include files in
3147 # INCLUDES, setting the cache variable VAR accordingly.
3148 ac_fn_c_check_header_compile ()
3150 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3152 $as_echo_n "checking for $2... " >&6; }
3153 if eval \${$3+:} false; then :
3154 $as_echo_n "(cached) " >&6
3155 else
3156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3157 /* end confdefs.h. */
3159 #include <$2>
3160 _ACEOF
3161 if ac_fn_c_try_compile "$LINENO"; then :
3162 eval "$3=yes"
3163 else
3164 eval "$3=no"
3166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3168 eval ac_res=\$$3
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3170 $as_echo "$ac_res" >&6; }
3171 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3173 } # ac_fn_c_check_header_compile
3175 # ac_fn_objc_try_compile LINENO
3176 # -----------------------------
3177 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3178 ac_fn_objc_try_compile ()
3180 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3181 rm -f conftest.$ac_objext
3182 if { { ac_try="$ac_compile"
3183 case "(($ac_try" in
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3186 esac
3187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3188 $as_echo "$ac_try_echo"; } >&5
3189 (eval "$ac_compile") 2>conftest.err
3190 ac_status=$?
3191 if test -s conftest.err; then
3192 grep -v '^ *+' conftest.err >conftest.er1
3193 cat conftest.er1 >&5
3194 mv -f conftest.er1 conftest.err
3196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3197 test $ac_status = 0; } && {
3198 test -z "$ac_objc_werror_flag" ||
3199 test ! -s conftest.err
3200 } && test -s conftest.$ac_objext; then :
3201 ac_retval=0
3202 else
3203 $as_echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.$ac_ext >&5
3206 ac_retval=1
3208 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3209 as_fn_set_status $ac_retval
3211 } # ac_fn_objc_try_compile
3213 # ac_fn_objc_try_cpp LINENO
3214 # -------------------------
3215 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3216 ac_fn_objc_try_cpp ()
3218 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3219 if { { ac_try="$ac_cpp conftest.$ac_ext"
3220 case "(($ac_try" in
3221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3222 *) ac_try_echo=$ac_try;;
3223 esac
3224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3225 $as_echo "$ac_try_echo"; } >&5
3226 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3227 ac_status=$?
3228 if test -s conftest.err; then
3229 grep -v '^ *+' conftest.err >conftest.er1
3230 cat conftest.er1 >&5
3231 mv -f conftest.er1 conftest.err
3233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3234 test $ac_status = 0; } > conftest.i && {
3235 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3236 test ! -s conftest.err
3237 }; then :
3238 ac_retval=0
3239 else
3240 $as_echo "$as_me: failed program was:" >&5
3241 sed 's/^/| /' conftest.$ac_ext >&5
3243 ac_retval=1
3245 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3246 as_fn_set_status $ac_retval
3248 } # ac_fn_objc_try_cpp
3250 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3251 # ----------------------------------------------------------
3252 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3253 # the include files in INCLUDES and setting the cache variable VAR
3254 # accordingly.
3255 ac_fn_objc_check_header_mongrel ()
3257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3258 if eval \${$3+:} false; then :
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3260 $as_echo_n "checking for $2... " >&6; }
3261 if eval \${$3+:} false; then :
3262 $as_echo_n "(cached) " >&6
3264 eval ac_res=\$$3
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3266 $as_echo "$ac_res" >&6; }
3267 else
3268 # Is the header compilable?
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3270 $as_echo_n "checking $2 usability... " >&6; }
3271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3272 /* end confdefs.h. */
3274 #include <$2>
3275 _ACEOF
3276 if ac_fn_objc_try_compile "$LINENO"; then :
3277 ac_header_compiler=yes
3278 else
3279 ac_header_compiler=no
3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3283 $as_echo "$ac_header_compiler" >&6; }
3285 # Is the header present?
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3287 $as_echo_n "checking $2 presence... " >&6; }
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3290 #include <$2>
3291 _ACEOF
3292 if ac_fn_objc_try_cpp "$LINENO"; then :
3293 ac_header_preproc=yes
3294 else
3295 ac_header_preproc=no
3297 rm -f conftest.err conftest.i conftest.$ac_ext
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3299 $as_echo "$ac_header_preproc" >&6; }
3301 # So? What about this header?
3302 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3303 yes:no: )
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3305 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3307 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3309 no:yes:* )
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3311 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3313 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3315 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3317 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3319 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3320 ( $as_echo "## ------------------------------------ ##
3321 ## Report this to wine-devel@winehq.org ##
3322 ## ------------------------------------ ##"
3323 ) | sed "s/^/$as_me: WARNING: /" >&2
3325 esac
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3327 $as_echo_n "checking for $2... " >&6; }
3328 if eval \${$3+:} false; then :
3329 $as_echo_n "(cached) " >&6
3330 else
3331 eval "$3=\$ac_header_compiler"
3333 eval ac_res=\$$3
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3335 $as_echo "$ac_res" >&6; }
3337 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3339 } # ac_fn_objc_check_header_mongrel
3341 # ac_fn_c_check_func LINENO FUNC VAR
3342 # ----------------------------------
3343 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3344 ac_fn_c_check_func ()
3346 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3348 $as_echo_n "checking for $2... " >&6; }
3349 if eval \${$3+:} false; then :
3350 $as_echo_n "(cached) " >&6
3351 else
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3354 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3356 #define $2 innocuous_$2
3358 /* System header to define __stub macros and hopefully few prototypes,
3359 which can conflict with char $2 (); below.
3360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3361 <limits.h> exists even on freestanding compilers. */
3363 #ifdef __STDC__
3364 # include <limits.h>
3365 #else
3366 # include <assert.h>
3367 #endif
3369 #undef $2
3371 /* Override any GCC internal prototype to avoid an error.
3372 Use char because int might match the return type of a GCC
3373 builtin and then its argument prototype would still apply. */
3374 #ifdef __cplusplus
3375 extern "C"
3376 #endif
3377 char $2 ();
3378 /* The GNU C library defines this for functions which it implements
3379 to always fail with ENOSYS. Some functions are actually named
3380 something starting with __ and the normal name is an alias. */
3381 #if defined __stub_$2 || defined __stub___$2
3382 choke me
3383 #endif
3386 main ()
3388 return $2 ();
3390 return 0;
3392 _ACEOF
3393 if ac_fn_c_try_link "$LINENO"; then :
3394 eval "$3=yes"
3395 else
3396 eval "$3=no"
3398 rm -f core conftest.err conftest.$ac_objext \
3399 conftest$ac_exeext conftest.$ac_ext
3401 eval ac_res=\$$3
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3403 $as_echo "$ac_res" >&6; }
3404 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3406 } # ac_fn_c_check_func
3408 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3409 # ----------------------------------------------------
3410 # Tries to find if the field MEMBER exists in type AGGR, after including
3411 # INCLUDES, setting cache variable VAR accordingly.
3412 ac_fn_c_check_member ()
3414 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3416 $as_echo_n "checking for $2.$3... " >&6; }
3417 if eval \${$4+:} false; then :
3418 $as_echo_n "(cached) " >&6
3419 else
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3424 main ()
3426 static $2 ac_aggr;
3427 if (ac_aggr.$3)
3428 return 0;
3430 return 0;
3432 _ACEOF
3433 if ac_fn_c_try_compile "$LINENO"; then :
3434 eval "$4=yes"
3435 else
3436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3437 /* end confdefs.h. */
3440 main ()
3442 static $2 ac_aggr;
3443 if (sizeof ac_aggr.$3)
3444 return 0;
3446 return 0;
3448 _ACEOF
3449 if ac_fn_c_try_compile "$LINENO"; then :
3450 eval "$4=yes"
3451 else
3452 eval "$4=no"
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3458 eval ac_res=\$$4
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3460 $as_echo "$ac_res" >&6; }
3461 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3463 } # ac_fn_c_check_member
3465 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3466 # -------------------------------------------
3467 # Tests whether TYPE exists after having included INCLUDES, setting cache
3468 # variable VAR accordingly.
3469 ac_fn_c_check_type ()
3471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3473 $as_echo_n "checking for $2... " >&6; }
3474 if eval \${$3+:} false; then :
3475 $as_echo_n "(cached) " >&6
3476 else
3477 eval "$3=no"
3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479 /* end confdefs.h. */
3482 main ()
3484 if (sizeof ($2))
3485 return 0;
3487 return 0;
3489 _ACEOF
3490 if ac_fn_c_try_compile "$LINENO"; then :
3491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492 /* end confdefs.h. */
3495 main ()
3497 if (sizeof (($2)))
3498 return 0;
3500 return 0;
3502 _ACEOF
3503 if ac_fn_c_try_compile "$LINENO"; then :
3505 else
3506 eval "$3=yes"
3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3512 eval ac_res=\$$3
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3514 $as_echo "$ac_res" >&6; }
3515 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3517 } # ac_fn_c_check_type
3518 cat >config.log <<_ACEOF
3519 This file contains any messages produced by compilers while
3520 running configure, to aid debugging if configure makes a mistake.
3522 It was created by Wine $as_me 6.5, which was
3523 generated by GNU Autoconf 2.69. Invocation command line was
3525 $ $0 $@
3527 _ACEOF
3528 exec 5>>config.log
3530 cat <<_ASUNAME
3531 ## --------- ##
3532 ## Platform. ##
3533 ## --------- ##
3535 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3536 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3537 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3538 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3539 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3541 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3542 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3544 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3545 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3546 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3547 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3548 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3549 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3550 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3552 _ASUNAME
3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3555 for as_dir in $PATH
3557 IFS=$as_save_IFS
3558 test -z "$as_dir" && as_dir=.
3559 $as_echo "PATH: $as_dir"
3560 done
3561 IFS=$as_save_IFS
3563 } >&5
3565 cat >&5 <<_ACEOF
3568 ## ----------- ##
3569 ## Core tests. ##
3570 ## ----------- ##
3572 _ACEOF
3575 # Keep a trace of the command line.
3576 # Strip out --no-create and --no-recursion so they do not pile up.
3577 # Strip out --silent because we don't want to record it for future runs.
3578 # Also quote any args containing shell meta-characters.
3579 # Make two passes to allow for proper duplicate-argument suppression.
3580 ac_configure_args=
3581 ac_configure_args0=
3582 ac_configure_args1=
3583 ac_must_keep_next=false
3584 for ac_pass in 1 2
3586 for ac_arg
3588 case $ac_arg in
3589 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3590 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3591 | -silent | --silent | --silen | --sile | --sil)
3592 continue ;;
3593 *\'*)
3594 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3595 esac
3596 case $ac_pass in
3597 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3599 as_fn_append ac_configure_args1 " '$ac_arg'"
3600 if test $ac_must_keep_next = true; then
3601 ac_must_keep_next=false # Got value, back to normal.
3602 else
3603 case $ac_arg in
3604 *=* | --config-cache | -C | -disable-* | --disable-* \
3605 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3606 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3607 | -with-* | --with-* | -without-* | --without-* | --x)
3608 case "$ac_configure_args0 " in
3609 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3610 esac
3612 -* ) ac_must_keep_next=true ;;
3613 esac
3615 as_fn_append ac_configure_args " '$ac_arg'"
3617 esac
3618 done
3619 done
3620 { ac_configure_args0=; unset ac_configure_args0;}
3621 { ac_configure_args1=; unset ac_configure_args1;}
3623 # When interrupted or exit'd, cleanup temporary files, and complete
3624 # config.log. We remove comments because anyway the quotes in there
3625 # would cause problems or look ugly.
3626 # WARNING: Use '\'' to represent an apostrophe within the trap.
3627 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3628 trap 'exit_status=$?
3629 # Save into config.log some information that might help in debugging.
3631 echo
3633 $as_echo "## ---------------- ##
3634 ## Cache variables. ##
3635 ## ---------------- ##"
3636 echo
3637 # The following way of writing the cache mishandles newlines in values,
3639 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3640 eval ac_val=\$$ac_var
3641 case $ac_val in #(
3642 *${as_nl}*)
3643 case $ac_var in #(
3644 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3645 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3646 esac
3647 case $ac_var in #(
3648 _ | IFS | as_nl) ;; #(
3649 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3650 *) { eval $ac_var=; unset $ac_var;} ;;
3651 esac ;;
3652 esac
3653 done
3654 (set) 2>&1 |
3655 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3656 *${as_nl}ac_space=\ *)
3657 sed -n \
3658 "s/'\''/'\''\\\\'\'''\''/g;
3659 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3660 ;; #(
3662 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3664 esac |
3665 sort
3667 echo
3669 $as_echo "## ----------------- ##
3670 ## Output variables. ##
3671 ## ----------------- ##"
3672 echo
3673 for ac_var in $ac_subst_vars
3675 eval ac_val=\$$ac_var
3676 case $ac_val in
3677 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3678 esac
3679 $as_echo "$ac_var='\''$ac_val'\''"
3680 done | sort
3681 echo
3683 if test -n "$ac_subst_files"; then
3684 $as_echo "## ------------------- ##
3685 ## File substitutions. ##
3686 ## ------------------- ##"
3687 echo
3688 for ac_var in $ac_subst_files
3690 eval ac_val=\$$ac_var
3691 case $ac_val in
3692 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3693 esac
3694 $as_echo "$ac_var='\''$ac_val'\''"
3695 done | sort
3696 echo
3699 if test -s confdefs.h; then
3700 $as_echo "## ----------- ##
3701 ## confdefs.h. ##
3702 ## ----------- ##"
3703 echo
3704 cat confdefs.h
3705 echo
3707 test "$ac_signal" != 0 &&
3708 $as_echo "$as_me: caught signal $ac_signal"
3709 $as_echo "$as_me: exit $exit_status"
3710 } >&5
3711 rm -f core *.core core.conftest.* &&
3712 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3713 exit $exit_status
3715 for ac_signal in 1 2 13 15; do
3716 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3717 done
3718 ac_signal=0
3720 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3721 rm -f -r conftest* confdefs.h
3723 $as_echo "/* confdefs.h */" > confdefs.h
3725 # Predefined preprocessor variables.
3727 cat >>confdefs.h <<_ACEOF
3728 #define PACKAGE_NAME "$PACKAGE_NAME"
3729 _ACEOF
3731 cat >>confdefs.h <<_ACEOF
3732 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3733 _ACEOF
3735 cat >>confdefs.h <<_ACEOF
3736 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3737 _ACEOF
3739 cat >>confdefs.h <<_ACEOF
3740 #define PACKAGE_STRING "$PACKAGE_STRING"
3741 _ACEOF
3743 cat >>confdefs.h <<_ACEOF
3744 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3745 _ACEOF
3747 cat >>confdefs.h <<_ACEOF
3748 #define PACKAGE_URL "$PACKAGE_URL"
3749 _ACEOF
3752 # Let the site file select an alternate cache file if it wants to.
3753 # Prefer an explicitly selected file to automatically selected ones.
3754 ac_site_file1=NONE
3755 ac_site_file2=NONE
3756 if test -n "$CONFIG_SITE"; then
3757 # We do not want a PATH search for config.site.
3758 case $CONFIG_SITE in #((
3759 -*) ac_site_file1=./$CONFIG_SITE;;
3760 */*) ac_site_file1=$CONFIG_SITE;;
3761 *) ac_site_file1=./$CONFIG_SITE;;
3762 esac
3763 elif test "x$prefix" != xNONE; then
3764 ac_site_file1=$prefix/share/config.site
3765 ac_site_file2=$prefix/etc/config.site
3766 else
3767 ac_site_file1=$ac_default_prefix/share/config.site
3768 ac_site_file2=$ac_default_prefix/etc/config.site
3770 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3772 test "x$ac_site_file" = xNONE && continue
3773 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3775 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3776 sed 's/^/| /' "$ac_site_file" >&5
3777 . "$ac_site_file" \
3778 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3780 as_fn_error $? "failed to load site script $ac_site_file
3781 See \`config.log' for more details" "$LINENO" 5; }
3783 done
3785 if test -r "$cache_file"; then
3786 # Some versions of bash will fail to source /dev/null (special files
3787 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3788 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3790 $as_echo "$as_me: loading cache $cache_file" >&6;}
3791 case $cache_file in
3792 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3793 *) . "./$cache_file";;
3794 esac
3796 else
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3798 $as_echo "$as_me: creating cache $cache_file" >&6;}
3799 >$cache_file
3802 # Check that the precious variables saved in the cache have kept the same
3803 # value.
3804 ac_cache_corrupted=false
3805 for ac_var in $ac_precious_vars; do
3806 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3807 eval ac_new_set=\$ac_env_${ac_var}_set
3808 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3809 eval ac_new_val=\$ac_env_${ac_var}_value
3810 case $ac_old_set,$ac_new_set in
3811 set,)
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3813 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3814 ac_cache_corrupted=: ;;
3815 ,set)
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3817 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3818 ac_cache_corrupted=: ;;
3819 ,);;
3821 if test "x$ac_old_val" != "x$ac_new_val"; then
3822 # differences in whitespace do not lead to failure.
3823 ac_old_val_w=`echo x $ac_old_val`
3824 ac_new_val_w=`echo x $ac_new_val`
3825 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3827 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3828 ac_cache_corrupted=:
3829 else
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3831 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3832 eval $ac_var=\$ac_old_val
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3835 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3837 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3838 fi;;
3839 esac
3840 # Pass precious variables to config.status.
3841 if test "$ac_new_set" = set; then
3842 case $ac_new_val in
3843 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3844 *) ac_arg=$ac_var=$ac_new_val ;;
3845 esac
3846 case " $ac_configure_args " in
3847 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3848 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3849 esac
3851 done
3852 if $ac_cache_corrupted; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3856 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3857 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3859 ## -------------------- ##
3860 ## Main body of script. ##
3861 ## -------------------- ##
3863 ac_ext=c
3864 ac_cpp='$CPP $CPPFLAGS'
3865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3871 ac_config_headers="$ac_config_headers include/config.h"
3873 ac_aux_dir=
3874 for ac_dir in tools "$srcdir"/tools; do
3875 if test -f "$ac_dir/install-sh"; then
3876 ac_aux_dir=$ac_dir
3877 ac_install_sh="$ac_aux_dir/install-sh -c"
3878 break
3879 elif test -f "$ac_dir/install.sh"; then
3880 ac_aux_dir=$ac_dir
3881 ac_install_sh="$ac_aux_dir/install.sh -c"
3882 break
3883 elif test -f "$ac_dir/shtool"; then
3884 ac_aux_dir=$ac_dir
3885 ac_install_sh="$ac_aux_dir/shtool install -c"
3886 break
3888 done
3889 if test -z "$ac_aux_dir"; then
3890 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3893 # These three variables are undocumented and unsupported,
3894 # and are intended to be withdrawn in a future Autoconf release.
3895 # They can cause serious problems if a builder's source tree is in a directory
3896 # whose full name contains unusual characters.
3897 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3898 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3899 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3903 libwine_version="1.0"
3907 # Check whether --enable-win16 was given.
3908 if test "${enable_win16+set}" = set; then :
3909 enableval=$enable_win16;
3912 # Check whether --enable-win64 was given.
3913 if test "${enable_win64+set}" = set; then :
3914 enableval=$enable_win64;
3917 # Check whether --enable-tests was given.
3918 if test "${enable_tests+set}" = set; then :
3919 enableval=$enable_tests;
3922 # Check whether --enable-build-id was given.
3923 if test "${enable_build_id+set}" = set; then :
3924 enableval=$enable_build_id;
3927 # Check whether --enable-maintainer-mode was given.
3928 if test "${enable_maintainer_mode+set}" = set; then :
3929 enableval=$enable_maintainer_mode;
3932 # Check whether --enable-silent-rules was given.
3933 if test "${enable_silent_rules+set}" = set; then :
3934 enableval=$enable_silent_rules;
3937 # Check whether --enable-werror was given.
3938 if test "${enable_werror+set}" = set; then :
3939 enableval=$enable_werror;
3944 # Check whether --with-alsa was given.
3945 if test "${with_alsa+set}" = set; then :
3946 withval=$with_alsa;
3950 # Check whether --with-capi was given.
3951 if test "${with_capi+set}" = set; then :
3952 withval=$with_capi;
3956 # Check whether --with-cms was given.
3957 if test "${with_cms+set}" = set; then :
3958 withval=$with_cms;
3962 # Check whether --with-coreaudio was given.
3963 if test "${with_coreaudio+set}" = set; then :
3964 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3968 # Check whether --with-cups was given.
3969 if test "${with_cups+set}" = set; then :
3970 withval=$with_cups;
3974 # Check whether --with-dbus was given.
3975 if test "${with_dbus+set}" = set; then :
3976 withval=$with_dbus;
3980 # Check whether --with-faudio was given.
3981 if test "${with_faudio+set}" = set; then :
3982 withval=$with_faudio;
3986 # Check whether --with-float-abi was given.
3987 if test "${with_float_abi+set}" = set; then :
3988 withval=$with_float_abi;
3992 # Check whether --with-fontconfig was given.
3993 if test "${with_fontconfig+set}" = set; then :
3994 withval=$with_fontconfig;
3998 # Check whether --with-freetype was given.
3999 if test "${with_freetype+set}" = set; then :
4000 withval=$with_freetype;
4004 # Check whether --with-gettext was given.
4005 if test "${with_gettext+set}" = set; then :
4006 withval=$with_gettext;
4010 # Check whether --with-gettextpo was given.
4011 if test "${with_gettextpo+set}" = set; then :
4012 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4016 # Check whether --with-gphoto was given.
4017 if test "${with_gphoto+set}" = set; then :
4018 withval=$with_gphoto;
4022 # Check whether --with-gnutls was given.
4023 if test "${with_gnutls+set}" = set; then :
4024 withval=$with_gnutls;
4028 # Check whether --with-gsm was given.
4029 if test "${with_gsm+set}" = set; then :
4030 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4034 # Check whether --with-gssapi was given.
4035 if test "${with_gssapi+set}" = set; then :
4036 withval=$with_gssapi;
4040 # Check whether --with-gstreamer was given.
4041 if test "${with_gstreamer+set}" = set; then :
4042 withval=$with_gstreamer;
4046 # Check whether --with-hal was given.
4047 if test "${with_hal+set}" = set; then :
4048 withval=$with_hal;
4052 # Check whether --with-inotify was given.
4053 if test "${with_inotify+set}" = set; then :
4054 withval=$with_inotify;
4058 # Check whether --with-jpeg was given.
4059 if test "${with_jpeg+set}" = set; then :
4060 withval=$with_jpeg;
4064 # Check whether --with-jxrlib was given.
4065 if test "${with_jxrlib+set}" = set; then :
4066 withval=$with_jxrlib;
4070 # Check whether --with-krb5 was given.
4071 if test "${with_krb5+set}" = set; then :
4072 withval=$with_krb5;
4076 # Check whether --with-ldap was given.
4077 if test "${with_ldap+set}" = set; then :
4078 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4082 # Check whether --with-mingw was given.
4083 if test "${with_mingw+set}" = set; then :
4084 withval=$with_mingw;
4088 # Check whether --with-mpg123 was given.
4089 if test "${with_mpg123+set}" = set; then :
4090 withval=$with_mpg123;
4094 # Check whether --with-netapi was given.
4095 if test "${with_netapi+set}" = set; then :
4096 withval=$with_netapi;
4100 # Check whether --with-openal was given.
4101 if test "${with_openal+set}" = set; then :
4102 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4106 # Check whether --with-opencl was given.
4107 if test "${with_opencl+set}" = set; then :
4108 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4112 # Check whether --with-opengl was given.
4113 if test "${with_opengl+set}" = set; then :
4114 withval=$with_opengl;
4118 # Check whether --with-osmesa was given.
4119 if test "${with_osmesa+set}" = set; then :
4120 withval=$with_osmesa;
4124 # Check whether --with-oss was given.
4125 if test "${with_oss+set}" = set; then :
4126 withval=$with_oss;
4130 # Check whether --with-pcap was given.
4131 if test "${with_pcap+set}" = set; then :
4132 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4136 # Check whether --with-png was given.
4137 if test "${with_png+set}" = set; then :
4138 withval=$with_png;
4142 # Check whether --with-pthread was given.
4143 if test "${with_pthread+set}" = set; then :
4144 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4148 # Check whether --with-pulse was given.
4149 if test "${with_pulse+set}" = set; then :
4150 withval=$with_pulse;
4154 # Check whether --with-quicktime was given.
4155 if test "${with_quicktime+set}" = set; then :
4156 withval=$with_quicktime;
4160 # Check whether --with-sane was given.
4161 if test "${with_sane+set}" = set; then :
4162 withval=$with_sane;
4166 # Check whether --with-sdl was given.
4167 if test "${with_sdl+set}" = set; then :
4168 withval=$with_sdl;
4172 # Check whether --with-tiff was given.
4173 if test "${with_tiff+set}" = set; then :
4174 withval=$with_tiff;
4178 # Check whether --with-udev was given.
4179 if test "${with_udev+set}" = set; then :
4180 withval=$with_udev;
4184 # Check whether --with-unwind was given.
4185 if test "${with_unwind+set}" = set; then :
4186 withval=$with_unwind;
4190 # Check whether --with-usb was given.
4191 if test "${with_usb+set}" = set; then :
4192 withval=$with_usb;
4196 # Check whether --with-v4l2 was given.
4197 if test "${with_v4l2+set}" = set; then :
4198 withval=$with_v4l2;
4202 # Check whether --with-vkd3d was given.
4203 if test "${with_vkd3d+set}" = set; then :
4204 withval=$with_vkd3d;
4208 # Check whether --with-vulkan was given.
4209 if test "${with_vulkan+set}" = set; then :
4210 withval=$with_vulkan;
4214 # Check whether --with-xcomposite was given.
4215 if test "${with_xcomposite+set}" = set; then :
4216 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4220 # Check whether --with-xcursor was given.
4221 if test "${with_xcursor+set}" = set; then :
4222 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4226 # Check whether --with-xfixes was given.
4227 if test "${with_xfixes+set}" = set; then :
4228 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4232 # Check whether --with-xinerama was given.
4233 if test "${with_xinerama+set}" = set; then :
4234 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4238 # Check whether --with-xinput was given.
4239 if test "${with_xinput+set}" = set; then :
4240 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4244 # Check whether --with-xinput2 was given.
4245 if test "${with_xinput2+set}" = set; then :
4246 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4250 # Check whether --with-xml was given.
4251 if test "${with_xml+set}" = set; then :
4252 withval=$with_xml;
4256 # Check whether --with-xrandr was given.
4257 if test "${with_xrandr+set}" = set; then :
4258 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4262 # Check whether --with-xrender was given.
4263 if test "${with_xrender+set}" = set; then :
4264 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4268 # Check whether --with-xshape was given.
4269 if test "${with_xshape+set}" = set; then :
4270 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4274 # Check whether --with-xshm was given.
4275 if test "${with_xshm+set}" = set; then :
4276 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4280 # Check whether --with-xslt was given.
4281 if test "${with_xslt+set}" = set; then :
4282 withval=$with_xslt;
4286 # Check whether --with-xxf86vm was given.
4287 if test "${with_xxf86vm+set}" = set; then :
4288 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
4293 # Check whether --with-wine-tools was given.
4294 if test "${with_wine_tools+set}" = set; then :
4295 withval=$with_wine_tools;
4299 # Check whether --with-wine64 was given.
4300 if test "${with_wine64+set}" = set; then :
4301 withval=$with_wine64;
4305 # Make sure we can run config.sub.
4306 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4307 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4310 $as_echo_n "checking build system type... " >&6; }
4311 if ${ac_cv_build+:} false; then :
4312 $as_echo_n "(cached) " >&6
4313 else
4314 ac_build_alias=$build_alias
4315 test "x$ac_build_alias" = x &&
4316 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4317 test "x$ac_build_alias" = x &&
4318 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4319 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4320 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4324 $as_echo "$ac_cv_build" >&6; }
4325 case $ac_cv_build in
4326 *-*-*) ;;
4327 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4328 esac
4329 build=$ac_cv_build
4330 ac_save_IFS=$IFS; IFS='-'
4331 set x $ac_cv_build
4332 shift
4333 build_cpu=$1
4334 build_vendor=$2
4335 shift; shift
4336 # Remember, the first character of IFS is used to create $*,
4337 # except with old shells:
4338 build_os=$*
4339 IFS=$ac_save_IFS
4340 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4344 $as_echo_n "checking host system type... " >&6; }
4345 if ${ac_cv_host+:} false; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 if test "x$host_alias" = x; then
4349 ac_cv_host=$ac_cv_build
4350 else
4351 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4352 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4357 $as_echo "$ac_cv_host" >&6; }
4358 case $ac_cv_host in
4359 *-*-*) ;;
4360 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4361 esac
4362 host=$ac_cv_host
4363 ac_save_IFS=$IFS; IFS='-'
4364 set x $ac_cv_host
4365 shift
4366 host_cpu=$1
4367 host_vendor=$2
4368 shift; shift
4369 # Remember, the first character of IFS is used to create $*,
4370 # except with old shells:
4371 host_os=$*
4372 IFS=$ac_save_IFS
4373 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4379 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4380 set x ${MAKE-make}
4381 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4382 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4383 $as_echo_n "(cached) " >&6
4384 else
4385 cat >conftest.make <<\_ACEOF
4386 SHELL = /bin/sh
4387 all:
4388 @echo '@@@%%%=$(MAKE)=@@@%%%'
4389 _ACEOF
4390 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4391 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4392 *@@@%%%=?*=@@@%%%*)
4393 eval ac_cv_prog_make_${ac_make}_set=yes;;
4395 eval ac_cv_prog_make_${ac_make}_set=no;;
4396 esac
4397 rm -f conftest.make
4399 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4401 $as_echo "yes" >&6; }
4402 SET_MAKE=
4403 else
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4406 SET_MAKE="MAKE=${MAKE-make}"
4409 ac_ext=c
4410 ac_cpp='$CPP $CPPFLAGS'
4411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4414 if test -n "$ac_tool_prefix"; then
4415 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4416 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4418 $as_echo_n "checking for $ac_word... " >&6; }
4419 if ${ac_cv_prog_CC+:} false; then :
4420 $as_echo_n "(cached) " >&6
4421 else
4422 if test -n "$CC"; then
4423 ac_cv_prog_CC="$CC" # Let the user override the test.
4424 else
4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 for as_dir in $PATH
4428 IFS=$as_save_IFS
4429 test -z "$as_dir" && as_dir=.
4430 for ac_exec_ext in '' $ac_executable_extensions; do
4431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4432 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 break 2
4436 done
4437 done
4438 IFS=$as_save_IFS
4442 CC=$ac_cv_prog_CC
4443 if test -n "$CC"; then
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4445 $as_echo "$CC" >&6; }
4446 else
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4448 $as_echo "no" >&6; }
4453 if test -z "$ac_cv_prog_CC"; then
4454 ac_ct_CC=$CC
4455 # Extract the first word of "gcc", so it can be a program name with args.
4456 set dummy gcc; ac_word=$2
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4458 $as_echo_n "checking for $ac_word... " >&6; }
4459 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4460 $as_echo_n "(cached) " >&6
4461 else
4462 if test -n "$ac_ct_CC"; then
4463 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4464 else
4465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466 for as_dir in $PATH
4468 IFS=$as_save_IFS
4469 test -z "$as_dir" && as_dir=.
4470 for ac_exec_ext in '' $ac_executable_extensions; do
4471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4472 ac_cv_prog_ac_ct_CC="gcc"
4473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 break 2
4476 done
4477 done
4478 IFS=$as_save_IFS
4482 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4483 if test -n "$ac_ct_CC"; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4485 $as_echo "$ac_ct_CC" >&6; }
4486 else
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4488 $as_echo "no" >&6; }
4491 if test "x$ac_ct_CC" = x; then
4492 CC=""
4493 else
4494 case $cross_compiling:$ac_tool_warned in
4495 yes:)
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4498 ac_tool_warned=yes ;;
4499 esac
4500 CC=$ac_ct_CC
4502 else
4503 CC="$ac_cv_prog_CC"
4506 if test -z "$CC"; then
4507 if test -n "$ac_tool_prefix"; then
4508 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4509 set dummy ${ac_tool_prefix}cc; ac_word=$2
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4511 $as_echo_n "checking for $ac_word... " >&6; }
4512 if ${ac_cv_prog_CC+:} false; then :
4513 $as_echo_n "(cached) " >&6
4514 else
4515 if test -n "$CC"; then
4516 ac_cv_prog_CC="$CC" # Let the user override the test.
4517 else
4518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4519 for as_dir in $PATH
4521 IFS=$as_save_IFS
4522 test -z "$as_dir" && as_dir=.
4523 for ac_exec_ext in '' $ac_executable_extensions; do
4524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4525 ac_cv_prog_CC="${ac_tool_prefix}cc"
4526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 break 2
4529 done
4530 done
4531 IFS=$as_save_IFS
4535 CC=$ac_cv_prog_CC
4536 if test -n "$CC"; then
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4538 $as_echo "$CC" >&6; }
4539 else
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4541 $as_echo "no" >&6; }
4547 if test -z "$CC"; then
4548 # Extract the first word of "cc", so it can be a program name with args.
4549 set dummy cc; ac_word=$2
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4551 $as_echo_n "checking for $ac_word... " >&6; }
4552 if ${ac_cv_prog_CC+:} false; then :
4553 $as_echo_n "(cached) " >&6
4554 else
4555 if test -n "$CC"; then
4556 ac_cv_prog_CC="$CC" # Let the user override the test.
4557 else
4558 ac_prog_rejected=no
4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4560 for as_dir in $PATH
4562 IFS=$as_save_IFS
4563 test -z "$as_dir" && as_dir=.
4564 for ac_exec_ext in '' $ac_executable_extensions; do
4565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4566 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4567 ac_prog_rejected=yes
4568 continue
4570 ac_cv_prog_CC="cc"
4571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4572 break 2
4574 done
4575 done
4576 IFS=$as_save_IFS
4578 if test $ac_prog_rejected = yes; then
4579 # We found a bogon in the path, so make sure we never use it.
4580 set dummy $ac_cv_prog_CC
4581 shift
4582 if test $# != 0; then
4583 # We chose a different compiler from the bogus one.
4584 # However, it has the same basename, so the bogon will be chosen
4585 # first if we set CC to just the basename; use the full file name.
4586 shift
4587 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4592 CC=$ac_cv_prog_CC
4593 if test -n "$CC"; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4595 $as_echo "$CC" >&6; }
4596 else
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4603 if test -z "$CC"; then
4604 if test -n "$ac_tool_prefix"; then
4605 for ac_prog in cl.exe
4607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4610 $as_echo_n "checking for $ac_word... " >&6; }
4611 if ${ac_cv_prog_CC+:} false; then :
4612 $as_echo_n "(cached) " >&6
4613 else
4614 if test -n "$CC"; then
4615 ac_cv_prog_CC="$CC" # Let the user override the test.
4616 else
4617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4618 for as_dir in $PATH
4620 IFS=$as_save_IFS
4621 test -z "$as_dir" && as_dir=.
4622 for ac_exec_ext in '' $ac_executable_extensions; do
4623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4624 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4626 break 2
4628 done
4629 done
4630 IFS=$as_save_IFS
4634 CC=$ac_cv_prog_CC
4635 if test -n "$CC"; then
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4637 $as_echo "$CC" >&6; }
4638 else
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4640 $as_echo "no" >&6; }
4644 test -n "$CC" && break
4645 done
4647 if test -z "$CC"; then
4648 ac_ct_CC=$CC
4649 for ac_prog in cl.exe
4651 # Extract the first word of "$ac_prog", so it can be a program name with args.
4652 set dummy $ac_prog; ac_word=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4656 $as_echo_n "(cached) " >&6
4657 else
4658 if test -n "$ac_ct_CC"; then
4659 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4660 else
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 for as_dir in $PATH
4664 IFS=$as_save_IFS
4665 test -z "$as_dir" && as_dir=.
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4668 ac_cv_prog_ac_ct_CC="$ac_prog"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4670 break 2
4672 done
4673 done
4674 IFS=$as_save_IFS
4678 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4679 if test -n "$ac_ct_CC"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4681 $as_echo "$ac_ct_CC" >&6; }
4682 else
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4688 test -n "$ac_ct_CC" && break
4689 done
4691 if test "x$ac_ct_CC" = x; then
4692 CC=""
4693 else
4694 case $cross_compiling:$ac_tool_warned in
4695 yes:)
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4698 ac_tool_warned=yes ;;
4699 esac
4700 CC=$ac_ct_CC
4707 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4709 as_fn_error $? "no acceptable C compiler found in \$PATH
4710 See \`config.log' for more details" "$LINENO" 5; }
4712 # Provide some information about the compiler.
4713 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4714 set X $ac_compile
4715 ac_compiler=$2
4716 for ac_option in --version -v -V -qversion; do
4717 { { ac_try="$ac_compiler $ac_option >&5"
4718 case "(($ac_try" in
4719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4720 *) ac_try_echo=$ac_try;;
4721 esac
4722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4723 $as_echo "$ac_try_echo"; } >&5
4724 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4725 ac_status=$?
4726 if test -s conftest.err; then
4727 sed '10a\
4728 ... rest of stderr output deleted ...
4729 10q' conftest.err >conftest.er1
4730 cat conftest.er1 >&5
4732 rm -f conftest.er1 conftest.err
4733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4734 test $ac_status = 0; }
4735 done
4737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4741 main ()
4745 return 0;
4747 _ACEOF
4748 ac_clean_files_save=$ac_clean_files
4749 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4750 # Try to create an executable without -o first, disregard a.out.
4751 # It will help us diagnose broken compilers, and finding out an intuition
4752 # of exeext.
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4754 $as_echo_n "checking whether the C compiler works... " >&6; }
4755 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4757 # The possible output files:
4758 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4760 ac_rmfiles=
4761 for ac_file in $ac_files
4763 case $ac_file in
4764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4765 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4766 esac
4767 done
4768 rm -f $ac_rmfiles
4770 if { { ac_try="$ac_link_default"
4771 case "(($ac_try" in
4772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4773 *) ac_try_echo=$ac_try;;
4774 esac
4775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4776 $as_echo "$ac_try_echo"; } >&5
4777 (eval "$ac_link_default") 2>&5
4778 ac_status=$?
4779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4780 test $ac_status = 0; }; then :
4781 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4782 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4783 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4784 # so that the user can short-circuit this test for compilers unknown to
4785 # Autoconf.
4786 for ac_file in $ac_files ''
4788 test -f "$ac_file" || continue
4789 case $ac_file in
4790 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4792 [ab].out )
4793 # We found the default executable, but exeext='' is most
4794 # certainly right.
4795 break;;
4796 *.* )
4797 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4798 then :; else
4799 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4801 # We set ac_cv_exeext here because the later test for it is not
4802 # safe: cross compilers may not add the suffix if given an `-o'
4803 # argument, so we may need to know it at that point already.
4804 # Even if this section looks crufty: it has the advantage of
4805 # actually working.
4806 break;;
4808 break;;
4809 esac
4810 done
4811 test "$ac_cv_exeext" = no && ac_cv_exeext=
4813 else
4814 ac_file=''
4816 if test -z "$ac_file"; then :
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4819 $as_echo "$as_me: failed program was:" >&5
4820 sed 's/^/| /' conftest.$ac_ext >&5
4822 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4824 as_fn_error 77 "C compiler cannot create executables
4825 See \`config.log' for more details" "$LINENO" 5; }
4826 else
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4828 $as_echo "yes" >&6; }
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4831 $as_echo_n "checking for C compiler default output file name... " >&6; }
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4833 $as_echo "$ac_file" >&6; }
4834 ac_exeext=$ac_cv_exeext
4836 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4837 ac_clean_files=$ac_clean_files_save
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4839 $as_echo_n "checking for suffix of executables... " >&6; }
4840 if { { ac_try="$ac_link"
4841 case "(($ac_try" in
4842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4843 *) ac_try_echo=$ac_try;;
4844 esac
4845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4846 $as_echo "$ac_try_echo"; } >&5
4847 (eval "$ac_link") 2>&5
4848 ac_status=$?
4849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4850 test $ac_status = 0; }; then :
4851 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4852 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4853 # work properly (i.e., refer to `conftest.exe'), while it won't with
4854 # `rm'.
4855 for ac_file in conftest.exe conftest conftest.*; do
4856 test -f "$ac_file" || continue
4857 case $ac_file in
4858 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4859 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4860 break;;
4861 * ) break;;
4862 esac
4863 done
4864 else
4865 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4866 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4867 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4868 See \`config.log' for more details" "$LINENO" 5; }
4870 rm -f conftest conftest$ac_cv_exeext
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4872 $as_echo "$ac_cv_exeext" >&6; }
4874 rm -f conftest.$ac_ext
4875 EXEEXT=$ac_cv_exeext
4876 ac_exeext=$EXEEXT
4877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h. */
4879 #include <stdio.h>
4881 main ()
4883 FILE *f = fopen ("conftest.out", "w");
4884 return ferror (f) || fclose (f) != 0;
4887 return 0;
4889 _ACEOF
4890 ac_clean_files="$ac_clean_files conftest.out"
4891 # Check that the compiler produces executables we can run. If not, either
4892 # the compiler is broken, or we cross compile.
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4894 $as_echo_n "checking whether we are cross compiling... " >&6; }
4895 if test "$cross_compiling" != yes; then
4896 { { ac_try="$ac_link"
4897 case "(($ac_try" in
4898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4899 *) ac_try_echo=$ac_try;;
4900 esac
4901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4902 $as_echo "$ac_try_echo"; } >&5
4903 (eval "$ac_link") 2>&5
4904 ac_status=$?
4905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4906 test $ac_status = 0; }
4907 if { ac_try='./conftest$ac_cv_exeext'
4908 { { case "(($ac_try" in
4909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4910 *) ac_try_echo=$ac_try;;
4911 esac
4912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4913 $as_echo "$ac_try_echo"; } >&5
4914 (eval "$ac_try") 2>&5
4915 ac_status=$?
4916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4917 test $ac_status = 0; }; }; then
4918 cross_compiling=no
4919 else
4920 if test "$cross_compiling" = maybe; then
4921 cross_compiling=yes
4922 else
4923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4925 as_fn_error $? "cannot run C compiled programs.
4926 If you meant to cross compile, use \`--host'.
4927 See \`config.log' for more details" "$LINENO" 5; }
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4932 $as_echo "$cross_compiling" >&6; }
4934 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4935 ac_clean_files=$ac_clean_files_save
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4937 $as_echo_n "checking for suffix of object files... " >&6; }
4938 if ${ac_cv_objext+:} false; then :
4939 $as_echo_n "(cached) " >&6
4940 else
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4945 main ()
4949 return 0;
4951 _ACEOF
4952 rm -f conftest.o conftest.obj
4953 if { { ac_try="$ac_compile"
4954 case "(($ac_try" in
4955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4956 *) ac_try_echo=$ac_try;;
4957 esac
4958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4959 $as_echo "$ac_try_echo"; } >&5
4960 (eval "$ac_compile") 2>&5
4961 ac_status=$?
4962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4963 test $ac_status = 0; }; then :
4964 for ac_file in conftest.o conftest.obj conftest.*; do
4965 test -f "$ac_file" || continue;
4966 case $ac_file in
4967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4968 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4969 break;;
4970 esac
4971 done
4972 else
4973 $as_echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.$ac_ext >&5
4976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4978 as_fn_error $? "cannot compute suffix of object files: cannot compile
4979 See \`config.log' for more details" "$LINENO" 5; }
4981 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4984 $as_echo "$ac_cv_objext" >&6; }
4985 OBJEXT=$ac_cv_objext
4986 ac_objext=$OBJEXT
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4988 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4989 if ${ac_cv_c_compiler_gnu+:} false; then :
4990 $as_echo_n "(cached) " >&6
4991 else
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
4996 main ()
4998 #ifndef __GNUC__
4999 choke me
5000 #endif
5003 return 0;
5005 _ACEOF
5006 if ac_fn_c_try_compile "$LINENO"; then :
5007 ac_compiler_gnu=yes
5008 else
5009 ac_compiler_gnu=no
5011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5012 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5016 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5017 if test $ac_compiler_gnu = yes; then
5018 GCC=yes
5019 else
5020 GCC=
5022 ac_test_CFLAGS=${CFLAGS+set}
5023 ac_save_CFLAGS=$CFLAGS
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5025 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5026 if ${ac_cv_prog_cc_g+:} false; then :
5027 $as_echo_n "(cached) " >&6
5028 else
5029 ac_save_c_werror_flag=$ac_c_werror_flag
5030 ac_c_werror_flag=yes
5031 ac_cv_prog_cc_g=no
5032 CFLAGS="-g"
5033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5034 /* end confdefs.h. */
5037 main ()
5041 return 0;
5043 _ACEOF
5044 if ac_fn_c_try_compile "$LINENO"; then :
5045 ac_cv_prog_cc_g=yes
5046 else
5047 CFLAGS=""
5048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5049 /* end confdefs.h. */
5052 main ()
5056 return 0;
5058 _ACEOF
5059 if ac_fn_c_try_compile "$LINENO"; then :
5061 else
5062 ac_c_werror_flag=$ac_save_c_werror_flag
5063 CFLAGS="-g"
5064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5065 /* end confdefs.h. */
5068 main ()
5072 return 0;
5074 _ACEOF
5075 if ac_fn_c_try_compile "$LINENO"; then :
5076 ac_cv_prog_cc_g=yes
5078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5083 ac_c_werror_flag=$ac_save_c_werror_flag
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5086 $as_echo "$ac_cv_prog_cc_g" >&6; }
5087 if test "$ac_test_CFLAGS" = set; then
5088 CFLAGS=$ac_save_CFLAGS
5089 elif test $ac_cv_prog_cc_g = yes; then
5090 if test "$GCC" = yes; then
5091 CFLAGS="-g -O2"
5092 else
5093 CFLAGS="-g"
5095 else
5096 if test "$GCC" = yes; then
5097 CFLAGS="-O2"
5098 else
5099 CFLAGS=
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5103 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5104 if ${ac_cv_prog_cc_c89+:} false; then :
5105 $as_echo_n "(cached) " >&6
5106 else
5107 ac_cv_prog_cc_c89=no
5108 ac_save_CC=$CC
5109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5110 /* end confdefs.h. */
5111 #include <stdarg.h>
5112 #include <stdio.h>
5113 struct stat;
5114 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5115 struct buf { int x; };
5116 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5117 static char *e (p, i)
5118 char **p;
5119 int i;
5121 return p[i];
5123 static char *f (char * (*g) (char **, int), char **p, ...)
5125 char *s;
5126 va_list v;
5127 va_start (v,p);
5128 s = g (p, va_arg (v,int));
5129 va_end (v);
5130 return s;
5133 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5134 function prototypes and stuff, but not '\xHH' hex character constants.
5135 These don't provoke an error unfortunately, instead are silently treated
5136 as 'x'. The following induces an error, until -std is added to get
5137 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5138 array size at least. It's necessary to write '\x00'==0 to get something
5139 that's true only with -std. */
5140 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5142 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5143 inside strings and character constants. */
5144 #define FOO(x) 'x'
5145 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5147 int test (int i, double x);
5148 struct s1 {int (*f) (int a);};
5149 struct s2 {int (*f) (double a);};
5150 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5151 int argc;
5152 char **argv;
5154 main ()
5156 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5158 return 0;
5160 _ACEOF
5161 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5162 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5164 CC="$ac_save_CC $ac_arg"
5165 if ac_fn_c_try_compile "$LINENO"; then :
5166 ac_cv_prog_cc_c89=$ac_arg
5168 rm -f core conftest.err conftest.$ac_objext
5169 test "x$ac_cv_prog_cc_c89" != "xno" && break
5170 done
5171 rm -f conftest.$ac_ext
5172 CC=$ac_save_CC
5175 # AC_CACHE_VAL
5176 case "x$ac_cv_prog_cc_c89" in
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5179 $as_echo "none needed" >&6; } ;;
5180 xno)
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5182 $as_echo "unsupported" >&6; } ;;
5184 CC="$CC $ac_cv_prog_cc_c89"
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5186 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5187 esac
5188 if test "x$ac_cv_prog_cc_c89" != xno; then :
5192 ac_ext=c
5193 ac_cpp='$CPP $CPPFLAGS'
5194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5198 ac_ext=cpp
5199 ac_cpp='$CXXCPP $CPPFLAGS'
5200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5203 if test -z "$CXX"; then
5204 if test -n "$CCC"; then
5205 CXX=$CCC
5206 else
5207 if test -n "$ac_tool_prefix"; then
5208 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213 $as_echo_n "checking for $ac_word... " >&6; }
5214 if ${ac_cv_prog_CXX+:} false; then :
5215 $as_echo_n "(cached) " >&6
5216 else
5217 if test -n "$CXX"; then
5218 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5219 else
5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5221 for as_dir in $PATH
5223 IFS=$as_save_IFS
5224 test -z "$as_dir" && as_dir=.
5225 for ac_exec_ext in '' $ac_executable_extensions; do
5226 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5227 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 break 2
5231 done
5232 done
5233 IFS=$as_save_IFS
5237 CXX=$ac_cv_prog_CXX
5238 if test -n "$CXX"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5240 $as_echo "$CXX" >&6; }
5241 else
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243 $as_echo "no" >&6; }
5247 test -n "$CXX" && break
5248 done
5250 if test -z "$CXX"; then
5251 ac_ct_CXX=$CXX
5252 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5254 # Extract the first word of "$ac_prog", so it can be a program name with args.
5255 set dummy $ac_prog; ac_word=$2
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5257 $as_echo_n "checking for $ac_word... " >&6; }
5258 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5259 $as_echo_n "(cached) " >&6
5260 else
5261 if test -n "$ac_ct_CXX"; then
5262 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5263 else
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5265 for as_dir in $PATH
5267 IFS=$as_save_IFS
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_ac_ct_CXX="$ac_prog"
5272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 break 2
5275 done
5276 done
5277 IFS=$as_save_IFS
5281 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5282 if test -n "$ac_ct_CXX"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5284 $as_echo "$ac_ct_CXX" >&6; }
5285 else
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5291 test -n "$ac_ct_CXX" && break
5292 done
5294 if test "x$ac_ct_CXX" = x; then
5295 CXX="g++"
5296 else
5297 case $cross_compiling:$ac_tool_warned in
5298 yes:)
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5301 ac_tool_warned=yes ;;
5302 esac
5303 CXX=$ac_ct_CXX
5309 # Provide some information about the compiler.
5310 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5311 set X $ac_compile
5312 ac_compiler=$2
5313 for ac_option in --version -v -V -qversion; do
5314 { { ac_try="$ac_compiler $ac_option >&5"
5315 case "(($ac_try" in
5316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5317 *) ac_try_echo=$ac_try;;
5318 esac
5319 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5320 $as_echo "$ac_try_echo"; } >&5
5321 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5322 ac_status=$?
5323 if test -s conftest.err; then
5324 sed '10a\
5325 ... rest of stderr output deleted ...
5326 10q' conftest.err >conftest.er1
5327 cat conftest.er1 >&5
5329 rm -f conftest.er1 conftest.err
5330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5331 test $ac_status = 0; }
5332 done
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5335 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5336 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5337 $as_echo_n "(cached) " >&6
5338 else
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5343 main ()
5345 #ifndef __GNUC__
5346 choke me
5347 #endif
5350 return 0;
5352 _ACEOF
5353 if ac_fn_cxx_try_compile "$LINENO"; then :
5354 ac_compiler_gnu=yes
5355 else
5356 ac_compiler_gnu=no
5358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5359 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5363 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5364 if test $ac_compiler_gnu = yes; then
5365 GXX=yes
5366 else
5367 GXX=
5369 ac_test_CXXFLAGS=${CXXFLAGS+set}
5370 ac_save_CXXFLAGS=$CXXFLAGS
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5372 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5373 if ${ac_cv_prog_cxx_g+:} false; then :
5374 $as_echo_n "(cached) " >&6
5375 else
5376 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5377 ac_cxx_werror_flag=yes
5378 ac_cv_prog_cxx_g=no
5379 CXXFLAGS="-g"
5380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5381 /* end confdefs.h. */
5384 main ()
5388 return 0;
5390 _ACEOF
5391 if ac_fn_cxx_try_compile "$LINENO"; then :
5392 ac_cv_prog_cxx_g=yes
5393 else
5394 CXXFLAGS=""
5395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5396 /* end confdefs.h. */
5399 main ()
5403 return 0;
5405 _ACEOF
5406 if ac_fn_cxx_try_compile "$LINENO"; then :
5408 else
5409 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5410 CXXFLAGS="-g"
5411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5412 /* end confdefs.h. */
5415 main ()
5419 return 0;
5421 _ACEOF
5422 if ac_fn_cxx_try_compile "$LINENO"; then :
5423 ac_cv_prog_cxx_g=yes
5425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5430 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5433 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5434 if test "$ac_test_CXXFLAGS" = set; then
5435 CXXFLAGS=$ac_save_CXXFLAGS
5436 elif test $ac_cv_prog_cxx_g = yes; then
5437 if test "$GXX" = yes; then
5438 CXXFLAGS="-g -O2"
5439 else
5440 CXXFLAGS="-g"
5442 else
5443 if test "$GXX" = yes; then
5444 CXXFLAGS="-O2"
5445 else
5446 CXXFLAGS=
5449 ac_ext=c
5450 ac_cpp='$CPP $CPPFLAGS'
5451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5455 if test -n "$ac_tool_prefix"; then
5456 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5457 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5459 $as_echo_n "checking for $ac_word... " >&6; }
5460 if ${ac_cv_prog_CPPBIN+:} false; then :
5461 $as_echo_n "(cached) " >&6
5462 else
5463 if test -n "$CPPBIN"; then
5464 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5465 else
5466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 for as_dir in $PATH
5469 IFS=$as_save_IFS
5470 test -z "$as_dir" && as_dir=.
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5473 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 break 2
5477 done
5478 done
5479 IFS=$as_save_IFS
5483 CPPBIN=$ac_cv_prog_CPPBIN
5484 if test -n "$CPPBIN"; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5486 $as_echo "$CPPBIN" >&6; }
5487 else
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5489 $as_echo "no" >&6; }
5494 if test -z "$ac_cv_prog_CPPBIN"; then
5495 ac_ct_CPPBIN=$CPPBIN
5496 # Extract the first word of "cpp", so it can be a program name with args.
5497 set dummy cpp; ac_word=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5501 $as_echo_n "(cached) " >&6
5502 else
5503 if test -n "$ac_ct_CPPBIN"; then
5504 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5505 else
5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5507 for as_dir in $PATH
5509 IFS=$as_save_IFS
5510 test -z "$as_dir" && as_dir=.
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_ac_ct_CPPBIN="cpp"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515 break 2
5517 done
5518 done
5519 IFS=$as_save_IFS
5523 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5524 if test -n "$ac_ct_CPPBIN"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5526 $as_echo "$ac_ct_CPPBIN" >&6; }
5527 else
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5532 if test "x$ac_ct_CPPBIN" = x; then
5533 CPPBIN="cpp"
5534 else
5535 case $cross_compiling:$ac_tool_warned in
5536 yes:)
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5539 ac_tool_warned=yes ;;
5540 esac
5541 CPPBIN=$ac_ct_CPPBIN
5543 else
5544 CPPBIN="$ac_cv_prog_CPPBIN"
5548 cat >>confdefs.h <<_ACEOF
5549 #define EXEEXT "$ac_exeext"
5550 _ACEOF
5552 if test -n "$ac_tool_prefix"; then
5553 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5554 set dummy ${ac_tool_prefix}ld; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_prog_LD+:} false; then :
5558 $as_echo_n "(cached) " >&6
5559 else
5560 if test -n "$LD"; then
5561 ac_cv_prog_LD="$LD" # Let the user override the test.
5562 else
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 for as_dir in $PATH
5566 IFS=$as_save_IFS
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_prog_LD="${ac_tool_prefix}ld"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 break 2
5574 done
5575 done
5576 IFS=$as_save_IFS
5580 LD=$ac_cv_prog_LD
5581 if test -n "$LD"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5583 $as_echo "$LD" >&6; }
5584 else
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5591 if test -z "$ac_cv_prog_LD"; then
5592 ac_ct_LD=$LD
5593 # Extract the first word of "ld", so it can be a program name with args.
5594 set dummy ld; ac_word=$2
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5596 $as_echo_n "checking for $ac_word... " >&6; }
5597 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5598 $as_echo_n "(cached) " >&6
5599 else
5600 if test -n "$ac_ct_LD"; then
5601 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5602 else
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 for as_dir in $PATH
5606 IFS=$as_save_IFS
5607 test -z "$as_dir" && as_dir=.
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5610 ac_cv_prog_ac_ct_LD="ld"
5611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 break 2
5614 done
5615 done
5616 IFS=$as_save_IFS
5620 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5621 if test -n "$ac_ct_LD"; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5623 $as_echo "$ac_ct_LD" >&6; }
5624 else
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5626 $as_echo "no" >&6; }
5629 if test "x$ac_ct_LD" = x; then
5630 LD=""
5631 else
5632 case $cross_compiling:$ac_tool_warned in
5633 yes:)
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5636 ac_tool_warned=yes ;;
5637 esac
5638 LD=$ac_ct_LD
5640 else
5641 LD="$ac_cv_prog_LD"
5645 case $host in
5646 *-darwin*)
5647 with_fontconfig=${with_fontconfig:-no}
5649 *-mingw32*|*-cygwin*)
5650 enable_win16=${enable_win16:-no}
5651 with_mingw=${with_mingw:-no}
5652 CFLAGS="$CFLAGS -D_WIN32"
5654 esac
5657 case $host in
5658 x86_64*|amd64*)
5659 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5660 then
5661 CC="$CC -m32"
5662 CXX="$CXX -m32"
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5665 $as_echo_n "checking whether $CC works... " >&6; }
5666 if ${wine_cv_cc_m32+:} false; then :
5667 $as_echo_n "(cached) " >&6
5668 else
5669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5673 main ()
5677 return 0;
5679 _ACEOF
5680 if ac_fn_c_try_link "$LINENO"; then :
5681 wine_cv_cc_m32=yes
5682 else
5683 wine_cv_cc_m32=no
5685 rm -f core conftest.err conftest.$ac_objext \
5686 conftest$ac_exeext conftest.$ac_ext
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5689 $as_echo "$wine_cv_cc_m32" >&6; }
5690 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
5691 host_cpu="i386"
5692 notice_platform="32-bit "
5693 TARGETFLAGS="$TARGETFLAGS -m32"
5694 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5695 export PKG_CONFIG_PATH
5696 enable_win16=${enable_win16:-yes}
5697 with_unwind=${with_unwind:-no}
5698 else
5699 if test "x${GCC}" = "xyes"
5700 then
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5702 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5703 if ${wine_cv_builtin_ms_va_list+:} false; then :
5704 $as_echo_n "(cached) " >&6
5705 else
5706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5707 /* end confdefs.h. */
5708 #include <stdarg.h>
5710 main ()
5712 void func(__builtin_ms_va_list *args);
5714 return 0;
5716 _ACEOF
5717 if ac_fn_c_try_compile "$LINENO"; then :
5718 wine_cv_builtin_ms_va_list=yes
5719 else
5720 wine_cv_builtin_ms_va_list=no
5722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5725 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5726 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
5728 CC="$CC -m64"
5729 CXX="$CXX -m64"
5730 host_cpu="x86_64"
5731 notice_platform="64-bit "
5732 TARGETFLAGS="$TARGETFLAGS -m64"
5733 enable_wow64cpu=${enable_wow64cpu:-yes}
5736 arm*)
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5738 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5739 if ${wine_cv_thumb2+:} false; then :
5740 $as_echo_n "(cached) " >&6
5741 else
5742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5743 /* end confdefs.h. */
5746 main ()
5748 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5750 return 0;
5752 _ACEOF
5753 if ac_fn_c_try_link "$LINENO"; then :
5754 wine_cv_thumb2=yes
5755 else
5756 wine_cv_thumb2=no
5758 rm -f core conftest.err conftest.$ac_objext \
5759 conftest$ac_exeext conftest.$ac_ext
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5762 $as_echo "$wine_cv_thumb2" >&6; }
5763 if test x"$wine_cv_thumb2" = xyes
5764 then
5765 CFLAGS="$CFLAGS -mthumb"
5766 TARGETFLAGS="$TARGETFLAGS -mthumb"
5767 else
5768 CFLAGS="$CFLAGS -marm"
5769 TARGETFLAGS="$TARGETFLAGS -marm"
5771 case $with_float_abi in
5772 soft|softfp|hard)
5773 float_abi=$with_float_abi ;;
5775 case $host_os in
5776 *eabihf)
5777 float_abi=hard ;;
5779 float_abi=softfp
5780 saved_CFLAGS=$CFLAGS
5781 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5783 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5784 if ${wine_cv_float_abi+:} false; then :
5785 $as_echo_n "(cached) " >&6
5786 else
5787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5788 /* end confdefs.h. */
5791 main ()
5793 asm("vmrs r2,fpscr");
5795 return 0;
5797 _ACEOF
5798 if ac_fn_c_try_link "$LINENO"; then :
5799 wine_cv_float_abi=yes
5800 else
5801 wine_cv_float_abi=no
5803 rm -f core conftest.err conftest.$ac_objext \
5804 conftest$ac_exeext conftest.$ac_ext
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5807 $as_echo "$wine_cv_float_abi" >&6; }
5808 if test $wine_cv_float_abi = no
5809 then
5810 float_abi=soft
5811 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5813 CFLAGS=$saved_CFLAGS
5814 esac
5816 esac
5817 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5818 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5820 aarch64*)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5822 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5823 if ${wine_cv_builtin_ms_va_list+:} false; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5827 /* end confdefs.h. */
5828 #include <stdarg.h>
5830 main ()
5832 void func(__builtin_ms_va_list *args);
5834 return 0;
5836 _ACEOF
5837 if ac_fn_c_try_compile "$LINENO"; then :
5838 wine_cv_builtin_ms_va_list=yes
5839 else
5840 wine_cv_builtin_ms_va_list=no
5842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5845 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5846 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5848 i[3456789]86*)
5849 enable_win16=${enable_win16:-yes}
5850 with_unwind=${with_unwind:-no}
5852 esac
5854 enable_win16=${enable_win16:-no}
5855 enable_win64=${enable_win64:-no}
5856 enable_wow64cpu=${enable_wow64cpu:-no}
5858 enable_winetest=${enable_winetest:-$enable_tests}
5860 if test "x$enable_win64" = "xyes"
5861 then
5862 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5863 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5864 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5868 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5869 if ${wine_cv_toolsdir+:} false; then :
5870 $as_echo_n "(cached) " >&6
5871 else
5872 wine_cv_toolsdir="$with_wine_tools"
5873 if test -z "$with_wine_tools"; then
5874 if test "$cross_compiling" = "yes"; then
5875 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5876 elif test -n "$with_wine64"; then
5877 wine_cv_toolsdir="$with_wine64"
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5882 $as_echo "$wine_cv_toolsdir" >&6; }
5883 if test -z "$wine_cv_toolsdir"; then
5884 wine_makedep=tools/makedep
5885 TOOLSDIR="."
5887 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5888 wine_makedep=$wine_cv_toolsdir/tools/makedep
5889 TOOLSDIR=$wine_cv_toolsdir
5891 enable_tools=${enable_tools:-no}
5892 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5893 else
5894 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5896 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5897 then
5898 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5901 for ac_prog in flex
5903 # Extract the first word of "$ac_prog", so it can be a program name with args.
5904 set dummy $ac_prog; ac_word=$2
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5906 $as_echo_n "checking for $ac_word... " >&6; }
5907 if ${ac_cv_prog_FLEX+:} false; then :
5908 $as_echo_n "(cached) " >&6
5909 else
5910 if test -n "$FLEX"; then
5911 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5912 else
5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5914 for as_dir in $PATH
5916 IFS=$as_save_IFS
5917 test -z "$as_dir" && as_dir=.
5918 for ac_exec_ext in '' $ac_executable_extensions; do
5919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5920 ac_cv_prog_FLEX="$ac_prog"
5921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5922 break 2
5924 done
5925 done
5926 IFS=$as_save_IFS
5930 FLEX=$ac_cv_prog_FLEX
5931 if test -n "$FLEX"; then
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5933 $as_echo "$FLEX" >&6; }
5934 else
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5936 $as_echo "no" >&6; }
5940 test -n "$FLEX" && break
5941 done
5942 test -n "$FLEX" || FLEX="none"
5944 if test "$FLEX" = "none"
5945 then
5946 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5949 $as_echo_n "checking whether flex is recent enough... " >&6; }
5950 if ${wine_cv_recent_flex+:} false; then :
5951 $as_echo_n "(cached) " >&6
5952 else
5953 cat >conftest.l <<EOF
5954 %top{
5955 #include "prediluvian.h"
5959 if $FLEX -t conftest.l >/dev/null 2>&5
5960 then
5961 wine_cv_recent_flex=yes
5962 else
5963 wine_cv_recent_flex=no
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5967 $as_echo "$wine_cv_recent_flex" >&6; }
5968 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
5970 for ac_prog in bison
5972 # Extract the first word of "$ac_prog", so it can be a program name with args.
5973 set dummy $ac_prog; ac_word=$2
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5975 $as_echo_n "checking for $ac_word... " >&6; }
5976 if ${ac_cv_prog_BISON+:} false; then :
5977 $as_echo_n "(cached) " >&6
5978 else
5979 if test -n "$BISON"; then
5980 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5981 else
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983 for as_dir in $PATH
5985 IFS=$as_save_IFS
5986 test -z "$as_dir" && as_dir=.
5987 for ac_exec_ext in '' $ac_executable_extensions; do
5988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5989 ac_cv_prog_BISON="$ac_prog"
5990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5991 break 2
5993 done
5994 done
5995 IFS=$as_save_IFS
5999 BISON=$ac_cv_prog_BISON
6000 if test -n "$BISON"; then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6002 $as_echo "$BISON" >&6; }
6003 else
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6005 $as_echo "no" >&6; }
6009 test -n "$BISON" && break
6010 done
6011 test -n "$BISON" || BISON="none"
6013 if test "$BISON" = "none"
6014 then
6015 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6018 $as_echo_n "checking whether bison is recent enough... " >&6; }
6019 if ${wine_cv_recent_bison+:} false; then :
6020 $as_echo_n "(cached) " >&6
6021 else
6022 cat >conftest.y <<EOF
6023 %define parse.error verbose
6025 empty: ;
6027 if $BISON conftest.y >/dev/null 2>&5
6028 then
6029 wine_cv_recent_bison=yes
6030 else
6031 wine_cv_recent_bison=no
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6035 $as_echo "$wine_cv_recent_bison" >&6; }
6036 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
6038 if test -n "$ac_tool_prefix"; then
6039 for ac_prog in ar gar
6041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6044 $as_echo_n "checking for $ac_word... " >&6; }
6045 if ${ac_cv_prog_AR+:} false; then :
6046 $as_echo_n "(cached) " >&6
6047 else
6048 if test -n "$AR"; then
6049 ac_cv_prog_AR="$AR" # Let the user override the test.
6050 else
6051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6052 for as_dir in $PATH
6054 IFS=$as_save_IFS
6055 test -z "$as_dir" && as_dir=.
6056 for ac_exec_ext in '' $ac_executable_extensions; do
6057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6058 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6060 break 2
6062 done
6063 done
6064 IFS=$as_save_IFS
6068 AR=$ac_cv_prog_AR
6069 if test -n "$AR"; then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6071 $as_echo "$AR" >&6; }
6072 else
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6074 $as_echo "no" >&6; }
6078 test -n "$AR" && break
6079 done
6081 if test -z "$AR"; then
6082 ac_ct_AR=$AR
6083 for ac_prog in ar gar
6085 # Extract the first word of "$ac_prog", so it can be a program name with args.
6086 set dummy $ac_prog; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 $as_echo_n "checking for $ac_word... " >&6; }
6089 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6090 $as_echo_n "(cached) " >&6
6091 else
6092 if test -n "$ac_ct_AR"; then
6093 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6098 IFS=$as_save_IFS
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6102 ac_cv_prog_ac_ct_AR="$ac_prog"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 break 2
6106 done
6107 done
6108 IFS=$as_save_IFS
6112 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6113 if test -n "$ac_ct_AR"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6115 $as_echo "$ac_ct_AR" >&6; }
6116 else
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6122 test -n "$ac_ct_AR" && break
6123 done
6125 if test "x$ac_ct_AR" = x; then
6126 AR="ar"
6127 else
6128 case $cross_compiling:$ac_tool_warned in
6129 yes:)
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6131 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6132 ac_tool_warned=yes ;;
6133 esac
6134 AR=$ac_ct_AR
6138 if test -n "$ac_tool_prefix"; then
6139 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6140 set dummy ${ac_tool_prefix}strip; ac_word=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142 $as_echo_n "checking for $ac_word... " >&6; }
6143 if ${ac_cv_prog_STRIP+:} false; then :
6144 $as_echo_n "(cached) " >&6
6145 else
6146 if test -n "$STRIP"; then
6147 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6148 else
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 for as_dir in $PATH
6152 IFS=$as_save_IFS
6153 test -z "$as_dir" && as_dir=.
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6156 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158 break 2
6160 done
6161 done
6162 IFS=$as_save_IFS
6166 STRIP=$ac_cv_prog_STRIP
6167 if test -n "$STRIP"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6169 $as_echo "$STRIP" >&6; }
6170 else
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6177 if test -z "$ac_cv_prog_STRIP"; then
6178 ac_ct_STRIP=$STRIP
6179 # Extract the first word of "strip", so it can be a program name with args.
6180 set dummy strip; ac_word=$2
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6182 $as_echo_n "checking for $ac_word... " >&6; }
6183 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6184 $as_echo_n "(cached) " >&6
6185 else
6186 if test -n "$ac_ct_STRIP"; then
6187 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6188 else
6189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6190 for as_dir in $PATH
6192 IFS=$as_save_IFS
6193 test -z "$as_dir" && as_dir=.
6194 for ac_exec_ext in '' $ac_executable_extensions; do
6195 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6196 ac_cv_prog_ac_ct_STRIP="strip"
6197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6198 break 2
6200 done
6201 done
6202 IFS=$as_save_IFS
6206 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6207 if test -n "$ac_ct_STRIP"; then
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6209 $as_echo "$ac_ct_STRIP" >&6; }
6210 else
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6212 $as_echo "no" >&6; }
6215 if test "x$ac_ct_STRIP" = x; then
6216 STRIP="strip"
6217 else
6218 case $cross_compiling:$ac_tool_warned in
6219 yes:)
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6222 ac_tool_warned=yes ;;
6223 esac
6224 STRIP=$ac_ct_STRIP
6226 else
6227 STRIP="$ac_cv_prog_STRIP"
6230 if test -n "$ac_tool_prefix"; then
6231 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6232 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6234 $as_echo_n "checking for $ac_word... " >&6; }
6235 if ${ac_cv_prog_RANLIB+:} false; then :
6236 $as_echo_n "(cached) " >&6
6237 else
6238 if test -n "$RANLIB"; then
6239 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6240 else
6241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6242 for as_dir in $PATH
6244 IFS=$as_save_IFS
6245 test -z "$as_dir" && as_dir=.
6246 for ac_exec_ext in '' $ac_executable_extensions; do
6247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6248 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6250 break 2
6252 done
6253 done
6254 IFS=$as_save_IFS
6258 RANLIB=$ac_cv_prog_RANLIB
6259 if test -n "$RANLIB"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6261 $as_echo "$RANLIB" >&6; }
6262 else
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6264 $as_echo "no" >&6; }
6269 if test -z "$ac_cv_prog_RANLIB"; then
6270 ac_ct_RANLIB=$RANLIB
6271 # Extract the first word of "ranlib", so it can be a program name with args.
6272 set dummy ranlib; ac_word=$2
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6274 $as_echo_n "checking for $ac_word... " >&6; }
6275 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6276 $as_echo_n "(cached) " >&6
6277 else
6278 if test -n "$ac_ct_RANLIB"; then
6279 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6280 else
6281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6282 for as_dir in $PATH
6284 IFS=$as_save_IFS
6285 test -z "$as_dir" && as_dir=.
6286 for ac_exec_ext in '' $ac_executable_extensions; do
6287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6288 ac_cv_prog_ac_ct_RANLIB="ranlib"
6289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6290 break 2
6292 done
6293 done
6294 IFS=$as_save_IFS
6298 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6299 if test -n "$ac_ct_RANLIB"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6301 $as_echo "$ac_ct_RANLIB" >&6; }
6302 else
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6304 $as_echo "no" >&6; }
6307 if test "x$ac_ct_RANLIB" = x; then
6308 RANLIB=":"
6309 else
6310 case $cross_compiling:$ac_tool_warned in
6311 yes:)
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6314 ac_tool_warned=yes ;;
6315 esac
6316 RANLIB=$ac_ct_RANLIB
6318 else
6319 RANLIB="$ac_cv_prog_RANLIB"
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6323 $as_echo_n "checking whether ln -s works... " >&6; }
6324 LN_S=$as_ln_s
6325 if test "$LN_S" = "ln -s"; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6327 $as_echo "yes" >&6; }
6328 else
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6330 $as_echo "no, using $LN_S" >&6; }
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6334 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6335 if ${ac_cv_path_GREP+:} false; then :
6336 $as_echo_n "(cached) " >&6
6337 else
6338 if test -z "$GREP"; then
6339 ac_path_GREP_found=false
6340 # Loop through the user's path and test for each of PROGNAME-LIST
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6344 IFS=$as_save_IFS
6345 test -z "$as_dir" && as_dir=.
6346 for ac_prog in grep ggrep; do
6347 for ac_exec_ext in '' $ac_executable_extensions; do
6348 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6349 as_fn_executable_p "$ac_path_GREP" || continue
6350 # Check for GNU ac_path_GREP and select it if it is found.
6351 # Check for GNU $ac_path_GREP
6352 case `"$ac_path_GREP" --version 2>&1` in
6353 *GNU*)
6354 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6356 ac_count=0
6357 $as_echo_n 0123456789 >"conftest.in"
6358 while :
6360 cat "conftest.in" "conftest.in" >"conftest.tmp"
6361 mv "conftest.tmp" "conftest.in"
6362 cp "conftest.in" "conftest.nl"
6363 $as_echo 'GREP' >> "conftest.nl"
6364 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6365 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6366 as_fn_arith $ac_count + 1 && ac_count=$as_val
6367 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6368 # Best one so far, save it but keep looking for a better one
6369 ac_cv_path_GREP="$ac_path_GREP"
6370 ac_path_GREP_max=$ac_count
6372 # 10*(2^10) chars as input seems more than enough
6373 test $ac_count -gt 10 && break
6374 done
6375 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6376 esac
6378 $ac_path_GREP_found && break 3
6379 done
6380 done
6381 done
6382 IFS=$as_save_IFS
6383 if test -z "$ac_cv_path_GREP"; then
6384 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6386 else
6387 ac_cv_path_GREP=$GREP
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6392 $as_echo "$ac_cv_path_GREP" >&6; }
6393 GREP="$ac_cv_path_GREP"
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6397 $as_echo_n "checking for egrep... " >&6; }
6398 if ${ac_cv_path_EGREP+:} false; then :
6399 $as_echo_n "(cached) " >&6
6400 else
6401 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6402 then ac_cv_path_EGREP="$GREP -E"
6403 else
6404 if test -z "$EGREP"; then
6405 ac_path_EGREP_found=false
6406 # Loop through the user's path and test for each of PROGNAME-LIST
6407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6408 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6410 IFS=$as_save_IFS
6411 test -z "$as_dir" && as_dir=.
6412 for ac_prog in egrep; do
6413 for ac_exec_ext in '' $ac_executable_extensions; do
6414 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6415 as_fn_executable_p "$ac_path_EGREP" || continue
6416 # Check for GNU ac_path_EGREP and select it if it is found.
6417 # Check for GNU $ac_path_EGREP
6418 case `"$ac_path_EGREP" --version 2>&1` in
6419 *GNU*)
6420 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6422 ac_count=0
6423 $as_echo_n 0123456789 >"conftest.in"
6424 while :
6426 cat "conftest.in" "conftest.in" >"conftest.tmp"
6427 mv "conftest.tmp" "conftest.in"
6428 cp "conftest.in" "conftest.nl"
6429 $as_echo 'EGREP' >> "conftest.nl"
6430 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6431 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6432 as_fn_arith $ac_count + 1 && ac_count=$as_val
6433 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6434 # Best one so far, save it but keep looking for a better one
6435 ac_cv_path_EGREP="$ac_path_EGREP"
6436 ac_path_EGREP_max=$ac_count
6438 # 10*(2^10) chars as input seems more than enough
6439 test $ac_count -gt 10 && break
6440 done
6441 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6442 esac
6444 $ac_path_EGREP_found && break 3
6445 done
6446 done
6447 done
6448 IFS=$as_save_IFS
6449 if test -z "$ac_cv_path_EGREP"; then
6450 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6452 else
6453 ac_cv_path_EGREP=$EGREP
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6459 $as_echo "$ac_cv_path_EGREP" >&6; }
6460 EGREP="$ac_cv_path_EGREP"
6463 # Extract the first word of "ldconfig", so it can be a program name with args.
6464 set dummy ldconfig; ac_word=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if ${ac_cv_path_LDCONFIG+:} false; then :
6468 $as_echo_n "(cached) " >&6
6469 else
6470 case $LDCONFIG in
6471 [\\/]* | ?:[\\/]*)
6472 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in /sbin /usr/sbin $PATH
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6482 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6486 done
6487 done
6488 IFS=$as_save_IFS
6490 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6492 esac
6494 LDCONFIG=$ac_cv_path_LDCONFIG
6495 if test -n "$LDCONFIG"; then
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6497 $as_echo "$LDCONFIG" >&6; }
6498 else
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6504 for ac_prog in msgfmt
6506 # Extract the first word of "$ac_prog", so it can be a program name with args.
6507 set dummy $ac_prog; ac_word=$2
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6509 $as_echo_n "checking for $ac_word... " >&6; }
6510 if ${ac_cv_prog_MSGFMT+:} false; then :
6511 $as_echo_n "(cached) " >&6
6512 else
6513 if test -n "$MSGFMT"; then
6514 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6515 else
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6517 for as_dir in $PATH
6519 IFS=$as_save_IFS
6520 test -z "$as_dir" && as_dir=.
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6523 ac_cv_prog_MSGFMT="$ac_prog"
6524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6525 break 2
6527 done
6528 done
6529 IFS=$as_save_IFS
6533 MSGFMT=$ac_cv_prog_MSGFMT
6534 if test -n "$MSGFMT"; then
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6536 $as_echo "$MSGFMT" >&6; }
6537 else
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 $as_echo "no" >&6; }
6543 test -n "$MSGFMT" && break
6544 done
6545 test -n "$MSGFMT" || MSGFMT="false"
6547 if ${ac_tool_prefix+:} false; then :
6548 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6549 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 $as_echo_n "checking for $ac_word... " >&6; }
6552 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6553 $as_echo_n "(cached) " >&6
6554 else
6555 if test -n "$PKG_CONFIG"; then
6556 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6557 else
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 for as_dir in $PATH
6561 IFS=$as_save_IFS
6562 test -z "$as_dir" && as_dir=.
6563 for ac_exec_ext in '' $ac_executable_extensions; do
6564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6565 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 break 2
6569 done
6570 done
6571 IFS=$as_save_IFS
6575 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6576 if test -n "$PKG_CONFIG"; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6578 $as_echo "$PKG_CONFIG" >&6; }
6579 else
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581 $as_echo "no" >&6; }
6586 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6587 if test "x$cross_compiling" = xyes; then :
6589 else
6590 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6591 # Extract the first word of "pkg-config", so it can be a program name with args.
6592 set dummy pkg-config; ac_word=$2
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6594 $as_echo_n "checking for $ac_word... " >&6; }
6595 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6596 $as_echo_n "(cached) " >&6
6597 else
6598 if test -n "$PKG_CONFIG"; then
6599 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6600 else
6601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6602 for as_dir in $PATH
6604 IFS=$as_save_IFS
6605 test -z "$as_dir" && as_dir=.
6606 for ac_exec_ext in '' $ac_executable_extensions; do
6607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6608 ac_cv_prog_PKG_CONFIG="pkg-config"
6609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6610 break 2
6612 done
6613 done
6614 IFS=$as_save_IFS
6618 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6619 if test -n "$PKG_CONFIG"; then
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6621 $as_echo "$PKG_CONFIG" >&6; }
6622 else
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6624 $as_echo "no" >&6; }
6629 else
6630 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6633 if test "x$enable_maintainer_mode" != "xyes"
6634 then
6635 FONTFORGE=""
6636 RSVG=""
6637 CONVERT=""
6638 ICOTOOL=""
6639 else
6640 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6641 for ac_prog in fontforge
6643 # Extract the first word of "$ac_prog", so it can be a program name with args.
6644 set dummy $ac_prog; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if ${ac_cv_prog_FONTFORGE+:} false; then :
6648 $as_echo_n "(cached) " >&6
6649 else
6650 if test -n "$FONTFORGE"; then
6651 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6652 else
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6654 for as_dir in $PATH
6656 IFS=$as_save_IFS
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6660 ac_cv_prog_FONTFORGE="$ac_prog"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6662 break 2
6664 done
6665 done
6666 IFS=$as_save_IFS
6670 FONTFORGE=$ac_cv_prog_FONTFORGE
6671 if test -n "$FONTFORGE"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6673 $as_echo "$FONTFORGE" >&6; }
6674 else
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6680 test -n "$FONTFORGE" && break
6681 done
6682 test -n "$FONTFORGE" || FONTFORGE="false"
6684 for ac_prog in rsvg-convert rsvg
6686 # Extract the first word of "$ac_prog", so it can be a program name with args.
6687 set dummy $ac_prog; ac_word=$2
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689 $as_echo_n "checking for $ac_word... " >&6; }
6690 if ${ac_cv_prog_RSVG+:} false; then :
6691 $as_echo_n "(cached) " >&6
6692 else
6693 if test -n "$RSVG"; then
6694 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6695 else
6696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 for as_dir in $PATH
6699 IFS=$as_save_IFS
6700 test -z "$as_dir" && as_dir=.
6701 for ac_exec_ext in '' $ac_executable_extensions; do
6702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703 ac_cv_prog_RSVG="$ac_prog"
6704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705 break 2
6707 done
6708 done
6709 IFS=$as_save_IFS
6713 RSVG=$ac_cv_prog_RSVG
6714 if test -n "$RSVG"; then
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6716 $as_echo "$RSVG" >&6; }
6717 else
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719 $as_echo "no" >&6; }
6723 test -n "$RSVG" && break
6724 done
6725 test -n "$RSVG" || RSVG="false"
6727 for ac_prog in convert
6729 # Extract the first word of "$ac_prog", so it can be a program name with args.
6730 set dummy $ac_prog; ac_word=$2
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6732 $as_echo_n "checking for $ac_word... " >&6; }
6733 if ${ac_cv_prog_CONVERT+:} false; then :
6734 $as_echo_n "(cached) " >&6
6735 else
6736 if test -n "$CONVERT"; then
6737 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6738 else
6739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 for as_dir in $PATH
6742 IFS=$as_save_IFS
6743 test -z "$as_dir" && as_dir=.
6744 for ac_exec_ext in '' $ac_executable_extensions; do
6745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6746 ac_cv_prog_CONVERT="$ac_prog"
6747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6748 break 2
6750 done
6751 done
6752 IFS=$as_save_IFS
6756 CONVERT=$ac_cv_prog_CONVERT
6757 if test -n "$CONVERT"; then
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6759 $as_echo "$CONVERT" >&6; }
6760 else
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6762 $as_echo "no" >&6; }
6766 test -n "$CONVERT" && break
6767 done
6768 test -n "$CONVERT" || CONVERT="false"
6770 for ac_prog in icotool
6772 # Extract the first word of "$ac_prog", so it can be a program name with args.
6773 set dummy $ac_prog; ac_word=$2
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6775 $as_echo_n "checking for $ac_word... " >&6; }
6776 if ${ac_cv_prog_ICOTOOL+:} false; then :
6777 $as_echo_n "(cached) " >&6
6778 else
6779 if test -n "$ICOTOOL"; then
6780 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6781 else
6782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6783 for as_dir in $PATH
6785 IFS=$as_save_IFS
6786 test -z "$as_dir" && as_dir=.
6787 for ac_exec_ext in '' $ac_executable_extensions; do
6788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6789 ac_cv_prog_ICOTOOL="$ac_prog"
6790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6791 break 2
6793 done
6794 done
6795 IFS=$as_save_IFS
6799 ICOTOOL=$ac_cv_prog_ICOTOOL
6800 if test -n "$ICOTOOL"; then
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6802 $as_echo "$ICOTOOL" >&6; }
6803 else
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 $as_echo "no" >&6; }
6809 test -n "$ICOTOOL" && break
6810 done
6811 test -n "$ICOTOOL" || ICOTOOL="false"
6813 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6814 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6816 if test "$CONVERT" = false
6817 then
6818 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6819 else
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6821 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6822 convert_version=`convert --version | head -n1`
6823 if test "x$convert_version" != "x"
6824 then
6825 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6826 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6827 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6828 then
6829 CONVERT=false
6832 if test "$CONVERT" = false
6833 then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6835 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6836 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6837 else
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6839 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6843 if test "$ICOTOOL" = false
6844 then
6845 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6846 else
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6848 $as_echo_n "checking for recent enough icotool... " >&6; }
6849 icotool_version=`icotool --version | head -n1`
6850 if test "x$icotool_version" != "x"
6851 then
6852 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6853 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6854 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6855 then
6856 ICOTOOL=false
6857 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6860 if test "$ICOTOOL" = false
6861 then
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6863 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6864 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6865 else
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6867 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6871 with_gettext=yes
6872 with_gettextpo=yes
6874 enable_werror=yes
6877 test "x$with_gettext" != xno || MSGFMT=false
6878 if test "$MSGFMT" != "false"
6879 then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6881 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6882 if ${wine_cv_msgfmt_contexts+:} false; then :
6883 $as_echo_n "(cached) " >&6
6884 else
6885 cat >conftest.po <<EOF
6886 # comment
6887 msgctxt "ctxt"
6888 msgid "id"
6889 msgstr "str"
6891 if $MSGFMT -o /dev/null conftest.po 2>&5
6892 then
6893 wine_cv_msgfmt_contexts=yes
6894 else
6895 wine_cv_msgfmt_contexts=no
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6899 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6900 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6902 if test "$MSGFMT" = false; then :
6903 case "x$with_gettext" in
6904 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6905 xno) ;;
6906 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6907 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6908 esac
6909 enable_po=${enable_po:-no}
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6914 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6915 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6916 $as_echo_n "(cached) " >&6
6917 else
6918 ac_check_lib_save_LIBS=$LIBS
6919 LIBS="-li386 $LIBS"
6920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6921 /* end confdefs.h. */
6923 /* Override any GCC internal prototype to avoid an error.
6924 Use char because int might match the return type of a GCC
6925 builtin and then its argument prototype would still apply. */
6926 #ifdef __cplusplus
6927 extern "C"
6928 #endif
6929 char i386_set_ldt ();
6931 main ()
6933 return i386_set_ldt ();
6935 return 0;
6937 _ACEOF
6938 if ac_fn_c_try_link "$LINENO"; then :
6939 ac_cv_lib_i386_i386_set_ldt=yes
6940 else
6941 ac_cv_lib_i386_i386_set_ldt=no
6943 rm -f core conftest.err conftest.$ac_objext \
6944 conftest$ac_exeext conftest.$ac_ext
6945 LIBS=$ac_check_lib_save_LIBS
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6948 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6949 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6950 I386_LIBS="-li386"
6955 OPENGL_LIBS=""
6959 # Check whether --enable-largefile was given.
6960 if test "${enable_largefile+set}" = set; then :
6961 enableval=$enable_largefile;
6964 if test "$enable_largefile" != no; then
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6967 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6968 if ${ac_cv_sys_largefile_CC+:} false; then :
6969 $as_echo_n "(cached) " >&6
6970 else
6971 ac_cv_sys_largefile_CC=no
6972 if test "$GCC" != yes; then
6973 ac_save_CC=$CC
6974 while :; do
6975 # IRIX 6.2 and later do not support large files by default,
6976 # so use the C compiler's -n32 option if that helps.
6977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6978 /* end confdefs.h. */
6979 #include <sys/types.h>
6980 /* Check that off_t can represent 2**63 - 1 correctly.
6981 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6982 since some C++ compilers masquerading as C compilers
6983 incorrectly reject 9223372036854775807. */
6984 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6985 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6986 && LARGE_OFF_T % 2147483647 == 1)
6987 ? 1 : -1];
6989 main ()
6993 return 0;
6995 _ACEOF
6996 if ac_fn_c_try_compile "$LINENO"; then :
6997 break
6999 rm -f core conftest.err conftest.$ac_objext
7000 CC="$CC -n32"
7001 if ac_fn_c_try_compile "$LINENO"; then :
7002 ac_cv_sys_largefile_CC=' -n32'; break
7004 rm -f core conftest.err conftest.$ac_objext
7005 break
7006 done
7007 CC=$ac_save_CC
7008 rm -f conftest.$ac_ext
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7012 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7013 if test "$ac_cv_sys_largefile_CC" != no; then
7014 CC=$CC$ac_cv_sys_largefile_CC
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7018 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7019 if ${ac_cv_sys_file_offset_bits+:} false; then :
7020 $as_echo_n "(cached) " >&6
7021 else
7022 while :; do
7023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7024 /* end confdefs.h. */
7025 #include <sys/types.h>
7026 /* Check that off_t can represent 2**63 - 1 correctly.
7027 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7028 since some C++ compilers masquerading as C compilers
7029 incorrectly reject 9223372036854775807. */
7030 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7031 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7032 && LARGE_OFF_T % 2147483647 == 1)
7033 ? 1 : -1];
7035 main ()
7039 return 0;
7041 _ACEOF
7042 if ac_fn_c_try_compile "$LINENO"; then :
7043 ac_cv_sys_file_offset_bits=no; break
7045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7047 /* end confdefs.h. */
7048 #define _FILE_OFFSET_BITS 64
7049 #include <sys/types.h>
7050 /* Check that off_t can represent 2**63 - 1 correctly.
7051 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7052 since some C++ compilers masquerading as C compilers
7053 incorrectly reject 9223372036854775807. */
7054 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7055 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7056 && LARGE_OFF_T % 2147483647 == 1)
7057 ? 1 : -1];
7059 main ()
7063 return 0;
7065 _ACEOF
7066 if ac_fn_c_try_compile "$LINENO"; then :
7067 ac_cv_sys_file_offset_bits=64; break
7069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7070 ac_cv_sys_file_offset_bits=unknown
7071 break
7072 done
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7075 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7076 case $ac_cv_sys_file_offset_bits in #(
7077 no | unknown) ;;
7079 cat >>confdefs.h <<_ACEOF
7080 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7081 _ACEOF
7083 esac
7084 rm -rf conftest*
7085 if test $ac_cv_sys_file_offset_bits = unknown; then
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7087 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7088 if ${ac_cv_sys_large_files+:} false; then :
7089 $as_echo_n "(cached) " >&6
7090 else
7091 while :; do
7092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7093 /* end confdefs.h. */
7094 #include <sys/types.h>
7095 /* Check that off_t can represent 2**63 - 1 correctly.
7096 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7097 since some C++ compilers masquerading as C compilers
7098 incorrectly reject 9223372036854775807. */
7099 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7100 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7101 && LARGE_OFF_T % 2147483647 == 1)
7102 ? 1 : -1];
7104 main ()
7108 return 0;
7110 _ACEOF
7111 if ac_fn_c_try_compile "$LINENO"; then :
7112 ac_cv_sys_large_files=no; break
7114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116 /* end confdefs.h. */
7117 #define _LARGE_FILES 1
7118 #include <sys/types.h>
7119 /* Check that off_t can represent 2**63 - 1 correctly.
7120 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7121 since some C++ compilers masquerading as C compilers
7122 incorrectly reject 9223372036854775807. */
7123 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7124 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7125 && LARGE_OFF_T % 2147483647 == 1)
7126 ? 1 : -1];
7128 main ()
7132 return 0;
7134 _ACEOF
7135 if ac_fn_c_try_compile "$LINENO"; then :
7136 ac_cv_sys_large_files=1; break
7138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7139 ac_cv_sys_large_files=unknown
7140 break
7141 done
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7144 $as_echo "$ac_cv_sys_large_files" >&6; }
7145 case $ac_cv_sys_large_files in #(
7146 no | unknown) ;;
7148 cat >>confdefs.h <<_ACEOF
7149 #define _LARGE_FILES $ac_cv_sys_large_files
7150 _ACEOF
7152 esac
7153 rm -rf conftest*
7160 ac_ext=c
7161 ac_cpp='$CPP $CPPFLAGS'
7162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7166 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7167 # On Suns, sometimes $CPP names a directory.
7168 if test -n "$CPP" && test -d "$CPP"; then
7169 CPP=
7171 if test -z "$CPP"; then
7172 if ${ac_cv_prog_CPP+:} false; then :
7173 $as_echo_n "(cached) " >&6
7174 else
7175 # Double quotes because CPP needs to be expanded
7176 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7178 ac_preproc_ok=false
7179 for ac_c_preproc_warn_flag in '' yes
7181 # Use a header file that comes with gcc, so configuring glibc
7182 # with a fresh cross-compiler works.
7183 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7184 # <limits.h> exists even on freestanding compilers.
7185 # On the NeXT, cc -E runs the code through the compiler's parser,
7186 # not just through cpp. "Syntax error" is here to catch this case.
7187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7188 /* end confdefs.h. */
7189 #ifdef __STDC__
7190 # include <limits.h>
7191 #else
7192 # include <assert.h>
7193 #endif
7194 Syntax error
7195 _ACEOF
7196 if ac_fn_c_try_cpp "$LINENO"; then :
7198 else
7199 # Broken: fails on valid input.
7200 continue
7202 rm -f conftest.err conftest.i conftest.$ac_ext
7204 # OK, works on sane cases. Now check whether nonexistent headers
7205 # can be detected and how.
7206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7207 /* end confdefs.h. */
7208 #include <ac_nonexistent.h>
7209 _ACEOF
7210 if ac_fn_c_try_cpp "$LINENO"; then :
7211 # Broken: success on invalid input.
7212 continue
7213 else
7214 # Passes both tests.
7215 ac_preproc_ok=:
7216 break
7218 rm -f conftest.err conftest.i conftest.$ac_ext
7220 done
7221 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7222 rm -f conftest.i conftest.err conftest.$ac_ext
7223 if $ac_preproc_ok; then :
7224 break
7227 done
7228 ac_cv_prog_CPP=$CPP
7231 CPP=$ac_cv_prog_CPP
7232 else
7233 ac_cv_prog_CPP=$CPP
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7236 $as_echo "$CPP" >&6; }
7237 ac_preproc_ok=false
7238 for ac_c_preproc_warn_flag in '' yes
7240 # Use a header file that comes with gcc, so configuring glibc
7241 # with a fresh cross-compiler works.
7242 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7243 # <limits.h> exists even on freestanding compilers.
7244 # On the NeXT, cc -E runs the code through the compiler's parser,
7245 # not just through cpp. "Syntax error" is here to catch this case.
7246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7247 /* end confdefs.h. */
7248 #ifdef __STDC__
7249 # include <limits.h>
7250 #else
7251 # include <assert.h>
7252 #endif
7253 Syntax error
7254 _ACEOF
7255 if ac_fn_c_try_cpp "$LINENO"; then :
7257 else
7258 # Broken: fails on valid input.
7259 continue
7261 rm -f conftest.err conftest.i conftest.$ac_ext
7263 # OK, works on sane cases. Now check whether nonexistent headers
7264 # can be detected and how.
7265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7266 /* end confdefs.h. */
7267 #include <ac_nonexistent.h>
7268 _ACEOF
7269 if ac_fn_c_try_cpp "$LINENO"; then :
7270 # Broken: success on invalid input.
7271 continue
7272 else
7273 # Passes both tests.
7274 ac_preproc_ok=:
7275 break
7277 rm -f conftest.err conftest.i conftest.$ac_ext
7279 done
7280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7281 rm -f conftest.i conftest.err conftest.$ac_ext
7282 if $ac_preproc_ok; then :
7284 else
7285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7287 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7288 See \`config.log' for more details" "$LINENO" 5; }
7291 ac_ext=c
7292 ac_cpp='$CPP $CPPFLAGS'
7293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7299 $as_echo_n "checking for ANSI C header files... " >&6; }
7300 if ${ac_cv_header_stdc+:} false; then :
7301 $as_echo_n "(cached) " >&6
7302 else
7303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7304 /* end confdefs.h. */
7305 #include <stdlib.h>
7306 #include <stdarg.h>
7307 #include <string.h>
7308 #include <float.h>
7311 main ()
7315 return 0;
7317 _ACEOF
7318 if ac_fn_c_try_compile "$LINENO"; then :
7319 ac_cv_header_stdc=yes
7320 else
7321 ac_cv_header_stdc=no
7323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7325 if test $ac_cv_header_stdc = yes; then
7326 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7328 /* end confdefs.h. */
7329 #include <string.h>
7331 _ACEOF
7332 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7333 $EGREP "memchr" >/dev/null 2>&1; then :
7335 else
7336 ac_cv_header_stdc=no
7338 rm -f conftest*
7342 if test $ac_cv_header_stdc = yes; then
7343 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7345 /* end confdefs.h. */
7346 #include <stdlib.h>
7348 _ACEOF
7349 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7350 $EGREP "free" >/dev/null 2>&1; then :
7352 else
7353 ac_cv_header_stdc=no
7355 rm -f conftest*
7359 if test $ac_cv_header_stdc = yes; then
7360 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7361 if test "$cross_compiling" = yes; then :
7363 else
7364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7365 /* end confdefs.h. */
7366 #include <ctype.h>
7367 #include <stdlib.h>
7368 #if ((' ' & 0x0FF) == 0x020)
7369 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7370 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7371 #else
7372 # define ISLOWER(c) \
7373 (('a' <= (c) && (c) <= 'i') \
7374 || ('j' <= (c) && (c) <= 'r') \
7375 || ('s' <= (c) && (c) <= 'z'))
7376 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7377 #endif
7379 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7381 main ()
7383 int i;
7384 for (i = 0; i < 256; i++)
7385 if (XOR (islower (i), ISLOWER (i))
7386 || toupper (i) != TOUPPER (i))
7387 return 2;
7388 return 0;
7390 _ACEOF
7391 if ac_fn_c_try_run "$LINENO"; then :
7393 else
7394 ac_cv_header_stdc=no
7396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7397 conftest.$ac_objext conftest.beam conftest.$ac_ext
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7403 $as_echo "$ac_cv_header_stdc" >&6; }
7404 if test $ac_cv_header_stdc = yes; then
7406 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7410 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7411 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7412 inttypes.h stdint.h unistd.h
7413 do :
7414 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7415 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7417 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7418 cat >>confdefs.h <<_ACEOF
7419 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7420 _ACEOF
7424 done
7427 for ac_header in \
7428 AL/al.h \
7429 ApplicationServices/ApplicationServices.h \
7430 AudioToolbox/AudioConverter.h \
7431 AudioUnit/AudioUnit.h \
7432 AudioUnit/AudioComponent.h \
7433 CL/cl.h \
7434 Carbon/Carbon.h \
7435 CommonCrypto/CommonCryptor.h \
7436 CoreAudio/CoreAudio.h \
7437 DiskArbitration/DiskArbitration.h \
7438 EGL/egl.h \
7439 IOKit/IOKitLib.h \
7440 IOKit/hid/IOHIDLib.h \
7441 OpenAL/al.h \
7442 OpenCL/opencl.h \
7443 QuickTime/ImageCompression.h \
7444 Security/Security.h \
7445 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7446 SystemConfiguration/SCNetworkConfiguration.h \
7447 alias.h \
7448 arpa/inet.h \
7449 arpa/nameser.h \
7450 asm/types.h \
7451 asm/user.h \
7452 dirent.h \
7453 dlfcn.h \
7454 elf.h \
7455 float.h \
7456 fnmatch.h \
7457 getopt.h \
7458 gettext-po.h \
7459 grp.h \
7460 gsm.h \
7461 gsm/gsm.h \
7462 ieeefp.h \
7463 inet/mib2.h \
7464 kstat.h \
7465 libproc.h \
7466 link.h \
7467 linux/cdrom.h \
7468 linux/filter.h \
7469 linux/hdreg.h \
7470 linux/hidraw.h \
7471 linux/input.h \
7472 linux/ioctl.h \
7473 linux/joystick.h \
7474 linux/major.h \
7475 linux/param.h \
7476 linux/serial.h \
7477 linux/types.h \
7478 linux/ucdrom.h \
7479 lwp.h \
7480 mach-o/loader.h \
7481 mach/mach.h \
7482 machine/cpu.h \
7483 machine/sysarch.h \
7484 mntent.h \
7485 netdb.h \
7486 netinet/in.h \
7487 netinet/in_systm.h \
7488 netinet/tcp.h \
7489 netinet/tcp_fsm.h \
7490 pcap/pcap.h \
7491 poll.h \
7492 port.h \
7493 pthread.h \
7494 pwd.h \
7495 sasl/sasl.h \
7496 sched.h \
7497 scsi/scsi.h \
7498 scsi/scsi_ioctl.h \
7499 scsi/sg.h \
7500 stdint.h \
7501 stropts.h \
7502 sys/attr.h \
7503 sys/auxv.h \
7504 sys/cdio.h \
7505 sys/epoll.h \
7506 sys/event.h \
7507 sys/filio.h \
7508 sys/ioctl.h \
7509 sys/ipc.h \
7510 sys/link.h \
7511 sys/mman.h \
7512 sys/modem.h \
7513 sys/msg.h \
7514 sys/mtio.h \
7515 sys/param.h \
7516 sys/poll.h \
7517 sys/prctl.h \
7518 sys/protosw.h \
7519 sys/ptrace.h \
7520 sys/queue.h \
7521 sys/random.h \
7522 sys/resource.h \
7523 sys/scsiio.h \
7524 sys/shm.h \
7525 sys/signal.h \
7526 sys/socket.h \
7527 sys/socketvar.h \
7528 sys/sockio.h \
7529 sys/statvfs.h \
7530 sys/strtio.h \
7531 sys/syscall.h \
7532 sys/sysinfo.h \
7533 sys/tihdr.h \
7534 sys/time.h \
7535 sys/timeout.h \
7536 sys/times.h \
7537 sys/uio.h \
7538 sys/user.h \
7539 sys/utsname.h \
7540 sys/vnode.h \
7541 sys/wait.h \
7542 syscall.h \
7543 termios.h \
7544 unistd.h \
7545 utime.h \
7546 valgrind/memcheck.h \
7547 valgrind/valgrind.h
7549 do :
7550 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7551 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7552 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7553 cat >>confdefs.h <<_ACEOF
7554 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7555 _ACEOF
7559 done
7561 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7562 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7564 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7569 if test $ac_cv_header_sys_mkdev_h = no; then
7570 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7571 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7573 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7580 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7581 if ${ac_cv_header_stat_broken+:} false; then :
7582 $as_echo_n "(cached) " >&6
7583 else
7584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7585 /* end confdefs.h. */
7586 #include <sys/types.h>
7587 #include <sys/stat.h>
7589 #if defined S_ISBLK && defined S_IFDIR
7590 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7591 #endif
7593 #if defined S_ISBLK && defined S_IFCHR
7594 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7595 #endif
7597 #if defined S_ISLNK && defined S_IFREG
7598 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7599 #endif
7601 #if defined S_ISSOCK && defined S_IFREG
7602 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7603 #endif
7605 _ACEOF
7606 if ac_fn_c_try_compile "$LINENO"; then :
7607 ac_cv_header_stat_broken=no
7608 else
7609 ac_cv_header_stat_broken=yes
7611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7614 $as_echo "$ac_cv_header_stat_broken" >&6; }
7615 if test $ac_cv_header_stat_broken = yes; then
7617 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7623 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7624 do :
7625 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7626 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7627 #ifdef HAVE_SYS_PARAM_H
7628 # include <sys/param.h>
7629 #endif
7631 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7632 cat >>confdefs.h <<_ACEOF
7633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7634 _ACEOF
7638 done
7641 saved_sysctl_h_CFLAGS=$CFLAGS
7642 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7643 for ac_header in sys/sysctl.h
7644 do :
7645 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7646 #ifdef HAVE_SYS_PARAM_H
7647 # include <sys/param.h>
7648 #endif
7650 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7651 cat >>confdefs.h <<_ACEOF
7652 #define HAVE_SYS_SYSCTL_H 1
7653 _ACEOF
7657 done
7659 CFLAGS=$saved_sysctl_h_CFLAGS
7661 for ac_header in \
7662 netinet/ip.h \
7663 net/if.h \
7664 net/if_arp.h \
7665 net/if_dl.h \
7666 net/if_types.h \
7667 net/route.h \
7668 netinet/if_ether.h \
7669 netinet/if_inarp.h \
7670 netinet/in_pcb.h \
7671 netinet/ip_icmp.h \
7672 netinet/ip_var.h \
7673 netinet/udp.h \
7674 netipx/ipx.h \
7675 sys/un.h \
7677 do :
7678 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7679 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7680 #ifdef HAVE_SYS_SOCKET_H
7681 # include <sys/socket.h>
7682 #endif
7683 #ifdef HAVE_SYS_SOCKETVAR_H
7684 # include <sys/socketvar.h>
7685 #endif
7686 #ifdef HAVE_NET_ROUTE_H
7687 # include <net/route.h>
7688 #endif
7689 #ifdef HAVE_NETINET_IN_H
7690 # include <netinet/in.h>
7691 #endif
7692 #ifdef HAVE_NETINET_IN_SYSTM_H
7693 # include <netinet/in_systm.h>
7694 #endif
7695 #ifdef HAVE_NET_IF_H
7696 # include <net/if.h>
7697 #endif
7698 #ifdef HAVE_NETINET_IP_H
7699 # include <netinet/ip.h>
7700 #endif
7702 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7703 cat >>confdefs.h <<_ACEOF
7704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7705 _ACEOF
7709 done
7712 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7713 do :
7714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7715 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7716 #ifdef HAVE_ALIAS_H
7717 # include <alias.h>
7718 #endif
7719 #ifdef HAVE_SYS_SOCKET_H
7720 # include <sys/socket.h>
7721 #endif
7722 #ifdef HAVE_SYS_SOCKETVAR_H
7723 # include <sys/socketvar.h>
7724 #endif
7725 #ifdef HAVE_SYS_TIMEOUT_H
7726 # include <sys/timeout.h>
7727 #endif
7728 #ifdef HAVE_NETINET_IN_H
7729 # include <netinet/in.h>
7730 #endif
7731 #ifdef HAVE_NETINET_IN_SYSTM_H
7732 # include <netinet/in_systm.h>
7733 #endif
7734 #ifdef HAVE_NETINET_IP_H
7735 # include <netinet/ip.h>
7736 #endif
7737 #ifdef HAVE_NETINET_IP_VAR_H
7738 # include <netinet/ip_var.h>
7739 #endif
7740 #ifdef HAVE_NETINET_IP_ICMP_H
7741 # include <netinet/ip_icmp.h>
7742 #endif
7743 #ifdef HAVE_NETINET_UDP_H
7744 # include <netinet/udp.h>
7745 #endif
7746 #ifdef HAVE_NETINET_TCP_H
7747 # include <netinet/tcp.h>
7748 #endif
7749 #ifdef HAVE_NETINET_TCP_TIMER_H
7750 #include <netinet/tcp_timer.h>
7751 #endif
7753 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7754 cat >>confdefs.h <<_ACEOF
7755 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7756 _ACEOF
7760 done
7763 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7764 do :
7765 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7766 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7767 #ifdef HAVE_ASM_TYPES_H
7768 # include <asm/types.h>
7769 #endif
7770 #ifdef HAVE_SYS_SOCKET_H
7771 # include <sys/socket.h>
7772 #endif
7773 #ifdef HAVE_LINUX_TYPES_H
7774 # include <linux/types.h>
7775 #endif
7777 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7778 cat >>confdefs.h <<_ACEOF
7779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7780 _ACEOF
7784 done
7787 for ac_header in resolv.h
7788 do :
7789 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7790 #ifdef HAVE_SYS_SOCKET_H
7791 # include <sys/socket.h>
7792 #endif
7793 #ifdef HAVE_NETINET_IN_H
7794 # include <netinet/in.h>
7795 #endif
7796 #ifdef HAVE_ARPA_NAMESER_H
7797 # include <arpa/nameser.h>
7798 #endif
7800 if test "x$ac_cv_header_resolv_h" = xyes; then :
7801 cat >>confdefs.h <<_ACEOF
7802 #define HAVE_RESOLV_H 1
7803 _ACEOF
7807 done
7810 for ac_header in ifaddrs.h
7811 do :
7812 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7814 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7815 cat >>confdefs.h <<_ACEOF
7816 #define HAVE_IFADDRS_H 1
7817 _ACEOF
7821 done
7824 for ac_header in sys/ucontext.h
7825 do :
7826 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7828 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7829 cat >>confdefs.h <<_ACEOF
7830 #define HAVE_SYS_UCONTEXT_H 1
7831 _ACEOF
7835 done
7838 for ac_header in sys/thr.h
7839 do :
7840 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7841 #ifdef HAVE_SYS_UCONTEXT_H
7842 #include <sys/ucontext.h>
7843 #endif
7845 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7846 cat >>confdefs.h <<_ACEOF
7847 #define HAVE_SYS_THR_H 1
7848 _ACEOF
7852 done
7855 for ac_header in pthread_np.h
7856 do :
7857 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7858 #include <pthread.h>
7859 #endif
7861 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7862 cat >>confdefs.h <<_ACEOF
7863 #define HAVE_PTHREAD_NP_H 1
7864 _ACEOF
7868 done
7871 for ac_header in linux/videodev2.h
7872 do :
7873 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7874 #include <sys/time.h>
7875 #endif
7876 #include <sys/types.h>
7877 #ifdef HAVE_ASM_TYPES_H
7878 #include <asm/types.h>
7879 #endif
7881 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7882 cat >>confdefs.h <<_ACEOF
7883 #define HAVE_LINUX_VIDEODEV2_H 1
7884 _ACEOF
7888 done
7891 for ac_header in libprocstat.h
7892 do :
7893 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7894 #include <sys/param.h>
7895 #endif
7896 #ifdef HAVE_SYS_QUEUE_H
7897 #include <sys/queue.h>
7898 #endif
7899 #ifdef HAVE_SYS_SOCKET_H
7900 #include <sys/socket.h>
7901 #endif
7903 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7904 cat >>confdefs.h <<_ACEOF
7905 #define HAVE_LIBPROCSTAT_H 1
7906 _ACEOF
7910 done
7914 DLLFLAGS="-D_REENTRANT"
7916 LDDLLFLAGS=""
7918 LDEXECFLAGS=""
7920 TOP_INSTALL_LIB=""
7922 TOP_INSTALL_DEV=""
7924 WINELOADER_LDFLAGS=""
7926 WINEPRELOADER_LDFLAGS=""
7928 LIBEXT="so"
7929 DLLEXT=".so"
7930 # Extract the first word of "ldd", so it can be a program name with args.
7931 set dummy ldd; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7933 $as_echo_n "checking for $ac_word... " >&6; }
7934 if ${ac_cv_path_LDD+:} false; then :
7935 $as_echo_n "(cached) " >&6
7936 else
7937 case $LDD in
7938 [\\/]* | ?:[\\/]*)
7939 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943 as_dummy="/sbin:/usr/sbin:$PATH"
7944 for as_dir in $as_dummy
7946 IFS=$as_save_IFS
7947 test -z "$as_dir" && as_dir=.
7948 for ac_exec_ext in '' $ac_executable_extensions; do
7949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7950 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7952 break 2
7954 done
7955 done
7956 IFS=$as_save_IFS
7958 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7960 esac
7962 LDD=$ac_cv_path_LDD
7963 if test -n "$LDD"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7965 $as_echo "$LDD" >&6; }
7966 else
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7972 if test -n "$ac_tool_prefix"; then
7973 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7974 set dummy ${ac_tool_prefix}otool; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7976 $as_echo_n "checking for $ac_word... " >&6; }
7977 if ${ac_cv_prog_OTOOL+:} false; then :
7978 $as_echo_n "(cached) " >&6
7979 else
7980 if test -n "$OTOOL"; then
7981 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7982 else
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7984 for as_dir in $PATH
7986 IFS=$as_save_IFS
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7990 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7992 break 2
7994 done
7995 done
7996 IFS=$as_save_IFS
8000 OTOOL=$ac_cv_prog_OTOOL
8001 if test -n "$OTOOL"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8003 $as_echo "$OTOOL" >&6; }
8004 else
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8006 $as_echo "no" >&6; }
8011 if test -z "$ac_cv_prog_OTOOL"; then
8012 ac_ct_OTOOL=$OTOOL
8013 # Extract the first word of "otool", so it can be a program name with args.
8014 set dummy otool; ac_word=$2
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8016 $as_echo_n "checking for $ac_word... " >&6; }
8017 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8018 $as_echo_n "(cached) " >&6
8019 else
8020 if test -n "$ac_ct_OTOOL"; then
8021 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8022 else
8023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8024 for as_dir in $PATH
8026 IFS=$as_save_IFS
8027 test -z "$as_dir" && as_dir=.
8028 for ac_exec_ext in '' $ac_executable_extensions; do
8029 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8030 ac_cv_prog_ac_ct_OTOOL="otool"
8031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8032 break 2
8034 done
8035 done
8036 IFS=$as_save_IFS
8040 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8041 if test -n "$ac_ct_OTOOL"; then
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8043 $as_echo "$ac_ct_OTOOL" >&6; }
8044 else
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8046 $as_echo "no" >&6; }
8049 if test "x$ac_ct_OTOOL" = x; then
8050 OTOOL="otool"
8051 else
8052 case $cross_compiling:$ac_tool_warned in
8053 yes:)
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8056 ac_tool_warned=yes ;;
8057 esac
8058 OTOOL=$ac_ct_OTOOL
8060 else
8061 OTOOL="$ac_cv_prog_OTOOL"
8064 if test -n "$ac_tool_prefix"; then
8065 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8066 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8068 $as_echo_n "checking for $ac_word... " >&6; }
8069 if ${ac_cv_prog_READELF+:} false; then :
8070 $as_echo_n "(cached) " >&6
8071 else
8072 if test -n "$READELF"; then
8073 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8074 else
8075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8076 for as_dir in $PATH
8078 IFS=$as_save_IFS
8079 test -z "$as_dir" && as_dir=.
8080 for ac_exec_ext in '' $ac_executable_extensions; do
8081 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8082 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8084 break 2
8086 done
8087 done
8088 IFS=$as_save_IFS
8092 READELF=$ac_cv_prog_READELF
8093 if test -n "$READELF"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8095 $as_echo "$READELF" >&6; }
8096 else
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098 $as_echo "no" >&6; }
8103 if test -z "$ac_cv_prog_READELF"; then
8104 ac_ct_READELF=$READELF
8105 # Extract the first word of "readelf", so it can be a program name with args.
8106 set dummy readelf; ac_word=$2
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8108 $as_echo_n "checking for $ac_word... " >&6; }
8109 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8110 $as_echo_n "(cached) " >&6
8111 else
8112 if test -n "$ac_ct_READELF"; then
8113 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8114 else
8115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8116 for as_dir in $PATH
8118 IFS=$as_save_IFS
8119 test -z "$as_dir" && as_dir=.
8120 for ac_exec_ext in '' $ac_executable_extensions; do
8121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8122 ac_cv_prog_ac_ct_READELF="readelf"
8123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8124 break 2
8126 done
8127 done
8128 IFS=$as_save_IFS
8132 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8133 if test -n "$ac_ct_READELF"; then
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8135 $as_echo "$ac_ct_READELF" >&6; }
8136 else
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8138 $as_echo "no" >&6; }
8141 if test "x$ac_ct_READELF" = x; then
8142 READELF="true"
8143 else
8144 case $cross_compiling:$ac_tool_warned in
8145 yes:)
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8148 ac_tool_warned=yes ;;
8149 esac
8150 READELF=$ac_ct_READELF
8152 else
8153 READELF="$ac_cv_prog_READELF"
8156 wine_rules_file=conf$$rules.make
8157 rm -f $wine_rules_file
8158 SUBDIRS=""
8160 DISABLED_SUBDIRS=""
8162 CONFIGURE_TARGETS=""
8165 wine_fn_append_file ()
8167 as_fn_append $1 " \\$as_nl $2"
8170 wine_fn_append_rule ()
8172 $as_echo "$1" >>$wine_rules_file
8175 wine_fn_config_makefile ()
8177 wine_fn_append_file SUBDIRS $1
8178 if eval test \"x\$"$2"\" = x"no"; then :
8179 wine_fn_append_file DISABLED_SUBDIRS $1
8183 wine_fn_config_symlink ()
8185 ac_links=$@
8186 wine_fn_append_rule \
8187 "$ac_links:
8188 @./config.status \$@"
8189 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8192 wine_binary="wine"
8193 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8194 WINELOADER_PROGRAMS="$wine_binary"
8196 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8198 case $host_os in
8199 cygwin*|mingw32*)
8200 if test -n "$ac_tool_prefix"; then
8201 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8202 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8204 $as_echo_n "checking for $ac_word... " >&6; }
8205 if ${ac_cv_prog_DLLTOOL+:} false; then :
8206 $as_echo_n "(cached) " >&6
8207 else
8208 if test -n "$DLLTOOL"; then
8209 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8210 else
8211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8212 for as_dir in $PATH
8214 IFS=$as_save_IFS
8215 test -z "$as_dir" && as_dir=.
8216 for ac_exec_ext in '' $ac_executable_extensions; do
8217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8218 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8220 break 2
8222 done
8223 done
8224 IFS=$as_save_IFS
8228 DLLTOOL=$ac_cv_prog_DLLTOOL
8229 if test -n "$DLLTOOL"; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8231 $as_echo "$DLLTOOL" >&6; }
8232 else
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8234 $as_echo "no" >&6; }
8239 if test -z "$ac_cv_prog_DLLTOOL"; then
8240 ac_ct_DLLTOOL=$DLLTOOL
8241 # Extract the first word of "dlltool", so it can be a program name with args.
8242 set dummy dlltool; ac_word=$2
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8244 $as_echo_n "checking for $ac_word... " >&6; }
8245 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8246 $as_echo_n "(cached) " >&6
8247 else
8248 if test -n "$ac_ct_DLLTOOL"; then
8249 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8250 else
8251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8252 for as_dir in $PATH
8254 IFS=$as_save_IFS
8255 test -z "$as_dir" && as_dir=.
8256 for ac_exec_ext in '' $ac_executable_extensions; do
8257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8258 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8260 break 2
8262 done
8263 done
8264 IFS=$as_save_IFS
8268 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8269 if test -n "$ac_ct_DLLTOOL"; then
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8271 $as_echo "$ac_ct_DLLTOOL" >&6; }
8272 else
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274 $as_echo "no" >&6; }
8277 if test "x$ac_ct_DLLTOOL" = x; then
8278 DLLTOOL="false"
8279 else
8280 case $cross_compiling:$ac_tool_warned in
8281 yes:)
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8284 ac_tool_warned=yes ;;
8285 esac
8286 DLLTOOL=$ac_ct_DLLTOOL
8288 else
8289 DLLTOOL="$ac_cv_prog_DLLTOOL"
8292 LIBEXT="dll"
8293 DLLEXT=""
8294 case $host_cpu in
8295 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8296 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8297 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8298 $as_echo_n "(cached) " >&6
8299 else
8300 ac_wine_try_cflags_saved=$CFLAGS
8301 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h. */
8304 int main(int argc, char **argv) { return 0; }
8305 _ACEOF
8306 if ac_fn_c_try_link "$LINENO"; then :
8307 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8308 else
8309 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8311 rm -f core conftest.err conftest.$ac_objext \
8312 conftest$ac_exeext conftest.$ac_ext
8313 CFLAGS=$ac_wine_try_cflags_saved
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8316 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8317 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8318 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8319 fi ;;
8320 esac
8321 enable_iphlpapi=${enable_iphlpapi:-no}
8322 enable_ws2_32=${enable_ws2_32:-no}
8323 enable_loader=${enable_loader:-no}
8324 enable_server=${enable_server:-no}
8325 with_x=${with_x:-no}
8326 with_pthread=${with_pthread:-no}
8329 darwin*|macosx*)
8330 ac_ext=m
8331 ac_cpp='$OBJCPP $CPPFLAGS'
8332 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8333 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8334 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8336 ac_ext=m
8337 ac_cpp='$OBJCPP $CPPFLAGS'
8338 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8339 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8340 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8341 if test -n "$ac_tool_prefix"; then
8342 for ac_prog in gcc objcc objc cc CC
8344 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8345 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8347 $as_echo_n "checking for $ac_word... " >&6; }
8348 if ${ac_cv_prog_OBJC+:} false; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 if test -n "$OBJC"; then
8352 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8353 else
8354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8355 for as_dir in $PATH
8357 IFS=$as_save_IFS
8358 test -z "$as_dir" && as_dir=.
8359 for ac_exec_ext in '' $ac_executable_extensions; do
8360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8361 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8363 break 2
8365 done
8366 done
8367 IFS=$as_save_IFS
8371 OBJC=$ac_cv_prog_OBJC
8372 if test -n "$OBJC"; then
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8374 $as_echo "$OBJC" >&6; }
8375 else
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8377 $as_echo "no" >&6; }
8381 test -n "$OBJC" && break
8382 done
8384 if test -z "$OBJC"; then
8385 ac_ct_OBJC=$OBJC
8386 for ac_prog in gcc objcc objc cc CC
8388 # Extract the first word of "$ac_prog", so it can be a program name with args.
8389 set dummy $ac_prog; ac_word=$2
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8391 $as_echo_n "checking for $ac_word... " >&6; }
8392 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 if test -n "$ac_ct_OBJC"; then
8396 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8397 else
8398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8399 for as_dir in $PATH
8401 IFS=$as_save_IFS
8402 test -z "$as_dir" && as_dir=.
8403 for ac_exec_ext in '' $ac_executable_extensions; do
8404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8405 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8407 break 2
8409 done
8410 done
8411 IFS=$as_save_IFS
8415 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8416 if test -n "$ac_ct_OBJC"; then
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8418 $as_echo "$ac_ct_OBJC" >&6; }
8419 else
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8421 $as_echo "no" >&6; }
8425 test -n "$ac_ct_OBJC" && break
8426 done
8428 if test "x$ac_ct_OBJC" = x; then
8429 OBJC="gcc"
8430 else
8431 case $cross_compiling:$ac_tool_warned in
8432 yes:)
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8435 ac_tool_warned=yes ;;
8436 esac
8437 OBJC=$ac_ct_OBJC
8441 # Provide some information about the compiler.
8442 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8443 set X $ac_compile
8444 ac_compiler=$2
8445 for ac_option in --version -v -V -qversion; do
8446 { { ac_try="$ac_compiler $ac_option >&5"
8447 case "(($ac_try" in
8448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8449 *) ac_try_echo=$ac_try;;
8450 esac
8451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8452 $as_echo "$ac_try_echo"; } >&5
8453 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8454 ac_status=$?
8455 if test -s conftest.err; then
8456 sed '10a\
8457 ... rest of stderr output deleted ...
8458 10q' conftest.err >conftest.er1
8459 cat conftest.er1 >&5
8461 rm -f conftest.er1 conftest.err
8462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8463 test $ac_status = 0; }
8464 done
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8467 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8468 if ${ac_cv_objc_compiler_gnu+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8475 main ()
8477 #ifndef __GNUC__
8478 choke me
8479 #endif
8482 return 0;
8484 _ACEOF
8485 if ac_fn_objc_try_compile "$LINENO"; then :
8486 ac_compiler_gnu=yes
8487 else
8488 ac_compiler_gnu=no
8490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8491 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8495 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8496 if test $ac_compiler_gnu = yes; then
8497 GOBJC=yes
8498 else
8499 GOBJC=
8501 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8502 ac_save_OBJCFLAGS=$OBJCFLAGS
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8504 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8505 if ${ac_cv_prog_objc_g+:} false; then :
8506 $as_echo_n "(cached) " >&6
8507 else
8508 ac_save_objc_werror_flag=$ac_objc_werror_flag
8509 ac_objc_werror_flag=yes
8510 ac_cv_prog_objc_g=no
8511 OBJCFLAGS="-g"
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8516 main ()
8520 return 0;
8522 _ACEOF
8523 if ac_fn_objc_try_compile "$LINENO"; then :
8524 ac_cv_prog_objc_g=yes
8525 else
8526 OBJCFLAGS=""
8527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8531 main ()
8535 return 0;
8537 _ACEOF
8538 if ac_fn_objc_try_compile "$LINENO"; then :
8540 else
8541 ac_objc_werror_flag=$ac_save_objc_werror_flag
8542 OBJCFLAGS="-g"
8543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8544 /* end confdefs.h. */
8547 main ()
8551 return 0;
8553 _ACEOF
8554 if ac_fn_objc_try_compile "$LINENO"; then :
8555 ac_cv_prog_objc_g=yes
8557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8562 ac_objc_werror_flag=$ac_save_objc_werror_flag
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8565 $as_echo "$ac_cv_prog_objc_g" >&6; }
8566 if test "$ac_test_OBJCFLAGS" = set; then
8567 OBJCFLAGS=$ac_save_OBJCFLAGS
8568 elif test $ac_cv_prog_objc_g = yes; then
8569 if test "$GOBJC" = yes; then
8570 OBJCFLAGS="-g -O2"
8571 else
8572 OBJCFLAGS="-g"
8574 else
8575 if test "$GOBJC" = yes; then
8576 OBJCFLAGS="-O2"
8577 else
8578 OBJCFLAGS=
8581 ac_ext=m
8582 ac_cpp='$OBJCPP $CPPFLAGS'
8583 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8584 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8585 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8588 ac_ext=m
8589 ac_cpp='$OBJCPP $CPPFLAGS'
8590 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8591 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8592 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8594 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8595 if test -z "$OBJCPP"; then
8596 if ${ac_cv_prog_OBJCPP+:} false; then :
8597 $as_echo_n "(cached) " >&6
8598 else
8599 # Double quotes because OBJCPP needs to be expanded
8600 for OBJCPP in "$OBJC -E" "/lib/cpp"
8602 ac_preproc_ok=false
8603 for ac_objc_preproc_warn_flag in '' yes
8605 # Use a header file that comes with gcc, so configuring glibc
8606 # with a fresh cross-compiler works.
8607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8608 # <limits.h> exists even on freestanding compilers.
8609 # On the NeXT, cc -E runs the code through the compiler's parser,
8610 # not just through cpp. "Syntax error" is here to catch this case.
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8613 #ifdef __STDC__
8614 # include <limits.h>
8615 #else
8616 # include <assert.h>
8617 #endif
8618 Syntax error
8619 _ACEOF
8620 if ac_fn_objc_try_cpp "$LINENO"; then :
8622 else
8623 # Broken: fails on valid input.
8624 continue
8626 rm -f conftest.err conftest.i conftest.$ac_ext
8628 # OK, works on sane cases. Now check whether nonexistent headers
8629 # can be detected and how.
8630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8631 /* end confdefs.h. */
8632 #include <ac_nonexistent.h>
8633 _ACEOF
8634 if ac_fn_objc_try_cpp "$LINENO"; then :
8635 # Broken: success on invalid input.
8636 continue
8637 else
8638 # Passes both tests.
8639 ac_preproc_ok=:
8640 break
8642 rm -f conftest.err conftest.i conftest.$ac_ext
8644 done
8645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8646 rm -f conftest.i conftest.err conftest.$ac_ext
8647 if $ac_preproc_ok; then :
8648 break
8651 done
8652 ac_cv_prog_OBJCPP=$OBJCPP
8655 OBJCPP=$ac_cv_prog_OBJCPP
8656 else
8657 ac_cv_prog_OBJCPP=$OBJCPP
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8660 $as_echo "$OBJCPP" >&6; }
8661 ac_preproc_ok=false
8662 for ac_objc_preproc_warn_flag in '' yes
8664 # Use a header file that comes with gcc, so configuring glibc
8665 # with a fresh cross-compiler works.
8666 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8667 # <limits.h> exists even on freestanding compilers.
8668 # On the NeXT, cc -E runs the code through the compiler's parser,
8669 # not just through cpp. "Syntax error" is here to catch this case.
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 #ifdef __STDC__
8673 # include <limits.h>
8674 #else
8675 # include <assert.h>
8676 #endif
8677 Syntax error
8678 _ACEOF
8679 if ac_fn_objc_try_cpp "$LINENO"; then :
8681 else
8682 # Broken: fails on valid input.
8683 continue
8685 rm -f conftest.err conftest.i conftest.$ac_ext
8687 # OK, works on sane cases. Now check whether nonexistent headers
8688 # can be detected and how.
8689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h. */
8691 #include <ac_nonexistent.h>
8692 _ACEOF
8693 if ac_fn_objc_try_cpp "$LINENO"; then :
8694 # Broken: success on invalid input.
8695 continue
8696 else
8697 # Passes both tests.
8698 ac_preproc_ok=:
8699 break
8701 rm -f conftest.err conftest.i conftest.$ac_ext
8703 done
8704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8705 rm -f conftest.i conftest.err conftest.$ac_ext
8706 if $ac_preproc_ok; then :
8708 else
8709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8711 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8712 See \`config.log' for more details" "$LINENO" 5; }
8715 ac_ext=m
8716 ac_cpp='$OBJCPP $CPPFLAGS'
8717 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8718 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8719 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8722 for ac_header in Metal/Metal.h
8723 do :
8724 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8725 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8726 cat >>confdefs.h <<_ACEOF
8727 #define HAVE_METAL_METAL_H 1
8728 _ACEOF
8732 done
8734 ac_ext=c
8735 ac_cpp='$CPP $CPPFLAGS'
8736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8740 LIBEXT="dylib"
8741 DLLFLAGS="$DLLFLAGS -fPIC"
8742 LDDLLFLAGS="-fPIC"
8743 COREFOUNDATION_LIBS="-framework CoreFoundation"
8745 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8747 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8749 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8751 CORESERVICES_LIBS="-framework CoreServices"
8753 APPKIT_LIBS="-framework AppKit"
8755 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8758 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8760 wine_can_build_preloader=yes
8761 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"
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8763 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8764 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8765 $as_echo_n "(cached) " >&6
8766 else
8767 ac_wine_try_cflags_saved=$CFLAGS
8768 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8770 /* end confdefs.h. */
8771 int main(int argc, char **argv) { return 0; }
8772 _ACEOF
8773 if ac_fn_c_try_link "$LINENO"; then :
8774 ac_cv_cflags__Wl__no_new_main__e__main=yes
8775 else
8776 ac_cv_cflags__Wl__no_new_main__e__main=no
8778 rm -f core conftest.err conftest.$ac_objext \
8779 conftest$ac_exeext conftest.$ac_ext
8780 CFLAGS=$ac_wine_try_cflags_saved
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8783 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8784 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8785 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8787 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8788 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8789 $as_echo_n "(cached) " >&6
8790 else
8791 ac_wine_try_cflags_saved=$CFLAGS
8792 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8794 /* end confdefs.h. */
8795 int main(int argc, char **argv) { return 0; }
8796 _ACEOF
8797 if ac_fn_c_try_link "$LINENO"; then :
8798 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8799 else
8800 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8802 rm -f core conftest.err conftest.$ac_objext \
8803 conftest$ac_exeext conftest.$ac_ext
8804 CFLAGS=$ac_wine_try_cflags_saved
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8807 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8808 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8809 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8810 else
8811 { $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
8812 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8813 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8814 $as_echo_n "(cached) " >&6
8815 else
8816 ac_wine_try_cflags_saved=$CFLAGS
8817 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8819 /* end confdefs.h. */
8820 int main(int argc, char **argv) { return 0; }
8821 _ACEOF
8822 if ac_fn_c_try_link "$LINENO"; then :
8823 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8824 else
8825 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8827 rm -f core conftest.err conftest.$ac_objext \
8828 conftest$ac_exeext conftest.$ac_ext
8829 CFLAGS=$ac_wine_try_cflags_saved
8831 { $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
8832 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8833 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8834 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8835 else
8836 wine_can_build_preloader=no
8839 else
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8841 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8842 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8843 $as_echo_n "(cached) " >&6
8844 else
8845 ac_wine_try_cflags_saved=$CFLAGS
8846 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8848 /* end confdefs.h. */
8849 int main(int argc, char **argv) { return 0; }
8850 _ACEOF
8851 if ac_fn_c_try_link "$LINENO"; then :
8852 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8853 else
8854 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8856 rm -f core conftest.err conftest.$ac_objext \
8857 conftest$ac_exeext conftest.$ac_ext
8858 CFLAGS=$ac_wine_try_cflags_saved
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8861 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8862 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8863 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8864 else
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8866 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8867 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8868 $as_echo_n "(cached) " >&6
8869 else
8870 ac_wine_try_cflags_saved=$CFLAGS
8871 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8874 int main(int argc, char **argv) { return 0; }
8875 _ACEOF
8876 if ac_fn_c_try_link "$LINENO"; then :
8877 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8878 else
8879 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8881 rm -f core conftest.err conftest.$ac_objext \
8882 conftest$ac_exeext conftest.$ac_ext
8883 CFLAGS=$ac_wine_try_cflags_saved
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8886 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8887 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8888 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8889 else
8890 wine_can_build_preloader=no
8894 if test "$wine_can_build_preloader" = "yes"
8895 then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8897 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8898 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8899 $as_echo_n "(cached) " >&6
8900 else
8901 ac_wine_try_cflags_saved=$CFLAGS
8902 CFLAGS="$CFLAGS -Wl,-no_pie"
8903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8904 /* end confdefs.h. */
8905 int main(int argc, char **argv) { return 0; }
8906 _ACEOF
8907 if ac_fn_c_try_link "$LINENO"; then :
8908 ac_cv_cflags__Wl__no_pie=yes
8909 else
8910 ac_cv_cflags__Wl__no_pie=no
8912 rm -f core conftest.err conftest.$ac_objext \
8913 conftest$ac_exeext conftest.$ac_ext
8914 CFLAGS=$ac_wine_try_cflags_saved
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8917 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8918 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8919 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8921 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8922 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8923 else
8924 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8927 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8928 then
8929 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8932 if test "$ac_cv_header_Security_Security_h" = "yes"
8933 then
8934 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8936 ac_save_LIBS="$LIBS"
8937 LIBS="$LIBS $SECURITY_LIBS"
8938 for ac_func in SSLCopyPeerCertificates
8939 do :
8940 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8941 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8942 cat >>confdefs.h <<_ACEOF
8943 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8944 _ACEOF
8947 done
8949 LIBS="$ac_save_LIBS"
8951 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8952 then
8953 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8954 then
8955 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8957 else
8958 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8961 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8962 ac_save_LIBS="$LIBS"
8963 LIBS="$LIBS $COREAUDIO_LIBS"
8964 for ac_func in AUGraphAddNode
8965 do :
8966 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8967 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8968 cat >>confdefs.h <<_ACEOF
8969 #define HAVE_AUGRAPHADDNODE 1
8970 _ACEOF
8973 done
8975 LIBS="$ac_save_LIBS"
8977 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8978 then
8979 OPENAL_LIBS="-framework OpenAL"
8982 cat >>confdefs.h <<_ACEOF
8983 #define HAVE_OPENAL 1
8984 _ACEOF
8986 ac_cv_lib_openal=yes
8988 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8989 then
8990 OPENCL_LIBS="-framework OpenCL"
8992 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8994 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8995 then
8996 ac_save_LIBS="$LIBS"
8997 LIBS="$LIBS $IOKIT_LIBS"
8998 for ac_func in IOHIDManagerCreate
8999 do :
9000 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9001 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9002 cat >>confdefs.h <<_ACEOF
9003 #define HAVE_IOHIDMANAGERCREATE 1
9004 _ACEOF
9007 done
9009 LIBS="$ac_save_LIBS"
9012 if test "x$with_quicktime" != "xno"
9013 then
9014 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9015 then
9016 ac_save_LIBS="$LIBS"
9017 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9019 $as_echo_n "checking for the QuickTime framework... " >&6; }
9020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9022 #include <QuickTime/ImageCompression.h>
9024 main ()
9026 CodecManagerVersion(NULL);
9028 return 0;
9030 _ACEOF
9031 if ac_fn_c_try_link "$LINENO"; then :
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9033 $as_echo "yes" >&6; }
9034 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9036 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9037 else
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9039 $as_echo "no" >&6; }
9040 ac_cv_header_QuickTime_ImageCompression_h=no
9042 rm -f core conftest.err conftest.$ac_objext \
9043 conftest$ac_exeext conftest.$ac_ext
9044 LIBS="$ac_save_LIBS"
9047 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9048 case "x$with_quicktime" in
9049 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9050 xno) ;;
9051 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9052 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9053 esac
9057 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9058 then
9059 CARBON_LIBS="-framework Carbon"
9062 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9063 then
9064 METAL_LIBS="-framework Metal -framework QuartzCore"
9068 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9069 then
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9071 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9072 ac_ext=m
9073 ac_cpp='$OBJCPP $CPPFLAGS'
9074 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9075 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9076 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9080 #include <Metal/Metal.h>
9082 main ()
9084 id<MTLDevice> device; device.registryID;
9086 return 0;
9088 _ACEOF
9089 if ac_fn_objc_try_compile "$LINENO"; then :
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9091 $as_echo "yes" >&6; }
9093 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9095 else
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9097 $as_echo "no" >&6; }
9099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9100 ac_ext=c
9101 ac_cpp='$CPP $CPPFLAGS'
9102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9108 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9109 then
9110 ac_save_LIBS="$LIBS"
9111 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9112 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9113 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9114 enable_winemac_drv=${enable_winemac_drv:-yes}
9117 LIBS="$ac_save_LIBS"
9120 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9122 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9124 WINELOADER_DEPENDS="wine_info.plist"
9126 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9129 linux-android*)
9130 DLLFLAGS="$DLLFLAGS -fPIC"
9131 LDDLLFLAGS="-fPIC"
9132 LDEXECFLAGS="-Wl,-pie"
9133 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9135 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9136 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9137 $as_echo_n "(cached) " >&6
9138 else
9139 ac_wine_try_cflags_saved=$CFLAGS
9140 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9142 /* end confdefs.h. */
9143 int main(int argc, char **argv) { return 0; }
9144 _ACEOF
9145 if ac_fn_c_try_link "$LINENO"; then :
9146 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9147 else
9148 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9150 rm -f core conftest.err conftest.$ac_objext \
9151 conftest$ac_exeext conftest.$ac_ext
9152 CFLAGS=$ac_wine_try_cflags_saved
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9155 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9156 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9157 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9159 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9161 LIBWINE_SHAREDLIB="libwine.so"
9163 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9165 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9168 $as_echo_n "checking for -lEGL... " >&6; }
9169 if ${ac_cv_lib_soname_EGL+:} false; then :
9170 $as_echo_n "(cached) " >&6
9171 else
9172 ac_check_soname_save_LIBS=$LIBS
9173 LIBS="-lEGL $LIBS"
9174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9177 /* Override any GCC internal prototype to avoid an error.
9178 Use char because int might match the return type of a GCC
9179 builtin and then its argument prototype would still apply. */
9180 #ifdef __cplusplus
9181 extern "C"
9182 #endif
9183 char eglGetProcAddress ();
9185 main ()
9187 return eglGetProcAddress ();
9189 return 0;
9191 _ACEOF
9192 if ac_fn_c_try_link "$LINENO"; then :
9193 case "$LIBEXT" in
9194 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9195 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'` ;;
9196 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9197 if ${ac_cv_lib_soname_EGL:+false} :; then :
9198 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9199 fi ;;
9200 esac
9201 else
9202 ac_cv_lib_soname_EGL=
9204 rm -f core conftest.err conftest.$ac_objext \
9205 conftest$ac_exeext conftest.$ac_ext
9206 LIBS=$ac_check_soname_save_LIBS
9208 if ${ac_cv_lib_soname_EGL:+false} :; then :
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9210 $as_echo "not found" >&6; }
9212 else
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9214 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9216 cat >>confdefs.h <<_ACEOF
9217 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9218 _ACEOF
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9223 $as_echo_n "checking for -lGLESv2... " >&6; }
9224 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9225 $as_echo_n "(cached) " >&6
9226 else
9227 ac_check_soname_save_LIBS=$LIBS
9228 LIBS="-lGLESv2 $LIBS"
9229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9232 /* Override any GCC internal prototype to avoid an error.
9233 Use char because int might match the return type of a GCC
9234 builtin and then its argument prototype would still apply. */
9235 #ifdef __cplusplus
9236 extern "C"
9237 #endif
9238 char glFlush ();
9240 main ()
9242 return glFlush ();
9244 return 0;
9246 _ACEOF
9247 if ac_fn_c_try_link "$LINENO"; then :
9248 case "$LIBEXT" in
9249 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9250 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'` ;;
9251 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9252 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9253 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9254 fi ;;
9255 esac
9256 else
9257 ac_cv_lib_soname_GLESv2=
9259 rm -f core conftest.err conftest.$ac_objext \
9260 conftest$ac_exeext conftest.$ac_ext
9261 LIBS=$ac_check_soname_save_LIBS
9263 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9265 $as_echo "not found" >&6; }
9267 else
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9269 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9271 cat >>confdefs.h <<_ACEOF
9272 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9273 _ACEOF
9278 if test "x$exec_prefix" = xNONE
9279 then
9280 case $host_cpu in
9281 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9282 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9283 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9284 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9285 esac
9290 case $host_cpu in
9291 *i[3456789]86*)
9292 DLLFLAGS="$DLLFLAGS -fno-PIC"
9293 LDDLLFLAGS="-fno-PIC"
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9295 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9296 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9297 $as_echo_n "(cached) " >&6
9298 else
9299 ac_wine_try_cflags_saved=$CFLAGS
9300 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9303 int main(int argc, char **argv) { return 0; }
9304 _ACEOF
9305 if ac_fn_c_try_link "$LINENO"; then :
9306 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9307 else
9308 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9310 rm -f core conftest.err conftest.$ac_objext \
9311 conftest$ac_exeext conftest.$ac_ext
9312 CFLAGS=$ac_wine_try_cflags_saved
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9315 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9316 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9317 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9321 DLLFLAGS="$DLLFLAGS -fPIC"
9322 LDDLLFLAGS="-fPIC" ;;
9323 esac
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9325 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9326 if ${ac_cv_c_dll_gnuelf+:} false; then :
9327 $as_echo_n "(cached) " >&6
9328 else
9329 ac_wine_try_cflags_saved=$CFLAGS
9330 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9333 void myfunc() {}
9334 _ACEOF
9335 if ac_fn_c_try_link "$LINENO"; then :
9336 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9337 else
9338 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9340 rm -f core conftest.err conftest.$ac_objext \
9341 conftest$ac_exeext conftest.$ac_ext
9342 CFLAGS=$ac_wine_try_cflags_saved
9343 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9344 ac_cv_c_dll_gnuelf="yes"
9345 else
9346 ac_cv_c_dll_gnuelf="no"
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9350 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9351 if test "$ac_cv_c_dll_gnuelf" = "yes"
9352 then
9353 LIBWINE_LDFLAGS="-shared"
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9355 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9356 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9357 $as_echo_n "(cached) " >&6
9358 else
9359 ac_wine_try_cflags_saved=$CFLAGS
9360 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9362 /* end confdefs.h. */
9363 int main(int argc, char **argv) { return 0; }
9364 _ACEOF
9365 if ac_fn_c_try_link "$LINENO"; then :
9366 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9367 else
9368 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9370 rm -f core conftest.err conftest.$ac_objext \
9371 conftest$ac_exeext conftest.$ac_ext
9372 CFLAGS=$ac_wine_try_cflags_saved
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9375 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9376 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9377 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9378 else
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9380 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9381 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9382 $as_echo_n "(cached) " >&6
9383 else
9384 ac_wine_try_cflags_saved=$CFLAGS
9385 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9388 int main(int argc, char **argv) { return 0; }
9389 _ACEOF
9390 if ac_fn_c_try_link "$LINENO"; then :
9391 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9392 else
9393 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9395 rm -f core conftest.err conftest.$ac_objext \
9396 conftest$ac_exeext conftest.$ac_ext
9397 CFLAGS=$ac_wine_try_cflags_saved
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9400 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9401 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9402 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9406 echo '{ global: *; };' >conftest.map
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9408 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9409 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9410 $as_echo_n "(cached) " >&6
9411 else
9412 ac_wine_try_cflags_saved=$CFLAGS
9413 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9416 int main(int argc, char **argv) { return 0; }
9417 _ACEOF
9418 if ac_fn_c_try_link "$LINENO"; then :
9419 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9420 else
9421 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9423 rm -f core conftest.err conftest.$ac_objext \
9424 conftest$ac_exeext conftest.$ac_ext
9425 CFLAGS=$ac_wine_try_cflags_saved
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9428 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9429 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9430 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9432 rm -f conftest.map
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9435 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9436 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9437 $as_echo_n "(cached) " >&6
9438 else
9439 ac_wine_try_cflags_saved=$CFLAGS
9440 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9443 int main(int argc, char **argv) { return 0; }
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446 ac_cv_cflags__Wl___export_dynamic=yes
9447 else
9448 ac_cv_cflags__Wl___export_dynamic=no
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 CFLAGS=$ac_wine_try_cflags_saved
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9455 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9456 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9457 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9459 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9461 case $host_cpu in
9462 *i[3456789]86* | x86_64 | *aarch64*)
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9464 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9465 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9466 $as_echo_n "(cached) " >&6
9467 else
9468 ac_wine_try_cflags_saved=$CFLAGS
9469 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9471 /* end confdefs.h. */
9472 int main(int argc, char **argv) { return 0; }
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9475 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9476 else
9477 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9479 rm -f core conftest.err conftest.$ac_objext \
9480 conftest$ac_exeext conftest.$ac_ext
9481 CFLAGS=$ac_wine_try_cflags_saved
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9484 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9485 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9486 case $host_os in
9487 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9488 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9489 esac
9490 else
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9492 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9493 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9494 $as_echo_n "(cached) " >&6
9495 else
9496 ac_wine_try_cflags_saved=$CFLAGS
9497 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9500 int main(int argc, char **argv) { return 0; }
9501 _ACEOF
9502 if ac_fn_c_try_link "$LINENO"; then :
9503 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9504 else
9505 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9507 rm -f core conftest.err conftest.$ac_objext \
9508 conftest$ac_exeext conftest.$ac_ext
9509 CFLAGS=$ac_wine_try_cflags_saved
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9512 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9513 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9514 case $host_os in
9515 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9516 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9517 esac
9519 # Extract the first word of "prelink", so it can be a program name with args.
9520 set dummy prelink; ac_word=$2
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9522 $as_echo_n "checking for $ac_word... " >&6; }
9523 if ${ac_cv_path_PRELINK+:} false; then :
9524 $as_echo_n "(cached) " >&6
9525 else
9526 case $PRELINK in
9527 [\\/]* | ?:[\\/]*)
9528 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9532 for as_dir in /sbin /usr/sbin $PATH
9534 IFS=$as_save_IFS
9535 test -z "$as_dir" && as_dir=.
9536 for ac_exec_ext in '' $ac_executable_extensions; do
9537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9538 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9540 break 2
9542 done
9543 done
9544 IFS=$as_save_IFS
9546 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9548 esac
9550 PRELINK=$ac_cv_path_PRELINK
9551 if test -n "$PRELINK"; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9553 $as_echo "$PRELINK" >&6; }
9554 else
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9556 $as_echo "no" >&6; }
9560 if test "x$PRELINK" = xfalse
9561 then
9562 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9566 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9567 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9568 $as_echo_n "(cached) " >&6
9569 else
9570 ac_wine_try_cflags_saved=$CFLAGS
9571 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9573 /* end confdefs.h. */
9574 int main(int argc, char **argv) { return 0; }
9575 _ACEOF
9576 if ac_fn_c_try_link "$LINENO"; then :
9577 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9578 else
9579 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9581 rm -f core conftest.err conftest.$ac_objext \
9582 conftest$ac_exeext conftest.$ac_ext
9583 CFLAGS=$ac_wine_try_cflags_saved
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9586 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9587 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9588 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9591 esac
9593 else
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9595 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9596 if ${ac_cv_c_dll_unixware+:} false; then :
9597 $as_echo_n "(cached) " >&6
9598 else
9599 ac_wine_try_cflags_saved=$CFLAGS
9600 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9603 void myfunc() {}
9604 _ACEOF
9605 if ac_fn_c_try_link "$LINENO"; then :
9606 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9607 else
9608 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9610 rm -f core conftest.err conftest.$ac_objext \
9611 conftest$ac_exeext conftest.$ac_ext
9612 CFLAGS=$ac_wine_try_cflags_saved
9613 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9614 ac_cv_c_dll_unixware="yes"
9615 else
9616 ac_cv_c_dll_unixware="no"
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9620 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9621 if test "$ac_cv_c_dll_unixware" = "yes"
9622 then
9623 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9626 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9628 LIBWINE_DEPENDS="wine.map"
9630 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9632 esac
9634 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9635 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9636 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9637 enable_winemac_drv=${enable_winemac_drv:-no}
9638 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9641 if test "x$with_mingw" != xno
9642 then
9643 case "x$with_mingw" in
9644 x|xyes) case "$host_cpu" in
9645 aarch64*)
9646 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9647 arm*)
9648 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9649 i[3456789]86*)
9650 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
9651 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9652 mingw32-gcc" ;;
9653 x86_64)
9654 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
9655 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9657 ac_prefix_list="" ;;
9658 esac
9659 for ac_prog in $ac_prefix_list
9661 # Extract the first word of "$ac_prog", so it can be a program name with args.
9662 set dummy $ac_prog; ac_word=$2
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9664 $as_echo_n "checking for $ac_word... " >&6; }
9665 if ${ac_cv_prog_CROSSCC+:} false; then :
9666 $as_echo_n "(cached) " >&6
9667 else
9668 if test -n "$CROSSCC"; then
9669 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9670 else
9671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9672 for as_dir in $PATH
9674 IFS=$as_save_IFS
9675 test -z "$as_dir" && as_dir=.
9676 for ac_exec_ext in '' $ac_executable_extensions; do
9677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9678 ac_cv_prog_CROSSCC="$ac_prog"
9679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9680 break 2
9682 done
9683 done
9684 IFS=$as_save_IFS
9688 CROSSCC=$ac_cv_prog_CROSSCC
9689 if test -n "$CROSSCC"; then
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9691 $as_echo "$CROSSCC" >&6; }
9692 else
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9694 $as_echo "no" >&6; }
9698 test -n "$CROSSCC" && break
9699 done
9700 test -n "$CROSSCC" || CROSSCC="false"
9702 *) CROSSCC=$with_mingw ;;
9703 esac
9704 if test "$CROSSCC" != "false"
9705 then
9706 ac_save_CC="$CC"
9707 saved_CFLAGS=$CFLAGS
9708 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9710 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9714 CC="$CROSSCC"
9715 CFLAGS=$CROSSCFLAGS
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9717 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9718 if ${wine_cv_crosscc+:} false; then :
9719 $as_echo_n "(cached) " >&6
9720 else
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9725 main ()
9729 return 0;
9731 _ACEOF
9732 if ac_fn_c_try_compile "$LINENO"; then :
9733 wine_cv_crosscc=yes
9734 else
9735 wine_cv_crosscc=no
9737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9740 $as_echo "$wine_cv_crosscc" >&6; }
9741 if test $wine_cv_crosscc = yes
9742 then
9743 set x $CROSSCC
9744 shift
9745 while test $# -ge 1
9747 case "$1" in
9748 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9749 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9750 esac
9751 shift
9752 done
9754 llvm_target=$CROSSTARGET
9755 llvm_cflags="-fuse-ld=lld"
9756 if test -z "$llvm_target"
9757 then
9758 case $host_cpu in
9759 *i[3456789]86*) llvm_target=i686-windows ;;
9760 *) llvm_target=$host_cpu-windows ;;
9761 esac
9763 case $llvm_target in
9764 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9765 esac
9766 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9768 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9769 if eval \${$as_ac_var+:} false; then :
9770 $as_echo_n "(cached) " >&6
9771 else
9772 ac_wine_try_cflags_saved=$CFLAGS
9773 ac_wine_try_cflags_saved_cc=$CC
9774 ac_wine_try_cflags_saved_exeext=$ac_exeext
9775 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9776 CC="$CROSSCC"
9777 ac_exeext=".exe"
9778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9779 /* end confdefs.h. */
9780 int __cdecl mainCRTStartup(void) { return 0; }
9781 _ACEOF
9782 if ac_fn_c_try_link "$LINENO"; then :
9783 eval "$as_ac_var=yes"
9784 else
9785 eval "$as_ac_var=no"
9787 rm -f core conftest.err conftest.$ac_objext \
9788 conftest$ac_exeext conftest.$ac_ext
9789 CFLAGS=$ac_wine_try_cflags_saved
9790 CC=$ac_wine_try_cflags_saved_cc
9791 ac_exeext=$ac_wine_try_cflags_saved_exeext
9793 eval ac_res=\$$as_ac_var
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9795 $as_echo "$ac_res" >&6; }
9796 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9797 CROSSTARGET=$llvm_target
9798 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9799 DELAYLOADFLAG="-Wl,-delayload,"
9801 CFLAGS="$CFLAGS $llvm_cflags"
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9805 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9806 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9807 $as_echo_n "(cached) " >&6
9808 else
9809 ac_wine_try_cflags_saved=$CFLAGS
9810 ac_wine_try_cflags_saved_cc=$CC
9811 ac_wine_try_cflags_saved_exeext=$ac_exeext
9812 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9813 CC="$CROSSCC"
9814 ac_exeext=".exe"
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9817 int __cdecl mainCRTStartup(void) { return 0; }
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 ac_cv_crosscflags__fno_strict_aliasing=yes
9821 else
9822 ac_cv_crosscflags__fno_strict_aliasing=no
9824 rm -f core conftest.err conftest.$ac_objext \
9825 conftest$ac_exeext conftest.$ac_ext
9826 CFLAGS=$ac_wine_try_cflags_saved
9827 CC=$ac_wine_try_cflags_saved_cc
9828 ac_exeext=$ac_wine_try_cflags_saved_exeext
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9831 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9832 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9833 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9836 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9837 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9838 $as_echo_n "(cached) " >&6
9839 else
9840 ac_wine_try_cflags_saved=$CFLAGS
9841 ac_wine_try_cflags_saved_cc=$CC
9842 ac_wine_try_cflags_saved_exeext=$ac_exeext
9843 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9844 CC="$CROSSCC"
9845 ac_exeext=".exe"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9848 int __cdecl mainCRTStartup(void) { return 0; }
9849 _ACEOF
9850 if ac_fn_c_try_link "$LINENO"; then :
9851 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9852 else
9853 ac_cv_crosscflags__Werror_unknown_warning_option=no
9855 rm -f core conftest.err conftest.$ac_objext \
9856 conftest$ac_exeext conftest.$ac_ext
9857 CFLAGS=$ac_wine_try_cflags_saved
9858 CC=$ac_wine_try_cflags_saved_cc
9859 ac_exeext=$ac_wine_try_cflags_saved_exeext
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9862 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9863 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9864 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9867 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9868 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9869 $as_echo_n "(cached) " >&6
9870 else
9871 ac_wine_try_cflags_saved=$CFLAGS
9872 ac_wine_try_cflags_saved_cc=$CC
9873 ac_wine_try_cflags_saved_exeext=$ac_exeext
9874 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9875 CC="$CROSSCC"
9876 ac_exeext=".exe"
9877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9878 /* end confdefs.h. */
9879 int __cdecl mainCRTStartup(void) { return 0; }
9880 _ACEOF
9881 if ac_fn_c_try_link "$LINENO"; then :
9882 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9883 else
9884 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 CFLAGS=$ac_wine_try_cflags_saved
9889 CC=$ac_wine_try_cflags_saved_cc
9890 ac_exeext=$ac_wine_try_cflags_saved_exeext
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9893 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9894 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9895 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9898 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9899 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9900 $as_echo_n "(cached) " >&6
9901 else
9902 ac_wine_try_cflags_saved=$CFLAGS
9903 ac_wine_try_cflags_saved_cc=$CC
9904 ac_wine_try_cflags_saved_exeext=$ac_exeext
9905 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9906 CC="$CROSSCC"
9907 ac_exeext=".exe"
9908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9909 /* end confdefs.h. */
9910 int __cdecl mainCRTStartup(void) { return 0; }
9911 _ACEOF
9912 if ac_fn_c_try_link "$LINENO"; then :
9913 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9914 else
9915 ac_cv_crosscflags__Wdeclaration_after_statement=no
9917 rm -f core conftest.err conftest.$ac_objext \
9918 conftest$ac_exeext conftest.$ac_ext
9919 CFLAGS=$ac_wine_try_cflags_saved
9920 CC=$ac_wine_try_cflags_saved_cc
9921 ac_exeext=$ac_wine_try_cflags_saved_exeext
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9924 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9925 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9926 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9929 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9930 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9931 $as_echo_n "(cached) " >&6
9932 else
9933 ac_wine_try_cflags_saved=$CFLAGS
9934 ac_wine_try_cflags_saved_cc=$CC
9935 ac_wine_try_cflags_saved_exeext=$ac_exeext
9936 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9937 CC="$CROSSCC"
9938 ac_exeext=".exe"
9939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9940 /* end confdefs.h. */
9941 int __cdecl mainCRTStartup(void) { return 0; }
9942 _ACEOF
9943 if ac_fn_c_try_link "$LINENO"; then :
9944 ac_cv_crosscflags__Wempty_body=yes
9945 else
9946 ac_cv_crosscflags__Wempty_body=no
9948 rm -f core conftest.err conftest.$ac_objext \
9949 conftest$ac_exeext conftest.$ac_ext
9950 CFLAGS=$ac_wine_try_cflags_saved
9951 CC=$ac_wine_try_cflags_saved_cc
9952 ac_exeext=$ac_wine_try_cflags_saved_exeext
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9955 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9956 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9957 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9960 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9961 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9962 $as_echo_n "(cached) " >&6
9963 else
9964 ac_wine_try_cflags_saved=$CFLAGS
9965 ac_wine_try_cflags_saved_cc=$CC
9966 ac_wine_try_cflags_saved_exeext=$ac_exeext
9967 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9968 CC="$CROSSCC"
9969 ac_exeext=".exe"
9970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9971 /* end confdefs.h. */
9972 int __cdecl mainCRTStartup(void) { return 0; }
9973 _ACEOF
9974 if ac_fn_c_try_link "$LINENO"; then :
9975 ac_cv_crosscflags__Wignored_qualifiers=yes
9976 else
9977 ac_cv_crosscflags__Wignored_qualifiers=no
9979 rm -f core conftest.err conftest.$ac_objext \
9980 conftest$ac_exeext conftest.$ac_ext
9981 CFLAGS=$ac_wine_try_cflags_saved
9982 CC=$ac_wine_try_cflags_saved_cc
9983 ac_exeext=$ac_wine_try_cflags_saved_exeext
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9986 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9987 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9988 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9991 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9992 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9993 $as_echo_n "(cached) " >&6
9994 else
9995 ac_wine_try_cflags_saved=$CFLAGS
9996 ac_wine_try_cflags_saved_cc=$CC
9997 ac_wine_try_cflags_saved_exeext=$ac_exeext
9998 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9999 CC="$CROSSCC"
10000 ac_exeext=".exe"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10003 int __cdecl mainCRTStartup(void) { return 0; }
10004 _ACEOF
10005 if ac_fn_c_try_link "$LINENO"; then :
10006 ac_cv_crosscflags__Winit_self=yes
10007 else
10008 ac_cv_crosscflags__Winit_self=no
10010 rm -f core conftest.err conftest.$ac_objext \
10011 conftest$ac_exeext conftest.$ac_ext
10012 CFLAGS=$ac_wine_try_cflags_saved
10013 CC=$ac_wine_try_cflags_saved_cc
10014 ac_exeext=$ac_wine_try_cflags_saved_exeext
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10017 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10018 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10019 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10022 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10023 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10024 $as_echo_n "(cached) " >&6
10025 else
10026 ac_wine_try_cflags_saved=$CFLAGS
10027 ac_wine_try_cflags_saved_cc=$CC
10028 ac_wine_try_cflags_saved_exeext=$ac_exeext
10029 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10030 CC="$CROSSCC"
10031 ac_exeext=".exe"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10034 int __cdecl mainCRTStartup(void) { return 0; }
10035 _ACEOF
10036 if ac_fn_c_try_link "$LINENO"; then :
10037 ac_cv_crosscflags__Wpacked_not_aligned=yes
10038 else
10039 ac_cv_crosscflags__Wpacked_not_aligned=no
10041 rm -f core conftest.err conftest.$ac_objext \
10042 conftest$ac_exeext conftest.$ac_ext
10043 CFLAGS=$ac_wine_try_cflags_saved
10044 CC=$ac_wine_try_cflags_saved_cc
10045 ac_exeext=$ac_wine_try_cflags_saved_exeext
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10048 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10049 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10050 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10053 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10054 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10055 $as_echo_n "(cached) " >&6
10056 else
10057 ac_wine_try_cflags_saved=$CFLAGS
10058 ac_wine_try_cflags_saved_cc=$CC
10059 ac_wine_try_cflags_saved_exeext=$ac_exeext
10060 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10061 CC="$CROSSCC"
10062 ac_exeext=".exe"
10063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10064 /* end confdefs.h. */
10065 int __cdecl mainCRTStartup(void) { return 0; }
10066 _ACEOF
10067 if ac_fn_c_try_link "$LINENO"; then :
10068 ac_cv_crosscflags__Wpragma_pack=yes
10069 else
10070 ac_cv_crosscflags__Wpragma_pack=no
10072 rm -f core conftest.err conftest.$ac_objext \
10073 conftest$ac_exeext conftest.$ac_ext
10074 CFLAGS=$ac_wine_try_cflags_saved
10075 CC=$ac_wine_try_cflags_saved_cc
10076 ac_exeext=$ac_wine_try_cflags_saved_exeext
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10079 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10080 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10081 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10084 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10085 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10086 $as_echo_n "(cached) " >&6
10087 else
10088 ac_wine_try_cflags_saved=$CFLAGS
10089 ac_wine_try_cflags_saved_cc=$CC
10090 ac_wine_try_cflags_saved_exeext=$ac_exeext
10091 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10092 CC="$CROSSCC"
10093 ac_exeext=".exe"
10094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10095 /* end confdefs.h. */
10096 int __cdecl mainCRTStartup(void) { return 0; }
10097 _ACEOF
10098 if ac_fn_c_try_link "$LINENO"; then :
10099 ac_cv_crosscflags__Wshift_overflow_2=yes
10100 else
10101 ac_cv_crosscflags__Wshift_overflow_2=no
10103 rm -f core conftest.err conftest.$ac_objext \
10104 conftest$ac_exeext conftest.$ac_ext
10105 CFLAGS=$ac_wine_try_cflags_saved
10106 CC=$ac_wine_try_cflags_saved_cc
10107 ac_exeext=$ac_wine_try_cflags_saved_exeext
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10110 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10111 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10112 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10115 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10116 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10117 $as_echo_n "(cached) " >&6
10118 else
10119 ac_wine_try_cflags_saved=$CFLAGS
10120 ac_wine_try_cflags_saved_cc=$CC
10121 ac_wine_try_cflags_saved_exeext=$ac_exeext
10122 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10123 CC="$CROSSCC"
10124 ac_exeext=".exe"
10125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10127 int __cdecl mainCRTStartup(void) { return 0; }
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 ac_cv_crosscflags__Wstrict_prototypes=yes
10131 else
10132 ac_cv_crosscflags__Wstrict_prototypes=no
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 CFLAGS=$ac_wine_try_cflags_saved
10137 CC=$ac_wine_try_cflags_saved_cc
10138 ac_exeext=$ac_wine_try_cflags_saved_exeext
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10141 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10142 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10143 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10146 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10147 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10148 $as_echo_n "(cached) " >&6
10149 else
10150 ac_wine_try_cflags_saved=$CFLAGS
10151 ac_wine_try_cflags_saved_cc=$CC
10152 ac_wine_try_cflags_saved_exeext=$ac_exeext
10153 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10154 CC="$CROSSCC"
10155 ac_exeext=".exe"
10156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10157 /* end confdefs.h. */
10158 int __cdecl mainCRTStartup(void) { return 0; }
10159 _ACEOF
10160 if ac_fn_c_try_link "$LINENO"; then :
10161 ac_cv_crosscflags__Wtype_limits=yes
10162 else
10163 ac_cv_crosscflags__Wtype_limits=no
10165 rm -f core conftest.err conftest.$ac_objext \
10166 conftest$ac_exeext conftest.$ac_ext
10167 CFLAGS=$ac_wine_try_cflags_saved
10168 CC=$ac_wine_try_cflags_saved_cc
10169 ac_exeext=$ac_wine_try_cflags_saved_exeext
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10172 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10173 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10174 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10177 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10178 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10179 $as_echo_n "(cached) " >&6
10180 else
10181 ac_wine_try_cflags_saved=$CFLAGS
10182 ac_wine_try_cflags_saved_cc=$CC
10183 ac_wine_try_cflags_saved_exeext=$ac_exeext
10184 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10185 CC="$CROSSCC"
10186 ac_exeext=".exe"
10187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10189 int __cdecl mainCRTStartup(void) { return 0; }
10190 _ACEOF
10191 if ac_fn_c_try_link "$LINENO"; then :
10192 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10193 else
10194 ac_cv_crosscflags__Wunused_but_set_parameter=no
10196 rm -f core conftest.err conftest.$ac_objext \
10197 conftest$ac_exeext conftest.$ac_ext
10198 CFLAGS=$ac_wine_try_cflags_saved
10199 CC=$ac_wine_try_cflags_saved_cc
10200 ac_exeext=$ac_wine_try_cflags_saved_exeext
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10203 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10204 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10205 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10208 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10209 if ${ac_cv_crosscflags__Wvla+:} false; then :
10210 $as_echo_n "(cached) " >&6
10211 else
10212 ac_wine_try_cflags_saved=$CFLAGS
10213 ac_wine_try_cflags_saved_cc=$CC
10214 ac_wine_try_cflags_saved_exeext=$ac_exeext
10215 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10216 CC="$CROSSCC"
10217 ac_exeext=".exe"
10218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10219 /* end confdefs.h. */
10220 int __cdecl mainCRTStartup(void) { return 0; }
10221 _ACEOF
10222 if ac_fn_c_try_link "$LINENO"; then :
10223 ac_cv_crosscflags__Wvla=yes
10224 else
10225 ac_cv_crosscflags__Wvla=no
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 CFLAGS=$ac_wine_try_cflags_saved
10230 CC=$ac_wine_try_cflags_saved_cc
10231 ac_exeext=$ac_wine_try_cflags_saved_exeext
10233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10234 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10235 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10236 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10239 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10240 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10241 $as_echo_n "(cached) " >&6
10242 else
10243 ac_wine_try_cflags_saved=$CFLAGS
10244 ac_wine_try_cflags_saved_cc=$CC
10245 ac_wine_try_cflags_saved_exeext=$ac_exeext
10246 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10247 CC="$CROSSCC"
10248 ac_exeext=".exe"
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10251 int __cdecl mainCRTStartup(void) { return 0; }
10252 _ACEOF
10253 if ac_fn_c_try_link "$LINENO"; then :
10254 ac_cv_crosscflags__Wwrite_strings=yes
10255 else
10256 ac_cv_crosscflags__Wwrite_strings=no
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 CFLAGS=$ac_wine_try_cflags_saved
10261 CC=$ac_wine_try_cflags_saved_cc
10262 ac_exeext=$ac_wine_try_cflags_saved_exeext
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10265 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10266 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10267 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10270 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10271 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10272 $as_echo_n "(cached) " >&6
10273 else
10274 ac_wine_try_cflags_saved=$CFLAGS
10275 ac_wine_try_cflags_saved_cc=$CC
10276 ac_wine_try_cflags_saved_exeext=$ac_exeext
10277 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10278 CC="$CROSSCC"
10279 ac_exeext=".exe"
10280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10281 /* end confdefs.h. */
10282 int __cdecl mainCRTStartup(void) { return 0; }
10283 _ACEOF
10284 if ac_fn_c_try_link "$LINENO"; then :
10285 ac_cv_crosscflags__Wpointer_arith=yes
10286 else
10287 ac_cv_crosscflags__Wpointer_arith=no
10289 rm -f core conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10291 CFLAGS=$ac_wine_try_cflags_saved
10292 CC=$ac_wine_try_cflags_saved_cc
10293 ac_exeext=$ac_wine_try_cflags_saved_exeext
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10296 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10297 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10298 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10301 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10302 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10303 $as_echo_n "(cached) " >&6
10304 else
10305 ac_wine_try_cflags_saved=$CFLAGS
10306 ac_wine_try_cflags_saved_cc=$CC
10307 ac_wine_try_cflags_saved_exeext=$ac_exeext
10308 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10309 CC="$CROSSCC"
10310 ac_exeext=".exe"
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10313 int __cdecl mainCRTStartup(void) { return 0; }
10314 _ACEOF
10315 if ac_fn_c_try_link "$LINENO"; then :
10316 ac_cv_crosscflags__Wlogical_op=yes
10317 else
10318 ac_cv_crosscflags__Wlogical_op=no
10320 rm -f core conftest.err conftest.$ac_objext \
10321 conftest$ac_exeext conftest.$ac_ext
10322 CFLAGS=$ac_wine_try_cflags_saved
10323 CC=$ac_wine_try_cflags_saved_cc
10324 ac_exeext=$ac_wine_try_cflags_saved_exeext
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10327 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10328 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10329 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10332 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10333 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10334 $as_echo_n "(cached) " >&6
10335 else
10336 ac_wine_try_cflags_saved=$CFLAGS
10337 ac_wine_try_cflags_saved_cc=$CC
10338 ac_wine_try_cflags_saved_exeext=$ac_exeext
10339 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10340 CC="$CROSSCC"
10341 ac_exeext=".exe"
10342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10343 /* end confdefs.h. */
10344 int __cdecl mainCRTStartup(void) { return 0; }
10345 _ACEOF
10346 if ac_fn_c_try_link "$LINENO"; then :
10347 ac_cv_crosscflags__Wabsolute_value=yes
10348 else
10349 ac_cv_crosscflags__Wabsolute_value=no
10351 rm -f core conftest.err conftest.$ac_objext \
10352 conftest$ac_exeext conftest.$ac_ext
10353 CFLAGS=$ac_wine_try_cflags_saved
10354 CC=$ac_wine_try_cflags_saved_cc
10355 ac_exeext=$ac_wine_try_cflags_saved_exeext
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10358 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10359 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10360 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10363 case $host_cpu in
10364 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10365 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10366 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10367 $as_echo_n "(cached) " >&6
10368 else
10369 ac_wine_try_cflags_saved=$CFLAGS
10370 ac_wine_try_cflags_saved_cc=$CC
10371 ac_wine_try_cflags_saved_exeext=$ac_exeext
10372 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10373 CC="$CROSSCC"
10374 ac_exeext=".exe"
10375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10377 int __cdecl mainCRTStartup(void) { return 0; }
10378 _ACEOF
10379 if ac_fn_c_try_link "$LINENO"; then :
10380 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10381 else
10382 ac_cv_crosscflags__fno_omit_frame_pointer=no
10384 rm -f core conftest.err conftest.$ac_objext \
10385 conftest$ac_exeext conftest.$ac_ext
10386 CFLAGS=$ac_wine_try_cflags_saved
10387 CC=$ac_wine_try_cflags_saved_cc
10388 ac_exeext=$ac_wine_try_cflags_saved_exeext
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10391 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10392 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10393 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10394 fi ;;
10395 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10396 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10397 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10398 $as_echo_n "(cached) " >&6
10399 else
10400 ac_wine_try_cflags_saved=$CFLAGS
10401 ac_wine_try_cflags_saved_cc=$CC
10402 ac_wine_try_cflags_saved_exeext=$ac_exeext
10403 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10404 CC="$CROSSCC"
10405 ac_exeext=".exe"
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10408 int __cdecl mainCRTStartup(void) { return 0; }
10409 _ACEOF
10410 if ac_fn_c_try_link "$LINENO"; then :
10411 ac_cv_crosscflags__Wno_format=yes
10412 else
10413 ac_cv_crosscflags__Wno_format=no
10415 rm -f core conftest.err conftest.$ac_objext \
10416 conftest$ac_exeext conftest.$ac_ext
10417 CFLAGS=$ac_wine_try_cflags_saved
10418 CC=$ac_wine_try_cflags_saved_cc
10419 ac_exeext=$ac_wine_try_cflags_saved_exeext
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10422 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10423 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10424 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10427 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10428 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10429 $as_echo_n "(cached) " >&6
10430 else
10431 ac_wine_try_cflags_saved=$CFLAGS
10432 ac_wine_try_cflags_saved_cc=$CC
10433 ac_wine_try_cflags_saved_exeext=$ac_exeext
10434 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10435 CC="$CROSSCC"
10436 ac_exeext=".exe"
10437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10438 /* end confdefs.h. */
10439 int __cdecl mainCRTStartup(void) { return 0; }
10440 _ACEOF
10441 if ac_fn_c_try_link "$LINENO"; then :
10442 ac_cv_crosscflags__Wformat_overflow=yes
10443 else
10444 ac_cv_crosscflags__Wformat_overflow=no
10446 rm -f core conftest.err conftest.$ac_objext \
10447 conftest$ac_exeext conftest.$ac_ext
10448 CFLAGS=$ac_wine_try_cflags_saved
10449 CC=$ac_wine_try_cflags_saved_cc
10450 ac_exeext=$ac_wine_try_cflags_saved_exeext
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10453 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10454 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10455 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10458 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10459 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10460 $as_echo_n "(cached) " >&6
10461 else
10462 ac_wine_try_cflags_saved=$CFLAGS
10463 ac_wine_try_cflags_saved_cc=$CC
10464 ac_wine_try_cflags_saved_exeext=$ac_exeext
10465 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10466 CC="$CROSSCC"
10467 ac_exeext=".exe"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10470 int __cdecl mainCRTStartup(void) { return 0; }
10471 _ACEOF
10472 if ac_fn_c_try_link "$LINENO"; then :
10473 ac_cv_crosscflags__Wnonnull=yes
10474 else
10475 ac_cv_crosscflags__Wnonnull=no
10477 rm -f core conftest.err conftest.$ac_objext \
10478 conftest$ac_exeext conftest.$ac_ext
10479 CFLAGS=$ac_wine_try_cflags_saved
10480 CC=$ac_wine_try_cflags_saved_cc
10481 ac_exeext=$ac_wine_try_cflags_saved_exeext
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10484 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10485 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10486 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10489 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10490 if ${ac_cv_crosscflags__mcx16+:} false; then :
10491 $as_echo_n "(cached) " >&6
10492 else
10493 ac_wine_try_cflags_saved=$CFLAGS
10494 ac_wine_try_cflags_saved_cc=$CC
10495 ac_wine_try_cflags_saved_exeext=$ac_exeext
10496 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10497 CC="$CROSSCC"
10498 ac_exeext=".exe"
10499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10500 /* end confdefs.h. */
10501 int __cdecl mainCRTStartup(void) { return 0; }
10502 _ACEOF
10503 if ac_fn_c_try_link "$LINENO"; then :
10504 ac_cv_crosscflags__mcx16=yes
10505 else
10506 ac_cv_crosscflags__mcx16=no
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 CFLAGS=$ac_wine_try_cflags_saved
10511 CC=$ac_wine_try_cflags_saved_cc
10512 ac_exeext=$ac_wine_try_cflags_saved_exeext
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10515 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10516 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10517 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10518 fi ;;
10519 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10520 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10521 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10522 $as_echo_n "(cached) " >&6
10523 else
10524 ac_wine_try_cflags_saved=$CFLAGS
10525 ac_wine_try_cflags_saved_cc=$CC
10526 ac_wine_try_cflags_saved_exeext=$ac_exeext
10527 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10528 CC="$CROSSCC"
10529 ac_exeext=".exe"
10530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10531 /* end confdefs.h. */
10532 int __cdecl mainCRTStartup(void) { return 0; }
10533 _ACEOF
10534 if ac_fn_c_try_link "$LINENO"; then :
10535 ac_cv_crosscflags__Wno_format=yes
10536 else
10537 ac_cv_crosscflags__Wno_format=no
10539 rm -f core conftest.err conftest.$ac_objext \
10540 conftest$ac_exeext conftest.$ac_ext
10541 CFLAGS=$ac_wine_try_cflags_saved
10542 CC=$ac_wine_try_cflags_saved_cc
10543 ac_exeext=$ac_wine_try_cflags_saved_exeext
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10546 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10547 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10548 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10549 fi ;;
10550 esac
10553 if test -z "$CROSSDEBUG"
10554 then
10555 for ac_flag in $CROSSCFLAGS; do
10556 case $ac_flag in
10557 -gdwarf*) CROSSDEBUG=dwarf ;;
10558 -gcodeview) CROSSDEBUG=pdb ;;
10559 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10560 esac
10561 done
10563 case $CROSSDEBUG in
10564 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10565 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10566 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10567 $as_echo_n "(cached) " >&6
10568 else
10569 ac_wine_try_cflags_saved=$CFLAGS
10570 ac_wine_try_cflags_saved_cc=$CC
10571 ac_wine_try_cflags_saved_exeext=$ac_exeext
10572 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10573 CC="$CROSSCC"
10574 ac_exeext=".exe"
10575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h. */
10577 int __cdecl mainCRTStartup(void) { return 0; }
10578 _ACEOF
10579 if ac_fn_c_try_link "$LINENO"; then :
10580 ac_cv_crosscflags__gdwarf_2=yes
10581 else
10582 ac_cv_crosscflags__gdwarf_2=no
10584 rm -f core conftest.err conftest.$ac_objext \
10585 conftest$ac_exeext conftest.$ac_ext
10586 CFLAGS=$ac_wine_try_cflags_saved
10587 CC=$ac_wine_try_cflags_saved_cc
10588 ac_exeext=$ac_wine_try_cflags_saved_exeext
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10591 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10592 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10593 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10596 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10597 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10598 $as_echo_n "(cached) " >&6
10599 else
10600 ac_wine_try_cflags_saved=$CFLAGS
10601 ac_wine_try_cflags_saved_cc=$CC
10602 ac_wine_try_cflags_saved_exeext=$ac_exeext
10603 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10604 CC="$CROSSCC"
10605 ac_exeext=".exe"
10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10607 /* end confdefs.h. */
10608 int __cdecl mainCRTStartup(void) { return 0; }
10609 _ACEOF
10610 if ac_fn_c_try_link "$LINENO"; then :
10611 ac_cv_crosscflags__gstrict_dwarf=yes
10612 else
10613 ac_cv_crosscflags__gstrict_dwarf=no
10615 rm -f core conftest.err conftest.$ac_objext \
10616 conftest$ac_exeext conftest.$ac_ext
10617 CFLAGS=$ac_wine_try_cflags_saved
10618 CC=$ac_wine_try_cflags_saved_cc
10619 ac_exeext=$ac_wine_try_cflags_saved_exeext
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10622 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10623 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10624 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10625 fi ;;
10626 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10627 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10628 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10629 $as_echo_n "(cached) " >&6
10630 else
10631 ac_wine_try_cflags_saved=$CFLAGS
10632 ac_wine_try_cflags_saved_cc=$CC
10633 ac_wine_try_cflags_saved_exeext=$ac_exeext
10634 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10635 CC="$CROSSCC"
10636 ac_exeext=".exe"
10637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10638 /* end confdefs.h. */
10639 int __cdecl mainCRTStartup(void) { return 0; }
10640 _ACEOF
10641 if ac_fn_c_try_link "$LINENO"; then :
10642 ac_cv_crosscflags__gcodeview=yes
10643 else
10644 ac_cv_crosscflags__gcodeview=no
10646 rm -f core conftest.err conftest.$ac_objext \
10647 conftest$ac_exeext conftest.$ac_ext
10648 CFLAGS=$ac_wine_try_cflags_saved
10649 CC=$ac_wine_try_cflags_saved_cc
10650 ac_exeext=$ac_wine_try_cflags_saved_exeext
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10653 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10654 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10655 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10656 fi ;;
10657 esac
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10660 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10661 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10662 $as_echo_n "(cached) " >&6
10663 else
10664 ac_wine_try_cflags_saved=$CFLAGS
10665 ac_wine_try_cflags_saved_cc=$CC
10666 ac_wine_try_cflags_saved_exeext=$ac_exeext
10667 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10668 CC="$CROSSCC"
10669 ac_exeext=".exe"
10670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10671 /* end confdefs.h. */
10672 int __cdecl mainCRTStartup(void) { return 0; }
10673 _ACEOF
10674 if ac_fn_c_try_link "$LINENO"; then :
10675 ac_cv_crosscflags__fexcess_precision_standard=yes
10676 else
10677 ac_cv_crosscflags__fexcess_precision_standard=no
10679 rm -f core conftest.err conftest.$ac_objext \
10680 conftest$ac_exeext conftest.$ac_ext
10681 CFLAGS=$ac_wine_try_cflags_saved
10682 CC=$ac_wine_try_cflags_saved_cc
10683 ac_exeext=$ac_wine_try_cflags_saved_exeext
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10686 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10687 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10688 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10692 if test "x$enable_werror" = "xyes"
10693 then
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10695 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10696 if ${ac_cv_crosscflags__Werror+:} false; then :
10697 $as_echo_n "(cached) " >&6
10698 else
10699 ac_wine_try_cflags_saved=$CFLAGS
10700 ac_wine_try_cflags_saved_cc=$CC
10701 ac_wine_try_cflags_saved_exeext=$ac_exeext
10702 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10703 CC="$CROSSCC"
10704 ac_exeext=".exe"
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 int __cdecl mainCRTStartup(void) { return 0; }
10708 _ACEOF
10709 if ac_fn_c_try_link "$LINENO"; then :
10710 ac_cv_crosscflags__Werror=yes
10711 else
10712 ac_cv_crosscflags__Werror=no
10714 rm -f core conftest.err conftest.$ac_objext \
10715 conftest$ac_exeext conftest.$ac_ext
10716 CFLAGS=$ac_wine_try_cflags_saved
10717 CC=$ac_wine_try_cflags_saved_cc
10718 ac_exeext=$ac_wine_try_cflags_saved_exeext
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10721 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10722 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10723 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10726 if test "x$enable_build_id" = "xyes"
10727 then
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10729 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10730 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10731 $as_echo_n "(cached) " >&6
10732 else
10733 ac_wine_try_cflags_saved=$CFLAGS
10734 ac_wine_try_cflags_saved_cc=$CC
10735 ac_wine_try_cflags_saved_exeext=$ac_exeext
10736 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10737 CC="$CROSSCC"
10738 ac_exeext=".exe"
10739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10740 /* end confdefs.h. */
10741 int __cdecl mainCRTStartup(void) { return 0; }
10742 _ACEOF
10743 if ac_fn_c_try_link "$LINENO"; then :
10744 ac_cv_crosscflags__Wl___build_id=yes
10745 else
10746 ac_cv_crosscflags__Wl___build_id=no
10748 rm -f core conftest.err conftest.$ac_objext \
10749 conftest$ac_exeext conftest.$ac_ext
10750 CFLAGS=$ac_wine_try_cflags_saved
10751 CC=$ac_wine_try_cflags_saved_cc
10752 ac_exeext=$ac_wine_try_cflags_saved_exeext
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10755 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10756 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10757 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10758 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10762 CFLAGS=$saved_CFLAGS
10763 CC="$ac_save_CC"
10766 if test "x$CROSSTARGET" = "x"; then :
10767 case "x$with_mingw" in
10768 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10769 xno) ;;
10770 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10771 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10772 esac
10777 if test "$ac_cv_header_pthread_h" = "yes"
10778 then
10779 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10780 if test "x$ac_cv_func_pthread_create" = xyes; then :
10782 else
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10784 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10785 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10786 $as_echo_n "(cached) " >&6
10787 else
10788 ac_check_lib_save_LIBS=$LIBS
10789 LIBS="-lpthread $LIBS"
10790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10791 /* end confdefs.h. */
10793 /* Override any GCC internal prototype to avoid an error.
10794 Use char because int might match the return type of a GCC
10795 builtin and then its argument prototype would still apply. */
10796 #ifdef __cplusplus
10797 extern "C"
10798 #endif
10799 char pthread_create ();
10801 main ()
10803 return pthread_create ();
10805 return 0;
10807 _ACEOF
10808 if ac_fn_c_try_link "$LINENO"; then :
10809 ac_cv_lib_pthread_pthread_create=yes
10810 else
10811 ac_cv_lib_pthread_pthread_create=no
10813 rm -f core conftest.err conftest.$ac_objext \
10814 conftest$ac_exeext conftest.$ac_ext
10815 LIBS=$ac_check_lib_save_LIBS
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10818 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10819 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10820 PTHREAD_LIBS="-lpthread"
10827 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10828 case "x$with_pthread" in
10829 xno) ;;
10830 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10831 Wine cannot support threads without libpthread.
10832 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10833 esac
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10839 $as_echo_n "checking for X... " >&6; }
10842 # Check whether --with-x was given.
10843 if test "${with_x+set}" = set; then :
10844 withval=$with_x;
10847 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10848 if test "x$with_x" = xno; then
10849 # The user explicitly disabled X.
10850 have_x=disabled
10851 else
10852 case $x_includes,$x_libraries in #(
10853 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10854 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10855 $as_echo_n "(cached) " >&6
10856 else
10857 # One or both of the vars are not set, and there is no cached value.
10858 ac_x_includes=no ac_x_libraries=no
10859 rm -f -r conftest.dir
10860 if mkdir conftest.dir; then
10861 cd conftest.dir
10862 cat >Imakefile <<'_ACEOF'
10863 incroot:
10864 @echo incroot='${INCROOT}'
10865 usrlibdir:
10866 @echo usrlibdir='${USRLIBDIR}'
10867 libdir:
10868 @echo libdir='${LIBDIR}'
10869 _ACEOF
10870 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10871 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10872 for ac_var in incroot usrlibdir libdir; do
10873 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10874 done
10875 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10876 for ac_extension in a so sl dylib la dll; do
10877 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10878 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10879 ac_im_usrlibdir=$ac_im_libdir; break
10881 done
10882 # Screen out bogus values from the imake configuration. They are
10883 # bogus both because they are the default anyway, and because
10884 # using them would break gcc on systems where it needs fixed includes.
10885 case $ac_im_incroot in
10886 /usr/include) ac_x_includes= ;;
10887 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10888 esac
10889 case $ac_im_usrlibdir in
10890 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10891 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10892 esac
10894 cd ..
10895 rm -f -r conftest.dir
10898 # Standard set of common directories for X headers.
10899 # Check X11 before X11Rn because it is often a symlink to the current release.
10900 ac_x_header_dirs='
10901 /usr/X11/include
10902 /usr/X11R7/include
10903 /usr/X11R6/include
10904 /usr/X11R5/include
10905 /usr/X11R4/include
10907 /usr/include/X11
10908 /usr/include/X11R7
10909 /usr/include/X11R6
10910 /usr/include/X11R5
10911 /usr/include/X11R4
10913 /usr/local/X11/include
10914 /usr/local/X11R7/include
10915 /usr/local/X11R6/include
10916 /usr/local/X11R5/include
10917 /usr/local/X11R4/include
10919 /usr/local/include/X11
10920 /usr/local/include/X11R7
10921 /usr/local/include/X11R6
10922 /usr/local/include/X11R5
10923 /usr/local/include/X11R4
10925 /usr/X386/include
10926 /usr/x386/include
10927 /usr/XFree86/include/X11
10929 /usr/include
10930 /usr/local/include
10931 /usr/unsupported/include
10932 /usr/athena/include
10933 /usr/local/x11r5/include
10934 /usr/lpp/Xamples/include
10936 /usr/openwin/include
10937 /usr/openwin/share/include'
10939 if test "$ac_x_includes" = no; then
10940 # Guess where to find include files, by looking for Xlib.h.
10941 # First, try using that file with no special directory specified.
10942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10943 /* end confdefs.h. */
10944 #include <X11/Xlib.h>
10945 _ACEOF
10946 if ac_fn_c_try_cpp "$LINENO"; then :
10947 # We can compile using X headers with no special include directory.
10948 ac_x_includes=
10949 else
10950 for ac_dir in $ac_x_header_dirs; do
10951 if test -r "$ac_dir/X11/Xlib.h"; then
10952 ac_x_includes=$ac_dir
10953 break
10955 done
10957 rm -f conftest.err conftest.i conftest.$ac_ext
10958 fi # $ac_x_includes = no
10960 if test "$ac_x_libraries" = no; then
10961 # Check for the libraries.
10962 # See if we find them without any special options.
10963 # Don't add to $LIBS permanently.
10964 ac_save_LIBS=$LIBS
10965 LIBS="-lX11 $LIBS"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10968 #include <X11/Xlib.h>
10970 main ()
10972 XrmInitialize ()
10974 return 0;
10976 _ACEOF
10977 if ac_fn_c_try_link "$LINENO"; then :
10978 LIBS=$ac_save_LIBS
10979 # We can link X programs with no special library path.
10980 ac_x_libraries=
10981 else
10982 LIBS=$ac_save_LIBS
10983 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10985 # Don't even attempt the hair of trying to link an X program!
10986 for ac_extension in a so sl dylib la dll; do
10987 if test -r "$ac_dir/libX11.$ac_extension"; then
10988 ac_x_libraries=$ac_dir
10989 break 2
10991 done
10992 done
10994 rm -f core conftest.err conftest.$ac_objext \
10995 conftest$ac_exeext conftest.$ac_ext
10996 fi # $ac_x_libraries = no
10998 case $ac_x_includes,$ac_x_libraries in #(
10999 no,* | *,no | *\'*)
11000 # Didn't find X, or a directory has "'" in its name.
11001 ac_cv_have_x="have_x=no";; #(
11003 # Record where we found X for the cache.
11004 ac_cv_have_x="have_x=yes\
11005 ac_x_includes='$ac_x_includes'\
11006 ac_x_libraries='$ac_x_libraries'"
11007 esac
11009 ;; #(
11010 *) have_x=yes;;
11011 esac
11012 eval "$ac_cv_have_x"
11013 fi # $with_x != no
11015 if test "$have_x" != yes; then
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11017 $as_echo "$have_x" >&6; }
11018 no_x=yes
11019 else
11020 # If each of the values was on the command line, it overrides each guess.
11021 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11022 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11023 # Update the cache value to reflect the command line values.
11024 ac_cv_have_x="have_x=yes\
11025 ac_x_includes='$x_includes'\
11026 ac_x_libraries='$x_libraries'"
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11028 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11031 if test "$no_x" = yes; then
11032 # Not all programs may use this symbol, but it does not hurt to define it.
11034 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11036 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11037 else
11038 if test -n "$x_includes"; then
11039 X_CFLAGS="$X_CFLAGS -I$x_includes"
11042 # It would also be nice to do this for all -L options, not just this one.
11043 if test -n "$x_libraries"; then
11044 X_LIBS="$X_LIBS -L$x_libraries"
11045 # For Solaris; some versions of Sun CC require a space after -R and
11046 # others require no space. Words are not sufficient . . . .
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11048 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11049 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11050 ac_xsave_c_werror_flag=$ac_c_werror_flag
11051 ac_c_werror_flag=yes
11052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11056 main ()
11060 return 0;
11062 _ACEOF
11063 if ac_fn_c_try_link "$LINENO"; then :
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11065 $as_echo "no" >&6; }
11066 X_LIBS="$X_LIBS -R$x_libraries"
11067 else
11068 LIBS="$ac_xsave_LIBS -R $x_libraries"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11073 main ()
11077 return 0;
11079 _ACEOF
11080 if ac_fn_c_try_link "$LINENO"; then :
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11082 $as_echo "yes" >&6; }
11083 X_LIBS="$X_LIBS -R $x_libraries"
11084 else
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11086 $as_echo "neither works" >&6; }
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11091 rm -f core conftest.err conftest.$ac_objext \
11092 conftest$ac_exeext conftest.$ac_ext
11093 ac_c_werror_flag=$ac_xsave_c_werror_flag
11094 LIBS=$ac_xsave_LIBS
11097 # Check for system-dependent libraries X programs must link with.
11098 # Do this before checking for the system-independent R6 libraries
11099 # (-lICE), since we may need -lsocket or whatever for X linking.
11101 if test "$ISC" = yes; then
11102 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11103 else
11104 # Martyn Johnson says this is needed for Ultrix, if the X
11105 # libraries were built with DECnet support. And Karl Berry says
11106 # the Alpha needs dnet_stub (dnet does not exist).
11107 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11114 #ifdef __cplusplus
11115 extern "C"
11116 #endif
11117 char XOpenDisplay ();
11119 main ()
11121 return XOpenDisplay ();
11123 return 0;
11125 _ACEOF
11126 if ac_fn_c_try_link "$LINENO"; then :
11128 else
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11130 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11131 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11132 $as_echo_n "(cached) " >&6
11133 else
11134 ac_check_lib_save_LIBS=$LIBS
11135 LIBS="-ldnet $LIBS"
11136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11137 /* end confdefs.h. */
11139 /* Override any GCC internal prototype to avoid an error.
11140 Use char because int might match the return type of a GCC
11141 builtin and then its argument prototype would still apply. */
11142 #ifdef __cplusplus
11143 extern "C"
11144 #endif
11145 char dnet_ntoa ();
11147 main ()
11149 return dnet_ntoa ();
11151 return 0;
11153 _ACEOF
11154 if ac_fn_c_try_link "$LINENO"; then :
11155 ac_cv_lib_dnet_dnet_ntoa=yes
11156 else
11157 ac_cv_lib_dnet_dnet_ntoa=no
11159 rm -f core conftest.err conftest.$ac_objext \
11160 conftest$ac_exeext conftest.$ac_ext
11161 LIBS=$ac_check_lib_save_LIBS
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11164 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11165 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11166 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11169 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11171 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11172 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11173 $as_echo_n "(cached) " >&6
11174 else
11175 ac_check_lib_save_LIBS=$LIBS
11176 LIBS="-ldnet_stub $LIBS"
11177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178 /* end confdefs.h. */
11180 /* Override any GCC internal prototype to avoid an error.
11181 Use char because int might match the return type of a GCC
11182 builtin and then its argument prototype would still apply. */
11183 #ifdef __cplusplus
11184 extern "C"
11185 #endif
11186 char dnet_ntoa ();
11188 main ()
11190 return dnet_ntoa ();
11192 return 0;
11194 _ACEOF
11195 if ac_fn_c_try_link "$LINENO"; then :
11196 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11197 else
11198 ac_cv_lib_dnet_stub_dnet_ntoa=no
11200 rm -f core conftest.err conftest.$ac_objext \
11201 conftest$ac_exeext conftest.$ac_ext
11202 LIBS=$ac_check_lib_save_LIBS
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11205 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11206 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11207 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11212 rm -f core conftest.err conftest.$ac_objext \
11213 conftest$ac_exeext conftest.$ac_ext
11214 LIBS="$ac_xsave_LIBS"
11216 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11217 # to get the SysV transport functions.
11218 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11219 # needs -lnsl.
11220 # The nsl library prevents programs from opening the X display
11221 # on Irix 5.2, according to T.E. Dickey.
11222 # The functions gethostbyname, getservbyname, and inet_addr are
11223 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11224 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11225 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11229 if test $ac_cv_func_gethostbyname = no; then
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11231 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11232 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11233 $as_echo_n "(cached) " >&6
11234 else
11235 ac_check_lib_save_LIBS=$LIBS
11236 LIBS="-lnsl $LIBS"
11237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238 /* end confdefs.h. */
11240 /* Override any GCC internal prototype to avoid an error.
11241 Use char because int might match the return type of a GCC
11242 builtin and then its argument prototype would still apply. */
11243 #ifdef __cplusplus
11244 extern "C"
11245 #endif
11246 char gethostbyname ();
11248 main ()
11250 return gethostbyname ();
11252 return 0;
11254 _ACEOF
11255 if ac_fn_c_try_link "$LINENO"; then :
11256 ac_cv_lib_nsl_gethostbyname=yes
11257 else
11258 ac_cv_lib_nsl_gethostbyname=no
11260 rm -f core conftest.err conftest.$ac_objext \
11261 conftest$ac_exeext conftest.$ac_ext
11262 LIBS=$ac_check_lib_save_LIBS
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11265 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11266 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11267 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11270 if test $ac_cv_lib_nsl_gethostbyname = no; then
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11272 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11273 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11274 $as_echo_n "(cached) " >&6
11275 else
11276 ac_check_lib_save_LIBS=$LIBS
11277 LIBS="-lbsd $LIBS"
11278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11284 #ifdef __cplusplus
11285 extern "C"
11286 #endif
11287 char gethostbyname ();
11289 main ()
11291 return gethostbyname ();
11293 return 0;
11295 _ACEOF
11296 if ac_fn_c_try_link "$LINENO"; then :
11297 ac_cv_lib_bsd_gethostbyname=yes
11298 else
11299 ac_cv_lib_bsd_gethostbyname=no
11301 rm -f core conftest.err conftest.$ac_objext \
11302 conftest$ac_exeext conftest.$ac_ext
11303 LIBS=$ac_check_lib_save_LIBS
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11306 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11307 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11308 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11314 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11315 # socket/setsockopt and other routines are undefined under SCO ODT
11316 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11317 # on later versions), says Simon Leinen: it contains gethostby*
11318 # variants that don't use the name server (or something). -lsocket
11319 # must be given before -lnsl if both are needed. We assume that
11320 # if connect needs -lnsl, so does gethostbyname.
11321 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11322 if test "x$ac_cv_func_connect" = xyes; then :
11326 if test $ac_cv_func_connect = no; then
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11328 $as_echo_n "checking for connect in -lsocket... " >&6; }
11329 if ${ac_cv_lib_socket_connect+:} false; then :
11330 $as_echo_n "(cached) " >&6
11331 else
11332 ac_check_lib_save_LIBS=$LIBS
11333 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char connect ();
11345 main ()
11347 return connect ();
11349 return 0;
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 ac_cv_lib_socket_connect=yes
11354 else
11355 ac_cv_lib_socket_connect=no
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_lib_save_LIBS
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11362 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11363 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11364 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11369 # Guillermo Gomez says -lposix is necessary on A/UX.
11370 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11371 if test "x$ac_cv_func_remove" = xyes; then :
11375 if test $ac_cv_func_remove = no; then
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11377 $as_echo_n "checking for remove in -lposix... " >&6; }
11378 if ${ac_cv_lib_posix_remove+:} false; then :
11379 $as_echo_n "(cached) " >&6
11380 else
11381 ac_check_lib_save_LIBS=$LIBS
11382 LIBS="-lposix $LIBS"
11383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11384 /* end confdefs.h. */
11386 /* Override any GCC internal prototype to avoid an error.
11387 Use char because int might match the return type of a GCC
11388 builtin and then its argument prototype would still apply. */
11389 #ifdef __cplusplus
11390 extern "C"
11391 #endif
11392 char remove ();
11394 main ()
11396 return remove ();
11398 return 0;
11400 _ACEOF
11401 if ac_fn_c_try_link "$LINENO"; then :
11402 ac_cv_lib_posix_remove=yes
11403 else
11404 ac_cv_lib_posix_remove=no
11406 rm -f core conftest.err conftest.$ac_objext \
11407 conftest$ac_exeext conftest.$ac_ext
11408 LIBS=$ac_check_lib_save_LIBS
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11411 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11412 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11413 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11418 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11419 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11420 if test "x$ac_cv_func_shmat" = xyes; then :
11424 if test $ac_cv_func_shmat = no; then
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11426 $as_echo_n "checking for shmat in -lipc... " >&6; }
11427 if ${ac_cv_lib_ipc_shmat+:} false; then :
11428 $as_echo_n "(cached) " >&6
11429 else
11430 ac_check_lib_save_LIBS=$LIBS
11431 LIBS="-lipc $LIBS"
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11435 /* Override any GCC internal prototype to avoid an error.
11436 Use char because int might match the return type of a GCC
11437 builtin and then its argument prototype would still apply. */
11438 #ifdef __cplusplus
11439 extern "C"
11440 #endif
11441 char shmat ();
11443 main ()
11445 return shmat ();
11447 return 0;
11449 _ACEOF
11450 if ac_fn_c_try_link "$LINENO"; then :
11451 ac_cv_lib_ipc_shmat=yes
11452 else
11453 ac_cv_lib_ipc_shmat=no
11455 rm -f core conftest.err conftest.$ac_objext \
11456 conftest$ac_exeext conftest.$ac_ext
11457 LIBS=$ac_check_lib_save_LIBS
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11460 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11461 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11462 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11468 # Check for libraries that X11R6 Xt/Xaw programs need.
11469 ac_save_LDFLAGS=$LDFLAGS
11470 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11471 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11472 # check for ICE first), but we must link in the order -lSM -lICE or
11473 # we get undefined symbols. So assume we have SM if we have ICE.
11474 # These have to be linked with before -lX11, unlike the other
11475 # libraries we check for below, so use a different variable.
11476 # John Interrante, Karl Berry
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11478 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11479 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 ac_check_lib_save_LIBS=$LIBS
11483 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485 /* end confdefs.h. */
11487 /* Override any GCC internal prototype to avoid an error.
11488 Use char because int might match the return type of a GCC
11489 builtin and then its argument prototype would still apply. */
11490 #ifdef __cplusplus
11491 extern "C"
11492 #endif
11493 char IceConnectionNumber ();
11495 main ()
11497 return IceConnectionNumber ();
11499 return 0;
11501 _ACEOF
11502 if ac_fn_c_try_link "$LINENO"; then :
11503 ac_cv_lib_ICE_IceConnectionNumber=yes
11504 else
11505 ac_cv_lib_ICE_IceConnectionNumber=no
11507 rm -f core conftest.err conftest.$ac_objext \
11508 conftest$ac_exeext conftest.$ac_ext
11509 LIBS=$ac_check_lib_save_LIBS
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11512 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11513 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11514 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11517 LDFLAGS=$ac_save_LDFLAGS
11522 if test "$have_x" = "yes"
11523 then
11524 ac_save_CPPFLAGS="$CPPFLAGS"
11525 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11528 $as_echo_n "checking for -lX11... " >&6; }
11529 if ${ac_cv_lib_soname_X11+:} false; then :
11530 $as_echo_n "(cached) " >&6
11531 else
11532 ac_check_soname_save_LIBS=$LIBS
11533 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11540 #ifdef __cplusplus
11541 extern "C"
11542 #endif
11543 char XCreateWindow ();
11545 main ()
11547 return XCreateWindow ();
11549 return 0;
11551 _ACEOF
11552 if ac_fn_c_try_link "$LINENO"; then :
11553 case "$LIBEXT" in
11554 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11555 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'` ;;
11556 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11557 if ${ac_cv_lib_soname_X11:+false} :; then :
11558 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11559 fi ;;
11560 esac
11561 else
11562 ac_cv_lib_soname_X11=
11564 rm -f core conftest.err conftest.$ac_objext \
11565 conftest$ac_exeext conftest.$ac_ext
11566 LIBS=$ac_check_soname_save_LIBS
11568 if ${ac_cv_lib_soname_X11:+false} :; then :
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11570 $as_echo "not found" >&6; }
11572 else
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11574 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11576 cat >>confdefs.h <<_ACEOF
11577 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11578 _ACEOF
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11583 $as_echo_n "checking for -lXext... " >&6; }
11584 if ${ac_cv_lib_soname_Xext+:} false; then :
11585 $as_echo_n "(cached) " >&6
11586 else
11587 ac_check_soname_save_LIBS=$LIBS
11588 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590 /* end confdefs.h. */
11592 /* Override any GCC internal prototype to avoid an error.
11593 Use char because int might match the return type of a GCC
11594 builtin and then its argument prototype would still apply. */
11595 #ifdef __cplusplus
11596 extern "C"
11597 #endif
11598 char XextCreateExtension ();
11600 main ()
11602 return XextCreateExtension ();
11604 return 0;
11606 _ACEOF
11607 if ac_fn_c_try_link "$LINENO"; then :
11608 case "$LIBEXT" in
11609 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11610 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'` ;;
11611 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11612 if ${ac_cv_lib_soname_Xext:+false} :; then :
11613 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11614 fi ;;
11615 esac
11616 else
11617 ac_cv_lib_soname_Xext=
11619 rm -f core conftest.err conftest.$ac_objext \
11620 conftest$ac_exeext conftest.$ac_ext
11621 LIBS=$ac_check_soname_save_LIBS
11623 if ${ac_cv_lib_soname_Xext:+false} :; then :
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11625 $as_echo "not found" >&6; }
11627 else
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11629 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11631 cat >>confdefs.h <<_ACEOF
11632 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11633 _ACEOF
11635 X_LIBS="$X_LIBS -lXext"
11637 X_LIBS="$X_LIBS -lX11"
11639 for ac_header in X11/Xlib.h \
11640 X11/XKBlib.h \
11641 X11/Xutil.h \
11642 X11/Xcursor/Xcursor.h \
11643 X11/extensions/shape.h \
11644 X11/extensions/XInput.h \
11645 X11/extensions/XInput2.h \
11646 X11/extensions/XShm.h \
11647 X11/extensions/Xcomposite.h \
11648 X11/extensions/Xfixes.h \
11649 X11/extensions/Xinerama.h \
11650 X11/extensions/Xrandr.h \
11651 X11/extensions/Xrender.h \
11652 X11/extensions/xf86vmode.h \
11653 X11/extensions/xf86vmproto.h
11654 do :
11655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11656 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11657 # include <X11/Xlib.h>
11658 #endif
11659 #ifdef HAVE_X11_XUTIL_H
11660 # include <X11/Xutil.h>
11661 #endif
11663 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11664 cat >>confdefs.h <<_ACEOF
11665 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11666 _ACEOF
11670 done
11673 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11674 then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11676 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11677 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_lib_save_LIBS=$LIBS
11681 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11688 #ifdef __cplusplus
11689 extern "C"
11690 #endif
11691 char XkbQueryExtension ();
11693 main ()
11695 return XkbQueryExtension ();
11697 return 0;
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"; then :
11701 ac_cv_lib_X11_XkbQueryExtension=yes
11702 else
11703 ac_cv_lib_X11_XkbQueryExtension=no
11705 rm -f core conftest.err conftest.$ac_objext \
11706 conftest$ac_exeext conftest.$ac_ext
11707 LIBS=$ac_check_lib_save_LIBS
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11710 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11711 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11713 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11719 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11720 then
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11722 $as_echo_n "checking for -lXcursor... " >&6; }
11723 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11724 $as_echo_n "(cached) " >&6
11725 else
11726 ac_check_soname_save_LIBS=$LIBS
11727 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11734 #ifdef __cplusplus
11735 extern "C"
11736 #endif
11737 char XcursorImageLoadCursor ();
11739 main ()
11741 return XcursorImageLoadCursor ();
11743 return 0;
11745 _ACEOF
11746 if ac_fn_c_try_link "$LINENO"; then :
11747 case "$LIBEXT" in
11748 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11749 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'` ;;
11750 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11751 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11752 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11753 fi ;;
11754 esac
11755 else
11756 ac_cv_lib_soname_Xcursor=
11758 rm -f core conftest.err conftest.$ac_objext \
11759 conftest$ac_exeext conftest.$ac_ext
11760 LIBS=$ac_check_soname_save_LIBS
11762 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11764 $as_echo "not found" >&6; }
11766 else
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11768 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11770 cat >>confdefs.h <<_ACEOF
11771 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11772 _ACEOF
11777 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11778 case "x$with_xcursor" in
11779 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11780 xno) ;;
11781 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11782 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11783 esac
11787 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11788 then
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11790 $as_echo_n "checking for -lXi... " >&6; }
11791 if ${ac_cv_lib_soname_Xi+:} false; then :
11792 $as_echo_n "(cached) " >&6
11793 else
11794 ac_check_soname_save_LIBS=$LIBS
11795 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11797 /* end confdefs.h. */
11799 /* Override any GCC internal prototype to avoid an error.
11800 Use char because int might match the return type of a GCC
11801 builtin and then its argument prototype would still apply. */
11802 #ifdef __cplusplus
11803 extern "C"
11804 #endif
11805 char XOpenDevice ();
11807 main ()
11809 return XOpenDevice ();
11811 return 0;
11813 _ACEOF
11814 if ac_fn_c_try_link "$LINENO"; then :
11815 case "$LIBEXT" in
11816 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11817 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'` ;;
11818 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11819 if ${ac_cv_lib_soname_Xi:+false} :; then :
11820 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11821 fi ;;
11822 esac
11823 else
11824 ac_cv_lib_soname_Xi=
11826 rm -f core conftest.err conftest.$ac_objext \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_soname_save_LIBS
11830 if ${ac_cv_lib_soname_Xi:+false} :; then :
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11832 $as_echo "not found" >&6; }
11834 else
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11836 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11838 cat >>confdefs.h <<_ACEOF
11839 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11840 _ACEOF
11845 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11846 case "x$with_xinput" in
11847 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11848 xno) ;;
11849 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11850 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11851 esac
11855 if test "x$ac_cv_lib_soname_Xi" != x
11856 then
11857 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11858 case "x$with_xinput2" in
11859 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11860 xno) ;;
11861 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11862 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11863 esac
11868 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11869 then
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11871 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11872 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11873 $as_echo_n "(cached) " >&6
11874 else
11875 ac_check_lib_save_LIBS=$LIBS
11876 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11880 /* Override any GCC internal prototype to avoid an error.
11881 Use char because int might match the return type of a GCC
11882 builtin and then its argument prototype would still apply. */
11883 #ifdef __cplusplus
11884 extern "C"
11885 #endif
11886 char XShmQueryExtension ();
11888 main ()
11890 return XShmQueryExtension ();
11892 return 0;
11894 _ACEOF
11895 if ac_fn_c_try_link "$LINENO"; then :
11896 ac_cv_lib_Xext_XShmQueryExtension=yes
11897 else
11898 ac_cv_lib_Xext_XShmQueryExtension=no
11900 rm -f core conftest.err conftest.$ac_objext \
11901 conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_lib_save_LIBS
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11905 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11906 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11908 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11913 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11914 case "x$with_xshm" in
11915 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11916 xno) ;;
11917 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11918 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11919 esac
11923 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11924 then
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11926 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11927 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11928 $as_echo_n "(cached) " >&6
11929 else
11930 ac_check_lib_save_LIBS=$LIBS
11931 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11938 #ifdef __cplusplus
11939 extern "C"
11940 #endif
11941 char XShapeQueryExtension ();
11943 main ()
11945 return XShapeQueryExtension ();
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_link "$LINENO"; then :
11951 ac_cv_lib_Xext_XShapeQueryExtension=yes
11952 else
11953 ac_cv_lib_Xext_XShapeQueryExtension=no
11955 rm -f core conftest.err conftest.$ac_objext \
11956 conftest$ac_exeext conftest.$ac_ext
11957 LIBS=$ac_check_lib_save_LIBS
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11960 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11961 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11963 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11968 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11969 case "x$with_xshape" in
11970 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11971 xno) ;;
11972 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11973 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11974 esac
11978 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11979 then
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11981 $as_echo_n "checking for -lXxf86vm... " >&6; }
11982 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11983 $as_echo_n "(cached) " >&6
11984 else
11985 ac_check_soname_save_LIBS=$LIBS
11986 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h. */
11990 /* Override any GCC internal prototype to avoid an error.
11991 Use char because int might match the return type of a GCC
11992 builtin and then its argument prototype would still apply. */
11993 #ifdef __cplusplus
11994 extern "C"
11995 #endif
11996 char XF86VidModeQueryExtension ();
11998 main ()
12000 return XF86VidModeQueryExtension ();
12002 return 0;
12004 _ACEOF
12005 if ac_fn_c_try_link "$LINENO"; then :
12006 case "$LIBEXT" in
12007 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12008 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'` ;;
12009 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12010 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12011 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12012 fi ;;
12013 esac
12014 else
12015 ac_cv_lib_soname_Xxf86vm=
12017 rm -f core conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019 LIBS=$ac_check_soname_save_LIBS
12021 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12023 $as_echo "not found" >&6; }
12025 else
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12027 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12029 cat >>confdefs.h <<_ACEOF
12030 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12031 _ACEOF
12036 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12037 case "x$with_xxf86vm" in
12038 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12039 xno) ;;
12040 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12041 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12042 esac
12046 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12047 then
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12049 $as_echo_n "checking for -lXrender... " >&6; }
12050 if ${ac_cv_lib_soname_Xrender+:} false; then :
12051 $as_echo_n "(cached) " >&6
12052 else
12053 ac_check_soname_save_LIBS=$LIBS
12054 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12058 /* Override any GCC internal prototype to avoid an error.
12059 Use char because int might match the return type of a GCC
12060 builtin and then its argument prototype would still apply. */
12061 #ifdef __cplusplus
12062 extern "C"
12063 #endif
12064 char XRenderQueryExtension ();
12066 main ()
12068 return XRenderQueryExtension ();
12070 return 0;
12072 _ACEOF
12073 if ac_fn_c_try_link "$LINENO"; then :
12074 case "$LIBEXT" in
12075 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12076 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'` ;;
12077 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12078 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12079 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12080 fi ;;
12081 esac
12082 else
12083 ac_cv_lib_soname_Xrender=
12085 rm -f core conftest.err conftest.$ac_objext \
12086 conftest$ac_exeext conftest.$ac_ext
12087 LIBS=$ac_check_soname_save_LIBS
12089 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12091 $as_echo "not found" >&6; }
12093 else
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12095 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12097 cat >>confdefs.h <<_ACEOF
12098 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12099 _ACEOF
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12102 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12103 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_check_lib_save_LIBS=$LIBS
12107 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12111 /* Override any GCC internal prototype to avoid an error.
12112 Use char because int might match the return type of a GCC
12113 builtin and then its argument prototype would still apply. */
12114 #ifdef __cplusplus
12115 extern "C"
12116 #endif
12117 char XRenderSetPictureTransform ();
12119 main ()
12121 return XRenderSetPictureTransform ();
12123 return 0;
12125 _ACEOF
12126 if ac_fn_c_try_link "$LINENO"; then :
12127 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12128 else
12129 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12131 rm -f core conftest.err conftest.$ac_objext \
12132 conftest$ac_exeext conftest.$ac_ext
12133 LIBS=$ac_check_lib_save_LIBS
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12136 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12137 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12139 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12144 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12145 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12146 $as_echo_n "(cached) " >&6
12147 else
12148 ac_check_lib_save_LIBS=$LIBS
12149 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12156 #ifdef __cplusplus
12157 extern "C"
12158 #endif
12159 char XRenderCreateLinearGradient ();
12161 main ()
12163 return XRenderCreateLinearGradient ();
12165 return 0;
12167 _ACEOF
12168 if ac_fn_c_try_link "$LINENO"; then :
12169 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12170 else
12171 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12173 rm -f core conftest.err conftest.$ac_objext \
12174 conftest$ac_exeext conftest.$ac_ext
12175 LIBS=$ac_check_lib_save_LIBS
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12178 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12179 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12181 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12188 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12189 case "x$with_xrender" in
12190 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12191 xno) ;;
12192 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12193 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12194 esac
12198 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12199 then
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12202 #include <X11/Xlib.h>
12203 #include <X11/extensions/Xrandr.h>
12205 main ()
12207 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12209 return 0;
12211 _ACEOF
12212 if ac_fn_c_try_compile "$LINENO"; then :
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12214 $as_echo_n "checking for -lXrandr... " >&6; }
12215 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12216 $as_echo_n "(cached) " >&6
12217 else
12218 ac_check_soname_save_LIBS=$LIBS
12219 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12223 /* Override any GCC internal prototype to avoid an error.
12224 Use char because int might match the return type of a GCC
12225 builtin and then its argument prototype would still apply. */
12226 #ifdef __cplusplus
12227 extern "C"
12228 #endif
12229 char XRRQueryExtension ();
12231 main ()
12233 return XRRQueryExtension ();
12235 return 0;
12237 _ACEOF
12238 if ac_fn_c_try_link "$LINENO"; then :
12239 case "$LIBEXT" in
12240 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12241 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'` ;;
12242 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12243 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12244 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12245 fi ;;
12246 esac
12247 else
12248 ac_cv_lib_soname_Xrandr=
12250 rm -f core conftest.err conftest.$ac_objext \
12251 conftest$ac_exeext conftest.$ac_ext
12252 LIBS=$ac_check_soname_save_LIBS
12254 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12256 $as_echo "not found" >&6; }
12258 else
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12260 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12262 cat >>confdefs.h <<_ACEOF
12263 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12264 _ACEOF
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h. */
12268 #include <X11/Xlib.h>
12269 #include <X11/extensions/Xrandr.h>
12271 main ()
12273 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12275 return 0;
12277 _ACEOF
12278 if ac_fn_c_try_compile "$LINENO"; then :
12280 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12282 else
12283 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12290 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12291 case "x$with_xrandr" in
12292 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12293 xno) ;;
12294 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12295 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12296 esac
12300 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12301 then
12302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12303 /* end confdefs.h. */
12304 #include <X11/Xlib.h>
12305 #include <X11/extensions/Xfixes.h>
12307 main ()
12309 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12311 return 0;
12313 _ACEOF
12314 if ac_fn_c_try_compile "$LINENO"; then :
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12316 $as_echo_n "checking for -lXfixes... " >&6; }
12317 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12318 $as_echo_n "(cached) " >&6
12319 else
12320 ac_check_soname_save_LIBS=$LIBS
12321 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12323 /* end confdefs.h. */
12325 /* Override any GCC internal prototype to avoid an error.
12326 Use char because int might match the return type of a GCC
12327 builtin and then its argument prototype would still apply. */
12328 #ifdef __cplusplus
12329 extern "C"
12330 #endif
12331 char XFixesQueryVersion ();
12333 main ()
12335 return XFixesQueryVersion ();
12337 return 0;
12339 _ACEOF
12340 if ac_fn_c_try_link "$LINENO"; then :
12341 case "$LIBEXT" in
12342 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12343 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'` ;;
12344 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12345 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12346 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12347 fi ;;
12348 esac
12349 else
12350 ac_cv_lib_soname_Xfixes=
12352 rm -f core conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
12354 LIBS=$ac_check_soname_save_LIBS
12356 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12358 $as_echo "not found" >&6; }
12360 else
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12362 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12364 cat >>confdefs.h <<_ACEOF
12365 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12366 _ACEOF
12371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12373 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12374 case "x$with_xfixes" in
12375 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12376 xno) ;;
12377 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12378 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12379 esac
12383 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12384 then
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12387 #include <X11/Xlib.h>
12388 #include <X11/extensions/Xinerama.h>
12390 main ()
12392 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12394 return 0;
12396 _ACEOF
12397 if ac_fn_c_try_compile "$LINENO"; then :
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12399 $as_echo_n "checking for -lXinerama... " >&6; }
12400 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12401 $as_echo_n "(cached) " >&6
12402 else
12403 ac_check_soname_save_LIBS=$LIBS
12404 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12406 /* end confdefs.h. */
12408 /* Override any GCC internal prototype to avoid an error.
12409 Use char because int might match the return type of a GCC
12410 builtin and then its argument prototype would still apply. */
12411 #ifdef __cplusplus
12412 extern "C"
12413 #endif
12414 char XineramaQueryScreens ();
12416 main ()
12418 return XineramaQueryScreens ();
12420 return 0;
12422 _ACEOF
12423 if ac_fn_c_try_link "$LINENO"; then :
12424 case "$LIBEXT" in
12425 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12426 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'` ;;
12427 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12428 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12429 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12430 fi ;;
12431 esac
12432 else
12433 ac_cv_lib_soname_Xinerama=
12435 rm -f core conftest.err conftest.$ac_objext \
12436 conftest$ac_exeext conftest.$ac_ext
12437 LIBS=$ac_check_soname_save_LIBS
12439 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12441 $as_echo "not found" >&6; }
12443 else
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12445 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12447 cat >>confdefs.h <<_ACEOF
12448 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12449 _ACEOF
12454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12456 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12457 case "x$with_xinerama" in
12458 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12459 xno) ;;
12460 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12461 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12462 esac
12466 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12467 then
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12469 $as_echo_n "checking for -lXcomposite... " >&6; }
12470 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12471 $as_echo_n "(cached) " >&6
12472 else
12473 ac_check_soname_save_LIBS=$LIBS
12474 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12478 /* Override any GCC internal prototype to avoid an error.
12479 Use char because int might match the return type of a GCC
12480 builtin and then its argument prototype would still apply. */
12481 #ifdef __cplusplus
12482 extern "C"
12483 #endif
12484 char XCompositeRedirectWindow ();
12486 main ()
12488 return XCompositeRedirectWindow ();
12490 return 0;
12492 _ACEOF
12493 if ac_fn_c_try_link "$LINENO"; then :
12494 case "$LIBEXT" in
12495 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12496 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'` ;;
12497 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12498 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12499 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12500 fi ;;
12501 esac
12502 else
12503 ac_cv_lib_soname_Xcomposite=
12505 rm -f core conftest.err conftest.$ac_objext \
12506 conftest$ac_exeext conftest.$ac_ext
12507 LIBS=$ac_check_soname_save_LIBS
12509 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12511 $as_echo "not found" >&6; }
12513 else
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12515 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12517 cat >>confdefs.h <<_ACEOF
12518 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12519 _ACEOF
12524 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12525 case "x$with_xcomposite" in
12526 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12527 xno) ;;
12528 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12529 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12530 esac
12534 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12535 #include <X11/Xlib.h>
12536 #endif
12538 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12540 cat >>confdefs.h <<_ACEOF
12541 #define HAVE_XICCALLBACK_CALLBACK 1
12542 _ACEOF
12546 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12547 #include <X11/Xlib.h>
12548 #endif
12550 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12552 cat >>confdefs.h <<_ACEOF
12553 #define HAVE_XEVENT_XCOOKIE 1
12554 _ACEOF
12561 opengl_msg=""
12562 if test "x$with_opengl" != "xno"
12563 then
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12565 $as_echo_n "checking for -lGL... " >&6; }
12566 if ${ac_cv_lib_soname_GL+:} false; then :
12567 $as_echo_n "(cached) " >&6
12568 else
12569 ac_check_soname_save_LIBS=$LIBS
12570 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12574 /* Override any GCC internal prototype to avoid an error.
12575 Use char because int might match the return type of a GCC
12576 builtin and then its argument prototype would still apply. */
12577 #ifdef __cplusplus
12578 extern "C"
12579 #endif
12580 char glXCreateContext ();
12582 main ()
12584 return glXCreateContext ();
12586 return 0;
12588 _ACEOF
12589 if ac_fn_c_try_link "$LINENO"; then :
12590 case "$LIBEXT" in
12591 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12592 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'` ;;
12593 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12594 if ${ac_cv_lib_soname_GL:+false} :; then :
12595 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12596 fi ;;
12597 esac
12598 else
12599 ac_cv_lib_soname_GL=
12601 rm -f core conftest.err conftest.$ac_objext \
12602 conftest$ac_exeext conftest.$ac_ext
12603 LIBS=$ac_check_soname_save_LIBS
12605 if ${ac_cv_lib_soname_GL:+false} :; then :
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12607 $as_echo "not found" >&6; }
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12609 $as_echo_n "checking for -lGL... " >&6; }
12610 if ${ac_cv_lib_soname_GL+:} false; then :
12611 $as_echo_n "(cached) " >&6
12612 else
12613 ac_check_soname_save_LIBS=$LIBS
12614 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"
12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12618 /* Override any GCC internal prototype to avoid an error.
12619 Use char because int might match the return type of a GCC
12620 builtin and then its argument prototype would still apply. */
12621 #ifdef __cplusplus
12622 extern "C"
12623 #endif
12624 char glXCreateContext ();
12626 main ()
12628 return glXCreateContext ();
12630 return 0;
12632 _ACEOF
12633 if ac_fn_c_try_link "$LINENO"; then :
12634 case "$LIBEXT" in
12635 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12636 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'` ;;
12637 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12638 if ${ac_cv_lib_soname_GL:+false} :; then :
12639 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12640 fi ;;
12641 esac
12642 else
12643 ac_cv_lib_soname_GL=
12645 rm -f core conftest.err conftest.$ac_objext \
12646 conftest$ac_exeext conftest.$ac_ext
12647 LIBS=$ac_check_soname_save_LIBS
12649 if ${ac_cv_lib_soname_GL:+false} :; then :
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12651 $as_echo "not found" >&6; }
12652 if test -f /usr/X11R6/lib/libGL.a
12653 then
12654 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12655 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12656 else
12657 opengl_msg="No OpenGL library found on this system."
12659 else
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12661 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12663 cat >>confdefs.h <<_ACEOF
12664 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12665 _ACEOF
12667 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"
12669 else
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12671 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12673 cat >>confdefs.h <<_ACEOF
12674 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12675 _ACEOF
12677 OPENGL_LIBS="-lGL"
12679 if test "x$with_osmesa" != "xno"
12680 then
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12682 $as_echo_n "checking for -lOSMesa... " >&6; }
12683 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12684 $as_echo_n "(cached) " >&6
12685 else
12686 ac_check_soname_save_LIBS=$LIBS
12687 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12689 /* end confdefs.h. */
12691 /* Override any GCC internal prototype to avoid an error.
12692 Use char because int might match the return type of a GCC
12693 builtin and then its argument prototype would still apply. */
12694 #ifdef __cplusplus
12695 extern "C"
12696 #endif
12697 char OSMesaGetProcAddress ();
12699 main ()
12701 return OSMesaGetProcAddress ();
12703 return 0;
12705 _ACEOF
12706 if ac_fn_c_try_link "$LINENO"; then :
12707 case "$LIBEXT" in
12708 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12709 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'` ;;
12710 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12711 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12712 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12713 fi ;;
12714 esac
12715 else
12716 ac_cv_lib_soname_OSMesa=
12718 rm -f core conftest.err conftest.$ac_objext \
12719 conftest$ac_exeext conftest.$ac_ext
12720 LIBS=$ac_check_soname_save_LIBS
12722 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12724 $as_echo "not found" >&6; }
12726 else
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12728 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12730 cat >>confdefs.h <<_ACEOF
12731 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12732 _ACEOF
12736 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12737 case "x$with_osmesa" in
12738 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12739 xno) ;;
12740 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12741 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12742 esac
12747 if test -n "$opengl_msg"; then :
12748 case "x$with_opengl" in
12749 x) as_fn_append wine_warnings "|$opengl_msg
12750 OpenGL and Direct3D won't be supported." ;;
12751 xno) ;;
12752 *) as_fn_error $? "$opengl_msg
12753 OpenGL and Direct3D won't be supported.
12754 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12755 esac
12759 CPPFLAGS="$ac_save_CPPFLAGS"
12760 else
12761 X_CFLAGS=""
12762 X_LIBS=""
12765 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12766 then
12767 if test "x$X_LIBS" = "x"; then :
12768 case "x$with_x" in
12769 xno) ;;
12770 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12771 without X support, which probably isn't what you want. You will need
12772 to install ${notice_platform}development packages of Xlib at the very least.
12773 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12774 esac
12775 enable_winex11_drv=${enable_winex11_drv:-no}
12777 else
12778 if test "x$X_LIBS" = "x"; then :
12779 case "x$with_x" in
12780 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12781 xno) ;;
12782 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12783 This is an error since --with-x was requested." "$LINENO" 5 ;;
12784 esac
12785 enable_winex11_drv=${enable_winex11_drv:-no}
12789 if test "$ac_cv_header_CL_cl_h" = "yes"
12790 then
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12792 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12793 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12794 $as_echo_n "(cached) " >&6
12795 else
12796 ac_check_lib_save_LIBS=$LIBS
12797 LIBS="-lOpenCL $LIBS"
12798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12801 /* Override any GCC internal prototype to avoid an error.
12802 Use char because int might match the return type of a GCC
12803 builtin and then its argument prototype would still apply. */
12804 #ifdef __cplusplus
12805 extern "C"
12806 #endif
12807 char clGetPlatformInfo ();
12809 main ()
12811 return clGetPlatformInfo ();
12813 return 0;
12815 _ACEOF
12816 if ac_fn_c_try_link "$LINENO"; then :
12817 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12818 else
12819 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12821 rm -f core conftest.err conftest.$ac_objext \
12822 conftest$ac_exeext conftest.$ac_ext
12823 LIBS=$ac_check_lib_save_LIBS
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12826 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12827 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12828 OPENCL_LIBS="-lOpenCL"
12833 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12834 case "x$with_opencl" in
12835 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12836 xno) ;;
12837 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12838 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12839 esac
12840 enable_opencl=${enable_opencl:-no}
12843 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12844 then
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12846 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12847 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12848 $as_echo_n "(cached) " >&6
12849 else
12850 ac_check_lib_save_LIBS=$LIBS
12851 LIBS="-lpcap $LIBS"
12852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12855 /* Override any GCC internal prototype to avoid an error.
12856 Use char because int might match the return type of a GCC
12857 builtin and then its argument prototype would still apply. */
12858 #ifdef __cplusplus
12859 extern "C"
12860 #endif
12861 char pcap_create ();
12863 main ()
12865 return pcap_create ();
12867 return 0;
12869 _ACEOF
12870 if ac_fn_c_try_link "$LINENO"; then :
12871 ac_cv_lib_pcap_pcap_create=yes
12872 else
12873 ac_cv_lib_pcap_pcap_create=no
12875 rm -f core conftest.err conftest.$ac_objext \
12876 conftest$ac_exeext conftest.$ac_ext
12877 LIBS=$ac_check_lib_save_LIBS
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12880 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12881 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12882 PCAP_LIBS="-lpcap"
12887 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12888 case "x$with_pcap" in
12889 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12890 xno) ;;
12891 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12892 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12893 esac
12894 enable_wpcap=${enable_wpcap:-no}
12898 if test "x$with_xml" != "xno"
12899 then
12900 if ${XML2_CFLAGS:+false} :; then :
12901 if ${PKG_CONFIG+:} false; then :
12902 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12905 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12906 if ${XML2_LIBS:+false} :; then :
12907 if ${PKG_CONFIG+:} false; then :
12908 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12911 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12912 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12913 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12914 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12915 ac_save_CPPFLAGS=$CPPFLAGS
12916 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12917 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12918 do :
12919 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12920 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12921 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12922 cat >>confdefs.h <<_ACEOF
12923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12924 _ACEOF
12928 done
12930 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"
12931 then
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12933 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12934 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_check_lib_save_LIBS=$LIBS
12938 LIBS="-lxml2 $XML2_LIBS $LIBS"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12945 #ifdef __cplusplus
12946 extern "C"
12947 #endif
12948 char xmlParseMemory ();
12950 main ()
12952 return xmlParseMemory ();
12954 return 0;
12956 _ACEOF
12957 if ac_fn_c_try_link "$LINENO"; then :
12958 ac_cv_lib_xml2_xmlParseMemory=yes
12959 else
12960 ac_cv_lib_xml2_xmlParseMemory=no
12962 rm -f core conftest.err conftest.$ac_objext \
12963 conftest$ac_exeext conftest.$ac_ext
12964 LIBS=$ac_check_lib_save_LIBS
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12967 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12968 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12970 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12972 else
12973 XML2_LIBS=""
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12977 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12978 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12979 $as_echo_n "(cached) " >&6
12980 else
12981 ac_check_lib_save_LIBS=$LIBS
12982 LIBS="-lxml2 $XML2_LIBS $LIBS"
12983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
12989 #ifdef __cplusplus
12990 extern "C"
12991 #endif
12992 char xmlReadMemory ();
12994 main ()
12996 return xmlReadMemory ();
12998 return 0;
13000 _ACEOF
13001 if ac_fn_c_try_link "$LINENO"; then :
13002 ac_cv_lib_xml2_xmlReadMemory=yes
13003 else
13004 ac_cv_lib_xml2_xmlReadMemory=no
13006 rm -f core conftest.err conftest.$ac_objext \
13007 conftest$ac_exeext conftest.$ac_ext
13008 LIBS=$ac_check_lib_save_LIBS
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13011 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13012 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13014 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13019 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13020 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13021 $as_echo_n "(cached) " >&6
13022 else
13023 ac_check_lib_save_LIBS=$LIBS
13024 LIBS="-lxml2 $XML2_LIBS $LIBS"
13025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13026 /* end confdefs.h. */
13028 /* Override any GCC internal prototype to avoid an error.
13029 Use char because int might match the return type of a GCC
13030 builtin and then its argument prototype would still apply. */
13031 #ifdef __cplusplus
13032 extern "C"
13033 #endif
13034 char xmlNewDocPI ();
13036 main ()
13038 return xmlNewDocPI ();
13040 return 0;
13042 _ACEOF
13043 if ac_fn_c_try_link "$LINENO"; then :
13044 ac_cv_lib_xml2_xmlNewDocPI=yes
13045 else
13046 ac_cv_lib_xml2_xmlNewDocPI=no
13048 rm -f core conftest.err conftest.$ac_objext \
13049 conftest$ac_exeext conftest.$ac_ext
13050 LIBS=$ac_check_lib_save_LIBS
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13053 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13054 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13056 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13061 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13062 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13063 $as_echo_n "(cached) " >&6
13064 else
13065 ac_check_lib_save_LIBS=$LIBS
13066 LIBS="-lxml2 $XML2_LIBS $LIBS"
13067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13070 /* Override any GCC internal prototype to avoid an error.
13071 Use char because int might match the return type of a GCC
13072 builtin and then its argument prototype would still apply. */
13073 #ifdef __cplusplus
13074 extern "C"
13075 #endif
13076 char xmlSchemaSetParserStructuredErrors ();
13078 main ()
13080 return xmlSchemaSetParserStructuredErrors ();
13082 return 0;
13084 _ACEOF
13085 if ac_fn_c_try_link "$LINENO"; then :
13086 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13087 else
13088 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13090 rm -f core conftest.err conftest.$ac_objext \
13091 conftest$ac_exeext conftest.$ac_ext
13092 LIBS=$ac_check_lib_save_LIBS
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13095 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13096 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13098 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13103 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13104 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13105 $as_echo_n "(cached) " >&6
13106 else
13107 ac_check_lib_save_LIBS=$LIBS
13108 LIBS="-lxml2 $XML2_LIBS $LIBS"
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 /* Override any GCC internal prototype to avoid an error.
13113 Use char because int might match the return type of a GCC
13114 builtin and then its argument prototype would still apply. */
13115 #ifdef __cplusplus
13116 extern "C"
13117 #endif
13118 char xmlSchemaSetValidStructuredErrors ();
13120 main ()
13122 return xmlSchemaSetValidStructuredErrors ();
13124 return 0;
13126 _ACEOF
13127 if ac_fn_c_try_link "$LINENO"; then :
13128 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13129 else
13130 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13132 rm -f core conftest.err conftest.$ac_objext \
13133 conftest$ac_exeext conftest.$ac_ext
13134 LIBS=$ac_check_lib_save_LIBS
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13137 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13138 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13140 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13145 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13146 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13147 $as_echo_n "(cached) " >&6
13148 else
13149 ac_check_lib_save_LIBS=$LIBS
13150 LIBS="-lxml2 $XML2_LIBS $LIBS"
13151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13152 /* end confdefs.h. */
13154 /* Override any GCC internal prototype to avoid an error.
13155 Use char because int might match the return type of a GCC
13156 builtin and then its argument prototype would still apply. */
13157 #ifdef __cplusplus
13158 extern "C"
13159 #endif
13160 char xmlFirstElementChild ();
13162 main ()
13164 return xmlFirstElementChild ();
13166 return 0;
13168 _ACEOF
13169 if ac_fn_c_try_link "$LINENO"; then :
13170 ac_cv_lib_xml2_xmlFirstElementChild=yes
13171 else
13172 ac_cv_lib_xml2_xmlFirstElementChild=no
13174 rm -f core conftest.err conftest.$ac_objext \
13175 conftest$ac_exeext conftest.$ac_ext
13176 LIBS=$ac_check_lib_save_LIBS
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13179 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13180 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13182 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13186 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13188 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13190 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13194 else
13195 XML2_CFLAGS=""
13196 XML2_LIBS=""
13198 CPPFLAGS=$ac_save_CPPFLAGS
13201 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13202 case "x$with_xml" in
13203 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13204 xno) ;;
13205 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13206 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13207 esac
13211 if test "x$with_xslt" != "xno"
13212 then
13213 if ${XSLT_CFLAGS:+false} :; then :
13214 if ${PKG_CONFIG+:} false; then :
13215 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13218 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13219 if ${XSLT_LIBS:+false} :; then :
13220 if ${PKG_CONFIG+:} false; then :
13221 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13224 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13225 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13226 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13227 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13228 ac_save_CPPFLAGS=$CPPFLAGS
13229 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13230 for ac_header in libxslt/pattern.h libxslt/transform.h
13231 do :
13232 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13233 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13234 # include <libxslt/pattern.h>
13235 #endif
13237 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13238 cat >>confdefs.h <<_ACEOF
13239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13240 _ACEOF
13244 done
13246 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13247 then
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13249 $as_echo_n "checking for -lxslt... " >&6; }
13250 if ${ac_cv_lib_soname_xslt+:} false; then :
13251 $as_echo_n "(cached) " >&6
13252 else
13253 ac_check_soname_save_LIBS=$LIBS
13254 LIBS="-lxslt $XSLT_LIBS $LIBS"
13255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13256 /* end confdefs.h. */
13258 /* Override any GCC internal prototype to avoid an error.
13259 Use char because int might match the return type of a GCC
13260 builtin and then its argument prototype would still apply. */
13261 #ifdef __cplusplus
13262 extern "C"
13263 #endif
13264 char xsltCompilePattern ();
13266 main ()
13268 return xsltCompilePattern ();
13270 return 0;
13272 _ACEOF
13273 if ac_fn_c_try_link "$LINENO"; then :
13274 case "$LIBEXT" in
13275 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13276 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'` ;;
13277 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13278 if ${ac_cv_lib_soname_xslt:+false} :; then :
13279 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13280 fi ;;
13281 esac
13282 else
13283 ac_cv_lib_soname_xslt=
13285 rm -f core conftest.err conftest.$ac_objext \
13286 conftest$ac_exeext conftest.$ac_ext
13287 LIBS=$ac_check_soname_save_LIBS
13289 if ${ac_cv_lib_soname_xslt:+false} :; then :
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13291 $as_echo "not found" >&6; }
13293 else
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13295 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13297 cat >>confdefs.h <<_ACEOF
13298 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13299 _ACEOF
13303 else
13304 XSLT_CFLAGS=""
13306 CPPFLAGS=$ac_save_CPPFLAGS
13309 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13310 case "x$with_xslt" in
13311 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13312 xno) ;;
13313 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13314 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13315 esac
13319 if test "x$with_inotify" != "xno"
13320 then
13321 if ${INOTIFY_CFLAGS:+false} :; then :
13322 if ${PKG_CONFIG+:} false; then :
13323 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13327 if ${INOTIFY_LIBS:+false} :; then :
13328 if ${PKG_CONFIG+:} false; then :
13329 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13334 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13335 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13336 ac_save_CPPFLAGS=$CPPFLAGS
13337 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13338 for ac_header in sys/inotify.h
13339 do :
13340 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13341 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13342 cat >>confdefs.h <<_ACEOF
13343 #define HAVE_SYS_INOTIFY_H 1
13344 _ACEOF
13348 done
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13351 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13352 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13353 $as_echo_n "(cached) " >&6
13354 else
13355 ac_check_lib_save_LIBS=$LIBS
13356 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13360 /* Override any GCC internal prototype to avoid an error.
13361 Use char because int might match the return type of a GCC
13362 builtin and then its argument prototype would still apply. */
13363 #ifdef __cplusplus
13364 extern "C"
13365 #endif
13366 char inotify_add_watch ();
13368 main ()
13370 return inotify_add_watch ();
13372 return 0;
13374 _ACEOF
13375 if ac_fn_c_try_link "$LINENO"; then :
13376 ac_cv_lib_inotify_inotify_add_watch=yes
13377 else
13378 ac_cv_lib_inotify_inotify_add_watch=no
13380 rm -f core conftest.err conftest.$ac_objext \
13381 conftest$ac_exeext conftest.$ac_ext
13382 LIBS=$ac_check_lib_save_LIBS
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13385 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13386 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13388 else
13389 INOTIFY_LIBS=""
13392 CPPFLAGS=$ac_save_CPPFLAGS
13395 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13396 case "x$with_inotify" in
13397 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13398 xno) ;;
13399 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13400 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13401 esac
13405 if test "x$with_dbus" != "xno"
13406 then
13407 if ${DBUS_CFLAGS:+false} :; then :
13408 if ${PKG_CONFIG+:} false; then :
13409 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13413 if ${DBUS_LIBS:+false} :; then :
13414 if ${PKG_CONFIG+:} false; then :
13415 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13420 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13421 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13422 ac_save_CPPFLAGS=$CPPFLAGS
13423 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13424 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13425 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13427 $as_echo_n "checking for -ldbus-1... " >&6; }
13428 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13429 $as_echo_n "(cached) " >&6
13430 else
13431 ac_check_soname_save_LIBS=$LIBS
13432 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13434 /* end confdefs.h. */
13436 /* Override any GCC internal prototype to avoid an error.
13437 Use char because int might match the return type of a GCC
13438 builtin and then its argument prototype would still apply. */
13439 #ifdef __cplusplus
13440 extern "C"
13441 #endif
13442 char dbus_connection_close ();
13444 main ()
13446 return dbus_connection_close ();
13448 return 0;
13450 _ACEOF
13451 if ac_fn_c_try_link "$LINENO"; then :
13452 case "$LIBEXT" in
13453 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13454 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'` ;;
13455 *) 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'`
13456 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13457 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13458 fi ;;
13459 esac
13460 else
13461 ac_cv_lib_soname_dbus_1=
13463 rm -f core conftest.err conftest.$ac_objext \
13464 conftest$ac_exeext conftest.$ac_ext
13465 LIBS=$ac_check_soname_save_LIBS
13467 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13469 $as_echo "not found" >&6; }
13470 DBUS_CFLAGS=""
13471 else
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13473 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13475 cat >>confdefs.h <<_ACEOF
13476 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13477 _ACEOF
13481 else
13482 DBUS_CFLAGS=""
13486 CPPFLAGS=$ac_save_CPPFLAGS
13489 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13490 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13491 case "x$with_dbus" in
13492 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13493 xno) ;;
13494 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13495 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13496 esac
13500 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13501 then
13502 if ${HAL_CFLAGS:+false} :; then :
13503 if ${PKG_CONFIG+:} false; then :
13504 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13508 if ${HAL_LIBS:+false} :; then :
13509 if ${PKG_CONFIG+:} false; then :
13510 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13514 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13515 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13516 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13517 ac_save_CPPFLAGS=$CPPFLAGS
13518 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13519 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13520 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13522 $as_echo_n "checking for -lhal... " >&6; }
13523 if ${ac_cv_lib_soname_hal+:} false; then :
13524 $as_echo_n "(cached) " >&6
13525 else
13526 ac_check_soname_save_LIBS=$LIBS
13527 LIBS="-lhal $HAL_LIBS $LIBS"
13528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13529 /* end confdefs.h. */
13531 /* Override any GCC internal prototype to avoid an error.
13532 Use char because int might match the return type of a GCC
13533 builtin and then its argument prototype would still apply. */
13534 #ifdef __cplusplus
13535 extern "C"
13536 #endif
13537 char libhal_ctx_new ();
13539 main ()
13541 return libhal_ctx_new ();
13543 return 0;
13545 _ACEOF
13546 if ac_fn_c_try_link "$LINENO"; then :
13547 case "$LIBEXT" in
13548 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13549 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'` ;;
13550 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13551 if ${ac_cv_lib_soname_hal:+false} :; then :
13552 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13553 fi ;;
13554 esac
13555 else
13556 ac_cv_lib_soname_hal=
13558 rm -f core conftest.err conftest.$ac_objext \
13559 conftest$ac_exeext conftest.$ac_ext
13560 LIBS=$ac_check_soname_save_LIBS
13562 if ${ac_cv_lib_soname_hal:+false} :; then :
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13564 $as_echo "not found" >&6; }
13565 HAL_CFLAGS=""
13566 else
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13568 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13570 cat >>confdefs.h <<_ACEOF
13571 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13572 _ACEOF
13576 else
13577 HAL_CFLAGS=""
13581 CPPFLAGS=$ac_save_CPPFLAGS
13583 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13584 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13585 case "x$with_hal" in
13586 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13587 xno) ;;
13588 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13589 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13590 esac
13595 if test "x$with_gnutls" != "xno"
13596 then
13597 if ${GNUTLS_CFLAGS:+false} :; then :
13598 if ${PKG_CONFIG+:} false; then :
13599 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13603 if ${GNUTLS_LIBS:+false} :; then :
13604 if ${PKG_CONFIG+:} false; then :
13605 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13609 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13610 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13611 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13612 ac_save_CPPFLAGS=$CPPFLAGS
13613 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13614 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13615 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13617 /* end confdefs.h. */
13618 #include <gnutls/gnutls.h>
13619 #include <gnutls/crypto.h>
13621 main ()
13623 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13625 return 0;
13627 _ACEOF
13628 if ac_fn_c_try_compile "$LINENO"; then :
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13630 $as_echo_n "checking for -lgnutls... " >&6; }
13631 if ${ac_cv_lib_soname_gnutls+:} false; then :
13632 $as_echo_n "(cached) " >&6
13633 else
13634 ac_check_soname_save_LIBS=$LIBS
13635 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13639 /* Override any GCC internal prototype to avoid an error.
13640 Use char because int might match the return type of a GCC
13641 builtin and then its argument prototype would still apply. */
13642 #ifdef __cplusplus
13643 extern "C"
13644 #endif
13645 char gnutls_global_init ();
13647 main ()
13649 return gnutls_global_init ();
13651 return 0;
13653 _ACEOF
13654 if ac_fn_c_try_link "$LINENO"; then :
13655 case "$LIBEXT" in
13656 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13657 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'` ;;
13658 *) 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'`
13659 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13660 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'`
13661 fi ;;
13662 esac
13663 else
13664 ac_cv_lib_soname_gnutls=
13666 rm -f core conftest.err conftest.$ac_objext \
13667 conftest$ac_exeext conftest.$ac_ext
13668 LIBS=$ac_check_soname_save_LIBS
13670 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13672 $as_echo "not found" >&6; }
13673 GNUTLS_CFLAGS=""
13674 else
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13676 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13678 cat >>confdefs.h <<_ACEOF
13679 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13680 _ACEOF
13684 ac_wine_check_funcs_save_LIBS="$LIBS"
13685 LIBS="$LIBS $GNUTLS_LIBS"
13686 for ac_func in gnutls_cipher_init
13687 do :
13688 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13689 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13690 cat >>confdefs.h <<_ACEOF
13691 #define HAVE_GNUTLS_CIPHER_INIT 1
13692 _ACEOF
13694 else
13695 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13697 done
13699 LIBS="$ac_wine_check_funcs_save_LIBS"
13701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13702 else
13703 GNUTLS_CFLAGS=""
13707 CPPFLAGS=$ac_save_CPPFLAGS
13710 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13711 case "x$with_gnutls" in
13712 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13713 xno) ;;
13714 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13715 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13716 esac
13720 if test "x$with_sane" != "xno"
13721 then
13722 if ${SANE_CFLAGS:+false} :; then :
13723 if ${PKG_CONFIG+:} false; then :
13724 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13727 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13728 if ${SANE_LIBS:+false} :; then :
13729 if ${PKG_CONFIG+:} false; then :
13730 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13733 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13735 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13736 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13737 ac_save_CPPFLAGS=$CPPFLAGS
13738 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13739 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13740 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13742 $as_echo_n "checking for -lsane... " >&6; }
13743 if ${ac_cv_lib_soname_sane+:} false; then :
13744 $as_echo_n "(cached) " >&6
13745 else
13746 ac_check_soname_save_LIBS=$LIBS
13747 LIBS="-lsane $SANE_LIBS $LIBS"
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13751 /* Override any GCC internal prototype to avoid an error.
13752 Use char because int might match the return type of a GCC
13753 builtin and then its argument prototype would still apply. */
13754 #ifdef __cplusplus
13755 extern "C"
13756 #endif
13757 char sane_init ();
13759 main ()
13761 return sane_init ();
13763 return 0;
13765 _ACEOF
13766 if ac_fn_c_try_link "$LINENO"; then :
13767 case "$LIBEXT" in
13768 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13769 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'` ;;
13770 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13771 if ${ac_cv_lib_soname_sane:+false} :; then :
13772 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13773 fi ;;
13774 esac
13775 else
13776 ac_cv_lib_soname_sane=
13778 rm -f core conftest.err conftest.$ac_objext \
13779 conftest$ac_exeext conftest.$ac_ext
13780 LIBS=$ac_check_soname_save_LIBS
13782 if ${ac_cv_lib_soname_sane:+false} :; then :
13783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13784 $as_echo "not found" >&6; }
13785 SANE_CFLAGS=""
13786 else
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13788 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13790 cat >>confdefs.h <<_ACEOF
13791 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13792 _ACEOF
13796 else
13797 SANE_CFLAGS=""
13801 CPPFLAGS=$ac_save_CPPFLAGS
13804 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13805 case "x$with_sane" in
13806 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13807 xno) ;;
13808 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13809 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13810 esac
13814 if test "x$with_usb" != "xno"
13815 then
13816 if ${USB_CFLAGS:+false} :; then :
13817 if ${PKG_CONFIG+:} false; then :
13818 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13822 if ${USB_LIBS:+false} :; then :
13823 if ${PKG_CONFIG+:} false; then :
13824 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13828 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13829 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13830 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13831 ac_save_CPPFLAGS=$CPPFLAGS
13832 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13833 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13834 if test "x$ac_cv_header_libusb_h" = xyes; then :
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13836 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13837 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13838 $as_echo_n "(cached) " >&6
13839 else
13840 ac_check_lib_save_LIBS=$LIBS
13841 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843 /* end confdefs.h. */
13845 /* Override any GCC internal prototype to avoid an error.
13846 Use char because int might match the return type of a GCC
13847 builtin and then its argument prototype would still apply. */
13848 #ifdef __cplusplus
13849 extern "C"
13850 #endif
13851 char libusb_interrupt_event_handler ();
13853 main ()
13855 return libusb_interrupt_event_handler ();
13857 return 0;
13859 _ACEOF
13860 if ac_fn_c_try_link "$LINENO"; then :
13861 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13862 else
13863 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13865 rm -f core conftest.err conftest.$ac_objext \
13866 conftest$ac_exeext conftest.$ac_ext
13867 LIBS=$ac_check_lib_save_LIBS
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13870 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13871 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13873 else
13874 USB_LIBS=""
13877 else
13878 USB_LIBS=""
13882 CPPFLAGS=$ac_save_CPPFLAGS
13885 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13886 case "x$with_usb" in
13887 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13888 xno) ;;
13889 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13890 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13891 esac
13892 enable_wineusb_sys=${enable_wineusb_sys:-no}
13895 if test "x$with_v4l2" != "xno"
13896 then
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13898 $as_echo_n "checking for -lv4l2... " >&6; }
13899 if ${ac_cv_lib_soname_v4l2+:} false; then :
13900 $as_echo_n "(cached) " >&6
13901 else
13902 ac_check_soname_save_LIBS=$LIBS
13903 LIBS="-lv4l2 $LIBS"
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13907 /* Override any GCC internal prototype to avoid an error.
13908 Use char because int might match the return type of a GCC
13909 builtin and then its argument prototype would still apply. */
13910 #ifdef __cplusplus
13911 extern "C"
13912 #endif
13913 char v4l2_open ();
13915 main ()
13917 return v4l2_open ();
13919 return 0;
13921 _ACEOF
13922 if ac_fn_c_try_link "$LINENO"; then :
13923 case "$LIBEXT" in
13924 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13925 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'` ;;
13926 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13927 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13928 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13929 fi ;;
13930 esac
13931 else
13932 ac_cv_lib_soname_v4l2=
13934 rm -f core conftest.err conftest.$ac_objext \
13935 conftest$ac_exeext conftest.$ac_ext
13936 LIBS=$ac_check_soname_save_LIBS
13938 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13940 $as_echo "not found" >&6; }
13942 else
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13944 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13946 cat >>confdefs.h <<_ACEOF
13947 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13948 _ACEOF
13953 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13954 case "x$with_v4l2" in
13955 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13956 xno) ;;
13957 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13958 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13959 esac
13963 if test "x$with_gphoto" != "xno"
13964 then
13965 if ${GPHOTO2_CFLAGS:+false} :; then :
13966 if ${PKG_CONFIG+:} false; then :
13967 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13970 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13971 if ${GPHOTO2_LIBS:+false} :; then :
13972 if ${PKG_CONFIG+:} false; then :
13973 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13976 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13977 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13978 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13979 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13980 ac_save_CPPFLAGS=$CPPFLAGS
13981 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13982 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13983 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13985 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13986 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13987 $as_echo_n "(cached) " >&6
13988 else
13989 ac_check_lib_save_LIBS=$LIBS
13990 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13992 /* end confdefs.h. */
13994 /* Override any GCC internal prototype to avoid an error.
13995 Use char because int might match the return type of a GCC
13996 builtin and then its argument prototype would still apply. */
13997 #ifdef __cplusplus
13998 extern "C"
13999 #endif
14000 char gp_camera_new ();
14002 main ()
14004 return gp_camera_new ();
14006 return 0;
14008 _ACEOF
14009 if ac_fn_c_try_link "$LINENO"; then :
14010 ac_cv_lib_gphoto2_gp_camera_new=yes
14011 else
14012 ac_cv_lib_gphoto2_gp_camera_new=no
14014 rm -f core conftest.err conftest.$ac_objext \
14015 conftest$ac_exeext conftest.$ac_ext
14016 LIBS=$ac_check_lib_save_LIBS
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14019 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14020 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14022 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14024 else
14025 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14028 else
14029 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14033 CPPFLAGS=$ac_save_CPPFLAGS
14035 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14036 if ${PKG_CONFIG+:} false; then :
14037 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14040 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14041 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14042 if ${PKG_CONFIG+:} false; then :
14043 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14046 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14047 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14048 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14049 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14050 ac_save_CPPFLAGS=$CPPFLAGS
14051 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14052 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14053 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14055 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14056 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14057 $as_echo_n "(cached) " >&6
14058 else
14059 ac_check_lib_save_LIBS=$LIBS
14060 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14062 /* end confdefs.h. */
14064 /* Override any GCC internal prototype to avoid an error.
14065 Use char because int might match the return type of a GCC
14066 builtin and then its argument prototype would still apply. */
14067 #ifdef __cplusplus
14068 extern "C"
14069 #endif
14070 char gp_port_info_list_new ();
14072 main ()
14074 return gp_port_info_list_new ();
14076 return 0;
14078 _ACEOF
14079 if ac_fn_c_try_link "$LINENO"; then :
14080 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14081 else
14082 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14084 rm -f core conftest.err conftest.$ac_objext \
14085 conftest$ac_exeext conftest.$ac_ext
14086 LIBS=$ac_check_lib_save_LIBS
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14089 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14090 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14092 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14094 else
14095 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14098 else
14099 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14103 CPPFLAGS=$ac_save_CPPFLAGS
14106 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14107 case "x$with_gphoto" in
14108 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14109 xno) ;;
14110 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14111 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14112 esac
14115 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14116 case "x$with_gphoto" in
14117 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14118 xno) ;;
14119 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14120 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14121 esac
14126 if test "$ac_cv_header_resolv_h" = "yes"
14127 then
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14129 $as_echo_n "checking for resolver library... " >&6; }
14130 if ${ac_cv_have_resolv+:} false; then :
14131 $as_echo_n "(cached) " >&6
14132 else
14133 ac_save_LIBS="$LIBS"
14134 for lib in '' -lresolv
14136 LIBS="$lib $ac_save_LIBS"
14137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14138 /* end confdefs.h. */
14139 #ifdef HAVE_NETINET_IN_H
14140 #include <netinet/in.h>
14141 #endif
14142 #include <resolv.h>
14144 main ()
14146 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14148 return 0;
14150 _ACEOF
14151 if ac_fn_c_try_link "$LINENO"; then :
14152 ac_cv_have_resolv=${lib:-"none required"}
14153 else
14154 ac_cv_have_resolv="not found"
14156 rm -f core conftest.err conftest.$ac_objext \
14157 conftest$ac_exeext conftest.$ac_ext
14158 test "x$ac_cv_have_resolv" = "xnot found" || break
14159 done
14160 LIBS="$ac_save_LIBS"
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14163 $as_echo "$ac_cv_have_resolv" >&6; }
14165 case "$ac_cv_have_resolv" in
14166 "not found") ;;
14167 "none required")
14169 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14172 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14174 RESOLV_LIBS=$ac_cv_have_resolv
14176 esac
14178 if test "x$ac_cv_have_resolv" != "xnot found"
14179 then
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14181 $as_echo_n "checking for res_getservers... " >&6; }
14182 if ${ac_cv_have_res_getservers+:} false; then :
14183 $as_echo_n "(cached) " >&6
14184 else
14185 ac_save_LIBS="$LIBS"
14186 LIBS="$RESOLV_LIBS $LIBS"
14187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14189 #include <resolv.h>
14191 main ()
14193 res_getservers(NULL, NULL, 0);
14195 return 0;
14197 _ACEOF
14198 if ac_fn_c_try_link "$LINENO"; then :
14199 ac_cv_have_res_getservers=yes
14200 else
14201 ac_cv_have_res_getservers=no
14203 rm -f core conftest.err conftest.$ac_objext \
14204 conftest$ac_exeext conftest.$ac_ext
14205 LIBS="$ac_save_LIBS"
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14208 $as_echo "$ac_cv_have_res_getservers" >&6; }
14209 if test "$ac_cv_have_res_getservers" = "yes"
14210 then
14212 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14218 if test "x$with_cms" != "xno"
14219 then
14220 if ${LCMS2_CFLAGS:+false} :; then :
14221 if ${PKG_CONFIG+:} false; then :
14222 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14226 if ${LCMS2_LIBS:+false} :; then :
14227 if ${PKG_CONFIG+:} false; then :
14228 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14232 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14233 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14234 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14235 ac_save_CPPFLAGS=$CPPFLAGS
14236 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14237 for ac_header in lcms2.h
14238 do :
14239 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14240 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14241 cat >>confdefs.h <<_ACEOF
14242 #define HAVE_LCMS2_H 1
14243 _ACEOF
14247 done
14249 if test "$ac_cv_header_lcms2_h" = "yes"
14250 then
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14252 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14253 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14254 $as_echo_n "(cached) " >&6
14255 else
14256 ac_check_lib_save_LIBS=$LIBS
14257 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14264 #ifdef __cplusplus
14265 extern "C"
14266 #endif
14267 char cmsOpenProfileFromFile ();
14269 main ()
14271 return cmsOpenProfileFromFile ();
14273 return 0;
14275 _ACEOF
14276 if ac_fn_c_try_link "$LINENO"; then :
14277 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14278 else
14279 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14281 rm -f core conftest.err conftest.$ac_objext \
14282 conftest$ac_exeext conftest.$ac_ext
14283 LIBS=$ac_check_lib_save_LIBS
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14286 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14287 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14289 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14291 else
14292 LCMS2_LIBS=""
14295 else
14296 LCMS2_CFLAGS=""
14297 LCMS2_LIBS=""
14299 CPPFLAGS=$ac_save_CPPFLAGS
14302 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14303 case "x$with_cms" in
14304 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14305 xno) ;;
14306 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14307 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14308 esac
14312 if test "x$with_freetype" != "xno"
14313 then
14314 if ${FREETYPE_CFLAGS:+false} :; then :
14315 if ${PKG_CONFIG+:} false; then :
14316 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14319 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14320 if ${FREETYPE_LIBS:+false} :; then :
14321 if ${PKG_CONFIG+:} false; then :
14322 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14325 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14326 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14327 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14328 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14329 ac_save_CPPFLAGS=$CPPFLAGS
14330 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14331 for ac_header in ft2build.h
14332 do :
14333 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14334 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14335 cat >>confdefs.h <<_ACEOF
14336 #define HAVE_FT2BUILD_H 1
14337 _ACEOF
14341 done
14343 if test "$ac_cv_header_ft2build_h" = "yes"
14344 then
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14346 $as_echo_n "checking for -lfreetype... " >&6; }
14347 if ${ac_cv_lib_soname_freetype+:} false; then :
14348 $as_echo_n "(cached) " >&6
14349 else
14350 ac_check_soname_save_LIBS=$LIBS
14351 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14353 /* end confdefs.h. */
14355 /* Override any GCC internal prototype to avoid an error.
14356 Use char because int might match the return type of a GCC
14357 builtin and then its argument prototype would still apply. */
14358 #ifdef __cplusplus
14359 extern "C"
14360 #endif
14361 char FT_Init_FreeType ();
14363 main ()
14365 return FT_Init_FreeType ();
14367 return 0;
14369 _ACEOF
14370 if ac_fn_c_try_link "$LINENO"; then :
14371 case "$LIBEXT" in
14372 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14373 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'` ;;
14374 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14375 if ${ac_cv_lib_soname_freetype:+false} :; then :
14376 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14377 fi ;;
14378 esac
14379 else
14380 ac_cv_lib_soname_freetype=
14382 rm -f core conftest.err conftest.$ac_objext \
14383 conftest$ac_exeext conftest.$ac_ext
14384 LIBS=$ac_check_soname_save_LIBS
14386 if ${ac_cv_lib_soname_freetype:+false} :; then :
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14388 $as_echo "not found" >&6; }
14389 FREETYPE_LIBS=""
14390 else
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14392 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14394 cat >>confdefs.h <<_ACEOF
14395 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14396 _ACEOF
14399 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14401 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14402 #include FT_MODULE_H
14404 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14406 cat >>confdefs.h <<_ACEOF
14407 #define HAVE_FT_TRUETYPEENGINETYPE 1
14408 _ACEOF
14414 else
14415 FREETYPE_CFLAGS=""
14416 FREETYPE_LIBS=""
14418 CPPFLAGS=$ac_save_CPPFLAGS
14421 if test "x$ac_cv_lib_soname_freetype" = x; then :
14422 case "x$with_freetype" in
14423 xno) ;;
14424 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14425 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14426 esac
14427 enable_fonts=${enable_fonts:-no}
14430 ac_wine_check_funcs_save_LIBS="$LIBS"
14431 LIBS="$LIBS $PTHREAD_LIBS"
14432 for ac_func in \
14433 pthread_getthreadid_np
14434 do :
14435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14438 cat >>confdefs.h <<_ACEOF
14439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14440 _ACEOF
14443 done
14445 LIBS="$ac_wine_check_funcs_save_LIBS"
14447 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14448 then
14449 if test "$ac_cv_header_gettext_po_h" = "yes"
14450 then
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14452 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14453 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14454 $as_echo_n "(cached) " >&6
14455 else
14456 ac_check_lib_save_LIBS=$LIBS
14457 LIBS="-lgettextpo $LIBS"
14458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14459 /* end confdefs.h. */
14461 /* Override any GCC internal prototype to avoid an error.
14462 Use char because int might match the return type of a GCC
14463 builtin and then its argument prototype would still apply. */
14464 #ifdef __cplusplus
14465 extern "C"
14466 #endif
14467 char po_message_msgctxt ();
14469 main ()
14471 return po_message_msgctxt ();
14473 return 0;
14475 _ACEOF
14476 if ac_fn_c_try_link "$LINENO"; then :
14477 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14478 else
14479 ac_cv_lib_gettextpo_po_message_msgctxt=no
14481 rm -f core conftest.err conftest.$ac_objext \
14482 conftest$ac_exeext conftest.$ac_ext
14483 LIBS=$ac_check_lib_save_LIBS
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14486 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14487 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14489 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14491 GETTEXTPO_LIBS="-lgettextpo"
14496 if test "x$GETTEXTPO_LIBS" = "x"; then :
14497 case "x$with_gettextpo" in
14498 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14499 xno) ;;
14500 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14501 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14502 esac
14505 if test "$srcdir" != .; then :
14506 case "x$with_gettextpo" in
14507 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14508 xno) ;;
14509 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14510 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14511 esac
14516 if test "x$with_pulse" != "xno";
14517 then
14518 if ${PULSE_CFLAGS:+false} :; then :
14519 if ${PKG_CONFIG+:} false; then :
14520 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14524 if ${PULSE_LIBS:+false} :; then :
14525 if ${PKG_CONFIG+:} false; then :
14526 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14531 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14532 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14533 ac_save_CPPFLAGS=$CPPFLAGS
14534 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14535 for ac_header in pulse/pulseaudio.h
14536 do :
14537 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14538 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14539 cat >>confdefs.h <<_ACEOF
14540 #define HAVE_PULSE_PULSEAUDIO_H 1
14541 _ACEOF
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14543 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14544 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14545 $as_echo_n "(cached) " >&6
14546 else
14547 ac_check_lib_save_LIBS=$LIBS
14548 LIBS="-lpulse $PULSE_LIBS $LIBS"
14549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550 /* end confdefs.h. */
14552 /* Override any GCC internal prototype to avoid an error.
14553 Use char because int might match the return type of a GCC
14554 builtin and then its argument prototype would still apply. */
14555 #ifdef __cplusplus
14556 extern "C"
14557 #endif
14558 char pa_stream_is_corked ();
14560 main ()
14562 return pa_stream_is_corked ();
14564 return 0;
14566 _ACEOF
14567 if ac_fn_c_try_link "$LINENO"; then :
14568 ac_cv_lib_pulse_pa_stream_is_corked=yes
14569 else
14570 ac_cv_lib_pulse_pa_stream_is_corked=no
14572 rm -f core conftest.err conftest.$ac_objext \
14573 conftest$ac_exeext conftest.$ac_ext
14574 LIBS=$ac_check_lib_save_LIBS
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14577 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14578 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14580 else
14581 PULSE_LIBS=""
14584 else
14585 PULSE_LIBS=""
14588 done
14590 CPPFLAGS=$ac_save_CPPFLAGS
14593 if test -z "$PULSE_LIBS"; then :
14594 case "x$with_pulse" in
14595 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14596 xno) ;;
14597 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14598 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14599 esac
14600 enable_winepulse_drv=${enable_winepulse_drv:-no}
14603 if test "x$with_gstreamer" != "xno"
14604 then
14605 if ${GSTREAMER_CFLAGS:+false} :; then :
14606 if ${PKG_CONFIG+:} false; then :
14607 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14611 if ${GSTREAMER_LIBS:+false} :; then :
14612 if ${PKG_CONFIG+:} false; then :
14613 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14618 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14619 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14620 ac_save_CPPFLAGS=$CPPFLAGS
14621 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14622 ac_gst_incl=""
14623 for i in $GSTREAMER_CFLAGS
14625 case "$i" in
14626 -I*) ac_gst_incl="$ac_gst_incl $i";;
14627 esac
14628 done
14629 GSTREAMER_CFLAGS=$ac_gst_incl
14630 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14631 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14632 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14634 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14637 #include <gst/gst.h>
14639 main ()
14641 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14643 return 0;
14645 _ACEOF
14646 if ac_fn_c_try_compile "$LINENO"; then :
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14648 $as_echo "yes" >&6; }
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14650 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14651 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14652 $as_echo_n "(cached) " >&6
14653 else
14654 ac_check_lib_save_LIBS=$LIBS
14655 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14657 /* end confdefs.h. */
14659 /* Override any GCC internal prototype to avoid an error.
14660 Use char because int might match the return type of a GCC
14661 builtin and then its argument prototype would still apply. */
14662 #ifdef __cplusplus
14663 extern "C"
14664 #endif
14665 char gst_pad_new ();
14667 main ()
14669 return gst_pad_new ();
14671 return 0;
14673 _ACEOF
14674 if ac_fn_c_try_link "$LINENO"; then :
14675 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14676 else
14677 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14679 rm -f core conftest.err conftest.$ac_objext \
14680 conftest$ac_exeext conftest.$ac_ext
14681 LIBS=$ac_check_lib_save_LIBS
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14684 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14685 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14689 else
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14691 $as_echo "no" >&6; }
14692 ac_glib2_broken=yes
14693 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14699 CPPFLAGS=$ac_save_CPPFLAGS
14702 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 :
14703 case "x$with_gstreamer" in
14704 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14705 xno) ;;
14706 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14707 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14708 esac
14711 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14713 ALSA_LIBS=""
14715 if test "x$with_alsa" != "xno"
14716 then
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14718 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14719 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14720 $as_echo_n "(cached) " >&6
14721 else
14722 ac_check_lib_save_LIBS=$LIBS
14723 LIBS="-lasound $LIBS"
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14727 /* Override any GCC internal prototype to avoid an error.
14728 Use char because int might match the return type of a GCC
14729 builtin and then its argument prototype would still apply. */
14730 #ifdef __cplusplus
14731 extern "C"
14732 #endif
14733 char snd_pcm_hw_params_get_access_mask ();
14735 main ()
14737 return snd_pcm_hw_params_get_access_mask ();
14739 return 0;
14741 _ACEOF
14742 if ac_fn_c_try_link "$LINENO"; then :
14743 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14744 else
14745 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14747 rm -f core conftest.err conftest.$ac_objext \
14748 conftest$ac_exeext conftest.$ac_ext
14749 LIBS=$ac_check_lib_save_LIBS
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14752 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14753 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14755 /* end confdefs.h. */
14756 #include <alsa/asoundlib.h>
14758 main ()
14760 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14762 return 0;
14764 _ACEOF
14765 if ac_fn_c_try_compile "$LINENO"; then :
14766 ALSA_LIBS="-lasound"
14768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14772 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14774 if test "x$with_oss" != xno
14775 then
14776 ac_save_CPPFLAGS="$CPPFLAGS"
14777 if test -f /etc/oss.conf
14778 then
14779 . /etc/oss.conf
14781 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14782 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14783 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14784 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14785 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14787 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14789 cat >>confdefs.h <<_ACEOF
14790 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14791 _ACEOF
14793 OSS4_CFLAGS="$ac_oss_incl"
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14796 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14797 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14798 $as_echo_n "(cached) " >&6
14799 else
14800 ac_check_lib_save_LIBS=$LIBS
14801 LIBS="-lossaudio $LIBS"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14808 #ifdef __cplusplus
14809 extern "C"
14810 #endif
14811 char _oss_ioctl ();
14813 main ()
14815 return _oss_ioctl ();
14817 return 0;
14819 _ACEOF
14820 if ac_fn_c_try_link "$LINENO"; then :
14821 ac_cv_lib_ossaudio__oss_ioctl=yes
14822 else
14823 ac_cv_lib_ossaudio__oss_ioctl=no
14825 rm -f core conftest.err conftest.$ac_objext \
14826 conftest$ac_exeext conftest.$ac_ext
14827 LIBS=$ac_check_lib_save_LIBS
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14830 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14831 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14832 OSS4_LIBS="-lossaudio"
14841 CPPFLAGS="$ac_save_CPPFLAGS"
14843 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14844 case "x$with_oss" in
14845 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14846 xno) ;;
14847 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14848 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14849 esac
14850 enable_wineoss_drv=${enable_wineoss_drv:-no}
14853 if test "x$with_udev" != "xno"
14854 then
14855 if ${UDEV_CFLAGS:+false} :; then :
14856 if ${PKG_CONFIG+:} false; then :
14857 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14861 if ${UDEV_LIBS:+false} :; then :
14862 if ${PKG_CONFIG+:} false; then :
14863 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14867 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14868 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14869 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14870 ac_save_CPPFLAGS=$CPPFLAGS
14871 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14872 for ac_header in libudev.h
14873 do :
14874 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14875 if test "x$ac_cv_header_libudev_h" = xyes; then :
14876 cat >>confdefs.h <<_ACEOF
14877 #define HAVE_LIBUDEV_H 1
14878 _ACEOF
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14880 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14881 if ${ac_cv_lib_udev_udev_new+:} false; then :
14882 $as_echo_n "(cached) " >&6
14883 else
14884 ac_check_lib_save_LIBS=$LIBS
14885 LIBS="-ludev $UDEV_LIBS $LIBS"
14886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14889 /* Override any GCC internal prototype to avoid an error.
14890 Use char because int might match the return type of a GCC
14891 builtin and then its argument prototype would still apply. */
14892 #ifdef __cplusplus
14893 extern "C"
14894 #endif
14895 char udev_new ();
14897 main ()
14899 return udev_new ();
14901 return 0;
14903 _ACEOF
14904 if ac_fn_c_try_link "$LINENO"; then :
14905 ac_cv_lib_udev_udev_new=yes
14906 else
14907 ac_cv_lib_udev_udev_new=no
14909 rm -f core conftest.err conftest.$ac_objext \
14910 conftest$ac_exeext conftest.$ac_ext
14911 LIBS=$ac_check_lib_save_LIBS
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14914 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14915 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14917 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14919 else
14920 UDEV_LIBS=""
14923 else
14924 UDEV_LIBS=""
14927 done
14929 CPPFLAGS=$ac_save_CPPFLAGS
14932 if test "x$UDEV_LIBS" = "x"; then :
14933 case "x$with_udev" in
14934 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14935 xno) ;;
14936 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14937 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14938 esac
14942 if test "x$with_unwind" != xno
14943 then
14944 if ${UNWIND_CFLAGS:+false} :; then :
14945 if ${PKG_CONFIG+:} false; then :
14946 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14950 if ${UNWIND_LIBS:+false} :; then :
14951 if ${PKG_CONFIG+:} false; then :
14952 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14956 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14957 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14958 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14959 ac_save_CPPFLAGS=$CPPFLAGS
14960 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14962 $as_echo_n "checking for unw_step... " >&6; }
14963 if ${wine_cv_have_unw_step+:} false; then :
14964 $as_echo_n "(cached) " >&6
14965 else
14966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14968 #define UNW_LOCAL_ONLY
14969 #include <libunwind.h>
14971 main ()
14973 unw_cursor_t cursor; unw_step( &cursor );
14975 return 0;
14977 _ACEOF
14978 if ac_fn_c_try_link "$LINENO"; then :
14979 wine_cv_have_unw_step="yes"
14980 else
14981 wine_cv_have_unw_step="no"
14983 rm -f core conftest.err conftest.$ac_objext \
14984 conftest$ac_exeext conftest.$ac_ext
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14987 $as_echo "$wine_cv_have_unw_step" >&6; }
14988 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14989 then
14990 save_libs=$LIBS
14991 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14992 LIBS="$UNWIND_LIBS $LIBS"
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14994 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14995 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14996 $as_echo_n "(cached) " >&6
14997 else
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15000 #define UNW_LOCAL_ONLY
15001 #include <libunwind.h>
15003 main ()
15005 unw_cursor_t cursor; unw_step( &cursor );
15007 return 0;
15009 _ACEOF
15010 if ac_fn_c_try_link "$LINENO"; then :
15011 wine_cv_have_libunwind_unw_step="yes"
15012 else
15013 wine_cv_have_libunwind_unw_step="no"
15015 rm -f core conftest.err conftest.$ac_objext \
15016 conftest$ac_exeext conftest.$ac_ext
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15019 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15020 LIBS=$save_libs
15022 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15023 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15024 then
15026 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15029 CPPFLAGS=$ac_save_CPPFLAGS
15032 case $host in
15033 aarch64*|*-darwin*)
15034 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15035 case "x$with_unwind" in
15036 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15037 xno) ;;
15038 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15039 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15040 esac
15042 fi ;;
15043 esac
15045 if test "x$with_sdl" != "xno"
15046 then
15047 if ${SDL2_CFLAGS:+false} :; then :
15048 if ${PKG_CONFIG+:} false; then :
15049 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15053 if ${SDL2_LIBS:+false} :; then :
15054 if ${PKG_CONFIG+:} false; then :
15055 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15059 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15060 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15061 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15062 ac_save_CPPFLAGS=$CPPFLAGS
15063 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15064 for ac_header in SDL.h
15065 do :
15066 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15067 if test "x$ac_cv_header_SDL_h" = xyes; then :
15068 cat >>confdefs.h <<_ACEOF
15069 #define HAVE_SDL_H 1
15070 _ACEOF
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15072 $as_echo_n "checking for -lSDL2... " >&6; }
15073 if ${ac_cv_lib_soname_SDL2+:} false; then :
15074 $as_echo_n "(cached) " >&6
15075 else
15076 ac_check_soname_save_LIBS=$LIBS
15077 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15081 /* Override any GCC internal prototype to avoid an error.
15082 Use char because int might match the return type of a GCC
15083 builtin and then its argument prototype would still apply. */
15084 #ifdef __cplusplus
15085 extern "C"
15086 #endif
15087 char SDL_Init ();
15089 main ()
15091 return SDL_Init ();
15093 return 0;
15095 _ACEOF
15096 if ac_fn_c_try_link "$LINENO"; then :
15097 case "$LIBEXT" in
15098 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15099 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'` ;;
15100 *) 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'`
15101 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15102 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15103 fi ;;
15104 esac
15105 else
15106 ac_cv_lib_soname_SDL2=
15108 rm -f core conftest.err conftest.$ac_objext \
15109 conftest$ac_exeext conftest.$ac_ext
15110 LIBS=$ac_check_soname_save_LIBS
15112 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15114 $as_echo "not found" >&6; }
15116 else
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15118 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15120 cat >>confdefs.h <<_ACEOF
15121 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15122 _ACEOF
15128 done
15130 CPPFLAGS=$ac_save_CPPFLAGS
15133 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15134 case "x$with_sdl" in
15135 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15136 xno) ;;
15137 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15138 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15139 esac
15143 if test "x$with_faudio" != "xno"
15144 then
15145 if ${FAUDIO_CFLAGS:+false} :; then :
15146 if ${PKG_CONFIG+:} false; then :
15147 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15151 if ${FAUDIO_LIBS:+false} :; then :
15152 if ${PKG_CONFIG+:} false; then :
15153 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15157 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15158 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15159 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15160 ac_save_CPPFLAGS=$CPPFLAGS
15161 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15162 for ac_header in FAudio.h
15163 do :
15164 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15165 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15166 cat >>confdefs.h <<_ACEOF
15167 #define HAVE_FAUDIO_H 1
15168 _ACEOF
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15170 $as_echo_n "checking for -lFAudio... " >&6; }
15171 if ${ac_cv_lib_soname_FAudio+:} false; then :
15172 $as_echo_n "(cached) " >&6
15173 else
15174 ac_check_soname_save_LIBS=$LIBS
15175 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15179 /* Override any GCC internal prototype to avoid an error.
15180 Use char because int might match the return type of a GCC
15181 builtin and then its argument prototype would still apply. */
15182 #ifdef __cplusplus
15183 extern "C"
15184 #endif
15185 char FAudioCreate ();
15187 main ()
15189 return FAudioCreate ();
15191 return 0;
15193 _ACEOF
15194 if ac_fn_c_try_link "$LINENO"; then :
15195 case "$LIBEXT" in
15196 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15197 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'` ;;
15198 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15199 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15200 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15201 fi ;;
15202 esac
15203 else
15204 ac_cv_lib_soname_FAudio=
15206 rm -f core conftest.err conftest.$ac_objext \
15207 conftest$ac_exeext conftest.$ac_ext
15208 LIBS=$ac_check_soname_save_LIBS
15210 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15212 $as_echo "not found" >&6; }
15214 else
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15216 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15218 cat >>confdefs.h <<_ACEOF
15219 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15220 _ACEOF
15226 done
15228 ac_wine_check_funcs_save_LIBS="$LIBS"
15229 LIBS="$LIBS $FAUDIO_LIBS"
15230 for ac_func in FAudio_CommitOperationSet \
15231 F3DAudioInitialize8 \
15232 FAudioLinkedVersion \
15233 FAudioCreateReverb9WithCustomAllocatorEXT
15234 do :
15235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15237 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15238 cat >>confdefs.h <<_ACEOF
15239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15240 _ACEOF
15243 done
15245 LIBS="$ac_wine_check_funcs_save_LIBS"
15247 CPPFLAGS=$ac_save_CPPFLAGS
15250 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15251 case "x$with_faudio" in
15252 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15253 xno) ;;
15254 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15255 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15256 esac
15260 if test "x$with_capi" != "xno"
15261 then
15262 if ${CAPI20_CFLAGS:+false} :; then :
15263 if ${PKG_CONFIG+:} false; then :
15264 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15268 if ${CAPI20_LIBS:+false} :; then :
15269 if ${PKG_CONFIG+:} false; then :
15270 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15275 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15276 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15277 ac_save_CPPFLAGS=$CPPFLAGS
15278 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15279 for ac_header in capi20.h linux/capi.h
15280 do :
15281 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15282 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15284 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15285 cat >>confdefs.h <<_ACEOF
15286 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15287 _ACEOF
15291 done
15293 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15294 then
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15296 $as_echo_n "checking for -lcapi20... " >&6; }
15297 if ${ac_cv_lib_soname_capi20+:} false; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15300 ac_check_soname_save_LIBS=$LIBS
15301 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15305 /* Override any GCC internal prototype to avoid an error.
15306 Use char because int might match the return type of a GCC
15307 builtin and then its argument prototype would still apply. */
15308 #ifdef __cplusplus
15309 extern "C"
15310 #endif
15311 char capi20_register ();
15313 main ()
15315 return capi20_register ();
15317 return 0;
15319 _ACEOF
15320 if ac_fn_c_try_link "$LINENO"; then :
15321 case "$LIBEXT" in
15322 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15323 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'` ;;
15324 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15325 if ${ac_cv_lib_soname_capi20:+false} :; then :
15326 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15327 fi ;;
15328 esac
15329 else
15330 ac_cv_lib_soname_capi20=
15332 rm -f core conftest.err conftest.$ac_objext \
15333 conftest$ac_exeext conftest.$ac_ext
15334 LIBS=$ac_check_soname_save_LIBS
15336 if ${ac_cv_lib_soname_capi20:+false} :; then :
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15338 $as_echo "not found" >&6; }
15340 else
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15342 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15344 cat >>confdefs.h <<_ACEOF
15345 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15346 _ACEOF
15351 CPPFLAGS=$ac_save_CPPFLAGS
15354 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15355 case "x$with_capi" in
15356 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15357 xno) ;;
15358 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15359 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15360 esac
15364 if test "x$with_cups" != "xno"
15365 then
15366 if ${CUPS_CFLAGS:+false} :; then :
15367 if ${PKG_CONFIG+:} false; then :
15368 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15371 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15372 if ${CUPS_LIBS:+false} :; then :
15373 if ${PKG_CONFIG+:} false; then :
15374 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15377 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15378 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15379 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15380 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15381 ac_save_CPPFLAGS=$CPPFLAGS
15382 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15383 for ac_header in cups/cups.h cups/ppd.h
15384 do :
15385 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15386 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15387 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15388 cat >>confdefs.h <<_ACEOF
15389 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15390 _ACEOF
15394 done
15396 if test "$ac_cv_header_cups_cups_h" = "yes"
15397 then
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15399 $as_echo_n "checking for -lcups... " >&6; }
15400 if ${ac_cv_lib_soname_cups+:} false; then :
15401 $as_echo_n "(cached) " >&6
15402 else
15403 ac_check_soname_save_LIBS=$LIBS
15404 LIBS="-lcups $CUPS_LIBS $LIBS"
15405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15406 /* end confdefs.h. */
15408 /* Override any GCC internal prototype to avoid an error.
15409 Use char because int might match the return type of a GCC
15410 builtin and then its argument prototype would still apply. */
15411 #ifdef __cplusplus
15412 extern "C"
15413 #endif
15414 char cupsGetDefault ();
15416 main ()
15418 return cupsGetDefault ();
15420 return 0;
15422 _ACEOF
15423 if ac_fn_c_try_link "$LINENO"; then :
15424 case "$LIBEXT" in
15425 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15426 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'` ;;
15427 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15428 if ${ac_cv_lib_soname_cups:+false} :; then :
15429 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15430 fi ;;
15431 esac
15432 else
15433 ac_cv_lib_soname_cups=
15435 rm -f core conftest.err conftest.$ac_objext \
15436 conftest$ac_exeext conftest.$ac_ext
15437 LIBS=$ac_check_soname_save_LIBS
15439 if ${ac_cv_lib_soname_cups:+false} :; then :
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15441 $as_echo "not found" >&6; }
15442 CUPS_LIBS=""
15443 else
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15445 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15447 cat >>confdefs.h <<_ACEOF
15448 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15449 _ACEOF
15453 else
15454 CUPS_CFLAGS=""
15455 CUPS_LIBS=""
15457 CPPFLAGS=$ac_save_CPPFLAGS
15460 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15461 case "x$with_cups" in
15462 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15463 xno) ;;
15464 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15465 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15466 esac
15470 if test "x$with_fontconfig" != "xno"
15471 then
15472 if ${FONTCONFIG_CFLAGS:+false} :; then :
15473 if ${PKG_CONFIG+:} false; then :
15474 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15477 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15478 if ${FONTCONFIG_LIBS:+false} :; then :
15479 if ${PKG_CONFIG+:} false; then :
15480 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15483 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15485 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15486 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15487 ac_save_CPPFLAGS=$CPPFLAGS
15488 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15489 for ac_header in fontconfig/fontconfig.h
15490 do :
15491 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15492 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15493 cat >>confdefs.h <<_ACEOF
15494 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15495 _ACEOF
15499 done
15501 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15502 then
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15504 $as_echo_n "checking for -lfontconfig... " >&6; }
15505 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15506 $as_echo_n "(cached) " >&6
15507 else
15508 ac_check_soname_save_LIBS=$LIBS
15509 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511 /* end confdefs.h. */
15513 /* Override any GCC internal prototype to avoid an error.
15514 Use char because int might match the return type of a GCC
15515 builtin and then its argument prototype would still apply. */
15516 #ifdef __cplusplus
15517 extern "C"
15518 #endif
15519 char FcInit ();
15521 main ()
15523 return FcInit ();
15525 return 0;
15527 _ACEOF
15528 if ac_fn_c_try_link "$LINENO"; then :
15529 case "$LIBEXT" in
15530 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15531 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'` ;;
15532 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15533 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15534 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15535 fi ;;
15536 esac
15537 else
15538 ac_cv_lib_soname_fontconfig=
15540 rm -f core conftest.err conftest.$ac_objext \
15541 conftest$ac_exeext conftest.$ac_ext
15542 LIBS=$ac_check_soname_save_LIBS
15544 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15546 $as_echo "not found" >&6; }
15547 FONTCONFIG_CFLAGS=""
15548 else
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15550 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15552 cat >>confdefs.h <<_ACEOF
15553 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15554 _ACEOF
15558 else
15559 FONTCONFIG_CFLAGS=""
15561 CPPFLAGS=$ac_save_CPPFLAGS
15564 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15565 case "x$with_fontconfig" in
15566 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15567 xno) ;;
15568 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15569 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15570 esac
15574 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15575 then
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15577 $as_echo_n "checking for -lgsm... " >&6; }
15578 if ${ac_cv_lib_soname_gsm+:} false; then :
15579 $as_echo_n "(cached) " >&6
15580 else
15581 ac_check_soname_save_LIBS=$LIBS
15582 LIBS="-lgsm $LIBS"
15583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15584 /* end confdefs.h. */
15586 /* Override any GCC internal prototype to avoid an error.
15587 Use char because int might match the return type of a GCC
15588 builtin and then its argument prototype would still apply. */
15589 #ifdef __cplusplus
15590 extern "C"
15591 #endif
15592 char gsm_create ();
15594 main ()
15596 return gsm_create ();
15598 return 0;
15600 _ACEOF
15601 if ac_fn_c_try_link "$LINENO"; then :
15602 case "$LIBEXT" in
15603 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15604 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'` ;;
15605 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15606 if ${ac_cv_lib_soname_gsm:+false} :; then :
15607 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15608 fi ;;
15609 esac
15610 else
15611 ac_cv_lib_soname_gsm=
15613 rm -f core conftest.err conftest.$ac_objext \
15614 conftest$ac_exeext conftest.$ac_ext
15615 LIBS=$ac_check_soname_save_LIBS
15617 if ${ac_cv_lib_soname_gsm:+false} :; then :
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15619 $as_echo "not found" >&6; }
15621 else
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15623 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15625 cat >>confdefs.h <<_ACEOF
15626 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15627 _ACEOF
15632 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15633 case "x$with_gsm" in
15634 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15635 xno) ;;
15636 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15637 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15638 esac
15642 if test "x$with_krb5" != "xno"
15643 then
15644 if ${KRB5_CFLAGS:+false} :; then :
15645 if ${PKG_CONFIG+:} false; then :
15646 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15649 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15650 if ${KRB5_LIBS:+false} :; then :
15651 if ${PKG_CONFIG+:} false; then :
15652 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15655 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15657 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15658 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15659 ac_save_CPPFLAGS=$CPPFLAGS
15660 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15661 for ac_header in krb5/krb5.h
15662 do :
15663 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15664 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15665 cat >>confdefs.h <<_ACEOF
15666 #define HAVE_KRB5_KRB5_H 1
15667 _ACEOF
15671 done
15673 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15674 then
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15676 $as_echo_n "checking for -lkrb5... " >&6; }
15677 if ${ac_cv_lib_soname_krb5+:} false; then :
15678 $as_echo_n "(cached) " >&6
15679 else
15680 ac_check_soname_save_LIBS=$LIBS
15681 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683 /* end confdefs.h. */
15685 /* Override any GCC internal prototype to avoid an error.
15686 Use char because int might match the return type of a GCC
15687 builtin and then its argument prototype would still apply. */
15688 #ifdef __cplusplus
15689 extern "C"
15690 #endif
15691 char krb5_is_config_principal ();
15693 main ()
15695 return krb5_is_config_principal ();
15697 return 0;
15699 _ACEOF
15700 if ac_fn_c_try_link "$LINENO"; then :
15701 case "$LIBEXT" in
15702 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15703 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'` ;;
15704 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15705 if ${ac_cv_lib_soname_krb5:+false} :; then :
15706 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15707 fi ;;
15708 esac
15709 else
15710 ac_cv_lib_soname_krb5=
15712 rm -f core conftest.err conftest.$ac_objext \
15713 conftest$ac_exeext conftest.$ac_ext
15714 LIBS=$ac_check_soname_save_LIBS
15716 if ${ac_cv_lib_soname_krb5:+false} :; then :
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15718 $as_echo "not found" >&6; }
15719 KRB5_CFLAGS=""
15720 else
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15722 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15724 cat >>confdefs.h <<_ACEOF
15725 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15726 _ACEOF
15730 else
15731 KRB5_CFLAGS=""
15733 CPPFLAGS=$ac_save_CPPFLAGS
15736 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15737 case "x$with_krb5" in
15738 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15739 xno) ;;
15740 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15741 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15742 esac
15745 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15747 if test "x$with_gssapi" != "xno"
15748 then
15749 if ${GSSAPI_CFLAGS:+false} :; then :
15750 if ${PKG_CONFIG+:} false; then :
15751 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15754 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15755 if ${GSSAPI_LIBS:+false} :; then :
15756 if ${PKG_CONFIG+:} false; then :
15757 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15760 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15762 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15763 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15764 ac_save_CPPFLAGS=$CPPFLAGS
15765 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15766 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15767 do :
15768 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15769 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15770 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15771 cat >>confdefs.h <<_ACEOF
15772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15773 _ACEOF
15777 done
15779 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15780 then
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15782 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15783 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15784 $as_echo_n "(cached) " >&6
15785 else
15786 ac_check_soname_save_LIBS=$LIBS
15787 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15789 /* end confdefs.h. */
15791 /* Override any GCC internal prototype to avoid an error.
15792 Use char because int might match the return type of a GCC
15793 builtin and then its argument prototype would still apply. */
15794 #ifdef __cplusplus
15795 extern "C"
15796 #endif
15797 char gss_init_sec_context ();
15799 main ()
15801 return gss_init_sec_context ();
15803 return 0;
15805 _ACEOF
15806 if ac_fn_c_try_link "$LINENO"; then :
15807 case "$LIBEXT" in
15808 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15809 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'` ;;
15810 *) 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'`
15811 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15812 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15813 fi ;;
15814 esac
15815 else
15816 ac_cv_lib_soname_gssapi_krb5=
15818 rm -f core conftest.err conftest.$ac_objext \
15819 conftest$ac_exeext conftest.$ac_ext
15820 LIBS=$ac_check_soname_save_LIBS
15822 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15824 $as_echo "not found" >&6; }
15825 GSSAPI_CFLAGS=""
15826 else
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15828 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15830 cat >>confdefs.h <<_ACEOF
15831 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15832 _ACEOF
15836 else
15837 GSSAPI_CFLAGS=""
15839 CPPFLAGS=$ac_save_CPPFLAGS
15842 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15843 case "x$with_gssapi" in
15844 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15845 xno) ;;
15846 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15847 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15848 esac
15852 if test "x$with_jpeg" != "xno"
15853 then
15854 if ${JPEG_CFLAGS:+false} :; then :
15855 if ${PKG_CONFIG+:} false; then :
15856 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15860 if ${JPEG_LIBS:+false} :; then :
15861 if ${PKG_CONFIG+:} false; then :
15862 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15867 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15868 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15869 ac_save_CPPFLAGS=$CPPFLAGS
15870 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15871 for ac_header in jpeglib.h
15872 do :
15873 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15874 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15875 cat >>confdefs.h <<_ACEOF
15876 #define HAVE_JPEGLIB_H 1
15877 _ACEOF
15881 done
15883 if test "$ac_cv_header_jpeglib_h" = "yes"
15884 then
15885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15886 $as_echo_n "checking for -ljpeg... " >&6; }
15887 if ${ac_cv_lib_soname_jpeg+:} false; then :
15888 $as_echo_n "(cached) " >&6
15889 else
15890 ac_check_soname_save_LIBS=$LIBS
15891 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15893 /* end confdefs.h. */
15895 /* Override any GCC internal prototype to avoid an error.
15896 Use char because int might match the return type of a GCC
15897 builtin and then its argument prototype would still apply. */
15898 #ifdef __cplusplus
15899 extern "C"
15900 #endif
15901 char jpeg_start_decompress ();
15903 main ()
15905 return jpeg_start_decompress ();
15907 return 0;
15909 _ACEOF
15910 if ac_fn_c_try_link "$LINENO"; then :
15911 case "$LIBEXT" in
15912 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15913 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'` ;;
15914 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15915 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15916 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15917 fi ;;
15918 esac
15919 else
15920 ac_cv_lib_soname_jpeg=
15922 rm -f core conftest.err conftest.$ac_objext \
15923 conftest$ac_exeext conftest.$ac_ext
15924 LIBS=$ac_check_soname_save_LIBS
15926 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15928 $as_echo "not found" >&6; }
15929 JPEG_CFLAGS=""
15930 else
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15932 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15934 cat >>confdefs.h <<_ACEOF
15935 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15936 _ACEOF
15940 else
15941 JPEG_CFLAGS=""
15943 CPPFLAGS=$ac_save_CPPFLAGS
15946 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15947 case "x$with_jpeg" in
15948 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15949 xno) ;;
15950 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15951 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15952 esac
15956 if test "x$with_jxrlib" != "xno"
15957 then
15958 if ${JXRLIB_CFLAGS:+false} :; then :
15959 if ${PKG_CONFIG+:} false; then :
15960 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15963 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15964 if ${JXRLIB_LIBS:+false} :; then :
15965 if ${PKG_CONFIG+:} false; then :
15966 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15971 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15972 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15973 ac_save_CPPFLAGS=$CPPFLAGS
15974 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15975 for ac_header in JXRGlue.h
15976 do :
15977 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15979 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15980 cat >>confdefs.h <<_ACEOF
15981 #define HAVE_JXRGLUE_H 1
15982 _ACEOF
15986 done
15988 if test "$ac_cv_header_JXRGlue_h" = "yes"
15989 then
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15991 $as_echo_n "checking for -ljxrglue... " >&6; }
15992 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15993 $as_echo_n "(cached) " >&6
15994 else
15995 ac_check_soname_save_LIBS=$LIBS
15996 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15998 /* end confdefs.h. */
16000 /* Override any GCC internal prototype to avoid an error.
16001 Use char because int might match the return type of a GCC
16002 builtin and then its argument prototype would still apply. */
16003 #ifdef __cplusplus
16004 extern "C"
16005 #endif
16006 char PKImageDecode_Create_WMP ();
16008 main ()
16010 return PKImageDecode_Create_WMP ();
16012 return 0;
16014 _ACEOF
16015 if ac_fn_c_try_link "$LINENO"; then :
16016 case "$LIBEXT" in
16017 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16018 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'` ;;
16019 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16020 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16021 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16022 fi ;;
16023 esac
16024 else
16025 ac_cv_lib_soname_jxrglue=
16027 rm -f core conftest.err conftest.$ac_objext \
16028 conftest$ac_exeext conftest.$ac_ext
16029 LIBS=$ac_check_soname_save_LIBS
16031 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16033 $as_echo "not found" >&6; }
16034 JXRLIB_CFLAGS=""
16035 else
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16037 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16039 cat >>confdefs.h <<_ACEOF
16040 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16041 _ACEOF
16045 else
16046 JXRLIB_CFLAGS=""
16048 CPPFLAGS=$ac_save_CPPFLAGS
16051 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16052 case "x$with_jxrlib" in
16053 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16054 xno) ;;
16055 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16056 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16057 esac
16061 if test "x$with_png" != "xno"
16062 then
16063 if ${PNG_CFLAGS:+false} :; then :
16064 if ${PKG_CONFIG+:} false; then :
16065 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16068 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16069 if ${PNG_LIBS:+false} :; then :
16070 if ${PKG_CONFIG+:} false; then :
16071 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16074 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16076 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16077 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16078 ac_save_CPPFLAGS=$CPPFLAGS
16079 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16080 for ac_header in png.h
16081 do :
16082 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16083 if test "x$ac_cv_header_png_h" = xyes; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_PNG_H 1
16086 _ACEOF
16090 done
16092 if test "$ac_cv_header_png_h" = "yes"
16093 then
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16095 $as_echo_n "checking for -lpng... " >&6; }
16096 if ${ac_cv_lib_soname_png+:} false; then :
16097 $as_echo_n "(cached) " >&6
16098 else
16099 ac_check_soname_save_LIBS=$LIBS
16100 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16102 /* end confdefs.h. */
16104 /* Override any GCC internal prototype to avoid an error.
16105 Use char because int might match the return type of a GCC
16106 builtin and then its argument prototype would still apply. */
16107 #ifdef __cplusplus
16108 extern "C"
16109 #endif
16110 char png_create_read_struct ();
16112 main ()
16114 return png_create_read_struct ();
16116 return 0;
16118 _ACEOF
16119 if ac_fn_c_try_link "$LINENO"; then :
16120 case "$LIBEXT" in
16121 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16122 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'` ;;
16123 *) 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'`
16124 if ${ac_cv_lib_soname_png:+false} :; then :
16125 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16126 fi ;;
16127 esac
16128 else
16129 ac_cv_lib_soname_png=
16131 rm -f core conftest.err conftest.$ac_objext \
16132 conftest$ac_exeext conftest.$ac_ext
16133 LIBS=$ac_check_soname_save_LIBS
16135 if ${ac_cv_lib_soname_png:+false} :; then :
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16137 $as_echo "not found" >&6; }
16138 PNG_CFLAGS=""
16139 else
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16141 $as_echo "$ac_cv_lib_soname_png" >&6; }
16143 cat >>confdefs.h <<_ACEOF
16144 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16145 _ACEOF
16149 else
16150 PNG_CFLAGS=""
16152 CPPFLAGS=$ac_save_CPPFLAGS
16155 if test "x$ac_cv_lib_soname_png" = "x"; then :
16156 case "x$with_png" in
16157 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16158 xno) ;;
16159 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16160 This is an error since --with-png was requested." "$LINENO" 5 ;;
16161 esac
16165 if test "x$with_tiff" != "xno"
16166 then
16167 if ${TIFF_CFLAGS:+false} :; then :
16168 if ${PKG_CONFIG+:} false; then :
16169 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16173 if ${TIFF_LIBS:+false} :; then :
16174 if ${PKG_CONFIG+:} false; then :
16175 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16180 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16181 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16182 ac_save_CPPFLAGS=$CPPFLAGS
16183 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16184 for ac_header in tiffio.h
16185 do :
16186 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16187 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define HAVE_TIFFIO_H 1
16190 _ACEOF
16194 done
16196 if test "$ac_cv_header_tiffio_h" = "yes"
16197 then
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16199 $as_echo_n "checking for -ltiff... " >&6; }
16200 if ${ac_cv_lib_soname_tiff+:} false; then :
16201 $as_echo_n "(cached) " >&6
16202 else
16203 ac_check_soname_save_LIBS=$LIBS
16204 LIBS="-ltiff $TIFF_LIBS $LIBS"
16205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16206 /* end confdefs.h. */
16208 /* Override any GCC internal prototype to avoid an error.
16209 Use char because int might match the return type of a GCC
16210 builtin and then its argument prototype would still apply. */
16211 #ifdef __cplusplus
16212 extern "C"
16213 #endif
16214 char TIFFClientOpen ();
16216 main ()
16218 return TIFFClientOpen ();
16220 return 0;
16222 _ACEOF
16223 if ac_fn_c_try_link "$LINENO"; then :
16224 case "$LIBEXT" in
16225 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16226 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'` ;;
16227 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16228 if ${ac_cv_lib_soname_tiff:+false} :; then :
16229 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16230 fi ;;
16231 esac
16232 else
16233 ac_cv_lib_soname_tiff=
16235 rm -f core conftest.err conftest.$ac_objext \
16236 conftest$ac_exeext conftest.$ac_ext
16237 LIBS=$ac_check_soname_save_LIBS
16239 if ${ac_cv_lib_soname_tiff:+false} :; then :
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16241 $as_echo "not found" >&6; }
16243 else
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16245 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16247 cat >>confdefs.h <<_ACEOF
16248 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16249 _ACEOF
16254 CPPFLAGS=$ac_save_CPPFLAGS
16257 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16258 case "x$with_tiff" in
16259 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16260 xno) ;;
16261 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16262 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16263 esac
16267 if test "x$with_mpg123" != "xno"
16268 then
16269 if ${MPG123_CFLAGS:+false} :; then :
16270 if ${PKG_CONFIG+:} false; then :
16271 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16275 if ${MPG123_LIBS:+false} :; then :
16276 if ${PKG_CONFIG+:} false; then :
16277 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16281 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16282 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16283 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16284 ac_save_CPPFLAGS=$CPPFLAGS
16285 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16286 for ac_header in mpg123.h
16287 do :
16288 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16289 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16290 cat >>confdefs.h <<_ACEOF
16291 #define HAVE_MPG123_H 1
16292 _ACEOF
16296 done
16298 if test "$ac_cv_header_mpg123_h" = "yes"
16299 then
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16301 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16302 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16303 $as_echo_n "(cached) " >&6
16304 else
16305 ac_check_lib_save_LIBS=$LIBS
16306 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16308 /* end confdefs.h. */
16310 /* Override any GCC internal prototype to avoid an error.
16311 Use char because int might match the return type of a GCC
16312 builtin and then its argument prototype would still apply. */
16313 #ifdef __cplusplus
16314 extern "C"
16315 #endif
16316 char mpg123_feed ();
16318 main ()
16320 return mpg123_feed ();
16322 return 0;
16324 _ACEOF
16325 if ac_fn_c_try_link "$LINENO"; then :
16326 ac_cv_lib_mpg123_mpg123_feed=yes
16327 else
16328 ac_cv_lib_mpg123_mpg123_feed=no
16330 rm -f core conftest.err conftest.$ac_objext \
16331 conftest$ac_exeext conftest.$ac_ext
16332 LIBS=$ac_check_lib_save_LIBS
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16335 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16336 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16338 else
16339 MPG123_LIBS=""
16342 else
16343 MPG123_CFLAGS=""
16344 MPG123_LIBS=""
16346 CPPFLAGS=$ac_save_CPPFLAGS
16349 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16350 case "x$with_mpg123" in
16351 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16352 xno) ;;
16353 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16354 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16355 esac
16356 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16358 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16360 if test "$ac_cv_header_AL_al_h" = "yes"
16361 then
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16363 $as_echo_n "checking for -lopenal... " >&6; }
16364 if ${ac_cv_lib_soname_openal+:} false; then :
16365 $as_echo_n "(cached) " >&6
16366 else
16367 ac_check_soname_save_LIBS=$LIBS
16368 LIBS="-lopenal $LIBS"
16369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16370 /* end confdefs.h. */
16372 /* Override any GCC internal prototype to avoid an error.
16373 Use char because int might match the return type of a GCC
16374 builtin and then its argument prototype would still apply. */
16375 #ifdef __cplusplus
16376 extern "C"
16377 #endif
16378 char alGetSource3i ();
16380 main ()
16382 return alGetSource3i ();
16384 return 0;
16386 _ACEOF
16387 if ac_fn_c_try_link "$LINENO"; then :
16388 case "$LIBEXT" in
16389 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16390 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'` ;;
16391 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16392 if ${ac_cv_lib_soname_openal:+false} :; then :
16393 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16394 fi ;;
16395 esac
16396 else
16397 ac_cv_lib_soname_openal=
16399 rm -f core conftest.err conftest.$ac_objext \
16400 conftest$ac_exeext conftest.$ac_ext
16401 LIBS=$ac_check_soname_save_LIBS
16403 if ${ac_cv_lib_soname_openal:+false} :; then :
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16405 $as_echo "not found" >&6; }
16407 else
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16409 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16411 cat >>confdefs.h <<_ACEOF
16412 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16413 _ACEOF
16415 OPENAL_LIBS="-lopenal"
16417 ac_cv_lib_openal=yes
16419 cat >>confdefs.h <<_ACEOF
16420 #define HAVE_OPENAL 1
16421 _ACEOF
16425 if test "x$ac_cv_lib_openal" != xyes; then :
16426 case "x$with_openal" in
16427 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16428 xno) ;;
16429 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16430 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16431 esac
16432 enable_openal32=${enable_openal32:-no}
16435 if test "x$ac_cv_lib_soname_FAudio" = "x"
16436 then
16437 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16438 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16439 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16440 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16441 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16442 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16443 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16444 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16445 enable_xactengine3_0=${enable_xactengine3_0:-no}
16446 enable_xactengine3_1=${enable_xactengine3_1:-no}
16447 enable_xactengine3_2=${enable_xactengine3_2:-no}
16448 enable_xactengine3_3=${enable_xactengine3_3:-no}
16449 enable_xactengine3_4=${enable_xactengine3_4:-no}
16450 enable_xactengine3_5=${enable_xactengine3_5:-no}
16451 enable_xactengine3_6=${enable_xactengine3_6:-no}
16452 enable_xactengine3_7=${enable_xactengine3_7:-no}
16453 enable_xapofx1_1=${enable_xapofx1_1:-no}
16454 enable_xapofx1_2=${enable_xapofx1_2:-no}
16455 enable_xapofx1_3=${enable_xapofx1_3:-no}
16456 enable_xapofx1_4=${enable_xapofx1_4:-no}
16457 enable_xapofx1_5=${enable_xapofx1_5:-no}
16458 enable_xaudio2_0=${enable_xaudio2_0:-no}
16459 enable_xaudio2_1=${enable_xaudio2_1:-no}
16460 enable_xaudio2_2=${enable_xaudio2_2:-no}
16461 enable_xaudio2_3=${enable_xaudio2_3:-no}
16462 enable_xaudio2_4=${enable_xaudio2_4:-no}
16463 enable_xaudio2_5=${enable_xaudio2_5:-no}
16464 enable_xaudio2_6=${enable_xaudio2_6:-no}
16465 enable_xaudio2_7=${enable_xaudio2_7:-no}
16466 enable_xaudio2_8=${enable_xaudio2_8:-no}
16467 enable_xaudio2_9=${enable_xaudio2_9:-no}
16470 if test "$ac_cv_header_kstat_h" = "yes"
16471 then
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16473 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16474 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16475 $as_echo_n "(cached) " >&6
16476 else
16477 ac_check_lib_save_LIBS=$LIBS
16478 LIBS="-lkstat $LIBS"
16479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16480 /* end confdefs.h. */
16482 /* Override any GCC internal prototype to avoid an error.
16483 Use char because int might match the return type of a GCC
16484 builtin and then its argument prototype would still apply. */
16485 #ifdef __cplusplus
16486 extern "C"
16487 #endif
16488 char kstat_open ();
16490 main ()
16492 return kstat_open ();
16494 return 0;
16496 _ACEOF
16497 if ac_fn_c_try_link "$LINENO"; then :
16498 ac_cv_lib_kstat_kstat_open=yes
16499 else
16500 ac_cv_lib_kstat_kstat_open=no
16502 rm -f core conftest.err conftest.$ac_objext \
16503 conftest$ac_exeext conftest.$ac_ext
16504 LIBS=$ac_check_lib_save_LIBS
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16507 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16508 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16510 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16512 KSTAT_LIBS="-lkstat"
16518 if test "$ac_cv_header_libprocstat_h" = "yes"
16519 then
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16521 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16522 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16523 $as_echo_n "(cached) " >&6
16524 else
16525 ac_check_lib_save_LIBS=$LIBS
16526 LIBS="-lprocstat $LIBS"
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16530 /* Override any GCC internal prototype to avoid an error.
16531 Use char because int might match the return type of a GCC
16532 builtin and then its argument prototype would still apply. */
16533 #ifdef __cplusplus
16534 extern "C"
16535 #endif
16536 char procstat_open_sysctl ();
16538 main ()
16540 return procstat_open_sysctl ();
16542 return 0;
16544 _ACEOF
16545 if ac_fn_c_try_link "$LINENO"; then :
16546 ac_cv_lib_procstat_procstat_open_sysctl=yes
16547 else
16548 ac_cv_lib_procstat_procstat_open_sysctl=no
16550 rm -f core conftest.err conftest.$ac_objext \
16551 conftest$ac_exeext conftest.$ac_ext
16552 LIBS=$ac_check_lib_save_LIBS
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16555 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16556 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16558 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16560 PROCSTAT_LIBS="-lprocstat"
16566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16567 $as_echo_n "checking for -lodbc... " >&6; }
16568 if ${ac_cv_lib_soname_odbc+:} false; then :
16569 $as_echo_n "(cached) " >&6
16570 else
16571 ac_check_soname_save_LIBS=$LIBS
16572 LIBS="-lodbc $LIBS"
16573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16576 /* Override any GCC internal prototype to avoid an error.
16577 Use char because int might match the return type of a GCC
16578 builtin and then its argument prototype would still apply. */
16579 #ifdef __cplusplus
16580 extern "C"
16581 #endif
16582 char SQLConnect ();
16584 main ()
16586 return SQLConnect ();
16588 return 0;
16590 _ACEOF
16591 if ac_fn_c_try_link "$LINENO"; then :
16592 case "$LIBEXT" in
16593 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16594 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'` ;;
16595 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16596 if ${ac_cv_lib_soname_odbc:+false} :; then :
16597 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16598 fi ;;
16599 esac
16600 else
16601 ac_cv_lib_soname_odbc=
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS=$ac_check_soname_save_LIBS
16607 if ${ac_cv_lib_soname_odbc:+false} :; then :
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16609 $as_echo "not found" >&6; }
16610 cat >>confdefs.h <<_ACEOF
16611 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16612 _ACEOF
16614 else
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16616 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16618 cat >>confdefs.h <<_ACEOF
16619 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16620 _ACEOF
16625 if test "x$with_netapi" != "xno"
16626 then
16627 if ${NETAPI_CFLAGS:+false} :; then :
16628 if ${PKG_CONFIG+:} false; then :
16629 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16633 if ${NETAPI_LIBS:+false} :; then :
16634 if ${PKG_CONFIG+:} false; then :
16635 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16640 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16641 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16642 ac_save_CPPFLAGS=$CPPFLAGS
16643 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16645 $as_echo_n "checking for -lnetapi... " >&6; }
16646 if ${ac_cv_lib_soname_netapi+:} false; then :
16647 $as_echo_n "(cached) " >&6
16648 else
16649 ac_check_soname_save_LIBS=$LIBS
16650 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16652 /* end confdefs.h. */
16654 /* Override any GCC internal prototype to avoid an error.
16655 Use char because int might match the return type of a GCC
16656 builtin and then its argument prototype would still apply. */
16657 #ifdef __cplusplus
16658 extern "C"
16659 #endif
16660 char libnetapi_init ();
16662 main ()
16664 return libnetapi_init ();
16666 return 0;
16668 _ACEOF
16669 if ac_fn_c_try_link "$LINENO"; then :
16670 case "$LIBEXT" in
16671 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16672 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'` ;;
16673 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16674 if ${ac_cv_lib_soname_netapi:+false} :; then :
16675 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16676 fi ;;
16677 esac
16678 else
16679 ac_cv_lib_soname_netapi=
16681 rm -f core conftest.err conftest.$ac_objext \
16682 conftest$ac_exeext conftest.$ac_ext
16683 LIBS=$ac_check_soname_save_LIBS
16685 if ${ac_cv_lib_soname_netapi:+false} :; then :
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16687 $as_echo "not found" >&6; }
16688 cat >>confdefs.h <<_ACEOF
16689 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16690 _ACEOF
16692 else
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16694 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16696 cat >>confdefs.h <<_ACEOF
16697 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16698 _ACEOF
16702 CPPFLAGS=$ac_save_CPPFLAGS
16706 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16707 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16708 then
16709 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16712 if test "x$with_vulkan" != "xno"
16713 then
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16715 $as_echo_n "checking for -lvulkan... " >&6; }
16716 if ${ac_cv_lib_soname_vulkan+:} false; then :
16717 $as_echo_n "(cached) " >&6
16718 else
16719 ac_check_soname_save_LIBS=$LIBS
16720 LIBS="-lvulkan $LIBS"
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16724 /* Override any GCC internal prototype to avoid an error.
16725 Use char because int might match the return type of a GCC
16726 builtin and then its argument prototype would still apply. */
16727 #ifdef __cplusplus
16728 extern "C"
16729 #endif
16730 char vkGetInstanceProcAddr ();
16732 main ()
16734 return vkGetInstanceProcAddr ();
16736 return 0;
16738 _ACEOF
16739 if ac_fn_c_try_link "$LINENO"; then :
16740 case "$LIBEXT" in
16741 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16742 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'` ;;
16743 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16744 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16745 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16746 fi ;;
16747 esac
16748 else
16749 ac_cv_lib_soname_vulkan=
16751 rm -f core conftest.err conftest.$ac_objext \
16752 conftest$ac_exeext conftest.$ac_ext
16753 LIBS=$ac_check_soname_save_LIBS
16755 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16757 $as_echo "not found" >&6; }
16759 else
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16761 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16763 cat >>confdefs.h <<_ACEOF
16764 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16765 _ACEOF
16769 if test "x$ac_cv_lib_soname_vulkan" = "x"
16770 then
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16772 $as_echo_n "checking for -lMoltenVK... " >&6; }
16773 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16774 $as_echo_n "(cached) " >&6
16775 else
16776 ac_check_soname_save_LIBS=$LIBS
16777 LIBS="-lMoltenVK $LIBS"
16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16781 /* Override any GCC internal prototype to avoid an error.
16782 Use char because int might match the return type of a GCC
16783 builtin and then its argument prototype would still apply. */
16784 #ifdef __cplusplus
16785 extern "C"
16786 #endif
16787 char vkGetInstanceProcAddr ();
16789 main ()
16791 return vkGetInstanceProcAddr ();
16793 return 0;
16795 _ACEOF
16796 if ac_fn_c_try_link "$LINENO"; then :
16797 case "$LIBEXT" in
16798 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16799 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'` ;;
16800 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16801 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16802 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16803 fi ;;
16804 esac
16805 else
16806 ac_cv_lib_soname_MoltenVK=
16808 rm -f core conftest.err conftest.$ac_objext \
16809 conftest$ac_exeext conftest.$ac_ext
16810 LIBS=$ac_check_soname_save_LIBS
16812 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16814 $as_echo "not found" >&6; }
16816 else
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16818 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16820 cat >>confdefs.h <<_ACEOF
16821 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16822 _ACEOF
16828 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16829 case "x$with_vulkan" in
16830 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16831 xno) ;;
16832 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16833 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16834 esac
16838 if test "x$with_vkd3d" != "xno"
16839 then
16840 if ${VKD3D_CFLAGS:+false} :; then :
16841 if ${PKG_CONFIG+:} false; then :
16842 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16846 if ${VKD3D_LIBS:+false} :; then :
16847 if ${PKG_CONFIG+:} false; then :
16848 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16853 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16854 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16855 ac_save_CPPFLAGS=$CPPFLAGS
16856 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16858 $as_echo_n "checking for -lvkd3d... " >&6; }
16859 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16860 $as_echo_n "(cached) " >&6
16861 else
16862 ac_check_soname_save_LIBS=$LIBS
16863 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16865 /* end confdefs.h. */
16867 /* Override any GCC internal prototype to avoid an error.
16868 Use char because int might match the return type of a GCC
16869 builtin and then its argument prototype would still apply. */
16870 #ifdef __cplusplus
16871 extern "C"
16872 #endif
16873 char vkd3d_serialize_versioned_root_signature ();
16875 main ()
16877 return vkd3d_serialize_versioned_root_signature ();
16879 return 0;
16881 _ACEOF
16882 if ac_fn_c_try_link "$LINENO"; then :
16883 case "$LIBEXT" in
16884 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16885 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'` ;;
16886 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16887 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16888 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16889 fi ;;
16890 esac
16891 else
16892 ac_cv_lib_soname_vkd3d=
16894 rm -f core conftest.err conftest.$ac_objext \
16895 conftest$ac_exeext conftest.$ac_ext
16896 LIBS=$ac_check_soname_save_LIBS
16898 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16900 $as_echo "not found" >&6; }
16902 else
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16904 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16906 cat >>confdefs.h <<_ACEOF
16907 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16908 _ACEOF
16912 CPPFLAGS=$ac_save_CPPFLAGS
16914 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16915 if ${PKG_CONFIG+:} false; then :
16916 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16920 if ${VKD3D_SHADER_LIBS:+false} :; then :
16921 if ${PKG_CONFIG+:} false; then :
16922 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16927 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16928 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16929 ac_save_CPPFLAGS=$CPPFLAGS
16930 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16932 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16933 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16934 $as_echo_n "(cached) " >&6
16935 else
16936 ac_check_soname_save_LIBS=$LIBS
16937 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16941 /* Override any GCC internal prototype to avoid an error.
16942 Use char because int might match the return type of a GCC
16943 builtin and then its argument prototype would still apply. */
16944 #ifdef __cplusplus
16945 extern "C"
16946 #endif
16947 char vkd3d_shader_compile ();
16949 main ()
16951 return vkd3d_shader_compile ();
16953 return 0;
16955 _ACEOF
16956 if ac_fn_c_try_link "$LINENO"; then :
16957 case "$LIBEXT" in
16958 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16959 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'` ;;
16960 *) 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'`
16961 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16962 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16963 fi ;;
16964 esac
16965 else
16966 ac_cv_lib_soname_vkd3d_shader=
16968 rm -f core conftest.err conftest.$ac_objext \
16969 conftest$ac_exeext conftest.$ac_ext
16970 LIBS=$ac_check_soname_save_LIBS
16972 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16974 $as_echo "not found" >&6; }
16976 else
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16978 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16980 cat >>confdefs.h <<_ACEOF
16981 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16982 _ACEOF
16986 CPPFLAGS=$ac_save_CPPFLAGS
16989 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16990 case "x$with_vkd3d" in
16991 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16992 xno) ;;
16993 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16994 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16995 esac
16998 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17001 EXTRACFLAGS=""
17003 if test "x${GCC}" = "xyes"
17004 then
17005 EXTRACFLAGS="-Wall -pipe"
17007 saved_CFLAGS=$CFLAGS
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17009 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17010 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17011 $as_echo_n "(cached) " >&6
17012 else
17013 ac_wine_try_cflags_saved=$CFLAGS
17014 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17016 /* end confdefs.h. */
17017 int main(int argc, char **argv) { return 0; }
17018 _ACEOF
17019 if ac_fn_c_try_link "$LINENO"; then :
17020 ac_cv_cflags__Werror_unknown_warning_option=yes
17021 else
17022 ac_cv_cflags__Werror_unknown_warning_option=no
17024 rm -f core conftest.err conftest.$ac_objext \
17025 conftest$ac_exeext conftest.$ac_ext
17026 CFLAGS=$ac_wine_try_cflags_saved
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17029 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17030 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17031 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17034 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17035 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17036 $as_echo_n "(cached) " >&6
17037 else
17038 ac_wine_try_cflags_saved=$CFLAGS
17039 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 int main(int argc, char **argv) { return 0; }
17043 _ACEOF
17044 if ac_fn_c_try_link "$LINENO"; then :
17045 ac_cv_cflags__Werror_unused_command_line_argument=yes
17046 else
17047 ac_cv_cflags__Werror_unused_command_line_argument=no
17049 rm -f core conftest.err conftest.$ac_objext \
17050 conftest$ac_exeext conftest.$ac_ext
17051 CFLAGS=$ac_wine_try_cflags_saved
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17054 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17055 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17056 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17059 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17060 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17061 $as_echo_n "(cached) " >&6
17062 else
17063 ac_wine_try_cflags_saved=$CFLAGS
17064 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17066 /* end confdefs.h. */
17067 int main(int argc, char **argv) { return 0; }
17068 _ACEOF
17069 if ac_fn_c_try_link "$LINENO"; then :
17070 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17071 else
17072 ac_cv_cflags__Werror_ignored_optimization_argument=no
17074 rm -f core conftest.err conftest.$ac_objext \
17075 conftest$ac_exeext conftest.$ac_ext
17076 CFLAGS=$ac_wine_try_cflags_saved
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17079 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17080 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17081 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17084 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17085 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17086 $as_echo_n "(cached) " >&6
17087 else
17088 ac_wine_try_cflags_saved=$CFLAGS
17089 CFLAGS="$CFLAGS -fcf-protection=none"
17090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17091 /* end confdefs.h. */
17092 int main(int argc, char **argv) { return 0; }
17093 _ACEOF
17094 if ac_fn_c_try_link "$LINENO"; then :
17095 ac_cv_cflags__fcf_protection_none=yes
17096 else
17097 ac_cv_cflags__fcf_protection_none=no
17099 rm -f core conftest.err conftest.$ac_objext \
17100 conftest$ac_exeext conftest.$ac_ext
17101 CFLAGS=$ac_wine_try_cflags_saved
17103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17104 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17105 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17106 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17109 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17110 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17111 $as_echo_n "(cached) " >&6
17112 else
17113 ac_wine_try_cflags_saved=$CFLAGS
17114 CFLAGS="$CFLAGS -fno-stack-protector"
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h. */
17117 int main(int argc, char **argv) { return 0; }
17118 _ACEOF
17119 if ac_fn_c_try_link "$LINENO"; then :
17120 ac_cv_cflags__fno_stack_protector=yes
17121 else
17122 ac_cv_cflags__fno_stack_protector=no
17124 rm -f core conftest.err conftest.$ac_objext \
17125 conftest$ac_exeext conftest.$ac_ext
17126 CFLAGS=$ac_wine_try_cflags_saved
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17129 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17130 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17131 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17134 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17135 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17136 $as_echo_n "(cached) " >&6
17137 else
17138 ac_wine_try_cflags_saved=$CFLAGS
17139 CFLAGS="$CFLAGS -fno-strict-aliasing"
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142 int main(int argc, char **argv) { return 0; }
17143 _ACEOF
17144 if ac_fn_c_try_link "$LINENO"; then :
17145 ac_cv_cflags__fno_strict_aliasing=yes
17146 else
17147 ac_cv_cflags__fno_strict_aliasing=no
17149 rm -f core conftest.err conftest.$ac_objext \
17150 conftest$ac_exeext conftest.$ac_ext
17151 CFLAGS=$ac_wine_try_cflags_saved
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17154 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17155 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17156 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17159 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17160 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17161 $as_echo_n "(cached) " >&6
17162 else
17163 ac_wine_try_cflags_saved=$CFLAGS
17164 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17166 /* end confdefs.h. */
17167 int main(int argc, char **argv) { return 0; }
17168 _ACEOF
17169 if ac_fn_c_try_link "$LINENO"; then :
17170 ac_cv_cflags__Wdeclaration_after_statement=yes
17171 else
17172 ac_cv_cflags__Wdeclaration_after_statement=no
17174 rm -f core conftest.err conftest.$ac_objext \
17175 conftest$ac_exeext conftest.$ac_ext
17176 CFLAGS=$ac_wine_try_cflags_saved
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17179 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17180 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17181 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17184 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17185 if ${ac_cv_cflags__Wempty_body+:} false; then :
17186 $as_echo_n "(cached) " >&6
17187 else
17188 ac_wine_try_cflags_saved=$CFLAGS
17189 CFLAGS="$CFLAGS -Wempty-body"
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17192 int main(int argc, char **argv) { return 0; }
17193 _ACEOF
17194 if ac_fn_c_try_link "$LINENO"; then :
17195 ac_cv_cflags__Wempty_body=yes
17196 else
17197 ac_cv_cflags__Wempty_body=no
17199 rm -f core conftest.err conftest.$ac_objext \
17200 conftest$ac_exeext conftest.$ac_ext
17201 CFLAGS=$ac_wine_try_cflags_saved
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17204 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17205 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17206 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17209 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17210 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17213 ac_wine_try_cflags_saved=$CFLAGS
17214 CFLAGS="$CFLAGS -Wignored-qualifiers"
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17217 int main(int argc, char **argv) { return 0; }
17218 _ACEOF
17219 if ac_fn_c_try_link "$LINENO"; then :
17220 ac_cv_cflags__Wignored_qualifiers=yes
17221 else
17222 ac_cv_cflags__Wignored_qualifiers=no
17224 rm -f core conftest.err conftest.$ac_objext \
17225 conftest$ac_exeext conftest.$ac_ext
17226 CFLAGS=$ac_wine_try_cflags_saved
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17229 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17230 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17231 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17234 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17235 if ${ac_cv_cflags__Winit_self+:} false; then :
17236 $as_echo_n "(cached) " >&6
17237 else
17238 ac_wine_try_cflags_saved=$CFLAGS
17239 CFLAGS="$CFLAGS -Winit-self"
17240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17241 /* end confdefs.h. */
17242 int main(int argc, char **argv) { return 0; }
17243 _ACEOF
17244 if ac_fn_c_try_link "$LINENO"; then :
17245 ac_cv_cflags__Winit_self=yes
17246 else
17247 ac_cv_cflags__Winit_self=no
17249 rm -f core conftest.err conftest.$ac_objext \
17250 conftest$ac_exeext conftest.$ac_ext
17251 CFLAGS=$ac_wine_try_cflags_saved
17253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17254 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17255 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17256 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17259 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17260 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17261 $as_echo_n "(cached) " >&6
17262 else
17263 ac_wine_try_cflags_saved=$CFLAGS
17264 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17266 /* end confdefs.h. */
17267 int main(int argc, char **argv) { return 0; }
17268 _ACEOF
17269 if ac_fn_c_try_link "$LINENO"; then :
17270 ac_cv_cflags__Wpacked_not_aligned=yes
17271 else
17272 ac_cv_cflags__Wpacked_not_aligned=no
17274 rm -f core conftest.err conftest.$ac_objext \
17275 conftest$ac_exeext conftest.$ac_ext
17276 CFLAGS=$ac_wine_try_cflags_saved
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17279 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17280 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17281 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17284 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17285 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17286 $as_echo_n "(cached) " >&6
17287 else
17288 ac_wine_try_cflags_saved=$CFLAGS
17289 CFLAGS="$CFLAGS -Wpragma-pack"
17290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17291 /* end confdefs.h. */
17292 int main(int argc, char **argv) { return 0; }
17293 _ACEOF
17294 if ac_fn_c_try_link "$LINENO"; then :
17295 ac_cv_cflags__Wpragma_pack=yes
17296 else
17297 ac_cv_cflags__Wpragma_pack=no
17299 rm -f core conftest.err conftest.$ac_objext \
17300 conftest$ac_exeext conftest.$ac_ext
17301 CFLAGS=$ac_wine_try_cflags_saved
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17304 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17305 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17306 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17309 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17310 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17311 $as_echo_n "(cached) " >&6
17312 else
17313 ac_wine_try_cflags_saved=$CFLAGS
17314 CFLAGS="$CFLAGS -Wshift-overflow=2"
17315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17316 /* end confdefs.h. */
17317 int main(int argc, char **argv) { return 0; }
17318 _ACEOF
17319 if ac_fn_c_try_link "$LINENO"; then :
17320 ac_cv_cflags__Wshift_overflow_2=yes
17321 else
17322 ac_cv_cflags__Wshift_overflow_2=no
17324 rm -f core conftest.err conftest.$ac_objext \
17325 conftest$ac_exeext conftest.$ac_ext
17326 CFLAGS=$ac_wine_try_cflags_saved
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17329 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17330 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17331 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17334 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17335 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17336 $as_echo_n "(cached) " >&6
17337 else
17338 ac_wine_try_cflags_saved=$CFLAGS
17339 CFLAGS="$CFLAGS -Wstrict-prototypes"
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h. */
17342 int main(int argc, char **argv) { return 0; }
17343 _ACEOF
17344 if ac_fn_c_try_link "$LINENO"; then :
17345 ac_cv_cflags__Wstrict_prototypes=yes
17346 else
17347 ac_cv_cflags__Wstrict_prototypes=no
17349 rm -f core conftest.err conftest.$ac_objext \
17350 conftest$ac_exeext conftest.$ac_ext
17351 CFLAGS=$ac_wine_try_cflags_saved
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17354 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17355 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17356 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17359 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17360 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 ac_wine_try_cflags_saved=$CFLAGS
17364 CFLAGS="$CFLAGS -Wtype-limits"
17365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17366 /* end confdefs.h. */
17367 int main(int argc, char **argv) { return 0; }
17368 _ACEOF
17369 if ac_fn_c_try_link "$LINENO"; then :
17370 ac_cv_cflags__Wtype_limits=yes
17371 else
17372 ac_cv_cflags__Wtype_limits=no
17374 rm -f core conftest.err conftest.$ac_objext \
17375 conftest$ac_exeext conftest.$ac_ext
17376 CFLAGS=$ac_wine_try_cflags_saved
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17379 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17380 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17381 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17384 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17385 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17386 $as_echo_n "(cached) " >&6
17387 else
17388 ac_wine_try_cflags_saved=$CFLAGS
17389 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17392 int main(int argc, char **argv) { return 0; }
17393 _ACEOF
17394 if ac_fn_c_try_link "$LINENO"; then :
17395 ac_cv_cflags__Wunused_but_set_parameter=yes
17396 else
17397 ac_cv_cflags__Wunused_but_set_parameter=no
17399 rm -f core conftest.err conftest.$ac_objext \
17400 conftest$ac_exeext conftest.$ac_ext
17401 CFLAGS=$ac_wine_try_cflags_saved
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17404 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17405 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17406 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17409 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17410 if ${ac_cv_cflags__Wvla+:} false; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413 ac_wine_try_cflags_saved=$CFLAGS
17414 CFLAGS="$CFLAGS -Wvla"
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 int main(int argc, char **argv) { return 0; }
17418 _ACEOF
17419 if ac_fn_c_try_link "$LINENO"; then :
17420 ac_cv_cflags__Wvla=yes
17421 else
17422 ac_cv_cflags__Wvla=no
17424 rm -f core conftest.err conftest.$ac_objext \
17425 conftest$ac_exeext conftest.$ac_ext
17426 CFLAGS=$ac_wine_try_cflags_saved
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17429 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17430 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17431 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17434 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17435 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17438 ac_wine_try_cflags_saved=$CFLAGS
17439 CFLAGS="$CFLAGS -Wwrite-strings"
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 int main(int argc, char **argv) { return 0; }
17443 _ACEOF
17444 if ac_fn_c_try_link "$LINENO"; then :
17445 ac_cv_cflags__Wwrite_strings=yes
17446 else
17447 ac_cv_cflags__Wwrite_strings=no
17449 rm -f core conftest.err conftest.$ac_objext \
17450 conftest$ac_exeext conftest.$ac_ext
17451 CFLAGS=$ac_wine_try_cflags_saved
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17454 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17455 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17456 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17459 if test -z "$CROSSTARGET"
17460 then
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17462 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17463 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17464 $as_echo_n "(cached) " >&6
17465 else
17466 ac_wine_try_cflags_saved=$CFLAGS
17467 CFLAGS="$CFLAGS -fexcess-precision=standard"
17468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17470 int main(int argc, char **argv) { return 0; }
17471 _ACEOF
17472 if ac_fn_c_try_link "$LINENO"; then :
17473 ac_cv_cflags__fexcess_precision_standard=yes
17474 else
17475 ac_cv_cflags__fexcess_precision_standard=no
17477 rm -f core conftest.err conftest.$ac_objext \
17478 conftest$ac_exeext conftest.$ac_ext
17479 CFLAGS=$ac_wine_try_cflags_saved
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17482 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17483 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17484 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17490 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17491 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17492 $as_echo_n "(cached) " >&6
17493 else
17494 ac_wine_try_cflags_saved=$CFLAGS
17495 CFLAGS="$CFLAGS -Wpointer-arith"
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17498 int main(int argc, char **argv) { return 0; }
17499 _ACEOF
17500 if ac_fn_c_try_link "$LINENO"; then :
17501 ac_cv_cflags__Wpointer_arith=yes
17502 else
17503 ac_cv_cflags__Wpointer_arith=no
17505 rm -f core conftest.err conftest.$ac_objext \
17506 conftest$ac_exeext conftest.$ac_ext
17507 CFLAGS=$ac_wine_try_cflags_saved
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17510 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17511 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17512 saved_string_h_CFLAGS=$CFLAGS
17513 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17515 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17516 if ${ac_cv_c_string_h_warnings+:} false; then :
17517 $as_echo_n "(cached) " >&6
17518 else
17519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17520 /* end confdefs.h. */
17521 #include <string.h>
17523 main ()
17527 return 0;
17529 _ACEOF
17530 if ac_fn_c_try_compile "$LINENO"; then :
17531 ac_cv_c_string_h_warnings=no
17532 else
17533 ac_cv_c_string_h_warnings=yes
17535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17538 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17539 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17540 CFLAGS=$saved_string_h_CFLAGS
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17544 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17545 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17546 $as_echo_n "(cached) " >&6
17547 else
17548 ac_wine_try_cflags_saved=$CFLAGS
17549 CFLAGS="$CFLAGS -Wlogical-op"
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17552 int main(int argc, char **argv) { return 0; }
17553 _ACEOF
17554 if ac_fn_c_try_link "$LINENO"; then :
17555 ac_cv_cflags__Wlogical_op=yes
17556 else
17557 ac_cv_cflags__Wlogical_op=no
17559 rm -f core conftest.err conftest.$ac_objext \
17560 conftest$ac_exeext conftest.$ac_ext
17561 CFLAGS=$ac_wine_try_cflags_saved
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17564 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17565 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17566 saved_string_h_CFLAGS=$CFLAGS
17567 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17569 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17570 if ${ac_cv_c_logicalop_noisy+:} false; then :
17571 $as_echo_n "(cached) " >&6
17572 else
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #include <string.h>
17576 char*f(const char *h,char n) {return strchr(h,n);}
17578 main ()
17582 return 0;
17584 _ACEOF
17585 if ac_fn_c_try_compile "$LINENO"; then :
17586 ac_cv_c_logicalop_noisy=no
17587 else
17588 ac_cv_c_logicalop_noisy=yes
17590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17593 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17594 CFLAGS=$saved_string_h_CFLAGS
17595 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17599 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17600 if ${wine_cv_64bit_compare_swap+:} false; then :
17601 $as_echo_n "(cached) " >&6
17602 else
17603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17604 /* end confdefs.h. */
17605 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17606 #error no
17607 #endif
17609 main ()
17613 return 0;
17615 _ACEOF
17616 if ac_fn_c_try_compile "$LINENO"; then :
17617 wine_cv_64bit_compare_swap="none needed"
17618 else
17619 case $host_cpu in
17620 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17621 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17622 *) wine_cv_64bit_compare_swap="unknown" ;;
17623 esac
17624 if test "x$wine_cv_64bit_compare_swap" != xunknown
17625 then
17626 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17630 #error no
17631 #endif
17633 main ()
17637 return 0;
17639 _ACEOF
17640 if ac_fn_c_try_compile "$LINENO"; then :
17642 else
17643 wine_cv_64bit_compare_swap="unknown"
17645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17646 CFLAGS=$saved_CFLAGS
17649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17652 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17653 case "$wine_cv_64bit_compare_swap" in
17654 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17655 "none needed") ;;
17656 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17657 esac
17659 for ac_flag in $CFLAGS; do
17660 case $ac_flag in
17661 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17662 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17663 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17664 $as_echo_n "(cached) " >&6
17665 else
17666 ac_wine_try_cflags_saved=$CFLAGS
17667 CFLAGS="$CFLAGS -gdwarf-2"
17668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17669 /* end confdefs.h. */
17670 int main(int argc, char **argv) { return 0; }
17671 _ACEOF
17672 if ac_fn_c_try_link "$LINENO"; then :
17673 ac_cv_cflags__gdwarf_2=yes
17674 else
17675 ac_cv_cflags__gdwarf_2=no
17677 rm -f core conftest.err conftest.$ac_objext \
17678 conftest$ac_exeext conftest.$ac_ext
17679 CFLAGS=$ac_wine_try_cflags_saved
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17682 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17683 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17684 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17687 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17688 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17689 $as_echo_n "(cached) " >&6
17690 else
17691 ac_wine_try_cflags_saved=$CFLAGS
17692 CFLAGS="$CFLAGS -gstrict-dwarf"
17693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17695 int main(int argc, char **argv) { return 0; }
17696 _ACEOF
17697 if ac_fn_c_try_link "$LINENO"; then :
17698 ac_cv_cflags__gstrict_dwarf=yes
17699 else
17700 ac_cv_cflags__gstrict_dwarf=no
17702 rm -f core conftest.err conftest.$ac_objext \
17703 conftest$ac_exeext conftest.$ac_ext
17704 CFLAGS=$ac_wine_try_cflags_saved
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17707 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17708 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17709 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17710 fi ;;
17711 esac
17712 done
17714 MSVCRTFLAGS=""
17716 case $host_os in
17717 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17718 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17719 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17720 $as_echo_n "(cached) " >&6
17721 else
17722 ac_wine_try_cflags_saved=$CFLAGS
17723 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17725 /* end confdefs.h. */
17726 int main(int argc, char **argv) { return 0; }
17727 _ACEOF
17728 if ac_fn_c_try_link "$LINENO"; then :
17729 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17730 else
17731 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17733 rm -f core conftest.err conftest.$ac_objext \
17734 conftest$ac_exeext conftest.$ac_ext
17735 CFLAGS=$ac_wine_try_cflags_saved
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17738 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17739 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17740 DELAYLOADFLAG="-Wl,-delayload,"
17742 fi ;;
17743 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17744 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17745 if ${ac_cv_cflags__fno_builtin+:} false; then :
17746 $as_echo_n "(cached) " >&6
17747 else
17748 ac_wine_try_cflags_saved=$CFLAGS
17749 CFLAGS="$CFLAGS -fno-builtin"
17750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17751 /* end confdefs.h. */
17752 int main(int argc, char **argv) { return 0; }
17753 _ACEOF
17754 if ac_fn_c_try_link "$LINENO"; then :
17755 ac_cv_cflags__fno_builtin=yes
17756 else
17757 ac_cv_cflags__fno_builtin=no
17759 rm -f core conftest.err conftest.$ac_objext \
17760 conftest$ac_exeext conftest.$ac_ext
17761 CFLAGS=$ac_wine_try_cflags_saved
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17764 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17765 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17766 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17769 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17770 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17771 $as_echo_n "(cached) " >&6
17772 else
17773 ac_wine_try_cflags_saved=$CFLAGS
17774 CFLAGS="$CFLAGS -fshort-wchar"
17775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17776 /* end confdefs.h. */
17777 int main(int argc, char **argv) { return 0; }
17778 _ACEOF
17779 if ac_fn_c_try_link "$LINENO"; then :
17780 ac_cv_cflags__fshort_wchar=yes
17781 else
17782 ac_cv_cflags__fshort_wchar=no
17784 rm -f core conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17786 CFLAGS=$ac_wine_try_cflags_saved
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17789 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17790 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17791 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17792 fi ;;
17793 esac
17795 case $host_cpu in
17796 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17797 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17798 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17799 $as_echo_n "(cached) " >&6
17800 else
17801 ac_wine_try_cflags_saved=$CFLAGS
17802 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 int main(int argc, char **argv) { return 0; }
17806 _ACEOF
17807 if ac_fn_c_try_link "$LINENO"; then :
17808 ac_cv_cflags__fno_omit_frame_pointer=yes
17809 else
17810 ac_cv_cflags__fno_omit_frame_pointer=no
17812 rm -f core conftest.err conftest.$ac_objext \
17813 conftest$ac_exeext conftest.$ac_ext
17814 CFLAGS=$ac_wine_try_cflags_saved
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17817 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17818 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17819 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17820 fi ;;
17821 *x86_64*)
17822 case $host_os in
17823 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17824 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17825 if ${ac_cv_cflags__Wno_format+:} false; then :
17826 $as_echo_n "(cached) " >&6
17827 else
17828 ac_wine_try_cflags_saved=$CFLAGS
17829 CFLAGS="$CFLAGS -Wno-format"
17830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17831 /* end confdefs.h. */
17832 int main(int argc, char **argv) { return 0; }
17833 _ACEOF
17834 if ac_fn_c_try_link "$LINENO"; then :
17835 ac_cv_cflags__Wno_format=yes
17836 else
17837 ac_cv_cflags__Wno_format=no
17839 rm -f core conftest.err conftest.$ac_objext \
17840 conftest$ac_exeext conftest.$ac_ext
17841 CFLAGS=$ac_wine_try_cflags_saved
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17844 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17845 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17846 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17847 fi ;;
17848 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17849 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17850 if ${ac_cv_cflags__mabi_ms+:} false; then :
17851 $as_echo_n "(cached) " >&6
17852 else
17853 ac_wine_try_cflags_saved=$CFLAGS
17854 CFLAGS="$CFLAGS -mabi=ms"
17855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17856 /* end confdefs.h. */
17857 int main(int argc, char **argv) { return 0; }
17858 _ACEOF
17859 if ac_fn_c_try_link "$LINENO"; then :
17860 ac_cv_cflags__mabi_ms=yes
17861 else
17862 ac_cv_cflags__mabi_ms=no
17864 rm -f core conftest.err conftest.$ac_objext \
17865 conftest$ac_exeext conftest.$ac_ext
17866 CFLAGS=$ac_wine_try_cflags_saved
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17869 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17870 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17871 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17872 fi ;;
17873 esac ;;
17874 esac
17876 CFLAGS=$saved_CFLAGS
17878 if test "x$enable_werror" = "xyes"
17879 then
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17881 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17882 if ${ac_cv_cflags__Werror+:} false; then :
17883 $as_echo_n "(cached) " >&6
17884 else
17885 ac_wine_try_cflags_saved=$CFLAGS
17886 CFLAGS="$CFLAGS -Werror"
17887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17889 int main(int argc, char **argv) { return 0; }
17890 _ACEOF
17891 if ac_fn_c_try_link "$LINENO"; then :
17892 ac_cv_cflags__Werror=yes
17893 else
17894 ac_cv_cflags__Werror=no
17896 rm -f core conftest.err conftest.$ac_objext \
17897 conftest$ac_exeext conftest.$ac_ext
17898 CFLAGS=$ac_wine_try_cflags_saved
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17901 $as_echo "$ac_cv_cflags__Werror" >&6; }
17902 if test "x$ac_cv_cflags__Werror" = xyes; then :
17903 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17906 if test "x$enable_build_id" = "xyes"
17907 then
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17909 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17910 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17911 $as_echo_n "(cached) " >&6
17912 else
17913 ac_wine_try_cflags_saved=$CFLAGS
17914 CFLAGS="$CFLAGS -Wl,--build-id"
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 int main(int argc, char **argv) { return 0; }
17918 _ACEOF
17919 if ac_fn_c_try_link "$LINENO"; then :
17920 ac_cv_cflags__Wl___build_id=yes
17921 else
17922 ac_cv_cflags__Wl___build_id=no
17924 rm -f core conftest.err conftest.$ac_objext \
17925 conftest$ac_exeext conftest.$ac_ext
17926 CFLAGS=$ac_wine_try_cflags_saved
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17929 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17930 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17931 CFLAGS="$CFLAGS -Wl,--build-id"
17932 LDFLAGS="$LDFLAGS -Wl,--build-id"
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17939 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17940 if ${ac_cv_c_fortify_enabled+:} false; then :
17941 $as_echo_n "(cached) " >&6
17942 else
17943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17944 /* end confdefs.h. */
17945 #include <string.h>
17947 main ()
17949 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17950 #error Fortify enabled
17951 #endif
17953 return 0;
17955 _ACEOF
17956 if ac_fn_c_try_compile "$LINENO"; then :
17957 ac_cv_c_fortify_enabled=no
17958 else
17959 ac_cv_c_fortify_enabled=yes
17961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17964 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17965 if test "$ac_cv_c_fortify_enabled" = yes
17966 then
17967 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17972 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17973 if ${ac_cv_c_cfi_support+:} false; then :
17974 $as_echo_n "(cached) " >&6
17975 else
17976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977 /* end confdefs.h. */
17978 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17980 main ()
17984 return 0;
17986 _ACEOF
17987 if ac_fn_c_try_compile "$LINENO"; then :
17988 ac_cv_c_cfi_support="yes"
17989 else
17990 ac_cv_c_cfi_support="no"
17992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17995 $as_echo "$ac_cv_c_cfi_support" >&6; }
17996 if test "$ac_cv_c_cfi_support" = "yes"
17997 then
17998 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17999 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18000 else
18001 if test "x$enable_win64" = "xyes"
18002 then
18003 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18008 case $build_os in
18009 cygwin*|mingw32*) TOOLSEXT=".exe"
18011 esac
18013 case $host_os in
18014 linux*)
18015 case $host_cpu in
18016 *i[3456789]86*|x86_64*|*aarch64*)
18017 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18018 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18020 esac
18022 esac
18025 ac_save_CFLAGS="$CFLAGS"
18026 CFLAGS="$CFLAGS $BUILTINFLAG"
18027 for ac_func in \
18028 __res_get_state \
18029 __res_getservers \
18030 _spawnvp \
18031 epoll_create \
18032 fnmatch \
18033 fork \
18034 fstatfs \
18035 futimens \
18036 futimes \
18037 futimesat \
18038 getattrlist \
18039 getauxval \
18040 getifaddrs \
18041 getopt_long_only \
18042 getrandom \
18043 kqueue \
18044 lstat \
18045 mach_continuous_time \
18046 pipe2 \
18047 poll \
18048 port_create \
18049 prctl \
18050 pread \
18051 proc_pidinfo \
18052 pwrite \
18053 readlink \
18054 sched_yield \
18055 setproctitle \
18056 setprogname \
18057 sigprocmask \
18058 symlink \
18059 tcdrain \
18060 thr_kill2
18062 do :
18063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18065 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18066 cat >>confdefs.h <<_ACEOF
18067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18068 _ACEOF
18071 done
18073 CFLAGS="$ac_save_CFLAGS"
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18076 $as_echo_n "checking for library containing dlopen... " >&6; }
18077 if ${ac_cv_search_dlopen+:} false; then :
18078 $as_echo_n "(cached) " >&6
18079 else
18080 ac_func_search_save_LIBS=$LIBS
18081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18082 /* end confdefs.h. */
18084 /* Override any GCC internal prototype to avoid an error.
18085 Use char because int might match the return type of a GCC
18086 builtin and then its argument prototype would still apply. */
18087 #ifdef __cplusplus
18088 extern "C"
18089 #endif
18090 char dlopen ();
18092 main ()
18094 return dlopen ();
18096 return 0;
18098 _ACEOF
18099 for ac_lib in '' dl; do
18100 if test -z "$ac_lib"; then
18101 ac_res="none required"
18102 else
18103 ac_res=-l$ac_lib
18104 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18106 if ac_fn_c_try_link "$LINENO"; then :
18107 ac_cv_search_dlopen=$ac_res
18109 rm -f core conftest.err conftest.$ac_objext \
18110 conftest$ac_exeext
18111 if ${ac_cv_search_dlopen+:} false; then :
18112 break
18114 done
18115 if ${ac_cv_search_dlopen+:} false; then :
18117 else
18118 ac_cv_search_dlopen=no
18120 rm conftest.$ac_ext
18121 LIBS=$ac_func_search_save_LIBS
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18124 $as_echo "$ac_cv_search_dlopen" >&6; }
18125 ac_res=$ac_cv_search_dlopen
18126 if test "$ac_res" != no; then :
18127 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18131 ac_wine_check_funcs_save_LIBS="$LIBS"
18132 LIBS="$LIBS $DL_LIBS"
18133 for ac_func in dladdr dlinfo
18134 do :
18135 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18137 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18138 cat >>confdefs.h <<_ACEOF
18139 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18140 _ACEOF
18143 done
18145 LIBS="$ac_wine_check_funcs_save_LIBS"
18147 if test "$ac_cv_func_poll" = no
18148 then
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18150 $as_echo_n "checking for poll in -lpoll... " >&6; }
18151 if ${ac_cv_lib_poll_poll+:} false; then :
18152 $as_echo_n "(cached) " >&6
18153 else
18154 ac_check_lib_save_LIBS=$LIBS
18155 LIBS="-lpoll $LIBS"
18156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18157 /* end confdefs.h. */
18159 /* Override any GCC internal prototype to avoid an error.
18160 Use char because int might match the return type of a GCC
18161 builtin and then its argument prototype would still apply. */
18162 #ifdef __cplusplus
18163 extern "C"
18164 #endif
18165 char poll ();
18167 main ()
18169 return poll ();
18171 return 0;
18173 _ACEOF
18174 if ac_fn_c_try_link "$LINENO"; then :
18175 ac_cv_lib_poll_poll=yes
18176 else
18177 ac_cv_lib_poll_poll=no
18179 rm -f core conftest.err conftest.$ac_objext \
18180 conftest$ac_exeext conftest.$ac_ext
18181 LIBS=$ac_check_lib_save_LIBS
18183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18184 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18185 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18186 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18187 POLL_LIBS="-lpoll"
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18194 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18195 if ${ac_cv_search_gethostbyname+:} false; then :
18196 $as_echo_n "(cached) " >&6
18197 else
18198 ac_func_search_save_LIBS=$LIBS
18199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h. */
18202 /* Override any GCC internal prototype to avoid an error.
18203 Use char because int might match the return type of a GCC
18204 builtin and then its argument prototype would still apply. */
18205 #ifdef __cplusplus
18206 extern "C"
18207 #endif
18208 char gethostbyname ();
18210 main ()
18212 return gethostbyname ();
18214 return 0;
18216 _ACEOF
18217 for ac_lib in '' nsl; do
18218 if test -z "$ac_lib"; then
18219 ac_res="none required"
18220 else
18221 ac_res=-l$ac_lib
18222 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18224 if ac_fn_c_try_link "$LINENO"; then :
18225 ac_cv_search_gethostbyname=$ac_res
18227 rm -f core conftest.err conftest.$ac_objext \
18228 conftest$ac_exeext
18229 if ${ac_cv_search_gethostbyname+:} false; then :
18230 break
18232 done
18233 if ${ac_cv_search_gethostbyname+:} false; then :
18235 else
18236 ac_cv_search_gethostbyname=no
18238 rm conftest.$ac_ext
18239 LIBS=$ac_func_search_save_LIBS
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18242 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18243 ac_res=$ac_cv_search_gethostbyname
18244 if test "$ac_res" != no; then :
18245 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18251 $as_echo_n "checking for library containing connect... " >&6; }
18252 if ${ac_cv_search_connect+:} false; then :
18253 $as_echo_n "(cached) " >&6
18254 else
18255 ac_func_search_save_LIBS=$LIBS
18256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18259 /* Override any GCC internal prototype to avoid an error.
18260 Use char because int might match the return type of a GCC
18261 builtin and then its argument prototype would still apply. */
18262 #ifdef __cplusplus
18263 extern "C"
18264 #endif
18265 char connect ();
18267 main ()
18269 return connect ();
18271 return 0;
18273 _ACEOF
18274 for ac_lib in '' socket; do
18275 if test -z "$ac_lib"; then
18276 ac_res="none required"
18277 else
18278 ac_res=-l$ac_lib
18279 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18281 if ac_fn_c_try_link "$LINENO"; then :
18282 ac_cv_search_connect=$ac_res
18284 rm -f core conftest.err conftest.$ac_objext \
18285 conftest$ac_exeext
18286 if ${ac_cv_search_connect+:} false; then :
18287 break
18289 done
18290 if ${ac_cv_search_connect+:} false; then :
18292 else
18293 ac_cv_search_connect=no
18295 rm conftest.$ac_ext
18296 LIBS=$ac_func_search_save_LIBS
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18299 $as_echo "$ac_cv_search_connect" >&6; }
18300 ac_res=$ac_cv_search_connect
18301 if test "$ac_res" != no; then :
18302 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18308 $as_echo_n "checking for library containing inet_aton... " >&6; }
18309 if ${ac_cv_search_inet_aton+:} false; then :
18310 $as_echo_n "(cached) " >&6
18311 else
18312 ac_func_search_save_LIBS=$LIBS
18313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h. */
18316 /* Override any GCC internal prototype to avoid an error.
18317 Use char because int might match the return type of a GCC
18318 builtin and then its argument prototype would still apply. */
18319 #ifdef __cplusplus
18320 extern "C"
18321 #endif
18322 char inet_aton ();
18324 main ()
18326 return inet_aton ();
18328 return 0;
18330 _ACEOF
18331 for ac_lib in '' resolv; do
18332 if test -z "$ac_lib"; then
18333 ac_res="none required"
18334 else
18335 ac_res=-l$ac_lib
18336 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18338 if ac_fn_c_try_link "$LINENO"; then :
18339 ac_cv_search_inet_aton=$ac_res
18341 rm -f core conftest.err conftest.$ac_objext \
18342 conftest$ac_exeext
18343 if ${ac_cv_search_inet_aton+:} false; then :
18344 break
18346 done
18347 if ${ac_cv_search_inet_aton+:} false; then :
18349 else
18350 ac_cv_search_inet_aton=no
18352 rm conftest.$ac_ext
18353 LIBS=$ac_func_search_save_LIBS
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18356 $as_echo "$ac_cv_search_inet_aton" >&6; }
18357 ac_res=$ac_cv_search_inet_aton
18358 if test "$ac_res" != no; then :
18359 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18364 for ac_func in \
18365 getaddrinfo \
18366 getnameinfo \
18367 getservbyport \
18369 do :
18370 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18371 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18372 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18373 cat >>confdefs.h <<_ACEOF
18374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18375 _ACEOF
18378 done
18381 case $host_os in
18382 darwin*|macosx*) ;;
18383 *) ac_save_LIBS=$LIBS
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18385 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18386 if ${ac_cv_search_clock_gettime+:} false; then :
18387 $as_echo_n "(cached) " >&6
18388 else
18389 ac_func_search_save_LIBS=$LIBS
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18393 /* Override any GCC internal prototype to avoid an error.
18394 Use char because int might match the return type of a GCC
18395 builtin and then its argument prototype would still apply. */
18396 #ifdef __cplusplus
18397 extern "C"
18398 #endif
18399 char clock_gettime ();
18401 main ()
18403 return clock_gettime ();
18405 return 0;
18407 _ACEOF
18408 for ac_lib in '' rt; do
18409 if test -z "$ac_lib"; then
18410 ac_res="none required"
18411 else
18412 ac_res=-l$ac_lib
18413 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18415 if ac_fn_c_try_link "$LINENO"; then :
18416 ac_cv_search_clock_gettime=$ac_res
18418 rm -f core conftest.err conftest.$ac_objext \
18419 conftest$ac_exeext
18420 if ${ac_cv_search_clock_gettime+:} false; then :
18421 break
18423 done
18424 if ${ac_cv_search_clock_gettime+:} false; then :
18426 else
18427 ac_cv_search_clock_gettime=no
18429 rm conftest.$ac_ext
18430 LIBS=$ac_func_search_save_LIBS
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18433 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18434 ac_res=$ac_cv_search_clock_gettime
18435 if test "$ac_res" != no; then :
18436 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18438 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18440 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18444 LIBS=$ac_save_LIBS
18446 esac
18448 if test "x$with_ldap" != "xno"
18449 then
18450 if ${LDAP_CFLAGS:+false} :; then :
18451 if ${PKG_CONFIG+:} false; then :
18452 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18456 if ${LDAP_LIBS:+false} :; then :
18457 if ${PKG_CONFIG+:} false; then :
18458 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18462 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18463 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18464 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18465 ac_save_CPPFLAGS=$CPPFLAGS
18466 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18467 for ac_header in ldap.h lber.h
18468 do :
18469 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18470 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18471 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18472 cat >>confdefs.h <<_ACEOF
18473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18474 _ACEOF
18478 done
18480 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18481 then
18482 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18484 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18486 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18487 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18488 $as_echo_n "(cached) " >&6
18489 else
18490 ac_check_lib_save_LIBS=$LIBS
18491 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18493 /* end confdefs.h. */
18495 /* Override any GCC internal prototype to avoid an error.
18496 Use char because int might match the return type of a GCC
18497 builtin and then its argument prototype would still apply. */
18498 #ifdef __cplusplus
18499 extern "C"
18500 #endif
18501 char ldap_initialize ();
18503 main ()
18505 return ldap_initialize ();
18507 return 0;
18509 _ACEOF
18510 if ac_fn_c_try_link "$LINENO"; then :
18511 ac_cv_lib_ldap_r_ldap_initialize=yes
18512 else
18513 ac_cv_lib_ldap_r_ldap_initialize=no
18515 rm -f core conftest.err conftest.$ac_objext \
18516 conftest$ac_exeext conftest.$ac_ext
18517 LIBS=$ac_check_lib_save_LIBS
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18520 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18521 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18523 $as_echo_n "checking for ber_init in -llber... " >&6; }
18524 if ${ac_cv_lib_lber_ber_init+:} false; then :
18525 $as_echo_n "(cached) " >&6
18526 else
18527 ac_check_lib_save_LIBS=$LIBS
18528 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18532 /* Override any GCC internal prototype to avoid an error.
18533 Use char because int might match the return type of a GCC
18534 builtin and then its argument prototype would still apply. */
18535 #ifdef __cplusplus
18536 extern "C"
18537 #endif
18538 char ber_init ();
18540 main ()
18542 return ber_init ();
18544 return 0;
18546 _ACEOF
18547 if ac_fn_c_try_link "$LINENO"; then :
18548 ac_cv_lib_lber_ber_init=yes
18549 else
18550 ac_cv_lib_lber_ber_init=no
18552 rm -f core conftest.err conftest.$ac_objext \
18553 conftest$ac_exeext conftest.$ac_ext
18554 LIBS=$ac_check_lib_save_LIBS
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18557 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18558 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18560 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18562 else
18563 LDAP_LIBS=""
18566 else
18567 LDAP_LIBS=""
18570 else
18571 LDAP_LIBS=""
18574 ac_wine_check_funcs_save_LIBS="$LIBS"
18575 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18576 for ac_func in \
18577 ldap_count_references \
18578 ldap_first_reference \
18579 ldap_next_reference \
18580 ldap_parse_reference \
18581 ldap_parse_sort_control \
18582 ldap_parse_sortresponse_control \
18583 ldap_parse_vlv_control \
18584 ldap_parse_vlvresponse_control
18585 do :
18586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18588 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18589 cat >>confdefs.h <<_ACEOF
18590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18591 _ACEOF
18594 done
18596 LIBS="$ac_wine_check_funcs_save_LIBS"
18597 else
18598 LDAP_LIBS=""
18600 CPPFLAGS=$ac_save_CPPFLAGS
18603 if test "x$LDAP_LIBS" = "x"; then :
18604 case "x$with_ldap" in
18605 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18606 xno) ;;
18607 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18608 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18609 esac
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18614 $as_echo_n "checking for sched_setaffinity... " >&6; }
18615 if ${wine_cv_have_sched_setaffinity+:} false; then :
18616 $as_echo_n "(cached) " >&6
18617 else
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 #define _GNU_SOURCE
18621 #include <sched.h>
18623 main ()
18625 sched_setaffinity(0, 0, 0);
18627 return 0;
18629 _ACEOF
18630 if ac_fn_c_try_link "$LINENO"; then :
18631 wine_cv_have_sched_setaffinity=yes
18632 else
18633 wine_cv_have_sched_setaffinity=no
18635 rm -f core conftest.err conftest.$ac_objext \
18636 conftest$ac_exeext conftest.$ac_ext
18638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18639 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18640 if test "$wine_cv_have_sched_setaffinity" = "yes"
18641 then
18643 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18648 $as_echo_n "checking for fallocate... " >&6; }
18649 if ${wine_cv_have_fallocate+:} false; then :
18650 $as_echo_n "(cached) " >&6
18651 else
18652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18653 /* end confdefs.h. */
18654 #define _GNU_SOURCE
18655 #include <fcntl.h>
18657 main ()
18659 fallocate(-1, 0, 0, 0);
18661 return 0;
18663 _ACEOF
18664 if ac_fn_c_try_link "$LINENO"; then :
18665 wine_cv_have_fallocate=yes
18666 else
18667 wine_cv_have_fallocate=no
18669 rm -f core conftest.err conftest.$ac_objext \
18670 conftest$ac_exeext conftest.$ac_ext
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18673 $as_echo "$wine_cv_have_fallocate" >&6; }
18674 if test "$wine_cv_have_fallocate" = "yes"
18675 then
18677 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18683 $as_echo_n "checking for inline... " >&6; }
18684 if ${ac_cv_c_inline+:} false; then :
18685 $as_echo_n "(cached) " >&6
18686 else
18687 ac_cv_c_inline=no
18688 for ac_kw in inline __inline__ __inline; do
18689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18690 /* end confdefs.h. */
18691 #ifndef __cplusplus
18692 typedef int foo_t;
18693 static $ac_kw foo_t static_foo () {return 0; }
18694 $ac_kw foo_t foo () {return 0; }
18695 #endif
18697 _ACEOF
18698 if ac_fn_c_try_compile "$LINENO"; then :
18699 ac_cv_c_inline=$ac_kw
18701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18702 test "$ac_cv_c_inline" != no && break
18703 done
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18707 $as_echo "$ac_cv_c_inline" >&6; }
18709 case $ac_cv_c_inline in
18710 inline | yes) ;;
18712 case $ac_cv_c_inline in
18713 no) ac_val=;;
18714 *) ac_val=$ac_cv_c_inline;;
18715 esac
18716 cat >>confdefs.h <<_ACEOF
18717 #ifndef __cplusplus
18718 #define inline $ac_val
18719 #endif
18720 _ACEOF
18722 esac
18724 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18725 #include <signal.h>
18727 if test "x$ac_cv_type_sigset_t" = xyes; then :
18729 cat >>confdefs.h <<_ACEOF
18730 #define HAVE_SIGSET_T 1
18731 _ACEOF
18736 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18738 if test "x$ac_cv_type_request_sense" = xyes; then :
18740 cat >>confdefs.h <<_ACEOF
18741 #define HAVE_REQUEST_SENSE 1
18742 _ACEOF
18748 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18749 #ifdef HAVE_SYS_SOCKET_H
18750 #include <sys/socket.h>
18751 #endif
18752 #ifdef HAVE_SYS_SOCKETVAR_H
18753 #include <sys/socketvar.h>
18754 #endif
18755 #ifdef HAVE_NET_ROUTE_H
18756 #include <net/route.h>
18757 #endif
18758 #ifdef HAVE_NETINET_IN_H
18759 #include <netinet/in.h>
18760 #endif
18761 #ifdef HAVE_NETINET_IN_SYSTM_H
18762 #include <netinet/in_systm.h>
18763 #endif
18764 #ifdef HAVE_NETINET_IP_H
18765 #include <netinet/ip.h>
18766 #endif
18767 #ifdef HAVE_NETINET_IN_PCB_H
18768 #include <netinet/in_pcb.h>
18769 #endif
18771 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18773 cat >>confdefs.h <<_ACEOF
18774 #define HAVE_STRUCT_XINPGEN 1
18775 _ACEOF
18781 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18782 #include <linux/input.h>
18783 #endif
18785 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18787 cat >>confdefs.h <<_ACEOF
18788 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18789 _ACEOF
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18796 $as_echo_n "checking for if_nameindex... " >&6; }
18797 if ${wine_cv_have_if_nameindex+:} false; then :
18798 $as_echo_n "(cached) " >&6
18799 else
18800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18801 /* end confdefs.h. */
18802 #ifdef HAVE_SYS_TYPES_H
18803 #include <sys/types.h>
18804 #endif
18805 #ifdef HAVE_SYS_SOCKET_H
18806 #include <sys/socket.h>
18807 #endif
18808 #ifdef HAVE_NET_IF_H
18809 # include <net/if.h>
18810 #endif
18812 main ()
18814 struct if_nameindex *p = if_nameindex(); return p->if_index;
18816 return 0;
18818 _ACEOF
18819 if ac_fn_c_try_link "$LINENO"; then :
18820 wine_cv_have_if_nameindex=yes
18821 else
18822 wine_cv_have_if_nameindex=no
18824 rm -f core conftest.err conftest.$ac_objext \
18825 conftest$ac_exeext conftest.$ac_ext
18827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18828 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18829 if test "$wine_cv_have_if_nameindex" = "yes"
18830 then
18832 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18837 $as_echo_n "checking for sigaddset... " >&6; }
18838 if ${wine_cv_have_sigaddset+:} false; then :
18839 $as_echo_n "(cached) " >&6
18840 else
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h. */
18843 #include <signal.h>
18845 main ()
18847 sigset_t set; sigaddset(&set,SIGTERM);
18849 return 0;
18851 _ACEOF
18852 if ac_fn_c_try_link "$LINENO"; then :
18853 wine_cv_have_sigaddset=yes
18854 else
18855 wine_cv_have_sigaddset=no
18857 rm -f core conftest.err conftest.$ac_objext \
18858 conftest$ac_exeext conftest.$ac_ext
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18861 $as_echo "$wine_cv_have_sigaddset" >&6; }
18862 if test "$wine_cv_have_sigaddset" = "yes"
18863 then
18865 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18871 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18872 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18873 $as_echo_n "(cached) " >&6
18874 else
18875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h. */
18877 #include <netdb.h>
18879 main ()
18882 char *name=0;
18883 struct hostent he;
18884 struct hostent *result;
18885 char *buf=0;
18886 int bufsize=0;
18887 int errnr;
18888 char *addr=0;
18889 int addrlen=0;
18890 int addrtype=0;
18891 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18892 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18895 return 0;
18897 _ACEOF
18898 if ac_fn_c_try_link "$LINENO"; then :
18899 wine_cv_linux_gethostbyname_r_6=yes
18900 else
18901 wine_cv_linux_gethostbyname_r_6=no
18904 rm -f core conftest.err conftest.$ac_objext \
18905 conftest$ac_exeext conftest.$ac_ext
18908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18909 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18910 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18911 then
18913 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18917 if test "$ac_cv_header_linux_joystick_h" = "yes"
18918 then
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18920 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18921 if ${wine_cv_linux_joystick_22_api+:} false; then :
18922 $as_echo_n "(cached) " >&6
18923 else
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18927 #include <sys/ioctl.h>
18928 #include <sys/types.h>
18929 #include <linux/joystick.h>
18931 struct js_event blub;
18932 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18933 #error "no 2.2 header"
18934 #endif
18937 main ()
18939 /*empty*/
18941 return 0;
18943 _ACEOF
18944 if ac_fn_c_try_compile "$LINENO"; then :
18945 wine_cv_linux_joystick_22_api=yes
18946 else
18947 wine_cv_linux_joystick_22_api=no
18949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18953 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18954 if test "$wine_cv_linux_joystick_22_api" = "yes"
18955 then
18957 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18962 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18963 #ifdef HAVE_SYS_SOCKET_H
18964 # include <sys/socket.h>
18965 #endif
18966 #ifdef HAVE_SYS_UN_H
18967 # include <sys/un.h>
18968 #endif
18970 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18972 cat >>confdefs.h <<_ACEOF
18973 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18974 _ACEOF
18978 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18979 #ifdef HAVE_SYS_SOCKET_H
18980 # include <sys/socket.h>
18981 #endif
18982 #ifdef HAVE_SYS_UN_H
18983 # include <sys/un.h>
18984 #endif
18986 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18988 cat >>confdefs.h <<_ACEOF
18989 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18990 _ACEOF
18994 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18995 #ifdef HAVE_SYS_SOCKET_H
18996 # include <sys/socket.h>
18997 #endif
18998 #ifdef HAVE_SYS_UN_H
18999 # include <sys/un.h>
19000 #endif
19002 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19004 cat >>confdefs.h <<_ACEOF
19005 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19006 _ACEOF
19012 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19013 #ifdef HAVE_SCSI_SG_H
19014 #include <scsi/sg.h>
19015 #endif
19017 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19019 cat >>confdefs.h <<_ACEOF
19020 #define HAVE_SCSIREQ_T_CMD 1
19021 _ACEOF
19025 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>
19026 #ifdef HAVE_SCSI_SG_H
19027 #include <scsi/sg.h>
19028 #endif
19030 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19032 cat >>confdefs.h <<_ACEOF
19033 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19034 _ACEOF
19040 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19042 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_SIGINFO_T_SI_FD 1
19046 _ACEOF
19052 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19053 #ifdef HAVE_SYS_MTIO_H
19054 #include <sys/mtio.h>
19055 #endif
19057 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19059 cat >>confdefs.h <<_ACEOF
19060 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19061 _ACEOF
19065 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19066 #ifdef HAVE_SYS_MTIO_H
19067 #include <sys/mtio.h>
19068 #endif
19070 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19072 cat >>confdefs.h <<_ACEOF
19073 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19074 _ACEOF
19078 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19079 #ifdef HAVE_SYS_MTIO_H
19080 #include <sys/mtio.h>
19081 #endif
19083 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19085 cat >>confdefs.h <<_ACEOF
19086 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19087 _ACEOF
19093 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19094 #include <getopt.h>
19095 #endif
19097 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19099 cat >>confdefs.h <<_ACEOF
19100 #define HAVE_STRUCT_OPTION_NAME 1
19101 _ACEOF
19107 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19108 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19110 cat >>confdefs.h <<_ACEOF
19111 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19112 _ACEOF
19116 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19117 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19119 cat >>confdefs.h <<_ACEOF
19120 #define HAVE_STRUCT_STAT_ST_MTIM 1
19121 _ACEOF
19125 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19126 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19128 cat >>confdefs.h <<_ACEOF
19129 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19130 _ACEOF
19134 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19135 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19137 cat >>confdefs.h <<_ACEOF
19138 #define HAVE_STRUCT_STAT_ST_CTIM 1
19139 _ACEOF
19143 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19144 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19146 cat >>confdefs.h <<_ACEOF
19147 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19148 _ACEOF
19152 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19153 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19155 cat >>confdefs.h <<_ACEOF
19156 #define HAVE_STRUCT_STAT_ST_ATIM 1
19157 _ACEOF
19161 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19162 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19164 cat >>confdefs.h <<_ACEOF
19165 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19166 _ACEOF
19170 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19171 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19173 cat >>confdefs.h <<_ACEOF
19174 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19175 _ACEOF
19179 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19180 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19182 cat >>confdefs.h <<_ACEOF
19183 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19184 _ACEOF
19188 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19189 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19191 cat >>confdefs.h <<_ACEOF
19192 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19193 _ACEOF
19197 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19198 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19200 cat >>confdefs.h <<_ACEOF
19201 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19202 _ACEOF
19206 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19207 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19209 cat >>confdefs.h <<_ACEOF
19210 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19211 _ACEOF
19217 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
19218 #include <sys/types.h>
19219 #endif
19220 #ifdef HAVE_NETINET_IN_H
19221 #include <netinet/in.h>
19222 #endif
19224 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19226 cat >>confdefs.h <<_ACEOF
19227 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19228 _ACEOF
19234 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19235 #include <sys/types.h>
19236 #endif
19237 #ifdef HAVE_NETINET_IN_H
19238 #include <netinet/in.h>
19239 #endif
19240 #ifdef HAVE_RESOLV_H
19241 #include <resolv.h>
19242 #endif
19244 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19246 cat >>confdefs.h <<_ACEOF
19247 #define HAVE_STRUCT___RES_STATE 1
19248 _ACEOF
19254 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
19255 #include <resolv.h>
19256 #endif
19258 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19260 cat >>confdefs.h <<_ACEOF
19261 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19262 _ACEOF
19268 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19269 #include <sys/types.h>
19270 #endif
19271 #ifdef HAVE_NETINET_IN_H
19272 # include <netinet/in.h>
19273 #endif
19274 #ifdef HAVE_ARPA_NAMESER_H
19275 # include <arpa/nameser.h>
19276 #endif
19278 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19280 cat >>confdefs.h <<_ACEOF
19281 #define HAVE_NS_MSG__MSG_PTR 1
19282 _ACEOF
19288 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19289 #include <sys/types.h>
19290 #endif
19291 #ifdef HAVE_NETINET_IN_H
19292 #include <netinet/in.h>
19293 #endif
19294 #ifdef HAVE_NETINET_IP_H
19295 #include <netinet/ip.h>
19296 #endif
19297 #ifdef HAVE_NETINET_IP_ICMP_H
19298 #include <netinet/ip_icmp.h>
19299 #endif
19300 #ifdef HAVE_NETINET_ICMP_VAR_H
19301 #include <netinet/icmp_var.h>
19302 #endif
19304 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19306 cat >>confdefs.h <<_ACEOF
19307 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19308 _ACEOF
19314 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19315 #include <sys/types.h>
19316 #endif
19317 #ifdef HAVE_ALIAS_H
19318 #include <alias.h>
19319 #endif
19320 #ifdef HAVE_SYS_SOCKET_H
19321 #include <sys/socket.h>
19322 #endif
19323 #ifdef HAVE_SYS_SOCKETVAR_H
19324 #include <sys/socketvar.h>
19325 #endif
19326 #ifdef HAVE_SYS_TIMEOUT_H
19327 #include <sys/timeout.h>
19328 #endif
19329 #ifdef HAVE_NETINET_IN_H
19330 #include <netinet/in.h>
19331 #endif
19332 #ifdef HAVE_NETINET_IN_SYSTM_H
19333 #include <netinet/in_systm.h>
19334 #endif
19335 #ifdef HAVE_NETINET_IP_H
19336 #include <netinet/ip.h>
19337 #endif
19338 #ifdef HAVE_NETINET_IP_VAR_H
19339 #include <netinet/ip_var.h>
19340 #endif
19341 #ifdef HAVE_NETINET_IP_ICMP_H
19342 #include <netinet/ip_icmp.h>
19343 #endif
19344 #ifdef HAVE_NETINET_ICMP_VAR_H
19345 #include <netinet/icmp_var.h>
19346 #endif
19348 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19350 cat >>confdefs.h <<_ACEOF
19351 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19352 _ACEOF
19358 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19359 #include <sys/types.h>
19360 #endif
19361 #ifdef HAVE_SYS_SOCKETVAR_H
19362 #include <sys/socketvar.h>
19363 #endif
19364 #ifdef HAVE_NETINET_IN_H
19365 #include <netinet/in.h>
19366 #endif
19367 #ifdef HAVE_NETINET_IP_VAR_H
19368 #include <netinet/ip_var.h>
19369 #endif
19371 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19373 cat >>confdefs.h <<_ACEOF
19374 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19375 _ACEOF
19381 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
19382 #include <netinet/ip_var.h>
19383 #endif
19385 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19387 cat >>confdefs.h <<_ACEOF
19388 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19389 _ACEOF
19395 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19396 #include <sys/types.h>
19397 #endif
19398 #ifdef HAVE_SYS_SOCKETVAR_H
19399 #include <sys/socketvar.h>
19400 #endif
19401 #ifdef HAVE_NETINET_IN_H
19402 #include <netinet/in.h>
19403 #endif
19404 #ifdef HAVE_NETINET_TCP_H
19405 #include <netinet/tcp.h>
19406 #endif
19407 #ifdef HAVE_NETINET_TCP_VAR_H
19408 #include <netinet/tcp_var.h>
19409 #endif
19411 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19413 cat >>confdefs.h <<_ACEOF
19414 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19415 _ACEOF
19421 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
19422 #include <netinet/tcp_var.h>
19423 #endif
19425 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19427 cat >>confdefs.h <<_ACEOF
19428 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19429 _ACEOF
19435 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19436 #include <sys/types.h>
19437 #endif
19438 #ifdef HAVE_NETINET_IN_H
19439 #include <netinet/in.h>
19440 #endif
19441 #ifdef HAVE_NETINET_IP_VAR_H
19442 #include <netinet/ip_var.h>
19443 #endif
19444 #ifdef HAVE_NETINET_UDP_H
19445 #include <netinet/udp.h>
19446 #endif
19447 #ifdef HAVE_NETINET_UDP_VAR_H
19448 #include <netinet/udp_var.h>
19449 #endif
19451 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19453 cat >>confdefs.h <<_ACEOF
19454 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19455 _ACEOF
19461 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19462 #include <sys/types.h>
19463 #endif
19464 #ifdef HAVE_NET_IF_H
19465 # include <net/if.h>
19466 #endif
19468 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19470 cat >>confdefs.h <<_ACEOF
19471 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19472 _ACEOF
19478 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19479 # include <sys/sysinfo.h>
19480 #endif
19482 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19484 cat >>confdefs.h <<_ACEOF
19485 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19486 _ACEOF
19490 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19491 # include <sys/sysinfo.h>
19492 #endif
19494 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19496 cat >>confdefs.h <<_ACEOF
19497 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19498 _ACEOF
19504 ac_save_LIBS="$LIBS"
19505 LIBS="$LIBS -lm"
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19507 $as_echo_n "checking for isfinite... " >&6; }
19508 if ${ac_cv_have_isfinite+:} false; then :
19509 $as_echo_n "(cached) " >&6
19510 else
19511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19512 /* end confdefs.h. */
19513 #define _GNU_SOURCE
19514 #include <math.h>
19516 main ()
19518 float f = 0.0; return isfinite(f)
19520 return 0;
19522 _ACEOF
19523 if ac_fn_c_try_link "$LINENO"; then :
19524 ac_cv_have_isfinite="yes"
19525 else
19526 ac_cv_have_isfinite="no"
19528 rm -f core conftest.err conftest.$ac_objext \
19529 conftest$ac_exeext conftest.$ac_ext
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19532 $as_echo "$ac_cv_have_isfinite" >&6; }
19533 if test "$ac_cv_have_isfinite" = "yes"
19534 then
19536 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19541 $as_echo_n "checking for isinf... " >&6; }
19542 if ${ac_cv_have_isinf+:} false; then :
19543 $as_echo_n "(cached) " >&6
19544 else
19545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19546 /* end confdefs.h. */
19547 #include <math.h>
19549 main ()
19551 float f = 0.0; return isinf(f)
19553 return 0;
19555 _ACEOF
19556 if ac_fn_c_try_link "$LINENO"; then :
19557 ac_cv_have_isinf="yes"
19558 else
19559 ac_cv_have_isinf="no"
19561 rm -f core conftest.err conftest.$ac_objext \
19562 conftest$ac_exeext conftest.$ac_ext
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19565 $as_echo "$ac_cv_have_isinf" >&6; }
19566 if test "$ac_cv_have_isinf" = "yes"
19567 then
19569 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19574 $as_echo_n "checking for isnan... " >&6; }
19575 if ${ac_cv_have_isnan+:} false; then :
19576 $as_echo_n "(cached) " >&6
19577 else
19578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19579 /* end confdefs.h. */
19580 #include <math.h>
19582 main ()
19584 float f = 0.0; return isnan(f)
19586 return 0;
19588 _ACEOF
19589 if ac_fn_c_try_link "$LINENO"; then :
19590 ac_cv_have_isnan="yes"
19591 else
19592 ac_cv_have_isnan="no"
19594 rm -f core conftest.err conftest.$ac_objext \
19595 conftest$ac_exeext conftest.$ac_ext
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19598 $as_echo "$ac_cv_have_isnan" >&6; }
19599 if test "$ac_cv_have_isnan" = "yes"
19600 then
19602 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19606 for ac_func in \
19607 acosh \
19608 acoshf \
19609 asinh \
19610 asinhf \
19611 atanh \
19612 atanhf \
19613 cbrt \
19614 cbrtf \
19615 erf \
19616 erfc \
19617 erfcf \
19618 erff \
19619 exp2 \
19620 exp2f \
19621 expm1 \
19622 expm1f \
19623 fma \
19624 fmaf \
19625 j0 \
19626 j1 \
19627 jn \
19628 lgamma \
19629 lgammaf \
19630 llrint \
19631 llrintf \
19632 llround \
19633 llroundf \
19634 log1p \
19635 log1pf \
19636 log2 \
19637 log2f \
19638 lrint \
19639 lrintf \
19640 lround \
19641 lroundf \
19642 nearbyint \
19643 nearbyintf \
19644 nexttoward \
19645 nexttowardf \
19646 remainder \
19647 remainderf \
19648 remquo \
19649 remquof \
19650 rint \
19651 rintf \
19652 round \
19653 roundf \
19654 tgamma \
19655 tgammaf \
19656 trunc \
19657 truncf \
19658 y0 \
19659 y1 \
19662 do :
19663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19664 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19665 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19666 cat >>confdefs.h <<_ACEOF
19667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19668 _ACEOF
19671 done
19673 LIBS="$ac_save_LIBS"
19675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19676 $as_echo_n "checking for __builtin_popcount... " >&6; }
19677 if ${ac_cv_have___builtin_popcount+:} false; then :
19678 $as_echo_n "(cached) " >&6
19679 else
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h. */
19684 main ()
19686 return __builtin_popcount(1)
19688 return 0;
19690 _ACEOF
19691 if ac_fn_c_try_link "$LINENO"; then :
19692 ac_cv_have___builtin_popcount="yes"
19693 else
19694 ac_cv_have___builtin_popcount="no"
19696 rm -f core conftest.err conftest.$ac_objext \
19697 conftest$ac_exeext conftest.$ac_ext
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19700 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19701 if test "$ac_cv_have___builtin_popcount" = "yes"
19702 then
19704 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19709 $as_echo_n "checking for __clear_cache... " >&6; }
19710 if ${ac_cv_have___clear_cache+:} false; then :
19711 $as_echo_n "(cached) " >&6
19712 else
19713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19714 /* end confdefs.h. */
19717 main ()
19719 __clear_cache((void*)0, (void*)0); return 0;
19721 return 0;
19723 _ACEOF
19724 if ac_fn_c_try_link "$LINENO"; then :
19725 ac_cv_have___clear_cache="yes"
19726 else
19727 ac_cv_have___clear_cache="no"
19729 rm -f core conftest.err conftest.$ac_objext \
19730 conftest$ac_exeext conftest.$ac_ext
19732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19733 $as_echo "$ac_cv_have___clear_cache" >&6; }
19734 if test "$ac_cv_have___clear_cache" = "yes"
19735 then
19737 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19742 case $host_cpu in
19743 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19744 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19745 if ${ac_cv_cpp_def___i386__+:} false; then :
19746 $as_echo_n "(cached) " >&6
19747 else
19748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19749 /* end confdefs.h. */
19750 #ifndef __i386__
19752 #endif
19753 _ACEOF
19754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19755 $EGREP "yes" >/dev/null 2>&1; then :
19756 ac_cv_cpp_def___i386__=yes
19757 else
19758 ac_cv_cpp_def___i386__=no
19760 rm -f conftest*
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19764 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19765 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19766 CFLAGS="$CFLAGS -D__i386__"
19767 LINTFLAGS="$LINTFLAGS -D__i386__"
19768 fi ;;
19769 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19770 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19771 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19772 $as_echo_n "(cached) " >&6
19773 else
19774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19775 /* end confdefs.h. */
19776 #ifndef __x86_64__
19778 #endif
19779 _ACEOF
19780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19781 $EGREP "yes" >/dev/null 2>&1; then :
19782 ac_cv_cpp_def___x86_64__=yes
19783 else
19784 ac_cv_cpp_def___x86_64__=no
19786 rm -f conftest*
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19790 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19791 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19792 CFLAGS="$CFLAGS -D__x86_64__"
19793 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19794 fi ;;
19795 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19796 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19797 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19798 $as_echo_n "(cached) " >&6
19799 else
19800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19801 /* end confdefs.h. */
19802 #ifndef __sparc64__
19804 #endif
19805 _ACEOF
19806 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19807 $EGREP "yes" >/dev/null 2>&1; then :
19808 ac_cv_cpp_def___sparc64__=yes
19809 else
19810 ac_cv_cpp_def___sparc64__=no
19812 rm -f conftest*
19815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19816 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19817 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19818 CFLAGS="$CFLAGS -D__sparc64__"
19819 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19820 fi ;;
19821 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19822 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19823 if ${ac_cv_cpp_def___sparc__+:} false; then :
19824 $as_echo_n "(cached) " >&6
19825 else
19826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19827 /* end confdefs.h. */
19828 #ifndef __sparc__
19830 #endif
19831 _ACEOF
19832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19833 $EGREP "yes" >/dev/null 2>&1; then :
19834 ac_cv_cpp_def___sparc__=yes
19835 else
19836 ac_cv_cpp_def___sparc__=no
19838 rm -f conftest*
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19842 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19843 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19844 CFLAGS="$CFLAGS -D__sparc__"
19845 LINTFLAGS="$LINTFLAGS -D__sparc__"
19846 fi ;;
19847 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19848 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19849 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19850 $as_echo_n "(cached) " >&6
19851 else
19852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19853 /* end confdefs.h. */
19854 #ifndef __powerpc64__
19856 #endif
19857 _ACEOF
19858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19859 $EGREP "yes" >/dev/null 2>&1; then :
19860 ac_cv_cpp_def___powerpc64__=yes
19861 else
19862 ac_cv_cpp_def___powerpc64__=no
19864 rm -f conftest*
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19868 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19869 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19870 CFLAGS="$CFLAGS -D__powerpc64__"
19871 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19872 fi ;;
19873 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19874 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19875 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19876 $as_echo_n "(cached) " >&6
19877 else
19878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19879 /* end confdefs.h. */
19880 #ifndef __powerpc__
19882 #endif
19883 _ACEOF
19884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19885 $EGREP "yes" >/dev/null 2>&1; then :
19886 ac_cv_cpp_def___powerpc__=yes
19887 else
19888 ac_cv_cpp_def___powerpc__=no
19890 rm -f conftest*
19893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19894 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19895 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19896 CFLAGS="$CFLAGS -D__powerpc__"
19897 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19898 fi ;;
19899 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19900 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19901 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19902 $as_echo_n "(cached) " >&6
19903 else
19904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19905 /* end confdefs.h. */
19906 #ifndef __aarch64__
19908 #endif
19909 _ACEOF
19910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19911 $EGREP "yes" >/dev/null 2>&1; then :
19912 ac_cv_cpp_def___aarch64__=yes
19913 else
19914 ac_cv_cpp_def___aarch64__=no
19916 rm -f conftest*
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19920 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19921 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19922 CFLAGS="$CFLAGS -D__aarch64__"
19923 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19924 fi ;;
19925 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19926 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19927 if ${ac_cv_cpp_def___arm__+:} false; then :
19928 $as_echo_n "(cached) " >&6
19929 else
19930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19931 /* end confdefs.h. */
19932 #ifndef __arm__
19934 #endif
19935 _ACEOF
19936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19937 $EGREP "yes" >/dev/null 2>&1; then :
19938 ac_cv_cpp_def___arm__=yes
19939 else
19940 ac_cv_cpp_def___arm__=no
19942 rm -f conftest*
19945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19946 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19947 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19948 CFLAGS="$CFLAGS -D__arm__"
19949 LINTFLAGS="$LINTFLAGS -D__arm__"
19950 fi ;;
19951 esac
19953 case $host_vendor in
19954 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19955 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19956 if ${ac_cv_cpp_def___sun__+:} false; then :
19957 $as_echo_n "(cached) " >&6
19958 else
19959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19960 /* end confdefs.h. */
19961 #ifndef __sun__
19963 #endif
19964 _ACEOF
19965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19966 $EGREP "yes" >/dev/null 2>&1; then :
19967 ac_cv_cpp_def___sun__=yes
19968 else
19969 ac_cv_cpp_def___sun__=no
19971 rm -f conftest*
19974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19975 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19976 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19977 CFLAGS="$CFLAGS -D__sun__"
19978 LINTFLAGS="$LINTFLAGS -D__sun__"
19979 fi ;;
19980 esac
19986 ac_config_commands="$ac_config_commands include/stamp-h"
19988 $as_echo_n "creating Makefile rules..." >&6
19990 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19991 OPENGL_LIBS = $OPENGL_LIBS
19992 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19993 IOKIT_LIBS = $IOKIT_LIBS
19994 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19995 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19996 CORESERVICES_LIBS = $CORESERVICES_LIBS
19997 APPKIT_LIBS = $APPKIT_LIBS
19998 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19999 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
20000 SECURITY_LIBS = $SECURITY_LIBS
20001 COREAUDIO_LIBS = $COREAUDIO_LIBS
20002 OPENAL_LIBS = $OPENAL_LIBS
20003 OPENCL_LIBS = $OPENCL_LIBS
20004 QUICKTIME_LIBS = $QUICKTIME_LIBS
20005 CARBON_LIBS = $CARBON_LIBS
20006 METAL_LIBS = $METAL_LIBS
20007 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20008 PTHREAD_LIBS = $PTHREAD_LIBS
20009 X_CFLAGS = $X_CFLAGS
20010 X_PRE_LIBS = $X_PRE_LIBS
20011 X_LIBS = $X_LIBS
20012 X_EXTRA_LIBS = $X_EXTRA_LIBS
20013 PCAP_LIBS = $PCAP_LIBS
20014 XML2_CFLAGS = $XML2_CFLAGS
20015 XML2_LIBS = $XML2_LIBS
20016 XSLT_CFLAGS = $XSLT_CFLAGS
20017 XSLT_LIBS = $XSLT_LIBS
20018 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20019 INOTIFY_LIBS = $INOTIFY_LIBS
20020 DBUS_CFLAGS = $DBUS_CFLAGS
20021 DBUS_LIBS = $DBUS_LIBS
20022 HAL_CFLAGS = $HAL_CFLAGS
20023 HAL_LIBS = $HAL_LIBS
20024 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20025 GNUTLS_LIBS = $GNUTLS_LIBS
20026 SANE_CFLAGS = $SANE_CFLAGS
20027 SANE_LIBS = $SANE_LIBS
20028 USB_CFLAGS = $USB_CFLAGS
20029 USB_LIBS = $USB_LIBS
20030 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20031 GPHOTO2_LIBS = $GPHOTO2_LIBS
20032 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20033 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20034 RESOLV_LIBS = $RESOLV_LIBS
20035 LCMS2_CFLAGS = $LCMS2_CFLAGS
20036 LCMS2_LIBS = $LCMS2_LIBS
20037 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20038 FREETYPE_LIBS = $FREETYPE_LIBS
20039 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20040 PULSE_CFLAGS = $PULSE_CFLAGS
20041 PULSE_LIBS = $PULSE_LIBS
20042 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20043 GSTREAMER_LIBS = $GSTREAMER_LIBS
20044 ALSA_LIBS = $ALSA_LIBS
20045 OSS4_CFLAGS = $OSS4_CFLAGS
20046 OSS4_LIBS = $OSS4_LIBS
20047 UDEV_CFLAGS = $UDEV_CFLAGS
20048 UDEV_LIBS = $UDEV_LIBS
20049 UNWIND_CFLAGS = $UNWIND_CFLAGS
20050 UNWIND_LIBS = $UNWIND_LIBS
20051 SDL2_CFLAGS = $SDL2_CFLAGS
20052 SDL2_LIBS = $SDL2_LIBS
20053 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20054 FAUDIO_LIBS = $FAUDIO_LIBS
20055 CAPI20_CFLAGS = $CAPI20_CFLAGS
20056 CAPI20_LIBS = $CAPI20_LIBS
20057 CUPS_CFLAGS = $CUPS_CFLAGS
20058 CUPS_LIBS = $CUPS_LIBS
20059 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20060 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20061 KRB5_CFLAGS = $KRB5_CFLAGS
20062 KRB5_LIBS = $KRB5_LIBS
20063 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20064 GSSAPI_LIBS = $GSSAPI_LIBS
20065 JPEG_CFLAGS = $JPEG_CFLAGS
20066 JPEG_LIBS = $JPEG_LIBS
20067 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20068 JXRLIB_LIBS = $JXRLIB_LIBS
20069 PNG_CFLAGS = $PNG_CFLAGS
20070 PNG_LIBS = $PNG_LIBS
20071 TIFF_CFLAGS = $TIFF_CFLAGS
20072 TIFF_LIBS = $TIFF_LIBS
20073 MPG123_CFLAGS = $MPG123_CFLAGS
20074 MPG123_LIBS = $MPG123_LIBS
20075 KSTAT_LIBS = $KSTAT_LIBS
20076 PROCSTAT_LIBS = $PROCSTAT_LIBS
20077 NETAPI_CFLAGS = $NETAPI_CFLAGS
20078 NETAPI_LIBS = $NETAPI_LIBS
20079 VKD3D_CFLAGS = $VKD3D_CFLAGS
20080 VKD3D_LIBS = $VKD3D_LIBS
20081 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20082 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20083 POLL_LIBS = $POLL_LIBS
20084 RT_LIBS = $RT_LIBS
20085 LDAP_CFLAGS = $LDAP_CFLAGS
20086 LDAP_LIBS = $LDAP_LIBS
20090 makedep_flags=""
20091 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20094 wine_fn_append_rule "
20095 # Rules automatically generated by configure
20097 .INIT: Makefile
20098 .MAKEFILEDEPS:
20099 all: Makefile
20100 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20101 @./config.status Make.tmp Makefile
20102 depend: \$(MAKEDEP)
20103 \$(MAKEDEP)$makedep_flags
20104 dummy:
20105 .PHONY: depend dummy"
20107 ac_config_links="$ac_config_links wine:tools/winewrapper"
20108 wine_fn_config_symlink wine
20109 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20110 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20111 wine_fn_config_symlink wine64
20114 wine_fn_config_makefile dlls/acledit enable_acledit
20115 wine_fn_config_makefile dlls/aclui enable_aclui
20116 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20117 wine_fn_config_makefile dlls/activeds enable_activeds
20118 wine_fn_config_makefile dlls/activeds/tests enable_tests
20119 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20120 wine_fn_config_makefile dlls/adsiid enable_adsiid
20121 wine_fn_config_makefile dlls/adsldp enable_adsldp
20122 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20123 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20124 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20125 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20126 wine_fn_config_makefile dlls/advpack enable_advpack
20127 wine_fn_config_makefile dlls/advpack/tests enable_tests
20128 wine_fn_config_makefile dlls/amsi enable_amsi
20129 wine_fn_config_makefile dlls/amstream enable_amstream
20130 wine_fn_config_makefile dlls/amstream/tests enable_tests
20131 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20133 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20134 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20136 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20141 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20149 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20151 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20153 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20155 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20156 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20157 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20159 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20164 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20165 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20167 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20168 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20177 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20182 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20183 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20186 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20188 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20189 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20193 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20194 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20202 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20203 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20204 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20205 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20213 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20217 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20218 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20219 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20242 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20246 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20249 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20260 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20266 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20271 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20273 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20292 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20293 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20313 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20324 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20328 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20330 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20332 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20333 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20338 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20340 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20346 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20349 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20351 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20353 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20358 wine_fn_config_makefile dlls/apphelp enable_apphelp
20359 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20360 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20361 wine_fn_config_makefile dlls/atl enable_atl
20362 wine_fn_config_makefile dlls/atl/tests enable_tests
20363 wine_fn_config_makefile dlls/atl100 enable_atl100
20364 wine_fn_config_makefile dlls/atl100/tests enable_tests
20365 wine_fn_config_makefile dlls/atl110 enable_atl110
20366 wine_fn_config_makefile dlls/atl80 enable_atl80
20367 wine_fn_config_makefile dlls/atl80/tests enable_tests
20368 wine_fn_config_makefile dlls/atl90 enable_atl90
20369 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20370 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20371 wine_fn_config_makefile dlls/atmlib enable_atmlib
20372 wine_fn_config_makefile dlls/authz enable_authz
20373 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20374 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20375 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20376 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20377 wine_fn_config_makefile dlls/avrt enable_avrt
20378 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20379 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20380 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20381 wine_fn_config_makefile dlls/browseui enable_browseui
20382 wine_fn_config_makefile dlls/browseui/tests enable_tests
20383 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20384 wine_fn_config_makefile dlls/cabinet enable_cabinet
20385 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20386 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20387 wine_fn_config_makefile dlls/cards enable_cards
20388 wine_fn_config_makefile dlls/cdosys enable_cdosys
20389 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20390 wine_fn_config_makefile dlls/clusapi enable_clusapi
20391 wine_fn_config_makefile dlls/combase enable_combase
20392 wine_fn_config_makefile dlls/combase/tests enable_tests
20393 wine_fn_config_makefile dlls/comcat enable_comcat
20394 wine_fn_config_makefile dlls/comcat/tests enable_tests
20395 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20396 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20397 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20398 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20399 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20400 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20401 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20402 wine_fn_config_makefile dlls/compstui enable_compstui
20403 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20404 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20405 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20406 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20407 wine_fn_config_makefile dlls/connect enable_connect
20408 wine_fn_config_makefile dlls/credui enable_credui
20409 wine_fn_config_makefile dlls/credui/tests enable_tests
20410 wine_fn_config_makefile dlls/crtdll enable_crtdll
20411 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20412 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20413 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20414 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20415 wine_fn_config_makefile dlls/cryptext enable_cryptext
20416 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20417 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20418 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20419 wine_fn_config_makefile dlls/cryptui enable_cryptui
20420 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20421 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20422 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20423 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20424 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20425 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20426 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20427 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20428 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20429 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20430 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20431 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20432 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20433 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20434 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20435 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20436 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20437 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20438 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20439 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20440 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20441 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20442 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20443 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20444 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20445 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20446 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20447 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20448 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20449 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20450 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20451 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20452 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20453 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20454 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20455 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20456 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20457 wine_fn_config_makefile dlls/d3dim enable_d3dim
20458 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20459 wine_fn_config_makefile dlls/d3drm enable_d3drm
20460 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20461 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20462 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20463 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20464 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20465 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20466 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20467 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20468 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20469 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20470 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20471 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20472 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20473 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20474 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20475 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20476 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20477 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20478 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20479 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20480 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20481 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20482 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20483 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20484 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20485 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20486 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20487 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20488 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20489 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20490 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20491 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20492 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20493 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20494 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20495 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20496 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20497 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20498 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20499 wine_fn_config_makefile dlls/davclnt enable_davclnt
20500 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20501 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20502 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20503 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20504 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20505 wine_fn_config_makefile dlls/dcomp enable_dcomp
20506 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20507 wine_fn_config_makefile dlls/ddraw enable_ddraw
20508 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20509 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20510 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20511 wine_fn_config_makefile dlls/devenum enable_devenum
20512 wine_fn_config_makefile dlls/devenum/tests enable_tests
20513 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20514 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20515 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20516 wine_fn_config_makefile dlls/difxapi enable_difxapi
20517 wine_fn_config_makefile dlls/dinput enable_dinput
20518 wine_fn_config_makefile dlls/dinput/tests enable_tests
20519 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20520 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20521 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20522 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20523 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20524 wine_fn_config_makefile dlls/dispex enable_dispex
20525 wine_fn_config_makefile dlls/dispex/tests enable_tests
20526 wine_fn_config_makefile dlls/display.drv16 enable_win16
20527 wine_fn_config_makefile dlls/dmband enable_dmband
20528 wine_fn_config_makefile dlls/dmband/tests enable_tests
20529 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20530 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20531 wine_fn_config_makefile dlls/dmime enable_dmime
20532 wine_fn_config_makefile dlls/dmime/tests enable_tests
20533 wine_fn_config_makefile dlls/dmloader enable_dmloader
20534 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20535 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20536 wine_fn_config_makefile dlls/dmscript enable_dmscript
20537 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20538 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20539 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20540 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20541 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20542 wine_fn_config_makefile dlls/dmusic enable_dmusic
20543 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20544 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20545 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20546 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20547 wine_fn_config_makefile dlls/dplay enable_dplay
20548 wine_fn_config_makefile dlls/dplayx enable_dplayx
20549 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20550 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20551 wine_fn_config_makefile dlls/dpnet enable_dpnet
20552 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20553 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20554 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20555 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20556 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20557 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20558 wine_fn_config_makefile dlls/drmclien enable_drmclien
20559 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20560 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20561 wine_fn_config_makefile dlls/dsound enable_dsound
20562 wine_fn_config_makefile dlls/dsound/tests enable_tests
20563 wine_fn_config_makefile dlls/dsquery enable_dsquery
20564 wine_fn_config_makefile dlls/dssenh enable_dssenh
20565 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20566 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20567 wine_fn_config_makefile dlls/dswave enable_dswave
20568 wine_fn_config_makefile dlls/dswave/tests enable_tests
20569 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20570 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20571 wine_fn_config_makefile dlls/dwrite enable_dwrite
20572 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20573 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20574 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20575 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20576 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20577 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20578 wine_fn_config_makefile dlls/dxgi enable_dxgi
20579 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20580 wine_fn_config_makefile dlls/dxguid enable_dxguid
20581 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20582 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20583 wine_fn_config_makefile dlls/esent enable_esent
20584 wine_fn_config_makefile dlls/evr enable_evr
20585 wine_fn_config_makefile dlls/evr/tests enable_tests
20586 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20587 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20588 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20593 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20594 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20597 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20599 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20602 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20614 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20615 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20616 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20617 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20618 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20619 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20620 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20621 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20622 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20623 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20624 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20625 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20626 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20627 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20628 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
20629 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20630 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20631 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20632 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20633 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20634 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20635 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20636 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20637 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20638 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20639 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20640 wine_fn_config_makefile dlls/faultrep enable_faultrep
20641 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20642 wine_fn_config_makefile dlls/feclient enable_feclient
20643 wine_fn_config_makefile dlls/fltlib enable_fltlib
20644 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20645 wine_fn_config_makefile dlls/fntcache enable_fntcache
20646 wine_fn_config_makefile dlls/fontsub enable_fontsub
20647 wine_fn_config_makefile dlls/fusion enable_fusion
20648 wine_fn_config_makefile dlls/fusion/tests enable_tests
20649 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20650 wine_fn_config_makefile dlls/gameux enable_gameux
20651 wine_fn_config_makefile dlls/gameux/tests enable_tests
20652 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20653 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20654 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20655 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20656 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20657 wine_fn_config_makefile dlls/glu32 enable_glu32
20658 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20659 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20660 wine_fn_config_makefile dlls/hal enable_hal
20661 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20662 wine_fn_config_makefile dlls/hid enable_hid
20663 wine_fn_config_makefile dlls/hid/tests enable_tests
20664 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20665 wine_fn_config_makefile dlls/hlink enable_hlink
20666 wine_fn_config_makefile dlls/hlink/tests enable_tests
20667 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20668 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20669 wine_fn_config_makefile dlls/http.sys enable_http_sys
20670 wine_fn_config_makefile dlls/httpapi enable_httpapi
20671 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20672 wine_fn_config_makefile dlls/iccvid enable_iccvid
20673 wine_fn_config_makefile dlls/icmp enable_icmp
20674 wine_fn_config_makefile dlls/ieframe enable_ieframe
20675 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20676 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20677 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20678 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20679 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20680 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20681 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20682 wine_fn_config_makefile dlls/imm32 enable_imm32
20683 wine_fn_config_makefile dlls/imm32/tests enable_tests
20684 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20685 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20686 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20687 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20688 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20689 wine_fn_config_makefile dlls/infosoft enable_infosoft
20690 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20691 wine_fn_config_makefile dlls/initpki enable_initpki
20692 wine_fn_config_makefile dlls/inkobj enable_inkobj
20693 wine_fn_config_makefile dlls/inseng enable_inseng
20694 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20695 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20696 wine_fn_config_makefile dlls/iprop enable_iprop
20697 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20698 wine_fn_config_makefile dlls/itircl enable_itircl
20699 wine_fn_config_makefile dlls/itss enable_itss
20700 wine_fn_config_makefile dlls/itss/tests enable_tests
20701 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20702 wine_fn_config_makefile dlls/jscript enable_jscript
20703 wine_fn_config_makefile dlls/jscript/tests enable_tests
20704 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20705 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20706 wine_fn_config_makefile dlls/kerberos enable_kerberos
20707 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20708 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20709 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20710 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20711 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20712 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20713 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20714 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20715 wine_fn_config_makefile dlls/ksuser enable_ksuser
20716 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20717 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20718 wine_fn_config_makefile dlls/loadperf enable_loadperf
20719 wine_fn_config_makefile dlls/localspl enable_localspl
20720 wine_fn_config_makefile dlls/localspl/tests enable_tests
20721 wine_fn_config_makefile dlls/localui enable_localui
20722 wine_fn_config_makefile dlls/localui/tests enable_tests
20723 wine_fn_config_makefile dlls/lz32 enable_lz32
20724 wine_fn_config_makefile dlls/lz32/tests enable_tests
20725 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20726 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20727 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20728 wine_fn_config_makefile dlls/mapistub enable_mapistub
20729 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20730 wine_fn_config_makefile dlls/mcicda enable_mcicda
20731 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20732 wine_fn_config_makefile dlls/mciseq enable_mciseq
20733 wine_fn_config_makefile dlls/mciwave enable_mciwave
20734 wine_fn_config_makefile dlls/mf enable_mf
20735 wine_fn_config_makefile dlls/mf/tests enable_tests
20736 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20737 wine_fn_config_makefile dlls/mferror enable_mferror
20738 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20739 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20740 wine_fn_config_makefile dlls/mfplat enable_mfplat
20741 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20742 wine_fn_config_makefile dlls/mfplay enable_mfplay
20743 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20744 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20745 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20746 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20747 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20748 wine_fn_config_makefile dlls/midimap enable_midimap
20749 wine_fn_config_makefile dlls/mlang enable_mlang
20750 wine_fn_config_makefile dlls/mlang/tests enable_tests
20751 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20752 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20753 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20754 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20755 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20756 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20757 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20758 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20759 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20760 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20761 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20762 wine_fn_config_makefile dlls/mpr enable_mpr
20763 wine_fn_config_makefile dlls/mpr/tests enable_tests
20764 wine_fn_config_makefile dlls/mprapi enable_mprapi
20765 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20766 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20767 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20768 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20769 wine_fn_config_makefile dlls/msado15 enable_msado15
20770 wine_fn_config_makefile dlls/msado15/tests enable_tests
20771 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20772 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20773 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20774 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20775 wine_fn_config_makefile dlls/mscms enable_mscms
20776 wine_fn_config_makefile dlls/mscms/tests enable_tests
20777 wine_fn_config_makefile dlls/mscoree enable_mscoree
20778 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20779 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20780 wine_fn_config_makefile dlls/msctf enable_msctf
20781 wine_fn_config_makefile dlls/msctf/tests enable_tests
20782 wine_fn_config_makefile dlls/msctfp enable_msctfp
20783 wine_fn_config_makefile dlls/msdaps enable_msdaps
20784 wine_fn_config_makefile dlls/msdelta enable_msdelta
20785 wine_fn_config_makefile dlls/msdmo enable_msdmo
20786 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20787 wine_fn_config_makefile dlls/msdrm enable_msdrm
20788 wine_fn_config_makefile dlls/msftedit enable_msftedit
20789 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20790 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20791 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20792 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20793 wine_fn_config_makefile dlls/mshtml enable_mshtml
20794 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20795 wine_fn_config_makefile dlls/msi enable_msi
20796 wine_fn_config_makefile dlls/msi/tests enable_tests
20797 wine_fn_config_makefile dlls/msident enable_msident
20798 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20799 wine_fn_config_makefile dlls/msimsg enable_msimsg
20800 wine_fn_config_makefile dlls/msimtf enable_msimtf
20801 wine_fn_config_makefile dlls/msisip enable_msisip
20802 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20803 wine_fn_config_makefile dlls/msls31 enable_msls31
20804 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20805 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20806 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20807 wine_fn_config_makefile dlls/msports enable_msports
20808 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20809 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20810 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20811 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20812 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20813 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20814 wine_fn_config_makefile dlls/mstask enable_mstask
20815 wine_fn_config_makefile dlls/mstask/tests enable_tests
20816 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20817 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20818 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20819 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20820 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20821 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20822 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20823 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20824 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20825 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20826 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20827 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20828 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20829 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20830 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20831 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20832 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20833 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20834 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20835 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20836 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20837 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20838 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20839 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20840 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20841 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20842 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20843 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20844 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20845 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20846 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20847 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20848 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20849 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20850 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20851 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20852 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20853 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20854 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20855 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20856 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20857 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20858 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20859 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20860 wine_fn_config_makefile dlls/mswsock enable_mswsock
20861 wine_fn_config_makefile dlls/msxml enable_msxml
20862 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20863 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20864 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20865 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20866 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20867 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20868 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20869 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20870 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20871 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20872 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20873 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20874 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20875 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20876 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20877 wine_fn_config_makefile dlls/netprofm enable_netprofm
20878 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20879 wine_fn_config_makefile dlls/netutils enable_netutils
20880 wine_fn_config_makefile dlls/newdev enable_newdev
20881 wine_fn_config_makefile dlls/ninput enable_ninput
20882 wine_fn_config_makefile dlls/ninput/tests enable_tests
20883 wine_fn_config_makefile dlls/normaliz enable_normaliz
20884 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20885 wine_fn_config_makefile dlls/npptools enable_npptools
20886 wine_fn_config_makefile dlls/ntdll enable_ntdll
20887 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20888 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20889 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20890 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20891 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20892 wine_fn_config_makefile dlls/ntprint enable_ntprint
20893 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20894 wine_fn_config_makefile dlls/objsel enable_objsel
20895 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20896 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20897 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20898 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20899 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20900 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20901 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20902 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20903 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20904 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20905 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20906 wine_fn_config_makefile dlls/ole32 enable_ole32
20907 wine_fn_config_makefile dlls/ole32/tests enable_tests
20908 wine_fn_config_makefile dlls/oleacc enable_oleacc
20909 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20910 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20911 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20912 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20913 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20914 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20915 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20916 wine_fn_config_makefile dlls/oledlg enable_oledlg
20917 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20918 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20919 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20920 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20921 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20922 wine_fn_config_makefile dlls/opcservices enable_opcservices
20923 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20924 wine_fn_config_makefile dlls/openal32 enable_openal32
20925 wine_fn_config_makefile dlls/opencl enable_opencl
20926 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20927 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20928 wine_fn_config_makefile dlls/packager enable_packager
20929 wine_fn_config_makefile dlls/packager/tests enable_tests
20930 wine_fn_config_makefile dlls/pdh enable_pdh
20931 wine_fn_config_makefile dlls/pdh/tests enable_tests
20932 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20933 wine_fn_config_makefile dlls/pidgen enable_pidgen
20934 wine_fn_config_makefile dlls/powrprof enable_powrprof
20935 wine_fn_config_makefile dlls/printui enable_printui
20936 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20937 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20938 wine_fn_config_makefile dlls/propsys enable_propsys
20939 wine_fn_config_makefile dlls/propsys/tests enable_tests
20940 wine_fn_config_makefile dlls/psapi enable_psapi
20941 wine_fn_config_makefile dlls/psapi/tests enable_tests
20942 wine_fn_config_makefile dlls/pstorec enable_pstorec
20943 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20944 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20945 wine_fn_config_makefile dlls/qasf enable_qasf
20946 wine_fn_config_makefile dlls/qasf/tests enable_tests
20947 wine_fn_config_makefile dlls/qcap enable_qcap
20948 wine_fn_config_makefile dlls/qcap/tests enable_tests
20949 wine_fn_config_makefile dlls/qdvd enable_qdvd
20950 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20951 wine_fn_config_makefile dlls/qedit enable_qedit
20952 wine_fn_config_makefile dlls/qedit/tests enable_tests
20953 wine_fn_config_makefile dlls/qmgr enable_qmgr
20954 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20955 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20956 wine_fn_config_makefile dlls/quartz enable_quartz
20957 wine_fn_config_makefile dlls/quartz/tests enable_tests
20958 wine_fn_config_makefile dlls/query enable_query
20959 wine_fn_config_makefile dlls/qwave enable_qwave
20960 wine_fn_config_makefile dlls/qwave/tests enable_tests
20961 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20962 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20963 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20964 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20965 wine_fn_config_makefile dlls/regapi enable_regapi
20966 wine_fn_config_makefile dlls/resutils enable_resutils
20967 wine_fn_config_makefile dlls/riched20 enable_riched20
20968 wine_fn_config_makefile dlls/riched20/tests enable_tests
20969 wine_fn_config_makefile dlls/riched32 enable_riched32
20970 wine_fn_config_makefile dlls/riched32/tests enable_tests
20971 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20972 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20973 wine_fn_config_makefile dlls/rsabase enable_rsabase
20974 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20975 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20976 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20977 wine_fn_config_makefile dlls/rtutils enable_rtutils
20978 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20979 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20980 wine_fn_config_makefile dlls/samlib enable_samlib
20981 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20982 wine_fn_config_makefile dlls/sapi enable_sapi
20983 wine_fn_config_makefile dlls/sapi/tests enable_tests
20984 wine_fn_config_makefile dlls/sas enable_sas
20985 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20986 wine_fn_config_makefile dlls/sccbase enable_sccbase
20987 wine_fn_config_makefile dlls/schannel enable_schannel
20988 wine_fn_config_makefile dlls/schannel/tests enable_tests
20989 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20990 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20991 wine_fn_config_makefile dlls/scrobj enable_scrobj
20992 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20993 wine_fn_config_makefile dlls/scrrun enable_scrrun
20994 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20995 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20996 wine_fn_config_makefile dlls/sechost enable_sechost
20997 wine_fn_config_makefile dlls/secur32 enable_secur32
20998 wine_fn_config_makefile dlls/secur32/tests enable_tests
20999 wine_fn_config_makefile dlls/security enable_security
21000 wine_fn_config_makefile dlls/sensapi enable_sensapi
21001 wine_fn_config_makefile dlls/serialui enable_serialui
21002 wine_fn_config_makefile dlls/serialui/tests enable_tests
21003 wine_fn_config_makefile dlls/setupapi enable_setupapi
21004 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21005 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21006 wine_fn_config_makefile dlls/sfc enable_sfc
21007 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21008 wine_fn_config_makefile dlls/shcore enable_shcore
21009 wine_fn_config_makefile dlls/shcore/tests enable_tests
21010 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21011 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21012 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21013 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21014 wine_fn_config_makefile dlls/shell32 enable_shell32
21015 wine_fn_config_makefile dlls/shell32/tests enable_tests
21016 wine_fn_config_makefile dlls/shfolder enable_shfolder
21017 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21018 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21019 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21020 wine_fn_config_makefile dlls/slc enable_slc
21021 wine_fn_config_makefile dlls/slc/tests enable_tests
21022 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21023 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21024 wine_fn_config_makefile dlls/softpub enable_softpub
21025 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21026 wine_fn_config_makefile dlls/spoolss enable_spoolss
21027 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21028 wine_fn_config_makefile dlls/srclient enable_srclient
21029 wine_fn_config_makefile dlls/srvcli enable_srvcli
21030 wine_fn_config_makefile dlls/sspicli enable_sspicli
21031 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21032 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21033 wine_fn_config_makefile dlls/sti enable_sti
21034 wine_fn_config_makefile dlls/sti/tests enable_tests
21035 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21036 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21037 wine_fn_config_makefile dlls/strmbase enable_strmbase
21038 wine_fn_config_makefile dlls/strmdll enable_strmdll
21039 wine_fn_config_makefile dlls/strmiids enable_strmiids
21040 wine_fn_config_makefile dlls/svrapi enable_svrapi
21041 wine_fn_config_makefile dlls/sxs enable_sxs
21042 wine_fn_config_makefile dlls/sxs/tests enable_tests
21043 wine_fn_config_makefile dlls/system.drv16 enable_win16
21044 wine_fn_config_makefile dlls/t2embed enable_t2embed
21045 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21046 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21047 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21048 wine_fn_config_makefile dlls/taskschd enable_taskschd
21049 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21050 wine_fn_config_makefile dlls/tdh enable_tdh
21051 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21052 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21053 wine_fn_config_makefile dlls/traffic enable_traffic
21054 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21055 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21056 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21057 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21058 wine_fn_config_makefile dlls/tzres enable_tzres
21059 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21060 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21061 wine_fn_config_makefile dlls/uianimation enable_uianimation
21062 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21063 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21064 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21065 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21066 wine_fn_config_makefile dlls/unicows enable_unicows
21067 wine_fn_config_makefile dlls/updspapi enable_updspapi
21068 wine_fn_config_makefile dlls/url enable_url
21069 wine_fn_config_makefile dlls/urlmon enable_urlmon
21070 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21071 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21072 wine_fn_config_makefile dlls/user.exe16 enable_win16
21073 wine_fn_config_makefile dlls/user32 enable_user32
21074 wine_fn_config_makefile dlls/user32/tests enable_tests
21075 wine_fn_config_makefile dlls/userenv enable_userenv
21076 wine_fn_config_makefile dlls/userenv/tests enable_tests
21077 wine_fn_config_makefile dlls/usp10 enable_usp10
21078 wine_fn_config_makefile dlls/usp10/tests enable_tests
21079 wine_fn_config_makefile dlls/utildll enable_utildll
21080 wine_fn_config_makefile dlls/uuid enable_uuid
21081 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21082 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21083 wine_fn_config_makefile dlls/vbscript enable_vbscript
21084 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21085 wine_fn_config_makefile dlls/vcomp enable_vcomp
21086 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21087 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21088 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21089 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21090 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21091 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21092 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21093 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21094 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21095 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21096 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21097 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21098 wine_fn_config_makefile dlls/version enable_version
21099 wine_fn_config_makefile dlls/version/tests enable_tests
21100 wine_fn_config_makefile dlls/vga enable_vga
21101 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21102 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21103 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21104 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21105 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21106 wine_fn_config_makefile dlls/vssapi enable_vssapi
21107 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21108 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21109 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21110 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21111 wine_fn_config_makefile dlls/w32skrnl enable_win16
21112 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21113 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21114 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21115 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21116 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21117 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21118 wine_fn_config_makefile dlls/wdscore enable_wdscore
21119 wine_fn_config_makefile dlls/webservices enable_webservices
21120 wine_fn_config_makefile dlls/webservices/tests enable_tests
21121 wine_fn_config_makefile dlls/websocket enable_websocket
21122 wine_fn_config_makefile dlls/wer enable_wer
21123 wine_fn_config_makefile dlls/wer/tests enable_tests
21124 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21125 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21126 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21127 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21128 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21129 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21130 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21131 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21132 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21133 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21134 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21135 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21136 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21137 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21138 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21139 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21140 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21141 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21142 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21143 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21144 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21145 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21146 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21147 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21148 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21149 wine_fn_config_makefile dlls/wined3d enable_wined3d
21150 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21151 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21152 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21153 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21154 wine_fn_config_makefile dlls/winemapi enable_winemapi
21155 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21156 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21157 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21158 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21159 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21160 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21161 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21162 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21163 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21164 wine_fn_config_makefile dlls/wing32 enable_wing32
21165 wine_fn_config_makefile dlls/winhttp enable_winhttp
21166 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21167 wine_fn_config_makefile dlls/wininet enable_wininet
21168 wine_fn_config_makefile dlls/wininet/tests enable_tests
21169 wine_fn_config_makefile dlls/winmm enable_winmm
21170 wine_fn_config_makefile dlls/winmm/tests enable_tests
21171 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21172 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21173 wine_fn_config_makefile dlls/winscard enable_winscard
21174 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21175 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21176 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21177 wine_fn_config_makefile dlls/winsta enable_winsta
21178 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21179 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21180 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21181 wine_fn_config_makefile dlls/wintrust enable_wintrust
21182 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21183 wine_fn_config_makefile dlls/winusb enable_winusb
21184 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21185 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21186 wine_fn_config_makefile dlls/wlanui enable_wlanui
21187 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21188 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21189 wine_fn_config_makefile dlls/wmasf enable_wmasf
21190 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21191 wine_fn_config_makefile dlls/wmi enable_wmi
21192 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21193 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21194 wine_fn_config_makefile dlls/wmp enable_wmp
21195 wine_fn_config_makefile dlls/wmp/tests enable_tests
21196 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21197 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21198 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21199 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21200 wine_fn_config_makefile dlls/wow32 enable_win16
21201 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21202 wine_fn_config_makefile dlls/wpc enable_wpc
21203 wine_fn_config_makefile dlls/wpc/tests enable_tests
21204 wine_fn_config_makefile dlls/wpcap enable_wpcap
21205 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21206 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21207 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21208 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21209 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21210 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21211 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21212 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21213 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21214 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21215 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21216 wine_fn_config_makefile dlls/wuapi enable_wuapi
21217 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21218 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21219 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21220 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21221 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21222 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21223 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21224 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21225 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21226 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21227 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21228 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21229 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21230 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21231 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21232 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21233 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21234 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21235 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21236 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21237 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21238 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21239 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21240 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21241 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21242 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21243 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21244 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21245 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21246 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21247 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21248 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21249 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21250 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21251 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21252 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21253 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21254 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21255 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21256 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21257 wine_fn_config_makefile dlls/xmllite enable_xmllite
21258 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21259 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21260 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21261 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21262 wine_fn_config_makefile fonts enable_fonts
21263 wine_fn_config_makefile include enable_include
21264 wine_fn_config_makefile libs/port enable_port
21265 wine_fn_config_makefile libs/wine enable_wine
21266 wine_fn_config_makefile libs/wpp enable_wpp
21267 wine_fn_config_makefile loader enable_loader
21268 wine_fn_config_makefile nls enable_nls
21269 wine_fn_config_makefile po enable_po
21270 wine_fn_config_makefile programs/arp enable_arp
21271 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21272 wine_fn_config_makefile programs/attrib enable_attrib
21273 wine_fn_config_makefile programs/cabarc enable_cabarc
21274 wine_fn_config_makefile programs/cacls enable_cacls
21275 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21276 wine_fn_config_makefile programs/clock enable_clock
21277 wine_fn_config_makefile programs/cmd enable_cmd
21278 wine_fn_config_makefile programs/cmd/tests enable_tests
21279 wine_fn_config_makefile programs/conhost enable_conhost
21280 wine_fn_config_makefile programs/conhost/tests enable_tests
21281 wine_fn_config_makefile programs/control enable_control
21282 wine_fn_config_makefile programs/cscript enable_cscript
21283 wine_fn_config_makefile programs/dism enable_dism
21284 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21285 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21286 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21287 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21288 wine_fn_config_makefile programs/eject enable_eject
21289 wine_fn_config_makefile programs/expand enable_expand
21290 wine_fn_config_makefile programs/explorer enable_explorer
21291 wine_fn_config_makefile programs/extrac32 enable_extrac32
21292 wine_fn_config_makefile programs/fc enable_fc
21293 wine_fn_config_makefile programs/find enable_find
21294 wine_fn_config_makefile programs/find/tests enable_tests
21295 wine_fn_config_makefile programs/findstr enable_findstr
21296 wine_fn_config_makefile programs/fsutil enable_fsutil
21297 wine_fn_config_makefile programs/fsutil/tests enable_tests
21298 wine_fn_config_makefile programs/hh enable_hh
21299 wine_fn_config_makefile programs/hostname enable_hostname
21300 wine_fn_config_makefile programs/icacls enable_icacls
21301 wine_fn_config_makefile programs/icinfo enable_icinfo
21302 wine_fn_config_makefile programs/iexplore enable_iexplore
21303 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21304 wine_fn_config_makefile programs/lodctr enable_lodctr
21305 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21306 wine_fn_config_makefile programs/mshta enable_mshta
21307 wine_fn_config_makefile programs/msidb enable_msidb
21308 wine_fn_config_makefile programs/msiexec enable_msiexec
21309 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21310 wine_fn_config_makefile programs/net enable_net
21311 wine_fn_config_makefile programs/netsh enable_netsh
21312 wine_fn_config_makefile programs/netstat enable_netstat
21313 wine_fn_config_makefile programs/ngen enable_ngen
21314 wine_fn_config_makefile programs/notepad enable_notepad
21315 wine_fn_config_makefile programs/oleview enable_oleview
21316 wine_fn_config_makefile programs/ping enable_ping
21317 wine_fn_config_makefile programs/plugplay enable_plugplay
21318 wine_fn_config_makefile programs/powershell enable_powershell
21319 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21320 wine_fn_config_makefile programs/progman enable_progman
21321 wine_fn_config_makefile programs/reg enable_reg
21322 wine_fn_config_makefile programs/reg/tests enable_tests
21323 wine_fn_config_makefile programs/regasm enable_regasm
21324 wine_fn_config_makefile programs/regedit enable_regedit
21325 wine_fn_config_makefile programs/regedit/tests enable_tests
21326 wine_fn_config_makefile programs/regini enable_regini
21327 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21328 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21329 wine_fn_config_makefile programs/rpcss enable_rpcss
21330 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21331 wine_fn_config_makefile programs/rundll32 enable_rundll32
21332 wine_fn_config_makefile programs/sc enable_sc
21333 wine_fn_config_makefile programs/schtasks enable_schtasks
21334 wine_fn_config_makefile programs/schtasks/tests enable_tests
21335 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21336 wine_fn_config_makefile programs/secedit enable_secedit
21337 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21338 wine_fn_config_makefile programs/services enable_services
21339 wine_fn_config_makefile programs/services/tests enable_tests
21340 wine_fn_config_makefile programs/shutdown enable_shutdown
21341 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21342 wine_fn_config_makefile programs/start enable_start
21343 wine_fn_config_makefile programs/subst enable_subst
21344 wine_fn_config_makefile programs/svchost enable_svchost
21345 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21346 wine_fn_config_makefile programs/taskkill enable_taskkill
21347 wine_fn_config_makefile programs/tasklist enable_tasklist
21348 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21349 wine_fn_config_makefile programs/termsv enable_termsv
21350 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21351 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21352 wine_fn_config_makefile programs/view enable_view
21353 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21354 wine_fn_config_makefile programs/where enable_where
21355 wine_fn_config_makefile programs/whoami enable_whoami
21356 wine_fn_config_makefile programs/wineboot enable_wineboot
21357 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21358 wine_fn_config_makefile programs/winecfg enable_winecfg
21359 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21360 wine_fn_config_makefile programs/winedbg enable_winedbg
21361 wine_fn_config_makefile programs/winedevice enable_winedevice
21362 wine_fn_config_makefile programs/winefile enable_winefile
21363 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21364 wine_fn_config_makefile programs/winemine enable_winemine
21365 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21366 wine_fn_config_makefile programs/winepath enable_winepath
21367 wine_fn_config_makefile programs/winetest enable_winetest
21368 wine_fn_config_makefile programs/winevdm enable_win16
21369 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21370 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21371 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21372 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21373 wine_fn_config_makefile programs/winver enable_winver
21374 wine_fn_config_makefile programs/wmic enable_wmic
21375 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21376 wine_fn_config_makefile programs/wordpad enable_wordpad
21377 wine_fn_config_makefile programs/write enable_write
21378 wine_fn_config_makefile programs/wscript enable_wscript
21379 wine_fn_config_makefile programs/wscript/tests enable_tests
21380 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21381 wine_fn_config_makefile programs/wusa enable_wusa
21382 wine_fn_config_makefile programs/xcopy enable_xcopy
21383 wine_fn_config_makefile programs/xcopy/tests enable_tests
21384 wine_fn_config_makefile server enable_server
21385 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21386 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21387 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21388 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21389 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21390 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21391 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21392 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21393 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21396 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21397 wine_fn_append_file CONFIGURE_TARGETS "tags"
21398 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21399 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21400 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21401 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21402 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21403 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21405 if test "x$enable_tools" != xno
21406 then
21407 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21408 ac_config_commands="$ac_config_commands tools/makedep"
21412 ac_config_commands="$ac_config_commands Makefile"
21415 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21419 if test "x$enable_maintainer_mode" = xyes
21420 then
21421 wine_fn_append_rule "configure: configure.ac aclocal.m4
21422 autoconf --warnings=all
21423 include/config.h.in: include/stamp-h.in
21424 include/stamp-h.in: configure.ac aclocal.m4
21425 autoheader --warnings=all
21426 @echo timestamp > \$@"
21429 if test "x$enable_tools" != xno
21430 then
21431 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21432 @./config.status tools/makedep
21433 Makefile: tools/makedep$ac_exeext"
21434 else
21435 wine_fn_append_rule "\$(MAKEDEP):
21436 @echo \"You need to run make in $TOOLSDIR first\" && false"
21439 if test -n "$with_wine64"
21440 then
21441 case "$with_wine64" in
21442 /*) reldir="" ;;
21443 *) reldir="../" ;;
21444 esac
21445 rm -f fonts server 2>/dev/null
21446 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21447 loader/wine64 loader/wine64-preloader:
21448 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21449 $with_wine64/loader/wine:
21450 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21451 $with_wine64/loader/wine-preloader:
21452 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21453 clean::
21454 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21455 else
21456 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21457 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21458 fonts \
21459 loader/wine.inf \
21460 nls \
21461 programs/msidb/msidb \
21462 programs/msiexec/msiexec \
21463 programs/notepad/notepad \
21464 programs/regedit/regedit \
21465 programs/regsvr32/regsvr32 \
21466 programs/wineboot/wineboot \
21467 programs/winecfg/winecfg \
21468 programs/wineconsole/wineconsole \
21469 programs/winedbg/winedbg \
21470 programs/winefile/winefile \
21471 programs/winemine/winemine \
21472 programs/winepath/winepath \
21473 server/wineserver"
21475 case $host_os in
21476 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21477 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21478 esac
21481 $as_echo " done" >&6
21482 cat >confcache <<\_ACEOF
21483 # This file is a shell script that caches the results of configure
21484 # tests run on this system so they can be shared between configure
21485 # scripts and configure runs, see configure's option --config-cache.
21486 # It is not useful on other systems. If it contains results you don't
21487 # want to keep, you may remove or edit it.
21489 # config.status only pays attention to the cache file if you give it
21490 # the --recheck option to rerun configure.
21492 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21493 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21494 # following values.
21496 _ACEOF
21498 # The following way of writing the cache mishandles newlines in values,
21499 # but we know of no workaround that is simple, portable, and efficient.
21500 # So, we kill variables containing newlines.
21501 # Ultrix sh set writes to stderr and can't be redirected directly,
21502 # and sets the high bit in the cache file unless we assign to the vars.
21504 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21505 eval ac_val=\$$ac_var
21506 case $ac_val in #(
21507 *${as_nl}*)
21508 case $ac_var in #(
21509 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21510 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21511 esac
21512 case $ac_var in #(
21513 _ | IFS | as_nl) ;; #(
21514 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21515 *) { eval $ac_var=; unset $ac_var;} ;;
21516 esac ;;
21517 esac
21518 done
21520 (set) 2>&1 |
21521 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21522 *${as_nl}ac_space=\ *)
21523 # `set' does not quote correctly, so add quotes: double-quote
21524 # substitution turns \\\\ into \\, and sed turns \\ into \.
21525 sed -n \
21526 "s/'/'\\\\''/g;
21527 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21528 ;; #(
21530 # `set' quotes correctly as required by POSIX, so do not add quotes.
21531 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21533 esac |
21534 sort
21536 sed '
21537 /^ac_cv_env_/b end
21538 t clear
21539 :clear
21540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21541 t end
21542 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21543 :end' >>confcache
21544 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21545 if test -w "$cache_file"; then
21546 if test "x$cache_file" != "x/dev/null"; then
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21548 $as_echo "$as_me: updating cache $cache_file" >&6;}
21549 if test ! -f "$cache_file" || test -h "$cache_file"; then
21550 cat confcache >"$cache_file"
21551 else
21552 case $cache_file in #(
21553 */* | ?:*)
21554 mv -f confcache "$cache_file"$$ &&
21555 mv -f "$cache_file"$$ "$cache_file" ;; #(
21557 mv -f confcache "$cache_file" ;;
21558 esac
21561 else
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21563 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21566 rm -f confcache
21568 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21569 # Let make expand exec_prefix.
21570 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21572 DEFS=-DHAVE_CONFIG_H
21574 ac_libobjs=
21575 ac_ltlibobjs=
21577 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21578 # 1. Remove the extension, and $U if already installed.
21579 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21580 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21581 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21582 # will be set to the directory where LIBOBJS objects are built.
21583 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21584 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21585 done
21586 LIBOBJS=$ac_libobjs
21588 LTLIBOBJS=$ac_ltlibobjs
21592 : "${CONFIG_STATUS=./config.status}"
21593 ac_write_fail=0
21594 ac_clean_files_save=$ac_clean_files
21595 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21596 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21597 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21598 as_write_fail=0
21599 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21600 #! $SHELL
21601 # Generated by $as_me.
21602 # Run this file to recreate the current configuration.
21603 # Compiler output produced by configure, useful for debugging
21604 # configure, is in config.log if it exists.
21606 debug=false
21607 ac_cs_recheck=false
21608 ac_cs_silent=false
21610 SHELL=\${CONFIG_SHELL-$SHELL}
21611 export SHELL
21612 _ASEOF
21613 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21614 ## -------------------- ##
21615 ## M4sh Initialization. ##
21616 ## -------------------- ##
21618 # Be more Bourne compatible
21619 DUALCASE=1; export DUALCASE # for MKS sh
21620 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21621 emulate sh
21622 NULLCMD=:
21623 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21624 # is contrary to our usage. Disable this feature.
21625 alias -g '${1+"$@"}'='"$@"'
21626 setopt NO_GLOB_SUBST
21627 else
21628 case `(set -o) 2>/dev/null` in #(
21629 *posix*) :
21630 set -o posix ;; #(
21631 *) :
21633 esac
21637 as_nl='
21639 export as_nl
21640 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21641 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21643 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21644 # Prefer a ksh shell builtin over an external printf program on Solaris,
21645 # but without wasting forks for bash or zsh.
21646 if test -z "$BASH_VERSION$ZSH_VERSION" \
21647 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21648 as_echo='print -r --'
21649 as_echo_n='print -rn --'
21650 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21651 as_echo='printf %s\n'
21652 as_echo_n='printf %s'
21653 else
21654 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21655 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21656 as_echo_n='/usr/ucb/echo -n'
21657 else
21658 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21659 as_echo_n_body='eval
21660 arg=$1;
21661 case $arg in #(
21662 *"$as_nl"*)
21663 expr "X$arg" : "X\\(.*\\)$as_nl";
21664 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21665 esac;
21666 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21668 export as_echo_n_body
21669 as_echo_n='sh -c $as_echo_n_body as_echo'
21671 export as_echo_body
21672 as_echo='sh -c $as_echo_body as_echo'
21675 # The user is always right.
21676 if test "${PATH_SEPARATOR+set}" != set; then
21677 PATH_SEPARATOR=:
21678 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21679 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21680 PATH_SEPARATOR=';'
21685 # IFS
21686 # We need space, tab and new line, in precisely that order. Quoting is
21687 # there to prevent editors from complaining about space-tab.
21688 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21689 # splitting by setting IFS to empty value.)
21690 IFS=" "" $as_nl"
21692 # Find who we are. Look in the path if we contain no directory separator.
21693 as_myself=
21694 case $0 in #((
21695 *[\\/]* ) as_myself=$0 ;;
21696 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21697 for as_dir in $PATH
21699 IFS=$as_save_IFS
21700 test -z "$as_dir" && as_dir=.
21701 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21702 done
21703 IFS=$as_save_IFS
21706 esac
21707 # We did not find ourselves, most probably we were run as `sh COMMAND'
21708 # in which case we are not to be found in the path.
21709 if test "x$as_myself" = x; then
21710 as_myself=$0
21712 if test ! -f "$as_myself"; then
21713 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21714 exit 1
21717 # Unset variables that we do not need and which cause bugs (e.g. in
21718 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21719 # suppresses any "Segmentation fault" message there. '((' could
21720 # trigger a bug in pdksh 5.2.14.
21721 for as_var in BASH_ENV ENV MAIL MAILPATH
21722 do eval test x\${$as_var+set} = xset \
21723 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21724 done
21725 PS1='$ '
21726 PS2='> '
21727 PS4='+ '
21729 # NLS nuisances.
21730 LC_ALL=C
21731 export LC_ALL
21732 LANGUAGE=C
21733 export LANGUAGE
21735 # CDPATH.
21736 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21739 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21740 # ----------------------------------------
21741 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21742 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21743 # script with STATUS, using 1 if that was 0.
21744 as_fn_error ()
21746 as_status=$1; test $as_status -eq 0 && as_status=1
21747 if test "$4"; then
21748 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21749 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21751 $as_echo "$as_me: error: $2" >&2
21752 as_fn_exit $as_status
21753 } # as_fn_error
21756 # as_fn_set_status STATUS
21757 # -----------------------
21758 # Set $? to STATUS, without forking.
21759 as_fn_set_status ()
21761 return $1
21762 } # as_fn_set_status
21764 # as_fn_exit STATUS
21765 # -----------------
21766 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21767 as_fn_exit ()
21769 set +e
21770 as_fn_set_status $1
21771 exit $1
21772 } # as_fn_exit
21774 # as_fn_unset VAR
21775 # ---------------
21776 # Portably unset VAR.
21777 as_fn_unset ()
21779 { eval $1=; unset $1;}
21781 as_unset=as_fn_unset
21782 # as_fn_append VAR VALUE
21783 # ----------------------
21784 # Append the text in VALUE to the end of the definition contained in VAR. Take
21785 # advantage of any shell optimizations that allow amortized linear growth over
21786 # repeated appends, instead of the typical quadratic growth present in naive
21787 # implementations.
21788 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21789 eval 'as_fn_append ()
21791 eval $1+=\$2
21793 else
21794 as_fn_append ()
21796 eval $1=\$$1\$2
21798 fi # as_fn_append
21800 # as_fn_arith ARG...
21801 # ------------------
21802 # Perform arithmetic evaluation on the ARGs, and store the result in the
21803 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21804 # must be portable across $(()) and expr.
21805 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21806 eval 'as_fn_arith ()
21808 as_val=$(( $* ))
21810 else
21811 as_fn_arith ()
21813 as_val=`expr "$@" || test $? -eq 1`
21815 fi # as_fn_arith
21818 if expr a : '\(a\)' >/dev/null 2>&1 &&
21819 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21820 as_expr=expr
21821 else
21822 as_expr=false
21825 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21826 as_basename=basename
21827 else
21828 as_basename=false
21831 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21832 as_dirname=dirname
21833 else
21834 as_dirname=false
21837 as_me=`$as_basename -- "$0" ||
21838 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21839 X"$0" : 'X\(//\)$' \| \
21840 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21841 $as_echo X/"$0" |
21842 sed '/^.*\/\([^/][^/]*\)\/*$/{
21843 s//\1/
21846 /^X\/\(\/\/\)$/{
21847 s//\1/
21850 /^X\/\(\/\).*/{
21851 s//\1/
21854 s/.*/./; q'`
21856 # Avoid depending upon Character Ranges.
21857 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21858 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21859 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21860 as_cr_digits='0123456789'
21861 as_cr_alnum=$as_cr_Letters$as_cr_digits
21863 ECHO_C= ECHO_N= ECHO_T=
21864 case `echo -n x` in #(((((
21865 -n*)
21866 case `echo 'xy\c'` in
21867 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21868 xy) ECHO_C='\c';;
21869 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21870 ECHO_T=' ';;
21871 esac;;
21873 ECHO_N='-n';;
21874 esac
21876 rm -f conf$$ conf$$.exe conf$$.file
21877 if test -d conf$$.dir; then
21878 rm -f conf$$.dir/conf$$.file
21879 else
21880 rm -f conf$$.dir
21881 mkdir conf$$.dir 2>/dev/null
21883 if (echo >conf$$.file) 2>/dev/null; then
21884 if ln -s conf$$.file conf$$ 2>/dev/null; then
21885 as_ln_s='ln -s'
21886 # ... but there are two gotchas:
21887 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21888 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21889 # In both cases, we have to default to `cp -pR'.
21890 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21891 as_ln_s='cp -pR'
21892 elif ln conf$$.file conf$$ 2>/dev/null; then
21893 as_ln_s=ln
21894 else
21895 as_ln_s='cp -pR'
21897 else
21898 as_ln_s='cp -pR'
21900 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21901 rmdir conf$$.dir 2>/dev/null
21904 # as_fn_mkdir_p
21905 # -------------
21906 # Create "$as_dir" as a directory, including parents if necessary.
21907 as_fn_mkdir_p ()
21910 case $as_dir in #(
21911 -*) as_dir=./$as_dir;;
21912 esac
21913 test -d "$as_dir" || eval $as_mkdir_p || {
21914 as_dirs=
21915 while :; do
21916 case $as_dir in #(
21917 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21918 *) as_qdir=$as_dir;;
21919 esac
21920 as_dirs="'$as_qdir' $as_dirs"
21921 as_dir=`$as_dirname -- "$as_dir" ||
21922 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21923 X"$as_dir" : 'X\(//\)[^/]' \| \
21924 X"$as_dir" : 'X\(//\)$' \| \
21925 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21926 $as_echo X"$as_dir" |
21927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21928 s//\1/
21931 /^X\(\/\/\)[^/].*/{
21932 s//\1/
21935 /^X\(\/\/\)$/{
21936 s//\1/
21939 /^X\(\/\).*/{
21940 s//\1/
21943 s/.*/./; q'`
21944 test -d "$as_dir" && break
21945 done
21946 test -z "$as_dirs" || eval "mkdir $as_dirs"
21947 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21950 } # as_fn_mkdir_p
21951 if mkdir -p . 2>/dev/null; then
21952 as_mkdir_p='mkdir -p "$as_dir"'
21953 else
21954 test -d ./-p && rmdir ./-p
21955 as_mkdir_p=false
21959 # as_fn_executable_p FILE
21960 # -----------------------
21961 # Test if FILE is an executable regular file.
21962 as_fn_executable_p ()
21964 test -f "$1" && test -x "$1"
21965 } # as_fn_executable_p
21966 as_test_x='test -x'
21967 as_executable_p=as_fn_executable_p
21969 # Sed expression to map a string onto a valid CPP name.
21970 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21972 # Sed expression to map a string onto a valid variable name.
21973 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21976 exec 6>&1
21977 ## ----------------------------------- ##
21978 ## Main body of $CONFIG_STATUS script. ##
21979 ## ----------------------------------- ##
21980 _ASEOF
21981 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21984 # Save the log message, to keep $0 and so on meaningful, and to
21985 # report actual input values of CONFIG_FILES etc. instead of their
21986 # values after options handling.
21987 ac_log="
21988 This file was extended by Wine $as_me 6.5, which was
21989 generated by GNU Autoconf 2.69. Invocation command line was
21991 CONFIG_FILES = $CONFIG_FILES
21992 CONFIG_HEADERS = $CONFIG_HEADERS
21993 CONFIG_LINKS = $CONFIG_LINKS
21994 CONFIG_COMMANDS = $CONFIG_COMMANDS
21995 $ $0 $@
21997 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22000 _ACEOF
22002 case $ac_config_files in *"
22003 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22004 esac
22006 case $ac_config_headers in *"
22007 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22008 esac
22011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22012 # Files that config.status was made for.
22013 config_files="$ac_config_files"
22014 config_headers="$ac_config_headers"
22015 config_links="$ac_config_links"
22016 config_commands="$ac_config_commands"
22018 _ACEOF
22020 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22021 ac_cs_usage="\
22022 \`$as_me' instantiates files and other configuration actions
22023 from templates according to the current configuration. Unless the files
22024 and actions are specified as TAGs, all are instantiated by default.
22026 Usage: $0 [OPTION]... [TAG]...
22028 -h, --help print this help, then exit
22029 -V, --version print version number and configuration settings, then exit
22030 --config print configuration, then exit
22031 -q, --quiet, --silent
22032 do not print progress messages
22033 -d, --debug don't remove temporary files
22034 --recheck update $as_me by reconfiguring in the same conditions
22035 --file=FILE[:TEMPLATE]
22036 instantiate the configuration file FILE
22037 --header=FILE[:TEMPLATE]
22038 instantiate the configuration header FILE
22040 Configuration files:
22041 $config_files
22043 Configuration headers:
22044 $config_headers
22046 Configuration links:
22047 $config_links
22049 Configuration commands:
22050 $config_commands
22052 Report bugs to <wine-devel@winehq.org>.
22053 Wine home page: <https://www.winehq.org>."
22055 _ACEOF
22056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22057 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22058 ac_cs_version="\\
22059 Wine config.status 6.5
22060 configured by $0, generated by GNU Autoconf 2.69,
22061 with options \\"\$ac_cs_config\\"
22063 Copyright (C) 2012 Free Software Foundation, Inc.
22064 This config.status script is free software; the Free Software Foundation
22065 gives unlimited permission to copy, distribute and modify it."
22067 ac_pwd='$ac_pwd'
22068 srcdir='$srcdir'
22069 test -n "\$AWK" || AWK=awk
22070 _ACEOF
22072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22073 # The default lists apply if the user does not specify any file.
22074 ac_need_defaults=:
22075 while test $# != 0
22077 case $1 in
22078 --*=?*)
22079 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22080 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22081 ac_shift=:
22083 --*=)
22084 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22085 ac_optarg=
22086 ac_shift=:
22089 ac_option=$1
22090 ac_optarg=$2
22091 ac_shift=shift
22093 esac
22095 case $ac_option in
22096 # Handling of the options.
22097 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22098 ac_cs_recheck=: ;;
22099 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22100 $as_echo "$ac_cs_version"; exit ;;
22101 --config | --confi | --conf | --con | --co | --c )
22102 $as_echo "$ac_cs_config"; exit ;;
22103 --debug | --debu | --deb | --de | --d | -d )
22104 debug=: ;;
22105 --file | --fil | --fi | --f )
22106 $ac_shift
22107 case $ac_optarg in
22108 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22109 '') as_fn_error $? "missing file argument" ;;
22110 esac
22111 as_fn_append CONFIG_FILES " '$ac_optarg'"
22112 ac_need_defaults=false;;
22113 --header | --heade | --head | --hea )
22114 $ac_shift
22115 case $ac_optarg in
22116 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22117 esac
22118 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22119 ac_need_defaults=false;;
22120 --he | --h)
22121 # Conflict between --help and --header
22122 as_fn_error $? "ambiguous option: \`$1'
22123 Try \`$0 --help' for more information.";;
22124 --help | --hel | -h )
22125 $as_echo "$ac_cs_usage"; exit ;;
22126 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22127 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22128 ac_cs_silent=: ;;
22130 # This is an error.
22131 -*) as_fn_error $? "unrecognized option: \`$1'
22132 Try \`$0 --help' for more information." ;;
22134 *) as_fn_append ac_config_targets " $1"
22135 ac_need_defaults=false ;;
22137 esac
22138 shift
22139 done
22141 ac_configure_extra_args=
22143 if $ac_cs_silent; then
22144 exec 6>/dev/null
22145 ac_configure_extra_args="$ac_configure_extra_args --silent"
22148 _ACEOF
22149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22150 if \$ac_cs_recheck; then
22151 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22152 shift
22153 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22154 CONFIG_SHELL='$SHELL'
22155 export CONFIG_SHELL
22156 exec "\$@"
22159 _ACEOF
22160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22161 exec 5>>config.log
22163 echo
22164 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22165 ## Running $as_me. ##
22166 _ASBOX
22167 $as_echo "$ac_log"
22168 } >&5
22170 _ACEOF
22171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22173 # INIT-COMMANDS
22175 wine_fn_output_makedep ()
22177 as_dir=tools; as_fn_mkdir_p
22178 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22180 wine_fn_output_makefile ()
22182 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22183 `cat $wine_rules_file`
22184 _WINE_EOF
22185 as_fn_error $? "could not create Makefile" "$LINENO" 5
22188 _ACEOF
22190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22192 # Handling of arguments.
22193 for ac_config_target in $ac_config_targets
22195 case $ac_config_target in
22196 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22197 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22198 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22199 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22200 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22201 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22202 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22204 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22205 esac
22206 done
22209 # If the user did not use the arguments to specify the items to instantiate,
22210 # then the envvar interface is used. Set only those that are not.
22211 # We use the long form for the default assignment because of an extremely
22212 # bizarre bug on SunOS 4.1.3.
22213 if $ac_need_defaults; then
22214 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22215 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22216 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22217 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22220 # Have a temporary directory for convenience. Make it in the build tree
22221 # simply because there is no reason against having it here, and in addition,
22222 # creating and moving files from /tmp can sometimes cause problems.
22223 # Hook for its removal unless debugging.
22224 # Note that there is a small window in which the directory will not be cleaned:
22225 # after its creation but before its name has been assigned to `$tmp'.
22226 $debug ||
22228 tmp= ac_tmp=
22229 trap 'exit_status=$?
22230 : "${ac_tmp:=$tmp}"
22231 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22233 trap 'as_fn_exit 1' 1 2 13 15
22235 # Create a (secure) tmp directory for tmp files.
22238 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22239 test -d "$tmp"
22240 } ||
22242 tmp=./conf$$-$RANDOM
22243 (umask 077 && mkdir "$tmp")
22244 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22245 ac_tmp=$tmp
22247 # Set up the scripts for CONFIG_FILES section.
22248 # No need to generate them if there are no CONFIG_FILES.
22249 # This happens for instance with `./config.status config.h'.
22250 if test -n "$CONFIG_FILES"; then
22253 ac_cr=`echo X | tr X '\015'`
22254 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22255 # But we know of no other shell where ac_cr would be empty at this
22256 # point, so we can use a bashism as a fallback.
22257 if test "x$ac_cr" = x; then
22258 eval ac_cr=\$\'\\r\'
22260 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22261 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22262 ac_cs_awk_cr='\\r'
22263 else
22264 ac_cs_awk_cr=$ac_cr
22267 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22268 _ACEOF
22272 echo "cat >conf$$subs.awk <<_ACEOF" &&
22273 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22274 echo "_ACEOF"
22275 } >conf$$subs.sh ||
22276 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22277 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22278 ac_delim='%!_!# '
22279 for ac_last_try in false false false false false :; do
22280 . ./conf$$subs.sh ||
22281 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22283 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22284 if test $ac_delim_n = $ac_delim_num; then
22285 break
22286 elif $ac_last_try; then
22287 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22288 else
22289 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22291 done
22292 rm -f conf$$subs.sh
22294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22295 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22296 _ACEOF
22297 sed -n '
22299 s/^/S["/; s/!.*/"]=/
22302 s/^[^!]*!//
22303 :repl
22304 t repl
22305 s/'"$ac_delim"'$//
22306 t delim
22309 s/\(.\{148\}\)..*/\1/
22310 t more1
22311 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22314 b repl
22315 :more1
22316 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22319 s/.\{148\}//
22320 t nl
22321 :delim
22323 s/\(.\{148\}\)..*/\1/
22324 t more2
22325 s/["\\]/\\&/g; s/^/"/; s/$/"/
22328 :more2
22329 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22332 s/.\{148\}//
22333 t delim
22334 ' <conf$$subs.awk | sed '
22335 /^[^""]/{
22337 s/\n//
22339 ' >>$CONFIG_STATUS || ac_write_fail=1
22340 rm -f conf$$subs.awk
22341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22342 _ACAWK
22343 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22344 for (key in S) S_is_set[key] = 1
22345 FS = "\a"
22349 line = $ 0
22350 nfields = split(line, field, "@")
22351 substed = 0
22352 len = length(field[1])
22353 for (i = 2; i < nfields; i++) {
22354 key = field[i]
22355 keylen = length(key)
22356 if (S_is_set[key]) {
22357 value = S[key]
22358 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22359 len += length(value) + length(field[++i])
22360 substed = 1
22361 } else
22362 len += 1 + keylen
22365 print line
22368 _ACAWK
22369 _ACEOF
22370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22371 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22372 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22373 else
22375 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22376 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22377 _ACEOF
22379 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22380 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22381 # trailing colons and then remove the whole line if VPATH becomes empty
22382 # (actually we leave an empty line to preserve line numbers).
22383 if test "x$srcdir" = x.; then
22384 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22386 s///
22387 s/^/:/
22388 s/[ ]*$/:/
22389 s/:\$(srcdir):/:/g
22390 s/:\${srcdir}:/:/g
22391 s/:@srcdir@:/:/g
22392 s/^:*//
22393 s/:*$//
22395 s/\(=[ ]*\).*/\1/
22397 s/\n//
22398 s/^[^=]*=[ ]*$//
22402 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22403 fi # test -n "$CONFIG_FILES"
22405 # Set up the scripts for CONFIG_HEADERS section.
22406 # No need to generate them if there are no CONFIG_HEADERS.
22407 # This happens for instance with `./config.status Makefile'.
22408 if test -n "$CONFIG_HEADERS"; then
22409 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22410 BEGIN {
22411 _ACEOF
22413 # Transform confdefs.h into an awk script `defines.awk', embedded as
22414 # here-document in config.status, that substitutes the proper values into
22415 # config.h.in to produce config.h.
22417 # Create a delimiter string that does not exist in confdefs.h, to ease
22418 # handling of long lines.
22419 ac_delim='%!_!# '
22420 for ac_last_try in false false :; do
22421 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22422 if test -z "$ac_tt"; then
22423 break
22424 elif $ac_last_try; then
22425 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22426 else
22427 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22429 done
22431 # For the awk script, D is an array of macro values keyed by name,
22432 # likewise P contains macro parameters if any. Preserve backslash
22433 # newline sequences.
22435 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22436 sed -n '
22437 s/.\{148\}/&'"$ac_delim"'/g
22438 t rset
22439 :rset
22440 s/^[ ]*#[ ]*define[ ][ ]*/ /
22441 t def
22443 :def
22444 s/\\$//
22445 t bsnl
22446 s/["\\]/\\&/g
22447 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22448 D["\1"]=" \3"/p
22449 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22451 :bsnl
22452 s/["\\]/\\&/g
22453 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22454 D["\1"]=" \3\\\\\\n"\\/p
22455 t cont
22456 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22457 t cont
22459 :cont
22461 s/.\{148\}/&'"$ac_delim"'/g
22462 t clear
22463 :clear
22464 s/\\$//
22465 t bsnlc
22466 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22468 :bsnlc
22469 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22470 b cont
22471 ' <confdefs.h | sed '
22472 s/'"$ac_delim"'/"\\\
22473 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22476 for (key in D) D_is_set[key] = 1
22477 FS = "\a"
22479 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22480 line = \$ 0
22481 split(line, arg, " ")
22482 if (arg[1] == "#") {
22483 defundef = arg[2]
22484 mac1 = arg[3]
22485 } else {
22486 defundef = substr(arg[1], 2)
22487 mac1 = arg[2]
22489 split(mac1, mac2, "(") #)
22490 macro = mac2[1]
22491 prefix = substr(line, 1, index(line, defundef) - 1)
22492 if (D_is_set[macro]) {
22493 # Preserve the white space surrounding the "#".
22494 print prefix "define", macro P[macro] D[macro]
22495 next
22496 } else {
22497 # Replace #undef with comments. This is necessary, for example,
22498 # in the case of _POSIX_SOURCE, which is predefined and required
22499 # on some systems where configure will not decide to define it.
22500 if (defundef == "undef") {
22501 print "/*", prefix defundef, macro, "*/"
22502 next
22506 { print }
22507 _ACAWK
22508 _ACEOF
22509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22510 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22511 fi # test -n "$CONFIG_HEADERS"
22514 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22515 shift
22516 for ac_tag
22518 case $ac_tag in
22519 :[FHLC]) ac_mode=$ac_tag; continue;;
22520 esac
22521 case $ac_mode$ac_tag in
22522 :[FHL]*:*);;
22523 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22524 :[FH]-) ac_tag=-:-;;
22525 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22526 esac
22527 ac_save_IFS=$IFS
22528 IFS=:
22529 set x $ac_tag
22530 IFS=$ac_save_IFS
22531 shift
22532 ac_file=$1
22533 shift
22535 case $ac_mode in
22536 :L) ac_source=$1;;
22537 :[FH])
22538 ac_file_inputs=
22539 for ac_f
22541 case $ac_f in
22542 -) ac_f="$ac_tmp/stdin";;
22543 *) # Look for the file first in the build tree, then in the source tree
22544 # (if the path is not absolute). The absolute path cannot be DOS-style,
22545 # because $ac_f cannot contain `:'.
22546 test -f "$ac_f" ||
22547 case $ac_f in
22548 [\\/$]*) false;;
22549 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22550 esac ||
22551 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22552 esac
22553 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22554 as_fn_append ac_file_inputs " '$ac_f'"
22555 done
22557 # Let's still pretend it is `configure' which instantiates (i.e., don't
22558 # use $as_me), people would be surprised to read:
22559 # /* config.h. Generated by config.status. */
22560 configure_input='Generated from '`
22561 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22562 `' by configure.'
22563 if test x"$ac_file" != x-; then
22564 configure_input="$ac_file. $configure_input"
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22566 $as_echo "$as_me: creating $ac_file" >&6;}
22568 # Neutralize special characters interpreted by sed in replacement strings.
22569 case $configure_input in #(
22570 *\&* | *\|* | *\\* )
22571 ac_sed_conf_input=`$as_echo "$configure_input" |
22572 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22573 *) ac_sed_conf_input=$configure_input;;
22574 esac
22576 case $ac_tag in
22577 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22578 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22579 esac
22581 esac
22583 ac_dir=`$as_dirname -- "$ac_file" ||
22584 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22585 X"$ac_file" : 'X\(//\)[^/]' \| \
22586 X"$ac_file" : 'X\(//\)$' \| \
22587 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22588 $as_echo X"$ac_file" |
22589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22590 s//\1/
22593 /^X\(\/\/\)[^/].*/{
22594 s//\1/
22597 /^X\(\/\/\)$/{
22598 s//\1/
22601 /^X\(\/\).*/{
22602 s//\1/
22605 s/.*/./; q'`
22606 as_dir="$ac_dir"; as_fn_mkdir_p
22607 ac_builddir=.
22609 case "$ac_dir" in
22610 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22612 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22613 # A ".." for each directory in $ac_dir_suffix.
22614 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22615 case $ac_top_builddir_sub in
22616 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22617 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22618 esac ;;
22619 esac
22620 ac_abs_top_builddir=$ac_pwd
22621 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22622 # for backward compatibility:
22623 ac_top_builddir=$ac_top_build_prefix
22625 case $srcdir in
22626 .) # We are building in place.
22627 ac_srcdir=.
22628 ac_top_srcdir=$ac_top_builddir_sub
22629 ac_abs_top_srcdir=$ac_pwd ;;
22630 [\\/]* | ?:[\\/]* ) # Absolute name.
22631 ac_srcdir=$srcdir$ac_dir_suffix;
22632 ac_top_srcdir=$srcdir
22633 ac_abs_top_srcdir=$srcdir ;;
22634 *) # Relative name.
22635 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22636 ac_top_srcdir=$ac_top_build_prefix$srcdir
22637 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22638 esac
22639 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22642 case $ac_mode in
22645 # CONFIG_FILE
22648 _ACEOF
22650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22651 # If the template does not know about datarootdir, expand it.
22652 # FIXME: This hack should be removed a few years after 2.60.
22653 ac_datarootdir_hack=; ac_datarootdir_seen=
22654 ac_sed_dataroot='
22655 /datarootdir/ {
22659 /@datadir@/p
22660 /@docdir@/p
22661 /@infodir@/p
22662 /@localedir@/p
22663 /@mandir@/p'
22664 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22665 *datarootdir*) ac_datarootdir_seen=yes;;
22666 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22668 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22669 _ACEOF
22670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22671 ac_datarootdir_hack='
22672 s&@datadir@&$datadir&g
22673 s&@docdir@&$docdir&g
22674 s&@infodir@&$infodir&g
22675 s&@localedir@&$localedir&g
22676 s&@mandir@&$mandir&g
22677 s&\\\${datarootdir}&$datarootdir&g' ;;
22678 esac
22679 _ACEOF
22681 # Neutralize VPATH when `$srcdir' = `.'.
22682 # Shell code in configure.ac might set extrasub.
22683 # FIXME: do we really want to maintain this feature?
22684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22685 ac_sed_extra="$ac_vpsub
22686 $extrasub
22687 _ACEOF
22688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22690 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22691 s|@configure_input@|$ac_sed_conf_input|;t t
22692 s&@top_builddir@&$ac_top_builddir_sub&;t t
22693 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22694 s&@srcdir@&$ac_srcdir&;t t
22695 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22696 s&@top_srcdir@&$ac_top_srcdir&;t t
22697 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22698 s&@builddir@&$ac_builddir&;t t
22699 s&@abs_builddir@&$ac_abs_builddir&;t t
22700 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22701 $ac_datarootdir_hack
22703 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22704 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22706 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22707 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22708 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22709 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22711 which seems to be undefined. Please make sure it is defined" >&5
22712 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22713 which seems to be undefined. Please make sure it is defined" >&2;}
22715 rm -f "$ac_tmp/stdin"
22716 case $ac_file in
22717 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22718 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22719 esac \
22720 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22724 # CONFIG_HEADER
22726 if test x"$ac_file" != x-; then
22728 $as_echo "/* $configure_input */" \
22729 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22730 } >"$ac_tmp/config.h" \
22731 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22732 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22734 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22735 else
22736 rm -f "$ac_file"
22737 mv "$ac_tmp/config.h" "$ac_file" \
22738 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22740 else
22741 $as_echo "/* $configure_input */" \
22742 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22743 || as_fn_error $? "could not create -" "$LINENO" 5
22748 # CONFIG_LINK
22751 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22753 else
22754 # Prefer the file from the source tree if names are identical.
22755 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22756 ac_source=$srcdir/$ac_source
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22760 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22762 if test ! -r "$ac_source"; then
22763 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22765 rm -f "$ac_file"
22767 # Try a relative symlink, then a hard link, then a copy.
22768 case $ac_source in
22769 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22770 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22771 esac
22772 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22773 ln "$ac_source" "$ac_file" 2>/dev/null ||
22774 cp -p "$ac_source" "$ac_file" ||
22775 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22778 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22779 $as_echo "$as_me: executing $ac_file commands" >&6;}
22781 esac
22784 case $ac_file$ac_mode in
22785 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22786 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22787 "Makefile":C) wine_fn_output_makefile Makefile ;;
22789 esac
22790 done # for ac_tag
22793 as_fn_exit 0
22794 _ACEOF
22795 ac_clean_files=$ac_clean_files_save
22797 test $ac_write_fail = 0 ||
22798 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22801 # configure is writing to config.log, and then calls config.status.
22802 # config.status does its own redirection, appending to config.log.
22803 # Unfortunately, on DOS this fails, as config.log is still kept open
22804 # by configure, so config.status won't be able to write to it; its
22805 # output is simply discarded. So we exec the FD to /dev/null,
22806 # effectively closing config.log, so it can be properly (re)opened and
22807 # appended to by config.status. When coming back to configure, we
22808 # need to make the FD available again.
22809 if test "$no_create" != yes; then
22810 ac_cs_success=:
22811 ac_config_status_args=
22812 test "$silent" = yes &&
22813 ac_config_status_args="$ac_config_status_args --quiet"
22814 exec 5>/dev/null
22815 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22816 exec 5>>config.log
22817 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22818 # would make configure fail if this is the last instruction.
22819 $ac_cs_success || as_fn_exit 1
22821 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22823 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22827 if test "$no_create" = "yes"
22828 then
22829 exit 0
22832 ac_save_IFS="$IFS"
22833 if test "x$wine_notices" != x; then
22834 echo >&6
22835 IFS="|"
22836 for msg in $wine_notices; do
22837 IFS="$ac_save_IFS"
22838 if ${msg:+false} :; then :
22840 else
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22842 $as_echo "$as_me: $msg" >&6;}
22844 done
22846 IFS="|"
22847 for msg in $wine_warnings; do
22848 IFS="$ac_save_IFS"
22849 if ${msg:+false} :; then :
22851 else
22852 echo >&2
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22854 $as_echo "$as_me: WARNING: $msg" >&2;}
22856 done
22857 IFS="$ac_save_IFS"
22859 $as_echo "
22860 $as_me: Finished. Do '${ac_make}' to compile Wine.
22861 " >&6