po: Update Lithuanian translation.
[wine.git] / configure
blobd3f7792011c494cdad58c058df8d12f2ebe204c8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.4.
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.4'
584 PACKAGE_STRING='Wine 6.4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_build_id
846 enable_maintainer_mode
847 enable_silent_rules
848 enable_werror
849 with_alsa
850 with_capi
851 with_cms
852 with_coreaudio
853 with_cups
854 with_dbus
855 with_faudio
856 with_float_abi
857 with_fontconfig
858 with_freetype
859 with_gettext
860 with_gettextpo
861 with_gphoto
862 with_gnutls
863 with_gsm
864 with_gssapi
865 with_gstreamer
866 with_hal
867 with_inotify
868 with_jpeg
869 with_jxrlib
870 with_krb5
871 with_ldap
872 with_mingw
873 with_mpg123
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_png
882 with_pthread
883 with_pulse
884 with_quicktime
885 with_sane
886 with_sdl
887 with_tiff
888 with_udev
889 with_unwind
890 with_usb
891 with_v4l2
892 with_vkd3d
893 with_vulkan
894 with_xcomposite
895 with_xcursor
896 with_xfixes
897 with_xinerama
898 with_xinput
899 with_xinput2
900 with_xml
901 with_xrandr
902 with_xrender
903 with_xshape
904 with_xshm
905 with_xslt
906 with_xxf86vm
907 with_wine_tools
908 with_wine64
909 enable_largefile
910 with_x
911 enable_acledit
912 enable_aclui
913 enable_activeds_tlb
914 enable_activeds
915 enable_actxprxy
916 enable_adsiid
917 enable_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l2_1_0
937 enable_api_ms_win_core_crt_l1_1_0
938 enable_api_ms_win_core_crt_l2_1_0
939 enable_api_ms_win_core_datetime_l1_1_0
940 enable_api_ms_win_core_datetime_l1_1_1
941 enable_api_ms_win_core_debug_l1_1_0
942 enable_api_ms_win_core_debug_l1_1_1
943 enable_api_ms_win_core_delayload_l1_1_0
944 enable_api_ms_win_core_delayload_l1_1_1
945 enable_api_ms_win_core_errorhandling_l1_1_0
946 enable_api_ms_win_core_errorhandling_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_2
948 enable_api_ms_win_core_errorhandling_l1_1_3
949 enable_api_ms_win_core_fibers_l1_1_0
950 enable_api_ms_win_core_fibers_l1_1_1
951 enable_api_ms_win_core_file_ansi_l2_1_0
952 enable_api_ms_win_core_file_fromapp_l1_1_0
953 enable_api_ms_win_core_file_l1_1_0
954 enable_api_ms_win_core_file_l1_2_0
955 enable_api_ms_win_core_file_l1_2_1
956 enable_api_ms_win_core_file_l1_2_2
957 enable_api_ms_win_core_file_l2_1_0
958 enable_api_ms_win_core_file_l2_1_1
959 enable_api_ms_win_core_file_l2_1_2
960 enable_api_ms_win_core_handle_l1_1_0
961 enable_api_ms_win_core_heap_l1_1_0
962 enable_api_ms_win_core_heap_l1_2_0
963 enable_api_ms_win_core_heap_l2_1_0
964 enable_api_ms_win_core_heap_obsolete_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_2_0
967 enable_api_ms_win_core_io_l1_1_0
968 enable_api_ms_win_core_io_l1_1_1
969 enable_api_ms_win_core_job_l1_1_0
970 enable_api_ms_win_core_job_l2_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_1
973 enable_api_ms_win_core_kernel32_legacy_l1_1_2
974 enable_api_ms_win_core_kernel32_private_l1_1_1
975 enable_api_ms_win_core_largeinteger_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_0
977 enable_api_ms_win_core_libraryloader_l1_1_1
978 enable_api_ms_win_core_libraryloader_l1_2_0
979 enable_api_ms_win_core_libraryloader_l1_2_1
980 enable_api_ms_win_core_libraryloader_l1_2_2
981 enable_api_ms_win_core_libraryloader_l2_1_0
982 enable_api_ms_win_core_localization_l1_1_0
983 enable_api_ms_win_core_localization_l1_2_0
984 enable_api_ms_win_core_localization_l1_2_1
985 enable_api_ms_win_core_localization_l1_2_2
986 enable_api_ms_win_core_localization_l2_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_1_0
988 enable_api_ms_win_core_localization_obsolete_l1_2_0
989 enable_api_ms_win_core_localization_obsolete_l1_3_0
990 enable_api_ms_win_core_localization_private_l1_1_0
991 enable_api_ms_win_core_localregistry_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_0
993 enable_api_ms_win_core_memory_l1_1_1
994 enable_api_ms_win_core_memory_l1_1_2
995 enable_api_ms_win_core_memory_l1_1_3
996 enable_api_ms_win_core_memory_l1_1_4
997 enable_api_ms_win_core_misc_l1_1_0
998 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_1_0
1000 enable_api_ms_win_core_namedpipe_l1_2_0
1001 enable_api_ms_win_core_namespace_l1_1_0
1002 enable_api_ms_win_core_normalization_l1_1_0
1003 enable_api_ms_win_core_path_l1_1_0
1004 enable_api_ms_win_core_privateprofile_l1_1_1
1005 enable_api_ms_win_core_processenvironment_l1_1_0
1006 enable_api_ms_win_core_processenvironment_l1_2_0
1007 enable_api_ms_win_core_processthreads_l1_1_0
1008 enable_api_ms_win_core_processthreads_l1_1_1
1009 enable_api_ms_win_core_processthreads_l1_1_2
1010 enable_api_ms_win_core_processthreads_l1_1_3
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_quirks_l1_1_0
1017 enable_api_ms_win_core_realtime_l1_1_0
1018 enable_api_ms_win_core_registry_l1_1_0
1019 enable_api_ms_win_core_registry_l2_1_0
1020 enable_api_ms_win_core_registry_l2_2_0
1021 enable_api_ms_win_core_registryuserspecific_l1_1_0
1022 enable_api_ms_win_core_rtlsupport_l1_1_0
1023 enable_api_ms_win_core_rtlsupport_l1_2_0
1024 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1025 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1026 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1027 enable_api_ms_win_core_shutdown_l1_1_0
1028 enable_api_ms_win_core_sidebyside_l1_1_0
1029 enable_api_ms_win_core_string_l1_1_0
1030 enable_api_ms_win_core_string_l2_1_0
1031 enable_api_ms_win_core_string_obsolete_l1_1_0
1032 enable_api_ms_win_core_stringansi_l1_1_0
1033 enable_api_ms_win_core_stringloader_l1_1_1
1034 enable_api_ms_win_core_synch_ansi_l1_1_0
1035 enable_api_ms_win_core_synch_l1_1_0
1036 enable_api_ms_win_core_synch_l1_2_0
1037 enable_api_ms_win_core_synch_l1_2_1
1038 enable_api_ms_win_core_sysinfo_l1_1_0
1039 enable_api_ms_win_core_sysinfo_l1_2_0
1040 enable_api_ms_win_core_sysinfo_l1_2_1
1041 enable_api_ms_win_core_systemtopology_l1_1_0
1042 enable_api_ms_win_core_threadpool_l1_1_0
1043 enable_api_ms_win_core_threadpool_l1_2_0
1044 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1045 enable_api_ms_win_core_threadpool_private_l1_1_0
1046 enable_api_ms_win_core_timezone_l1_1_0
1047 enable_api_ms_win_core_toolhelp_l1_1_0
1048 enable_api_ms_win_core_url_l1_1_0
1049 enable_api_ms_win_core_util_l1_1_0
1050 enable_api_ms_win_core_version_l1_1_0
1051 enable_api_ms_win_core_version_l1_1_1
1052 enable_api_ms_win_core_version_private_l1_1_0
1053 enable_api_ms_win_core_versionansi_l1_1_0
1054 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1055 enable_api_ms_win_core_winrt_error_l1_1_0
1056 enable_api_ms_win_core_winrt_error_l1_1_1
1057 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1058 enable_api_ms_win_core_winrt_l1_1_0
1059 enable_api_ms_win_core_winrt_registration_l1_1_0
1060 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1061 enable_api_ms_win_core_winrt_string_l1_1_0
1062 enable_api_ms_win_core_winrt_string_l1_1_1
1063 enable_api_ms_win_core_wow64_l1_1_0
1064 enable_api_ms_win_core_wow64_l1_1_1
1065 enable_api_ms_win_core_xstate_l1_1_0
1066 enable_api_ms_win_core_xstate_l2_1_0
1067 enable_api_ms_win_crt_conio_l1_1_0
1068 enable_api_ms_win_crt_convert_l1_1_0
1069 enable_api_ms_win_crt_environment_l1_1_0
1070 enable_api_ms_win_crt_filesystem_l1_1_0
1071 enable_api_ms_win_crt_heap_l1_1_0
1072 enable_api_ms_win_crt_locale_l1_1_0
1073 enable_api_ms_win_crt_math_l1_1_0
1074 enable_api_ms_win_crt_multibyte_l1_1_0
1075 enable_api_ms_win_crt_private_l1_1_0
1076 enable_api_ms_win_crt_process_l1_1_0
1077 enable_api_ms_win_crt_runtime_l1_1_0
1078 enable_api_ms_win_crt_stdio_l1_1_0
1079 enable_api_ms_win_crt_string_l1_1_0
1080 enable_api_ms_win_crt_time_l1_1_0
1081 enable_api_ms_win_crt_utility_l1_1_0
1082 enable_api_ms_win_devices_config_l1_1_0
1083 enable_api_ms_win_devices_config_l1_1_1
1084 enable_api_ms_win_devices_query_l1_1_1
1085 enable_api_ms_win_downlevel_advapi32_l1_1_0
1086 enable_api_ms_win_downlevel_advapi32_l2_1_0
1087 enable_api_ms_win_downlevel_kernel32_l2_1_0
1088 enable_api_ms_win_downlevel_normaliz_l1_1_0
1089 enable_api_ms_win_downlevel_ole32_l1_1_0
1090 enable_api_ms_win_downlevel_shell32_l1_1_0
1091 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1092 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1093 enable_api_ms_win_downlevel_user32_l1_1_0
1094 enable_api_ms_win_downlevel_version_l1_1_0
1095 enable_api_ms_win_dx_d3dkmt_l1_1_0
1096 enable_api_ms_win_eventing_classicprovider_l1_1_0
1097 enable_api_ms_win_eventing_consumer_l1_1_0
1098 enable_api_ms_win_eventing_controller_l1_1_0
1099 enable_api_ms_win_eventing_legacy_l1_1_0
1100 enable_api_ms_win_eventing_provider_l1_1_0
1101 enable_api_ms_win_eventlog_legacy_l1_1_0
1102 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1103 enable_api_ms_win_mm_joystick_l1_1_0
1104 enable_api_ms_win_mm_misc_l1_1_1
1105 enable_api_ms_win_mm_mme_l1_1_0
1106 enable_api_ms_win_mm_time_l1_1_0
1107 enable_api_ms_win_ntuser_dc_access_l1_1_0
1108 enable_api_ms_win_ntuser_rectangle_l1_1_0
1109 enable_api_ms_win_ntuser_sysparams_l1_1_0
1110 enable_api_ms_win_perf_legacy_l1_1_0
1111 enable_api_ms_win_power_base_l1_1_0
1112 enable_api_ms_win_power_setting_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1116 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1120 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1121 enable_api_ms_win_security_audit_l1_1_1
1122 enable_api_ms_win_security_base_l1_1_0
1123 enable_api_ms_win_security_base_l1_2_0
1124 enable_api_ms_win_security_base_private_l1_1_1
1125 enable_api_ms_win_security_credentials_l1_1_0
1126 enable_api_ms_win_security_cryptoapi_l1_1_0
1127 enable_api_ms_win_security_grouppolicy_l1_1_0
1128 enable_api_ms_win_security_lsalookup_l1_1_0
1129 enable_api_ms_win_security_lsalookup_l1_1_1
1130 enable_api_ms_win_security_lsalookup_l2_1_0
1131 enable_api_ms_win_security_lsalookup_l2_1_1
1132 enable_api_ms_win_security_lsapolicy_l1_1_0
1133 enable_api_ms_win_security_provider_l1_1_0
1134 enable_api_ms_win_security_sddl_l1_1_0
1135 enable_api_ms_win_security_systemfunctions_l1_1_0
1136 enable_api_ms_win_service_core_l1_1_0
1137 enable_api_ms_win_service_core_l1_1_1
1138 enable_api_ms_win_service_management_l1_1_0
1139 enable_api_ms_win_service_management_l2_1_0
1140 enable_api_ms_win_service_private_l1_1_1
1141 enable_api_ms_win_service_winsvc_l1_1_0
1142 enable_api_ms_win_service_winsvc_l1_2_0
1143 enable_api_ms_win_shcore_obsolete_l1_1_0
1144 enable_api_ms_win_shcore_scaling_l1_1_1
1145 enable_api_ms_win_shcore_stream_l1_1_0
1146 enable_api_ms_win_shcore_thread_l1_1_0
1147 enable_api_ms_win_shell_shellcom_l1_1_0
1148 enable_api_ms_win_shell_shellfolders_l1_1_0
1149 enable_apphelp
1150 enable_appwiz_cpl
1151 enable_atl
1152 enable_atl100
1153 enable_atl110
1154 enable_atl80
1155 enable_atl90
1156 enable_atlthunk
1157 enable_atmlib
1158 enable_authz
1159 enable_avicap32
1160 enable_avifil32
1161 enable_avrt
1162 enable_bcrypt
1163 enable_bluetoothapis
1164 enable_browseui
1165 enable_bthprops_cpl
1166 enable_cabinet
1167 enable_capi2032
1168 enable_cards
1169 enable_cdosys
1170 enable_cfgmgr32
1171 enable_clusapi
1172 enable_combase
1173 enable_comcat
1174 enable_comctl32
1175 enable_comdlg32
1176 enable_compstui
1177 enable_comsvcs
1178 enable_concrt140
1179 enable_connect
1180 enable_credui
1181 enable_crtdll
1182 enable_crypt32
1183 enable_cryptdlg
1184 enable_cryptdll
1185 enable_cryptext
1186 enable_cryptnet
1187 enable_cryptsp
1188 enable_cryptui
1189 enable_ctapi32
1190 enable_ctl3d32
1191 enable_d2d1
1192 enable_d3d10
1193 enable_d3d10_1
1194 enable_d3d10core
1195 enable_d3d11
1196 enable_d3d12
1197 enable_d3d8
1198 enable_d3d8thk
1199 enable_d3d9
1200 enable_d3dcompiler_33
1201 enable_d3dcompiler_34
1202 enable_d3dcompiler_35
1203 enable_d3dcompiler_36
1204 enable_d3dcompiler_37
1205 enable_d3dcompiler_38
1206 enable_d3dcompiler_39
1207 enable_d3dcompiler_40
1208 enable_d3dcompiler_41
1209 enable_d3dcompiler_42
1210 enable_d3dcompiler_43
1211 enable_d3dcompiler_46
1212 enable_d3dcompiler_47
1213 enable_d3dim
1214 enable_d3dim700
1215 enable_d3drm
1216 enable_d3dx10_33
1217 enable_d3dx10_34
1218 enable_d3dx10_35
1219 enable_d3dx10_36
1220 enable_d3dx10_37
1221 enable_d3dx10_38
1222 enable_d3dx10_39
1223 enable_d3dx10_40
1224 enable_d3dx10_41
1225 enable_d3dx10_42
1226 enable_d3dx10_43
1227 enable_d3dx11_42
1228 enable_d3dx11_43
1229 enable_d3dx9_24
1230 enable_d3dx9_25
1231 enable_d3dx9_26
1232 enable_d3dx9_27
1233 enable_d3dx9_28
1234 enable_d3dx9_29
1235 enable_d3dx9_30
1236 enable_d3dx9_31
1237 enable_d3dx9_32
1238 enable_d3dx9_33
1239 enable_d3dx9_34
1240 enable_d3dx9_35
1241 enable_d3dx9_36
1242 enable_d3dx9_37
1243 enable_d3dx9_38
1244 enable_d3dx9_39
1245 enable_d3dx9_40
1246 enable_d3dx9_41
1247 enable_d3dx9_42
1248 enable_d3dx9_43
1249 enable_d3dxof
1250 enable_davclnt
1251 enable_dbgeng
1252 enable_dbghelp
1253 enable_dciman32
1254 enable_dcomp
1255 enable_ddraw
1256 enable_ddrawex
1257 enable_devenum
1258 enable_dhcpcsvc
1259 enable_dhtmled_ocx
1260 enable_difxapi
1261 enable_dinput
1262 enable_dinput8
1263 enable_directmanipulation
1264 enable_dispex
1265 enable_dmband
1266 enable_dmcompos
1267 enable_dmime
1268 enable_dmloader
1269 enable_dmoguids
1270 enable_dmscript
1271 enable_dmstyle
1272 enable_dmsynth
1273 enable_dmusic
1274 enable_dmusic32
1275 enable_dnsapi
1276 enable_dplay
1277 enable_dplayx
1278 enable_dpnaddr
1279 enable_dpnet
1280 enable_dpnhpast
1281 enable_dpnlobby
1282 enable_dpvoice
1283 enable_dpwsockx
1284 enable_drmclien
1285 enable_dsdmo
1286 enable_dsound
1287 enable_dsquery
1288 enable_dssenh
1289 enable_dsuiext
1290 enable_dswave
1291 enable_dwmapi
1292 enable_dwrite
1293 enable_dx8vb
1294 enable_dxdiagn
1295 enable_dxerr8
1296 enable_dxerr9
1297 enable_dxgi
1298 enable_dxguid
1299 enable_dxva2
1300 enable_esent
1301 enable_evr
1302 enable_explorerframe
1303 enable_ext_ms_win_authz_context_l1_1_0
1304 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1305 enable_ext_ms_win_dwmapi_ext_l1_1_0
1306 enable_ext_ms_win_gdi_dc_create_l1_1_0
1307 enable_ext_ms_win_gdi_dc_create_l1_1_1
1308 enable_ext_ms_win_gdi_dc_l1_2_0
1309 enable_ext_ms_win_gdi_devcaps_l1_1_0
1310 enable_ext_ms_win_gdi_draw_l1_1_0
1311 enable_ext_ms_win_gdi_draw_l1_1_1
1312 enable_ext_ms_win_gdi_font_l1_1_0
1313 enable_ext_ms_win_gdi_font_l1_1_1
1314 enable_ext_ms_win_gdi_render_l1_1_0
1315 enable_ext_ms_win_kernel32_package_current_l1_1_0
1316 enable_ext_ms_win_kernel32_package_l1_1_1
1317 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1318 enable_ext_ms_win_ntuser_draw_l1_1_0
1319 enable_ext_ms_win_ntuser_gui_l1_1_0
1320 enable_ext_ms_win_ntuser_gui_l1_3_0
1321 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1322 enable_ext_ms_win_ntuser_message_l1_1_0
1323 enable_ext_ms_win_ntuser_message_l1_1_1
1324 enable_ext_ms_win_ntuser_misc_l1_1_0
1325 enable_ext_ms_win_ntuser_misc_l1_2_0
1326 enable_ext_ms_win_ntuser_misc_l1_5_1
1327 enable_ext_ms_win_ntuser_mouse_l1_1_0
1328 enable_ext_ms_win_ntuser_private_l1_1_1
1329 enable_ext_ms_win_ntuser_private_l1_3_1
1330 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1331 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1332 enable_ext_ms_win_ntuser_window_l1_1_0
1333 enable_ext_ms_win_ntuser_window_l1_1_1
1334 enable_ext_ms_win_ntuser_window_l1_1_4
1335 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1336 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1337 enable_ext_ms_win_oleacc_l1_1_0
1338 enable_ext_ms_win_ras_rasapi32_l1_1_0
1339 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1340 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1341 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1342 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1343 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1346 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1349 enable_ext_ms_win_security_credui_l1_1_0
1350 enable_ext_ms_win_security_cryptui_l1_1_0
1351 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1352 enable_ext_ms_win_shell_comdlg32_l1_1_0
1353 enable_ext_ms_win_shell_shell32_l1_2_0
1354 enable_ext_ms_win_uxtheme_themes_l1_1_0
1355 enable_faultrep
1356 enable_feclient
1357 enable_fltlib
1358 enable_fltmgr_sys
1359 enable_fntcache
1360 enable_fontsub
1361 enable_fusion
1362 enable_fwpuclnt
1363 enable_gameux
1364 enable_gdi32
1365 enable_gdiplus
1366 enable_glu32
1367 enable_gphoto2_ds
1368 enable_gpkcsp
1369 enable_hal
1370 enable_hhctrl_ocx
1371 enable_hid
1372 enable_hidclass_sys
1373 enable_hlink
1374 enable_hnetcfg
1375 enable_http_sys
1376 enable_httpapi
1377 enable_iccvid
1378 enable_icmp
1379 enable_ieframe
1380 enable_ieproxy
1381 enable_imaadp32_acm
1382 enable_imagehlp
1383 enable_imm32
1384 enable_inetcomm
1385 enable_inetcpl_cpl
1386 enable_inetmib1
1387 enable_infosoft
1388 enable_initpki
1389 enable_inkobj
1390 enable_inseng
1391 enable_iphlpapi
1392 enable_iprop
1393 enable_irprops_cpl
1394 enable_itircl
1395 enable_itss
1396 enable_joy_cpl
1397 enable_jscript
1398 enable_jsproxy
1399 enable_kerberos
1400 enable_kernel32
1401 enable_kernelbase
1402 enable_ksecdd_sys
1403 enable_ksproxy_ax
1404 enable_ksuser
1405 enable_ktmw32
1406 enable_l3codeca_acm
1407 enable_loadperf
1408 enable_localspl
1409 enable_localui
1410 enable_lz32
1411 enable_mapi32
1412 enable_mapistub
1413 enable_mciavi32
1414 enable_mcicda
1415 enable_mciqtz32
1416 enable_mciseq
1417 enable_mciwave
1418 enable_mf
1419 enable_mf3216
1420 enable_mferror
1421 enable_mfmediaengine
1422 enable_mfplat
1423 enable_mfplay
1424 enable_mfreadwrite
1425 enable_mfuuid
1426 enable_mgmtapi
1427 enable_midimap
1428 enable_mlang
1429 enable_mmcndmgr
1430 enable_mmdevapi
1431 enable_mountmgr_sys
1432 enable_mp3dmod
1433 enable_mpr
1434 enable_mprapi
1435 enable_msacm32_drv
1436 enable_msacm32
1437 enable_msado15
1438 enable_msadp32_acm
1439 enable_msasn1
1440 enable_mscat32
1441 enable_mscms
1442 enable_mscoree
1443 enable_mscorwks
1444 enable_msctf
1445 enable_msctfp
1446 enable_msdaps
1447 enable_msdelta
1448 enable_msdmo
1449 enable_msdrm
1450 enable_msftedit
1451 enable_msg711_acm
1452 enable_msgsm32_acm
1453 enable_mshtml_tlb
1454 enable_mshtml
1455 enable_msi
1456 enable_msident
1457 enable_msimg32
1458 enable_msimsg
1459 enable_msimtf
1460 enable_msisip
1461 enable_msisys_ocx
1462 enable_msls31
1463 enable_msnet32
1464 enable_mspatcha
1465 enable_msports
1466 enable_msrle32
1467 enable_msscript_ocx
1468 enable_mssign32
1469 enable_mssip32
1470 enable_mstask
1471 enable_msvcirt
1472 enable_msvcm80
1473 enable_msvcm90
1474 enable_msvcp100
1475 enable_msvcp110
1476 enable_msvcp120
1477 enable_msvcp120_app
1478 enable_msvcp140
1479 enable_msvcp140_1
1480 enable_msvcp60
1481 enable_msvcp70
1482 enable_msvcp71
1483 enable_msvcp80
1484 enable_msvcp90
1485 enable_msvcr100
1486 enable_msvcr110
1487 enable_msvcr120
1488 enable_msvcr120_app
1489 enable_msvcr70
1490 enable_msvcr71
1491 enable_msvcr80
1492 enable_msvcr90
1493 enable_msvcrt
1494 enable_msvcrt20
1495 enable_msvcrt40
1496 enable_msvcrtd
1497 enable_msvfw32
1498 enable_msvidc32
1499 enable_mswsock
1500 enable_msxml
1501 enable_msxml2
1502 enable_msxml3
1503 enable_msxml4
1504 enable_msxml6
1505 enable_mtxdm
1506 enable_ncrypt
1507 enable_nddeapi
1508 enable_ndis_sys
1509 enable_netapi32
1510 enable_netcfgx
1511 enable_netio_sys
1512 enable_netprofm
1513 enable_netutils
1514 enable_newdev
1515 enable_ninput
1516 enable_normaliz
1517 enable_npmshtml
1518 enable_npptools
1519 enable_ntdll
1520 enable_ntdsapi
1521 enable_ntoskrnl_exe
1522 enable_ntprint
1523 enable_objsel
1524 enable_odbc32
1525 enable_odbcbcp
1526 enable_odbccp32
1527 enable_odbccu32
1528 enable_ole32
1529 enable_oleacc
1530 enable_oleaut32
1531 enable_olecli32
1532 enable_oledb32
1533 enable_oledlg
1534 enable_olepro32
1535 enable_olesvr32
1536 enable_olethk32
1537 enable_opcservices
1538 enable_openal32
1539 enable_opencl
1540 enable_opengl32
1541 enable_packager
1542 enable_pdh
1543 enable_photometadatahandler
1544 enable_pidgen
1545 enable_powrprof
1546 enable_printui
1547 enable_prntvpt
1548 enable_propsys
1549 enable_psapi
1550 enable_pstorec
1551 enable_pwrshplugin
1552 enable_qasf
1553 enable_qcap
1554 enable_qdvd
1555 enable_qedit
1556 enable_qmgr
1557 enable_qmgrprxy
1558 enable_quartz
1559 enable_query
1560 enable_qwave
1561 enable_rasapi32
1562 enable_rasdlg
1563 enable_regapi
1564 enable_resutils
1565 enable_riched20
1566 enable_riched32
1567 enable_rpcrt4
1568 enable_rsabase
1569 enable_rsaenh
1570 enable_rstrtmgr
1571 enable_rtutils
1572 enable_rtworkq
1573 enable_samlib
1574 enable_sane_ds
1575 enable_sapi
1576 enable_sas
1577 enable_scarddlg
1578 enable_sccbase
1579 enable_schannel
1580 enable_schedsvc
1581 enable_scrobj
1582 enable_scrrun
1583 enable_scsiport_sys
1584 enable_sechost
1585 enable_secur32
1586 enable_security
1587 enable_sensapi
1588 enable_serialui
1589 enable_setupapi
1590 enable_sfc
1591 enable_sfc_os
1592 enable_shcore
1593 enable_shdoclc
1594 enable_shdocvw
1595 enable_shell32
1596 enable_shfolder
1597 enable_shlwapi
1598 enable_slbcsp
1599 enable_slc
1600 enable_snmpapi
1601 enable_softpub
1602 enable_spoolss
1603 enable_srclient
1604 enable_srvcli
1605 enable_sspicli
1606 enable_stdole2_tlb
1607 enable_stdole32_tlb
1608 enable_sti
1609 enable_strmbase
1610 enable_strmdll
1611 enable_strmiids
1612 enable_svrapi
1613 enable_sxs
1614 enable_t2embed
1615 enable_tapi32
1616 enable_taskschd
1617 enable_tdh
1618 enable_tdi_sys
1619 enable_traffic
1620 enable_twain_32
1621 enable_tzres
1622 enable_ucrtbase
1623 enable_uianimation
1624 enable_uiautomationcore
1625 enable_uiribbon
1626 enable_unicows
1627 enable_updspapi
1628 enable_url
1629 enable_urlmon
1630 enable_usbd_sys
1631 enable_user32
1632 enable_userenv
1633 enable_usp10
1634 enable_utildll
1635 enable_uuid
1636 enable_uxtheme
1637 enable_vbscript
1638 enable_vcomp
1639 enable_vcomp100
1640 enable_vcomp110
1641 enable_vcomp120
1642 enable_vcomp140
1643 enable_vcomp90
1644 enable_vcruntime140
1645 enable_vcruntime140_1
1646 enable_vdmdbg
1647 enable_version
1648 enable_vga
1649 enable_virtdisk
1650 enable_vssapi
1651 enable_vulkan_1
1652 enable_wbemdisp
1653 enable_wbemprox
1654 enable_wbemuuid
1655 enable_wdscore
1656 enable_webservices
1657 enable_wer
1658 enable_wevtapi
1659 enable_wevtsvc
1660 enable_wiaservc
1661 enable_wimgapi
1662 enable_windows_gaming_input
1663 enable_windows_globalization
1664 enable_windows_media_speech
1665 enable_windowscodecs
1666 enable_windowscodecsext
1667 enable_winealsa_drv
1668 enable_wineandroid_drv
1669 enable_winebus_sys
1670 enable_winecoreaudio_drv
1671 enable_winecrt0
1672 enable_wined3d
1673 enable_winegstreamer
1674 enable_winehid_sys
1675 enable_winejoystick_drv
1676 enable_winemac_drv
1677 enable_winemapi
1678 enable_wineoss_drv
1679 enable_wineps_drv
1680 enable_winepulse_drv
1681 enable_wineqtdecoder
1682 enable_wineusb_sys
1683 enable_winevulkan
1684 enable_winex11_drv
1685 enable_wing32
1686 enable_winhttp
1687 enable_wininet
1688 enable_winmm
1689 enable_winnls32
1690 enable_winscard
1691 enable_winspool_drv
1692 enable_winsta
1693 enable_wintab32
1694 enable_wintrust
1695 enable_winusb
1696 enable_wlanapi
1697 enable_wlanui
1698 enable_wldap32
1699 enable_wmasf
1700 enable_wmcodecdspuuid
1701 enable_wmi
1702 enable_wmiutils
1703 enable_wmp
1704 enable_wmphoto
1705 enable_wmvcore
1706 enable_wnaspi32
1707 enable_wow64cpu
1708 enable_wpc
1709 enable_wpcap
1710 enable_ws2_32
1711 enable_wsdapi
1712 enable_wshom_ocx
1713 enable_wsnmp32
1714 enable_wsock32
1715 enable_wtsapi32
1716 enable_wuapi
1717 enable_wuaueng
1718 enable_x3daudio1_0
1719 enable_x3daudio1_1
1720 enable_x3daudio1_2
1721 enable_x3daudio1_3
1722 enable_x3daudio1_4
1723 enable_x3daudio1_5
1724 enable_x3daudio1_6
1725 enable_x3daudio1_7
1726 enable_xactengine3_0
1727 enable_xactengine3_1
1728 enable_xactengine3_2
1729 enable_xactengine3_3
1730 enable_xactengine3_4
1731 enable_xactengine3_5
1732 enable_xactengine3_6
1733 enable_xactengine3_7
1734 enable_xapofx1_1
1735 enable_xapofx1_2
1736 enable_xapofx1_3
1737 enable_xapofx1_4
1738 enable_xapofx1_5
1739 enable_xaudio2_0
1740 enable_xaudio2_1
1741 enable_xaudio2_2
1742 enable_xaudio2_3
1743 enable_xaudio2_4
1744 enable_xaudio2_5
1745 enable_xaudio2_6
1746 enable_xaudio2_7
1747 enable_xaudio2_8
1748 enable_xaudio2_9
1749 enable_xinput1_1
1750 enable_xinput1_2
1751 enable_xinput1_3
1752 enable_xinput1_4
1753 enable_xinput9_1_0
1754 enable_xmllite
1755 enable_xolehlp
1756 enable_xpsprint
1757 enable_xpssvcs
1758 enable_fonts
1759 enable_include
1760 enable_port
1761 enable_wine
1762 enable_wpp
1763 enable_loader
1764 enable_nls
1765 enable_po
1766 enable_arp
1767 enable_aspnet_regiis
1768 enable_attrib
1769 enable_cabarc
1770 enable_cacls
1771 enable_chcp_com
1772 enable_clock
1773 enable_cmd
1774 enable_conhost
1775 enable_control
1776 enable_cscript
1777 enable_dism
1778 enable_dplaysvr
1779 enable_dpnsvr
1780 enable_dpvsetup
1781 enable_dxdiag
1782 enable_eject
1783 enable_expand
1784 enable_explorer
1785 enable_extrac32
1786 enable_fc
1787 enable_find
1788 enable_findstr
1789 enable_fsutil
1790 enable_hh
1791 enable_hostname
1792 enable_icacls
1793 enable_icinfo
1794 enable_iexplore
1795 enable_ipconfig
1796 enable_lodctr
1797 enable_mofcomp
1798 enable_mshta
1799 enable_msidb
1800 enable_msiexec
1801 enable_msinfo32
1802 enable_net
1803 enable_netsh
1804 enable_netstat
1805 enable_ngen
1806 enable_notepad
1807 enable_oleview
1808 enable_ping
1809 enable_plugplay
1810 enable_powershell
1811 enable_presentationfontcache
1812 enable_progman
1813 enable_reg
1814 enable_regasm
1815 enable_regedit
1816 enable_regini
1817 enable_regsvcs
1818 enable_regsvr32
1819 enable_rpcss
1820 enable_rundll32
1821 enable_sc
1822 enable_schtasks
1823 enable_sdbinst
1824 enable_secedit
1825 enable_servicemodelreg
1826 enable_services
1827 enable_shutdown
1828 enable_spoolsv
1829 enable_start
1830 enable_subst
1831 enable_svchost
1832 enable_systeminfo
1833 enable_taskkill
1834 enable_tasklist
1835 enable_taskmgr
1836 enable_termsv
1837 enable_uninstaller
1838 enable_unlodctr
1839 enable_view
1840 enable_wevtutil
1841 enable_where
1842 enable_whoami
1843 enable_wineboot
1844 enable_winebrowser
1845 enable_winecfg
1846 enable_wineconsole
1847 enable_winedbg
1848 enable_winedevice
1849 enable_winefile
1850 enable_winemenubuilder
1851 enable_winemine
1852 enable_winemsibuilder
1853 enable_winepath
1854 enable_winetest
1855 enable_winhlp32
1856 enable_winmgmt
1857 enable_winver
1858 enable_wmic
1859 enable_wmplayer
1860 enable_wordpad
1861 enable_write
1862 enable_wscript
1863 enable_wuauserv
1864 enable_wusa
1865 enable_xcopy
1866 enable_server
1867 enable_tools
1868 enable_sfnt2fon
1869 enable_widl
1870 enable_winebuild
1871 enable_winedump
1872 enable_winegcc
1873 enable_winemaker
1874 enable_wmc
1875 enable_wrc
1877 ac_precious_vars='build_alias
1878 host_alias
1879 target_alias
1881 CFLAGS
1882 LDFLAGS
1883 LIBS
1884 CPPFLAGS
1886 CXXFLAGS
1889 OBJC
1890 OBJCFLAGS
1891 OBJCPP
1892 XMKMF
1893 XML2_CFLAGS
1894 XML2_LIBS
1895 XSLT_CFLAGS
1896 XSLT_LIBS
1897 INOTIFY_CFLAGS
1898 INOTIFY_LIBS
1899 DBUS_CFLAGS
1900 DBUS_LIBS
1901 HAL_CFLAGS
1902 HAL_LIBS
1903 GNUTLS_CFLAGS
1904 GNUTLS_LIBS
1905 SANE_CFLAGS
1906 SANE_LIBS
1907 USB_CFLAGS
1908 USB_LIBS
1909 GPHOTO2_CFLAGS
1910 GPHOTO2_LIBS
1911 GPHOTO2_PORT_CFLAGS
1912 GPHOTO2_PORT_LIBS
1913 LCMS2_CFLAGS
1914 LCMS2_LIBS
1915 FREETYPE_CFLAGS
1916 FREETYPE_LIBS
1917 PULSE_CFLAGS
1918 PULSE_LIBS
1919 GSTREAMER_CFLAGS
1920 GSTREAMER_LIBS
1921 UDEV_CFLAGS
1922 UDEV_LIBS
1923 UNWIND_CFLAGS
1924 UNWIND_LIBS
1925 SDL2_CFLAGS
1926 SDL2_LIBS
1927 FAUDIO_CFLAGS
1928 FAUDIO_LIBS
1929 CAPI20_CFLAGS
1930 CAPI20_LIBS
1931 CUPS_CFLAGS
1932 CUPS_LIBS
1933 FONTCONFIG_CFLAGS
1934 FONTCONFIG_LIBS
1935 KRB5_CFLAGS
1936 KRB5_LIBS
1937 GSSAPI_CFLAGS
1938 GSSAPI_LIBS
1939 JPEG_CFLAGS
1940 JPEG_LIBS
1941 JXRLIB_CFLAGS
1942 JXRLIB_LIBS
1943 PNG_CFLAGS
1944 PNG_LIBS
1945 TIFF_CFLAGS
1946 TIFF_LIBS
1947 MPG123_CFLAGS
1948 MPG123_LIBS
1949 NETAPI_CFLAGS
1950 NETAPI_LIBS
1951 VKD3D_CFLAGS
1952 VKD3D_LIBS
1953 VKD3D_SHADER_CFLAGS
1954 VKD3D_SHADER_LIBS
1955 LDAP_CFLAGS
1956 LDAP_LIBS'
1959 # Initialize some variables set by options.
1960 ac_init_help=
1961 ac_init_version=false
1962 ac_unrecognized_opts=
1963 ac_unrecognized_sep=
1964 # The variables have the same names as the options, with
1965 # dashes changed to underlines.
1966 cache_file=/dev/null
1967 exec_prefix=NONE
1968 no_create=
1969 no_recursion=
1970 prefix=NONE
1971 program_prefix=NONE
1972 program_suffix=NONE
1973 program_transform_name=s,x,x,
1974 silent=
1975 site=
1976 srcdir=
1977 verbose=
1978 x_includes=NONE
1979 x_libraries=NONE
1981 # Installation directory options.
1982 # These are left unexpanded so users can "make install exec_prefix=/foo"
1983 # and all the variables that are supposed to be based on exec_prefix
1984 # by default will actually change.
1985 # Use braces instead of parens because sh, perl, etc. also accept them.
1986 # (The list follows the same order as the GNU Coding Standards.)
1987 bindir='${exec_prefix}/bin'
1988 sbindir='${exec_prefix}/sbin'
1989 libexecdir='${exec_prefix}/libexec'
1990 datarootdir='${prefix}/share'
1991 datadir='${datarootdir}'
1992 sysconfdir='${prefix}/etc'
1993 sharedstatedir='${prefix}/com'
1994 localstatedir='${prefix}/var'
1995 runstatedir='${localstatedir}/run'
1996 includedir='${prefix}/include'
1997 oldincludedir='/usr/include'
1998 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1999 infodir='${datarootdir}/info'
2000 htmldir='${docdir}'
2001 dvidir='${docdir}'
2002 pdfdir='${docdir}'
2003 psdir='${docdir}'
2004 libdir='${exec_prefix}/lib'
2005 localedir='${datarootdir}/locale'
2006 mandir='${datarootdir}/man'
2008 ac_prev=
2009 ac_dashdash=
2010 for ac_option
2012 # If the previous option needs an argument, assign it.
2013 if test -n "$ac_prev"; then
2014 eval $ac_prev=\$ac_option
2015 ac_prev=
2016 continue
2019 case $ac_option in
2020 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2021 *=) ac_optarg= ;;
2022 *) ac_optarg=yes ;;
2023 esac
2025 # Accept the important Cygnus configure options, so we can diagnose typos.
2027 case $ac_dashdash$ac_option in
2029 ac_dashdash=yes ;;
2031 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2032 ac_prev=bindir ;;
2033 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2034 bindir=$ac_optarg ;;
2036 -build | --build | --buil | --bui | --bu)
2037 ac_prev=build_alias ;;
2038 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2039 build_alias=$ac_optarg ;;
2041 -cache-file | --cache-file | --cache-fil | --cache-fi \
2042 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2043 ac_prev=cache_file ;;
2044 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2045 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2046 cache_file=$ac_optarg ;;
2048 --config-cache | -C)
2049 cache_file=config.cache ;;
2051 -datadir | --datadir | --datadi | --datad)
2052 ac_prev=datadir ;;
2053 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2054 datadir=$ac_optarg ;;
2056 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2057 | --dataroo | --dataro | --datar)
2058 ac_prev=datarootdir ;;
2059 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2060 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2061 datarootdir=$ac_optarg ;;
2063 -disable-* | --disable-*)
2064 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2065 # Reject names that are not valid shell variable names.
2066 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2067 as_fn_error $? "invalid feature name: $ac_useropt"
2068 ac_useropt_orig=$ac_useropt
2069 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2070 case $ac_user_opts in
2072 "enable_$ac_useropt"
2073 "*) ;;
2074 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2075 ac_unrecognized_sep=', ';;
2076 esac
2077 eval enable_$ac_useropt=no ;;
2079 -docdir | --docdir | --docdi | --doc | --do)
2080 ac_prev=docdir ;;
2081 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2082 docdir=$ac_optarg ;;
2084 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2085 ac_prev=dvidir ;;
2086 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2087 dvidir=$ac_optarg ;;
2089 -enable-* | --enable-*)
2090 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2091 # Reject names that are not valid shell variable names.
2092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2093 as_fn_error $? "invalid feature name: $ac_useropt"
2094 ac_useropt_orig=$ac_useropt
2095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2096 case $ac_user_opts in
2098 "enable_$ac_useropt"
2099 "*) ;;
2100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2101 ac_unrecognized_sep=', ';;
2102 esac
2103 eval enable_$ac_useropt=\$ac_optarg ;;
2105 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2106 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2107 | --exec | --exe | --ex)
2108 ac_prev=exec_prefix ;;
2109 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2110 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2111 | --exec=* | --exe=* | --ex=*)
2112 exec_prefix=$ac_optarg ;;
2114 -gas | --gas | --ga | --g)
2115 # Obsolete; use --with-gas.
2116 with_gas=yes ;;
2118 -help | --help | --hel | --he | -h)
2119 ac_init_help=long ;;
2120 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2121 ac_init_help=recursive ;;
2122 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2123 ac_init_help=short ;;
2125 -host | --host | --hos | --ho)
2126 ac_prev=host_alias ;;
2127 -host=* | --host=* | --hos=* | --ho=*)
2128 host_alias=$ac_optarg ;;
2130 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2131 ac_prev=htmldir ;;
2132 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2133 | --ht=*)
2134 htmldir=$ac_optarg ;;
2136 -includedir | --includedir | --includedi | --included | --include \
2137 | --includ | --inclu | --incl | --inc)
2138 ac_prev=includedir ;;
2139 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2140 | --includ=* | --inclu=* | --incl=* | --inc=*)
2141 includedir=$ac_optarg ;;
2143 -infodir | --infodir | --infodi | --infod | --info | --inf)
2144 ac_prev=infodir ;;
2145 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2146 infodir=$ac_optarg ;;
2148 -libdir | --libdir | --libdi | --libd)
2149 ac_prev=libdir ;;
2150 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2151 libdir=$ac_optarg ;;
2153 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2154 | --libexe | --libex | --libe)
2155 ac_prev=libexecdir ;;
2156 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2157 | --libexe=* | --libex=* | --libe=*)
2158 libexecdir=$ac_optarg ;;
2160 -localedir | --localedir | --localedi | --localed | --locale)
2161 ac_prev=localedir ;;
2162 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2163 localedir=$ac_optarg ;;
2165 -localstatedir | --localstatedir | --localstatedi | --localstated \
2166 | --localstate | --localstat | --localsta | --localst | --locals)
2167 ac_prev=localstatedir ;;
2168 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2169 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2170 localstatedir=$ac_optarg ;;
2172 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2173 ac_prev=mandir ;;
2174 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2175 mandir=$ac_optarg ;;
2177 -nfp | --nfp | --nf)
2178 # Obsolete; use --without-fp.
2179 with_fp=no ;;
2181 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2182 | --no-cr | --no-c | -n)
2183 no_create=yes ;;
2185 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2186 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2187 no_recursion=yes ;;
2189 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2190 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2191 | --oldin | --oldi | --old | --ol | --o)
2192 ac_prev=oldincludedir ;;
2193 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2194 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2195 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2196 oldincludedir=$ac_optarg ;;
2198 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2199 ac_prev=prefix ;;
2200 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2201 prefix=$ac_optarg ;;
2203 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2204 | --program-pre | --program-pr | --program-p)
2205 ac_prev=program_prefix ;;
2206 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2207 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2208 program_prefix=$ac_optarg ;;
2210 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2211 | --program-suf | --program-su | --program-s)
2212 ac_prev=program_suffix ;;
2213 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2214 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2215 program_suffix=$ac_optarg ;;
2217 -program-transform-name | --program-transform-name \
2218 | --program-transform-nam | --program-transform-na \
2219 | --program-transform-n | --program-transform- \
2220 | --program-transform | --program-transfor \
2221 | --program-transfo | --program-transf \
2222 | --program-trans | --program-tran \
2223 | --progr-tra | --program-tr | --program-t)
2224 ac_prev=program_transform_name ;;
2225 -program-transform-name=* | --program-transform-name=* \
2226 | --program-transform-nam=* | --program-transform-na=* \
2227 | --program-transform-n=* | --program-transform-=* \
2228 | --program-transform=* | --program-transfor=* \
2229 | --program-transfo=* | --program-transf=* \
2230 | --program-trans=* | --program-tran=* \
2231 | --progr-tra=* | --program-tr=* | --program-t=*)
2232 program_transform_name=$ac_optarg ;;
2234 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2235 ac_prev=pdfdir ;;
2236 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2237 pdfdir=$ac_optarg ;;
2239 -psdir | --psdir | --psdi | --psd | --ps)
2240 ac_prev=psdir ;;
2241 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2242 psdir=$ac_optarg ;;
2244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2245 | -silent | --silent | --silen | --sile | --sil)
2246 silent=yes ;;
2248 -runstatedir | --runstatedir | --runstatedi | --runstated \
2249 | --runstate | --runstat | --runsta | --runst | --runs \
2250 | --run | --ru | --r)
2251 ac_prev=runstatedir ;;
2252 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2253 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2254 | --run=* | --ru=* | --r=*)
2255 runstatedir=$ac_optarg ;;
2257 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2258 ac_prev=sbindir ;;
2259 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2260 | --sbi=* | --sb=*)
2261 sbindir=$ac_optarg ;;
2263 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2264 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2265 | --sharedst | --shareds | --shared | --share | --shar \
2266 | --sha | --sh)
2267 ac_prev=sharedstatedir ;;
2268 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2269 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2270 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2271 | --sha=* | --sh=*)
2272 sharedstatedir=$ac_optarg ;;
2274 -site | --site | --sit)
2275 ac_prev=site ;;
2276 -site=* | --site=* | --sit=*)
2277 site=$ac_optarg ;;
2279 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2280 ac_prev=srcdir ;;
2281 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2282 srcdir=$ac_optarg ;;
2284 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2285 | --syscon | --sysco | --sysc | --sys | --sy)
2286 ac_prev=sysconfdir ;;
2287 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2288 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2289 sysconfdir=$ac_optarg ;;
2291 -target | --target | --targe | --targ | --tar | --ta | --t)
2292 ac_prev=target_alias ;;
2293 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2294 target_alias=$ac_optarg ;;
2296 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2297 verbose=yes ;;
2299 -version | --version | --versio | --versi | --vers | -V)
2300 ac_init_version=: ;;
2302 -with-* | --with-*)
2303 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2304 # Reject names that are not valid shell variable names.
2305 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2306 as_fn_error $? "invalid package name: $ac_useropt"
2307 ac_useropt_orig=$ac_useropt
2308 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2309 case $ac_user_opts in
2311 "with_$ac_useropt"
2312 "*) ;;
2313 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2314 ac_unrecognized_sep=', ';;
2315 esac
2316 eval with_$ac_useropt=\$ac_optarg ;;
2318 -without-* | --without-*)
2319 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2320 # Reject names that are not valid shell variable names.
2321 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2322 as_fn_error $? "invalid package name: $ac_useropt"
2323 ac_useropt_orig=$ac_useropt
2324 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2325 case $ac_user_opts in
2327 "with_$ac_useropt"
2328 "*) ;;
2329 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2330 ac_unrecognized_sep=', ';;
2331 esac
2332 eval with_$ac_useropt=no ;;
2334 --x)
2335 # Obsolete; use --with-x.
2336 with_x=yes ;;
2338 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2339 | --x-incl | --x-inc | --x-in | --x-i)
2340 ac_prev=x_includes ;;
2341 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2342 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2343 x_includes=$ac_optarg ;;
2345 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2346 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2347 ac_prev=x_libraries ;;
2348 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2349 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2350 x_libraries=$ac_optarg ;;
2352 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2353 Try \`$0 --help' for more information"
2356 *=*)
2357 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2358 # Reject names that are not valid shell variable names.
2359 case $ac_envvar in #(
2360 '' | [0-9]* | *[!_$as_cr_alnum]* )
2361 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2362 esac
2363 eval $ac_envvar=\$ac_optarg
2364 export $ac_envvar ;;
2367 # FIXME: should be removed in autoconf 3.0.
2368 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2369 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2370 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2371 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2374 esac
2375 done
2377 if test -n "$ac_prev"; then
2378 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2379 as_fn_error $? "missing argument to $ac_option"
2382 if test -n "$ac_unrecognized_opts"; then
2383 case $enable_option_checking in
2384 no) ;;
2385 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2386 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2387 esac
2390 # Check all directory arguments for consistency.
2391 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2392 datadir sysconfdir sharedstatedir localstatedir includedir \
2393 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2394 libdir localedir mandir runstatedir
2396 eval ac_val=\$$ac_var
2397 # Remove trailing slashes.
2398 case $ac_val in
2399 */ )
2400 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2401 eval $ac_var=\$ac_val;;
2402 esac
2403 # Be sure to have absolute directory names.
2404 case $ac_val in
2405 [\\/$]* | ?:[\\/]* ) continue;;
2406 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2407 esac
2408 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2409 done
2411 # There might be people who depend on the old broken behavior: `$host'
2412 # used to hold the argument of --host etc.
2413 # FIXME: To remove some day.
2414 build=$build_alias
2415 host=$host_alias
2416 target=$target_alias
2418 # FIXME: To remove some day.
2419 if test "x$host_alias" != x; then
2420 if test "x$build_alias" = x; then
2421 cross_compiling=maybe
2422 elif test "x$build_alias" != "x$host_alias"; then
2423 cross_compiling=yes
2427 ac_tool_prefix=
2428 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2430 test "$silent" = yes && exec 6>/dev/null
2433 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2434 ac_ls_di=`ls -di .` &&
2435 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2436 as_fn_error $? "working directory cannot be determined"
2437 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2438 as_fn_error $? "pwd does not report name of working directory"
2441 # Find the source files, if location was not specified.
2442 if test -z "$srcdir"; then
2443 ac_srcdir_defaulted=yes
2444 # Try the directory containing this script, then the parent directory.
2445 ac_confdir=`$as_dirname -- "$as_myself" ||
2446 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2447 X"$as_myself" : 'X\(//\)[^/]' \| \
2448 X"$as_myself" : 'X\(//\)$' \| \
2449 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2450 $as_echo X"$as_myself" |
2451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2452 s//\1/
2455 /^X\(\/\/\)[^/].*/{
2456 s//\1/
2459 /^X\(\/\/\)$/{
2460 s//\1/
2463 /^X\(\/\).*/{
2464 s//\1/
2467 s/.*/./; q'`
2468 srcdir=$ac_confdir
2469 if test ! -r "$srcdir/$ac_unique_file"; then
2470 srcdir=..
2472 else
2473 ac_srcdir_defaulted=no
2475 if test ! -r "$srcdir/$ac_unique_file"; then
2476 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2477 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2479 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2480 ac_abs_confdir=`(
2481 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2482 pwd)`
2483 # When building in place, set srcdir=.
2484 if test "$ac_abs_confdir" = "$ac_pwd"; then
2485 srcdir=.
2487 # Remove unnecessary trailing slashes from srcdir.
2488 # Double slashes in file names in object file debugging info
2489 # mess up M-x gdb in Emacs.
2490 case $srcdir in
2491 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2492 esac
2493 for ac_var in $ac_precious_vars; do
2494 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2495 eval ac_env_${ac_var}_value=\$${ac_var}
2496 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2497 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2498 done
2501 # Report the --help message.
2503 if test "$ac_init_help" = "long"; then
2504 # Omit some internal or obsolete options to make the list less imposing.
2505 # This message is too long to be a string in the A/UX 3.1 sh.
2506 cat <<_ACEOF
2507 \`configure' configures Wine 6.4 to adapt to many kinds of systems.
2509 Usage: $0 [OPTION]... [VAR=VALUE]...
2511 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2512 VAR=VALUE. See below for descriptions of some of the useful variables.
2514 Defaults for the options are specified in brackets.
2516 Configuration:
2517 -h, --help display this help and exit
2518 --help=short display options specific to this package
2519 --help=recursive display the short help of all the included packages
2520 -V, --version display version information and exit
2521 -q, --quiet, --silent do not print \`checking ...' messages
2522 --cache-file=FILE cache test results in FILE [disabled]
2523 -C, --config-cache alias for \`--cache-file=config.cache'
2524 -n, --no-create do not create output files
2525 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2527 Installation directories:
2528 --prefix=PREFIX install architecture-independent files in PREFIX
2529 [$ac_default_prefix]
2530 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2531 [PREFIX]
2533 By default, \`make install' will install all the files in
2534 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2535 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2536 for instance \`--prefix=\$HOME'.
2538 For better control, use the options below.
2540 Fine tuning of the installation directories:
2541 --bindir=DIR user executables [EPREFIX/bin]
2542 --sbindir=DIR system admin executables [EPREFIX/sbin]
2543 --libexecdir=DIR program executables [EPREFIX/libexec]
2544 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2545 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2546 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2547 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2548 --libdir=DIR object code libraries [EPREFIX/lib]
2549 --includedir=DIR C header files [PREFIX/include]
2550 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2551 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2552 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2553 --infodir=DIR info documentation [DATAROOTDIR/info]
2554 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2555 --mandir=DIR man documentation [DATAROOTDIR/man]
2556 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2557 --htmldir=DIR html documentation [DOCDIR]
2558 --dvidir=DIR dvi documentation [DOCDIR]
2559 --pdfdir=DIR pdf documentation [DOCDIR]
2560 --psdir=DIR ps documentation [DOCDIR]
2561 _ACEOF
2563 cat <<\_ACEOF
2565 X features:
2566 --x-includes=DIR X include files are in DIR
2567 --x-libraries=DIR X library files are in DIR
2569 System types:
2570 --build=BUILD configure for building on BUILD [guessed]
2571 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2572 _ACEOF
2575 if test -n "$ac_init_help"; then
2576 case $ac_init_help in
2577 short | recursive ) echo "Configuration of Wine 6.4:";;
2578 esac
2579 cat <<\_ACEOF
2581 Optional Features:
2582 --disable-option-checking ignore unrecognized --enable/--with options
2583 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2584 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2585 --disable-win16 do not include Win16 support
2586 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2587 binaries)
2588 --disable-tests do not build the regression tests
2589 --enable-build-id include .buildid section in output objects
2590 --enable-maintainer-mode
2591 enable maintainer-specific build rules
2592 --enable-silent-rules use silent build rules (override: "make V=1")
2593 --enable-werror treat compilation warnings as errors
2594 --disable-largefile omit support for large files
2596 Optional Packages:
2597 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2598 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2599 --without-alsa do not use the Alsa sound support
2600 --without-capi do not use CAPI (ISDN support)
2601 --without-cms do not use CMS (color management support)
2602 --without-coreaudio do not use the CoreAudio sound support
2603 --without-cups do not use CUPS
2604 --without-dbus do not use DBus (dynamic device support)
2605 --without-faudio do not use FAudio (XAudio2 support)
2606 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2607 --without-fontconfig do not use fontconfig
2608 --without-freetype do not use the FreeType library
2609 --without-gettext do not use gettext
2610 --with-gettextpo use the GetTextPO library to rebuild po files
2611 --without-gphoto do not use gphoto (Digital Camera support)
2612 --without-gnutls do not use GnuTLS (schannel support)
2613 --without-gsm do not use libgsm (GSM 06.10 codec support)
2614 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2615 --without-gstreamer do not use GStreamer (codecs support)
2616 --without-hal do not use HAL (dynamic device support)
2617 --without-inotify do not use inotify (filesystem change notifications)
2618 --without-jpeg do not use JPEG
2619 --without-jxrlib do not use JPEG-XR
2620 --without-krb5 do not use krb5 (Kerberos)
2621 --without-ldap do not use LDAP
2622 --without-mingw do not use the MinGW cross-compiler
2623 --without-mpg123 do not use the mpg123 library
2624 --without-netapi do not use the Samba NetAPI library
2625 --without-openal do not use OpenAL
2626 --without-opencl do not use OpenCL
2627 --without-opengl do not use OpenGL
2628 --without-osmesa do not use the OSMesa library
2629 --without-oss do not use the OSS sound support
2630 --without-pcap do not use the Packet Capture library
2631 --without-png do not use PNG
2632 --without-pthread do not use the pthread library
2633 --without-pulse do not use PulseAudio sound support
2634 --without-quicktime do not use QuickTime support
2635 --without-sane do not use SANE (scanner support)
2636 --without-sdl do not use SDL
2637 --without-tiff do not use TIFF
2638 --without-udev do not use udev (plug and play support)
2639 --without-unwind do not use the libunwind library (exception
2640 handling)
2641 --without-usb do not use the libusb library
2642 --without-v4l2 do not use v4l2 (video capture)
2643 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2644 --without-vulkan do not use Vulkan
2645 --without-xcomposite do not use the Xcomposite extension
2646 --without-xcursor do not use the Xcursor extension
2647 --without-xfixes do not use Xfixes for clipboard change notifications
2648 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2649 --without-xinput do not use the Xinput extension
2650 --without-xinput2 do not use the Xinput 2 extension
2651 --without-xml do not use XML
2652 --without-xrandr do not use Xrandr (multi-monitor support)
2653 --without-xrender do not use the Xrender extension
2654 --without-xshape do not use the Xshape extension
2655 --without-xshm do not use XShm (shared memory extension)
2656 --without-xslt do not use XSLT
2657 --without-xxf86vm do not use XFree video mode extension
2658 --with-wine-tools=DIR use Wine tools from directory DIR
2659 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2660 --with-x use the X Window System
2662 Some influential environment variables:
2663 CC C compiler command
2664 CFLAGS C compiler flags
2665 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2666 nonstandard directory <lib dir>
2667 LIBS libraries to pass to the linker, e.g. -l<library>
2668 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2669 you have headers in a nonstandard directory <include dir>
2670 CXX C++ compiler command
2671 CXXFLAGS C++ compiler flags
2672 CPP C preprocessor
2673 OBJC Objective C compiler command
2674 OBJCFLAGS Objective C compiler flags
2675 OBJCPP Objective C preprocessor
2676 XMKMF Path to xmkmf, Makefile generator for X Window System
2677 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2678 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2679 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2680 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2681 INOTIFY_CFLAGS
2682 C compiler flags for libinotify, overriding pkg-config
2683 INOTIFY_LIBS
2684 Linker flags for libinotify, overriding pkg-config
2685 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2686 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2687 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2688 HAL_LIBS Linker flags for hal, overriding pkg-config
2689 GNUTLS_CFLAGS
2690 C compiler flags for gnutls, overriding pkg-config
2691 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2692 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2693 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2694 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2695 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2696 GPHOTO2_CFLAGS
2697 C compiler flags for libgphoto2, overriding pkg-config
2698 GPHOTO2_LIBS
2699 Linker flags for libgphoto2, overriding pkg-config
2700 GPHOTO2_PORT_CFLAGS
2701 C compiler flags for libgphoto2_port, overriding pkg-config
2702 GPHOTO2_PORT_LIBS
2703 Linker flags for libgphoto2_port, overriding pkg-config
2704 LCMS2_CFLAGS
2705 C compiler flags for lcms2, overriding pkg-config
2706 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2707 FREETYPE_CFLAGS
2708 C compiler flags for freetype2, overriding pkg-config
2709 FREETYPE_LIBS
2710 Linker flags for freetype2, overriding pkg-config
2711 PULSE_CFLAGS
2712 C compiler flags for libpulse, overriding pkg-config
2713 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2714 GSTREAMER_CFLAGS
2715 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2716 gstreamer-audio-1.0, overriding pkg-config
2717 GSTREAMER_LIBS
2718 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2719 gstreamer-audio-1.0, overriding pkg-config
2720 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2721 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2722 UNWIND_CFLAGS
2723 C compiler flags for libunwind, overriding pkg-config
2724 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2725 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2726 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2727 FAUDIO_CFLAGS
2728 C compiler flags for faudio, overriding pkg-config
2729 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2730 CAPI20_CFLAGS
2731 C compiler flags for capi20, overriding pkg-config
2732 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2733 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2734 CUPS_LIBS Linker flags for cups, overriding pkg-config
2735 FONTCONFIG_CFLAGS
2736 C compiler flags for fontconfig, overriding pkg-config
2737 FONTCONFIG_LIBS
2738 Linker flags for fontconfig, overriding pkg-config
2739 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2740 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2741 GSSAPI_CFLAGS
2742 C compiler flags for krb5-gssapi, overriding pkg-config
2743 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2744 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2745 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2746 JXRLIB_CFLAGS
2747 C compiler flags for jxrlib, overriding pkg-config
2748 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2749 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2750 PNG_LIBS Linker flags for libpng, overriding pkg-config
2751 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2752 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2753 MPG123_CFLAGS
2754 C compiler flags for libmpg123, overriding pkg-config
2755 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2756 NETAPI_CFLAGS
2757 C compiler flags for netapi, overriding pkg-config
2758 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2759 VKD3D_CFLAGS
2760 C compiler flags for libvkd3d, overriding pkg-config
2761 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2762 VKD3D_SHADER_CFLAGS
2763 C compiler flags for libvkd3d-shader, overriding pkg-config
2764 VKD3D_SHADER_LIBS
2765 Linker flags for libvkd3d-shader, overriding pkg-config
2766 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2767 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2769 Use these variables to override the choices made by `configure' or to help
2770 it to find libraries and programs with nonstandard names/locations.
2772 Report bugs to <wine-devel@winehq.org>.
2773 Wine home page: <https://www.winehq.org>.
2774 _ACEOF
2775 ac_status=$?
2778 if test "$ac_init_help" = "recursive"; then
2779 # If there are subdirs, report their specific --help.
2780 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2781 test -d "$ac_dir" ||
2782 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2783 continue
2784 ac_builddir=.
2786 case "$ac_dir" in
2787 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2789 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2790 # A ".." for each directory in $ac_dir_suffix.
2791 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2792 case $ac_top_builddir_sub in
2793 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2794 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2795 esac ;;
2796 esac
2797 ac_abs_top_builddir=$ac_pwd
2798 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2799 # for backward compatibility:
2800 ac_top_builddir=$ac_top_build_prefix
2802 case $srcdir in
2803 .) # We are building in place.
2804 ac_srcdir=.
2805 ac_top_srcdir=$ac_top_builddir_sub
2806 ac_abs_top_srcdir=$ac_pwd ;;
2807 [\\/]* | ?:[\\/]* ) # Absolute name.
2808 ac_srcdir=$srcdir$ac_dir_suffix;
2809 ac_top_srcdir=$srcdir
2810 ac_abs_top_srcdir=$srcdir ;;
2811 *) # Relative name.
2812 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2813 ac_top_srcdir=$ac_top_build_prefix$srcdir
2814 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2815 esac
2816 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2818 cd "$ac_dir" || { ac_status=$?; continue; }
2819 # Check for guested configure.
2820 if test -f "$ac_srcdir/configure.gnu"; then
2821 echo &&
2822 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2823 elif test -f "$ac_srcdir/configure"; then
2824 echo &&
2825 $SHELL "$ac_srcdir/configure" --help=recursive
2826 else
2827 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2828 fi || ac_status=$?
2829 cd "$ac_pwd" || { ac_status=$?; break; }
2830 done
2833 test -n "$ac_init_help" && exit $ac_status
2834 if $ac_init_version; then
2835 cat <<\_ACEOF
2836 Wine configure 6.4
2837 generated by GNU Autoconf 2.69
2839 Copyright (C) 2012 Free Software Foundation, Inc.
2840 This configure script is free software; the Free Software Foundation
2841 gives unlimited permission to copy, distribute and modify it.
2842 _ACEOF
2843 exit
2846 ## ------------------------ ##
2847 ## Autoconf initialization. ##
2848 ## ------------------------ ##
2850 # ac_fn_c_try_compile LINENO
2851 # --------------------------
2852 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2853 ac_fn_c_try_compile ()
2855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2856 rm -f conftest.$ac_objext
2857 if { { ac_try="$ac_compile"
2858 case "(($ac_try" in
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2861 esac
2862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2863 $as_echo "$ac_try_echo"; } >&5
2864 (eval "$ac_compile") 2>conftest.err
2865 ac_status=$?
2866 if test -s conftest.err; then
2867 grep -v '^ *+' conftest.err >conftest.er1
2868 cat conftest.er1 >&5
2869 mv -f conftest.er1 conftest.err
2871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 test $ac_status = 0; } && {
2873 test -z "$ac_c_werror_flag" ||
2874 test ! -s conftest.err
2875 } && test -s conftest.$ac_objext; then :
2876 ac_retval=0
2877 else
2878 $as_echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2881 ac_retval=1
2883 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2884 as_fn_set_status $ac_retval
2886 } # ac_fn_c_try_compile
2888 # ac_fn_cxx_try_compile LINENO
2889 # ----------------------------
2890 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2891 ac_fn_cxx_try_compile ()
2893 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2894 rm -f conftest.$ac_objext
2895 if { { ac_try="$ac_compile"
2896 case "(($ac_try" in
2897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2898 *) ac_try_echo=$ac_try;;
2899 esac
2900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2901 $as_echo "$ac_try_echo"; } >&5
2902 (eval "$ac_compile") 2>conftest.err
2903 ac_status=$?
2904 if test -s conftest.err; then
2905 grep -v '^ *+' conftest.err >conftest.er1
2906 cat conftest.er1 >&5
2907 mv -f conftest.er1 conftest.err
2909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2910 test $ac_status = 0; } && {
2911 test -z "$ac_cxx_werror_flag" ||
2912 test ! -s conftest.err
2913 } && test -s conftest.$ac_objext; then :
2914 ac_retval=0
2915 else
2916 $as_echo "$as_me: failed program was:" >&5
2917 sed 's/^/| /' conftest.$ac_ext >&5
2919 ac_retval=1
2921 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2922 as_fn_set_status $ac_retval
2924 } # ac_fn_cxx_try_compile
2926 # ac_fn_c_try_link LINENO
2927 # -----------------------
2928 # Try to link conftest.$ac_ext, and return whether this succeeded.
2929 ac_fn_c_try_link ()
2931 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2932 rm -f conftest.$ac_objext conftest$ac_exeext
2933 if { { ac_try="$ac_link"
2934 case "(($ac_try" in
2935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2936 *) ac_try_echo=$ac_try;;
2937 esac
2938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2939 $as_echo "$ac_try_echo"; } >&5
2940 (eval "$ac_link") 2>conftest.err
2941 ac_status=$?
2942 if test -s conftest.err; then
2943 grep -v '^ *+' conftest.err >conftest.er1
2944 cat conftest.er1 >&5
2945 mv -f conftest.er1 conftest.err
2947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2948 test $ac_status = 0; } && {
2949 test -z "$ac_c_werror_flag" ||
2950 test ! -s conftest.err
2951 } && test -s conftest$ac_exeext && {
2952 test "$cross_compiling" = yes ||
2953 test -x conftest$ac_exeext
2954 }; then :
2955 ac_retval=0
2956 else
2957 $as_echo "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.$ac_ext >&5
2960 ac_retval=1
2962 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2963 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2964 # interfere with the next link command; also delete a directory that is
2965 # left behind by Apple's compiler. We do this before executing the actions.
2966 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2968 as_fn_set_status $ac_retval
2970 } # ac_fn_c_try_link
2972 # ac_fn_c_try_cpp LINENO
2973 # ----------------------
2974 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2975 ac_fn_c_try_cpp ()
2977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2978 if { { ac_try="$ac_cpp conftest.$ac_ext"
2979 case "(($ac_try" in
2980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981 *) ac_try_echo=$ac_try;;
2982 esac
2983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2984 $as_echo "$ac_try_echo"; } >&5
2985 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2986 ac_status=$?
2987 if test -s conftest.err; then
2988 grep -v '^ *+' conftest.err >conftest.er1
2989 cat conftest.er1 >&5
2990 mv -f conftest.er1 conftest.err
2992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2993 test $ac_status = 0; } > conftest.i && {
2994 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2995 test ! -s conftest.err
2996 }; then :
2997 ac_retval=0
2998 else
2999 $as_echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.$ac_ext >&5
3002 ac_retval=1
3004 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3005 as_fn_set_status $ac_retval
3007 } # ac_fn_c_try_cpp
3009 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3010 # -------------------------------------------------------
3011 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3012 # the include files in INCLUDES and setting the cache variable VAR
3013 # accordingly.
3014 ac_fn_c_check_header_mongrel ()
3016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3017 if eval \${$3+:} false; then :
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3019 $as_echo_n "checking for $2... " >&6; }
3020 if eval \${$3+:} false; then :
3021 $as_echo_n "(cached) " >&6
3023 eval ac_res=\$$3
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3025 $as_echo "$ac_res" >&6; }
3026 else
3027 # Is the header compilable?
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3029 $as_echo_n "checking $2 usability... " >&6; }
3030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 /* end confdefs.h. */
3033 #include <$2>
3034 _ACEOF
3035 if ac_fn_c_try_compile "$LINENO"; then :
3036 ac_header_compiler=yes
3037 else
3038 ac_header_compiler=no
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3042 $as_echo "$ac_header_compiler" >&6; }
3044 # Is the header present?
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3046 $as_echo_n "checking $2 presence... " >&6; }
3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3049 #include <$2>
3050 _ACEOF
3051 if ac_fn_c_try_cpp "$LINENO"; then :
3052 ac_header_preproc=yes
3053 else
3054 ac_header_preproc=no
3056 rm -f conftest.err conftest.i conftest.$ac_ext
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3058 $as_echo "$ac_header_preproc" >&6; }
3060 # So? What about this header?
3061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3062 yes:no: )
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3064 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3066 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3068 no:yes:* )
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3070 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3072 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3074 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3076 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3078 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3079 ( $as_echo "## ------------------------------------ ##
3080 ## Report this to wine-devel@winehq.org ##
3081 ## ------------------------------------ ##"
3082 ) | sed "s/^/$as_me: WARNING: /" >&2
3084 esac
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3086 $as_echo_n "checking for $2... " >&6; }
3087 if eval \${$3+:} false; then :
3088 $as_echo_n "(cached) " >&6
3089 else
3090 eval "$3=\$ac_header_compiler"
3092 eval ac_res=\$$3
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3094 $as_echo "$ac_res" >&6; }
3096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3098 } # ac_fn_c_check_header_mongrel
3100 # ac_fn_c_try_run LINENO
3101 # ----------------------
3102 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3103 # that executables *can* be run.
3104 ac_fn_c_try_run ()
3106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3107 if { { ac_try="$ac_link"
3108 case "(($ac_try" in
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3111 esac
3112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_link") 2>&5
3115 ac_status=$?
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3118 { { case "(($ac_try" in
3119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120 *) ac_try_echo=$ac_try;;
3121 esac
3122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3123 $as_echo "$ac_try_echo"; } >&5
3124 (eval "$ac_try") 2>&5
3125 ac_status=$?
3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3127 test $ac_status = 0; }; }; then :
3128 ac_retval=0
3129 else
3130 $as_echo "$as_me: program exited with status $ac_status" >&5
3131 $as_echo "$as_me: failed program was:" >&5
3132 sed 's/^/| /' conftest.$ac_ext >&5
3134 ac_retval=$ac_status
3136 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3137 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3138 as_fn_set_status $ac_retval
3140 } # ac_fn_c_try_run
3142 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3143 # -------------------------------------------------------
3144 # Tests whether HEADER exists and can be compiled using the include files in
3145 # INCLUDES, setting the cache variable VAR accordingly.
3146 ac_fn_c_check_header_compile ()
3148 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3150 $as_echo_n "checking for $2... " >&6; }
3151 if eval \${$3+:} false; then :
3152 $as_echo_n "(cached) " >&6
3153 else
3154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3155 /* end confdefs.h. */
3157 #include <$2>
3158 _ACEOF
3159 if ac_fn_c_try_compile "$LINENO"; then :
3160 eval "$3=yes"
3161 else
3162 eval "$3=no"
3164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3166 eval ac_res=\$$3
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3168 $as_echo "$ac_res" >&6; }
3169 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3171 } # ac_fn_c_check_header_compile
3173 # ac_fn_objc_try_compile LINENO
3174 # -----------------------------
3175 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3176 ac_fn_objc_try_compile ()
3178 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3179 rm -f conftest.$ac_objext
3180 if { { ac_try="$ac_compile"
3181 case "(($ac_try" in
3182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3183 *) ac_try_echo=$ac_try;;
3184 esac
3185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186 $as_echo "$ac_try_echo"; } >&5
3187 (eval "$ac_compile") 2>conftest.err
3188 ac_status=$?
3189 if test -s conftest.err; then
3190 grep -v '^ *+' conftest.err >conftest.er1
3191 cat conftest.er1 >&5
3192 mv -f conftest.er1 conftest.err
3194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3195 test $ac_status = 0; } && {
3196 test -z "$ac_objc_werror_flag" ||
3197 test ! -s conftest.err
3198 } && test -s conftest.$ac_objext; then :
3199 ac_retval=0
3200 else
3201 $as_echo "$as_me: failed program was:" >&5
3202 sed 's/^/| /' conftest.$ac_ext >&5
3204 ac_retval=1
3206 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3207 as_fn_set_status $ac_retval
3209 } # ac_fn_objc_try_compile
3211 # ac_fn_objc_try_cpp LINENO
3212 # -------------------------
3213 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3214 ac_fn_objc_try_cpp ()
3216 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3217 if { { ac_try="$ac_cpp conftest.$ac_ext"
3218 case "(($ac_try" in
3219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3220 *) ac_try_echo=$ac_try;;
3221 esac
3222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3223 $as_echo "$ac_try_echo"; } >&5
3224 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3225 ac_status=$?
3226 if test -s conftest.err; then
3227 grep -v '^ *+' conftest.err >conftest.er1
3228 cat conftest.er1 >&5
3229 mv -f conftest.er1 conftest.err
3231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3232 test $ac_status = 0; } > conftest.i && {
3233 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3234 test ! -s conftest.err
3235 }; then :
3236 ac_retval=0
3237 else
3238 $as_echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3241 ac_retval=1
3243 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3244 as_fn_set_status $ac_retval
3246 } # ac_fn_objc_try_cpp
3248 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3249 # ----------------------------------------------------------
3250 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3251 # the include files in INCLUDES and setting the cache variable VAR
3252 # accordingly.
3253 ac_fn_objc_check_header_mongrel ()
3255 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3256 if eval \${$3+:} false; then :
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3258 $as_echo_n "checking for $2... " >&6; }
3259 if eval \${$3+:} false; then :
3260 $as_echo_n "(cached) " >&6
3262 eval ac_res=\$$3
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3264 $as_echo "$ac_res" >&6; }
3265 else
3266 # Is the header compilable?
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3268 $as_echo_n "checking $2 usability... " >&6; }
3269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270 /* end confdefs.h. */
3272 #include <$2>
3273 _ACEOF
3274 if ac_fn_objc_try_compile "$LINENO"; then :
3275 ac_header_compiler=yes
3276 else
3277 ac_header_compiler=no
3279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3281 $as_echo "$ac_header_compiler" >&6; }
3283 # Is the header present?
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3285 $as_echo_n "checking $2 presence... " >&6; }
3286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3287 /* end confdefs.h. */
3288 #include <$2>
3289 _ACEOF
3290 if ac_fn_objc_try_cpp "$LINENO"; then :
3291 ac_header_preproc=yes
3292 else
3293 ac_header_preproc=no
3295 rm -f conftest.err conftest.i conftest.$ac_ext
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3297 $as_echo "$ac_header_preproc" >&6; }
3299 # So? What about this header?
3300 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3301 yes:no: )
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3303 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3305 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3307 no:yes:* )
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3309 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3311 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3313 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3315 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3317 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3318 ( $as_echo "## ------------------------------------ ##
3319 ## Report this to wine-devel@winehq.org ##
3320 ## ------------------------------------ ##"
3321 ) | sed "s/^/$as_me: WARNING: /" >&2
3323 esac
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3325 $as_echo_n "checking for $2... " >&6; }
3326 if eval \${$3+:} false; then :
3327 $as_echo_n "(cached) " >&6
3328 else
3329 eval "$3=\$ac_header_compiler"
3331 eval ac_res=\$$3
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3333 $as_echo "$ac_res" >&6; }
3335 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3337 } # ac_fn_objc_check_header_mongrel
3339 # ac_fn_c_check_func LINENO FUNC VAR
3340 # ----------------------------------
3341 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3342 ac_fn_c_check_func ()
3344 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3346 $as_echo_n "checking for $2... " >&6; }
3347 if eval \${$3+:} false; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3352 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3354 #define $2 innocuous_$2
3356 /* System header to define __stub macros and hopefully few prototypes,
3357 which can conflict with char $2 (); below.
3358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3359 <limits.h> exists even on freestanding compilers. */
3361 #ifdef __STDC__
3362 # include <limits.h>
3363 #else
3364 # include <assert.h>
3365 #endif
3367 #undef $2
3369 /* Override any GCC internal prototype to avoid an error.
3370 Use char because int might match the return type of a GCC
3371 builtin and then its argument prototype would still apply. */
3372 #ifdef __cplusplus
3373 extern "C"
3374 #endif
3375 char $2 ();
3376 /* The GNU C library defines this for functions which it implements
3377 to always fail with ENOSYS. Some functions are actually named
3378 something starting with __ and the normal name is an alias. */
3379 #if defined __stub_$2 || defined __stub___$2
3380 choke me
3381 #endif
3384 main ()
3386 return $2 ();
3388 return 0;
3390 _ACEOF
3391 if ac_fn_c_try_link "$LINENO"; then :
3392 eval "$3=yes"
3393 else
3394 eval "$3=no"
3396 rm -f core conftest.err conftest.$ac_objext \
3397 conftest$ac_exeext conftest.$ac_ext
3399 eval ac_res=\$$3
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3401 $as_echo "$ac_res" >&6; }
3402 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3404 } # ac_fn_c_check_func
3406 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3407 # ----------------------------------------------------
3408 # Tries to find if the field MEMBER exists in type AGGR, after including
3409 # INCLUDES, setting cache variable VAR accordingly.
3410 ac_fn_c_check_member ()
3412 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3414 $as_echo_n "checking for $2.$3... " >&6; }
3415 if eval \${$4+:} false; then :
3416 $as_echo_n "(cached) " >&6
3417 else
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3422 main ()
3424 static $2 ac_aggr;
3425 if (ac_aggr.$3)
3426 return 0;
3428 return 0;
3430 _ACEOF
3431 if ac_fn_c_try_compile "$LINENO"; then :
3432 eval "$4=yes"
3433 else
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3438 main ()
3440 static $2 ac_aggr;
3441 if (sizeof ac_aggr.$3)
3442 return 0;
3444 return 0;
3446 _ACEOF
3447 if ac_fn_c_try_compile "$LINENO"; then :
3448 eval "$4=yes"
3449 else
3450 eval "$4=no"
3452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3456 eval ac_res=\$$4
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3458 $as_echo "$ac_res" >&6; }
3459 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3461 } # ac_fn_c_check_member
3463 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3464 # -------------------------------------------
3465 # Tests whether TYPE exists after having included INCLUDES, setting cache
3466 # variable VAR accordingly.
3467 ac_fn_c_check_type ()
3469 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3471 $as_echo_n "checking for $2... " >&6; }
3472 if eval \${$3+:} false; then :
3473 $as_echo_n "(cached) " >&6
3474 else
3475 eval "$3=no"
3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477 /* end confdefs.h. */
3480 main ()
3482 if (sizeof ($2))
3483 return 0;
3485 return 0;
3487 _ACEOF
3488 if ac_fn_c_try_compile "$LINENO"; then :
3489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490 /* end confdefs.h. */
3493 main ()
3495 if (sizeof (($2)))
3496 return 0;
3498 return 0;
3500 _ACEOF
3501 if ac_fn_c_try_compile "$LINENO"; then :
3503 else
3504 eval "$3=yes"
3506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3510 eval ac_res=\$$3
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3512 $as_echo "$ac_res" >&6; }
3513 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3515 } # ac_fn_c_check_type
3516 cat >config.log <<_ACEOF
3517 This file contains any messages produced by compilers while
3518 running configure, to aid debugging if configure makes a mistake.
3520 It was created by Wine $as_me 6.4, which was
3521 generated by GNU Autoconf 2.69. Invocation command line was
3523 $ $0 $@
3525 _ACEOF
3526 exec 5>>config.log
3528 cat <<_ASUNAME
3529 ## --------- ##
3530 ## Platform. ##
3531 ## --------- ##
3533 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3534 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3535 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3536 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3537 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3539 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3540 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3542 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3543 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3544 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3545 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3546 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3547 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3548 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3550 _ASUNAME
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 for as_dir in $PATH
3555 IFS=$as_save_IFS
3556 test -z "$as_dir" && as_dir=.
3557 $as_echo "PATH: $as_dir"
3558 done
3559 IFS=$as_save_IFS
3561 } >&5
3563 cat >&5 <<_ACEOF
3566 ## ----------- ##
3567 ## Core tests. ##
3568 ## ----------- ##
3570 _ACEOF
3573 # Keep a trace of the command line.
3574 # Strip out --no-create and --no-recursion so they do not pile up.
3575 # Strip out --silent because we don't want to record it for future runs.
3576 # Also quote any args containing shell meta-characters.
3577 # Make two passes to allow for proper duplicate-argument suppression.
3578 ac_configure_args=
3579 ac_configure_args0=
3580 ac_configure_args1=
3581 ac_must_keep_next=false
3582 for ac_pass in 1 2
3584 for ac_arg
3586 case $ac_arg in
3587 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3588 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3589 | -silent | --silent | --silen | --sile | --sil)
3590 continue ;;
3591 *\'*)
3592 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3593 esac
3594 case $ac_pass in
3595 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3597 as_fn_append ac_configure_args1 " '$ac_arg'"
3598 if test $ac_must_keep_next = true; then
3599 ac_must_keep_next=false # Got value, back to normal.
3600 else
3601 case $ac_arg in
3602 *=* | --config-cache | -C | -disable-* | --disable-* \
3603 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3604 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3605 | -with-* | --with-* | -without-* | --without-* | --x)
3606 case "$ac_configure_args0 " in
3607 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3608 esac
3610 -* ) ac_must_keep_next=true ;;
3611 esac
3613 as_fn_append ac_configure_args " '$ac_arg'"
3615 esac
3616 done
3617 done
3618 { ac_configure_args0=; unset ac_configure_args0;}
3619 { ac_configure_args1=; unset ac_configure_args1;}
3621 # When interrupted or exit'd, cleanup temporary files, and complete
3622 # config.log. We remove comments because anyway the quotes in there
3623 # would cause problems or look ugly.
3624 # WARNING: Use '\'' to represent an apostrophe within the trap.
3625 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3626 trap 'exit_status=$?
3627 # Save into config.log some information that might help in debugging.
3629 echo
3631 $as_echo "## ---------------- ##
3632 ## Cache variables. ##
3633 ## ---------------- ##"
3634 echo
3635 # The following way of writing the cache mishandles newlines in values,
3637 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3638 eval ac_val=\$$ac_var
3639 case $ac_val in #(
3640 *${as_nl}*)
3641 case $ac_var in #(
3642 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3643 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3644 esac
3645 case $ac_var in #(
3646 _ | IFS | as_nl) ;; #(
3647 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3648 *) { eval $ac_var=; unset $ac_var;} ;;
3649 esac ;;
3650 esac
3651 done
3652 (set) 2>&1 |
3653 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3654 *${as_nl}ac_space=\ *)
3655 sed -n \
3656 "s/'\''/'\''\\\\'\'''\''/g;
3657 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3658 ;; #(
3660 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3662 esac |
3663 sort
3665 echo
3667 $as_echo "## ----------------- ##
3668 ## Output variables. ##
3669 ## ----------------- ##"
3670 echo
3671 for ac_var in $ac_subst_vars
3673 eval ac_val=\$$ac_var
3674 case $ac_val in
3675 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3676 esac
3677 $as_echo "$ac_var='\''$ac_val'\''"
3678 done | sort
3679 echo
3681 if test -n "$ac_subst_files"; then
3682 $as_echo "## ------------------- ##
3683 ## File substitutions. ##
3684 ## ------------------- ##"
3685 echo
3686 for ac_var in $ac_subst_files
3688 eval ac_val=\$$ac_var
3689 case $ac_val in
3690 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3691 esac
3692 $as_echo "$ac_var='\''$ac_val'\''"
3693 done | sort
3694 echo
3697 if test -s confdefs.h; then
3698 $as_echo "## ----------- ##
3699 ## confdefs.h. ##
3700 ## ----------- ##"
3701 echo
3702 cat confdefs.h
3703 echo
3705 test "$ac_signal" != 0 &&
3706 $as_echo "$as_me: caught signal $ac_signal"
3707 $as_echo "$as_me: exit $exit_status"
3708 } >&5
3709 rm -f core *.core core.conftest.* &&
3710 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3711 exit $exit_status
3713 for ac_signal in 1 2 13 15; do
3714 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3715 done
3716 ac_signal=0
3718 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3719 rm -f -r conftest* confdefs.h
3721 $as_echo "/* confdefs.h */" > confdefs.h
3723 # Predefined preprocessor variables.
3725 cat >>confdefs.h <<_ACEOF
3726 #define PACKAGE_NAME "$PACKAGE_NAME"
3727 _ACEOF
3729 cat >>confdefs.h <<_ACEOF
3730 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3731 _ACEOF
3733 cat >>confdefs.h <<_ACEOF
3734 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3735 _ACEOF
3737 cat >>confdefs.h <<_ACEOF
3738 #define PACKAGE_STRING "$PACKAGE_STRING"
3739 _ACEOF
3741 cat >>confdefs.h <<_ACEOF
3742 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3743 _ACEOF
3745 cat >>confdefs.h <<_ACEOF
3746 #define PACKAGE_URL "$PACKAGE_URL"
3747 _ACEOF
3750 # Let the site file select an alternate cache file if it wants to.
3751 # Prefer an explicitly selected file to automatically selected ones.
3752 ac_site_file1=NONE
3753 ac_site_file2=NONE
3754 if test -n "$CONFIG_SITE"; then
3755 # We do not want a PATH search for config.site.
3756 case $CONFIG_SITE in #((
3757 -*) ac_site_file1=./$CONFIG_SITE;;
3758 */*) ac_site_file1=$CONFIG_SITE;;
3759 *) ac_site_file1=./$CONFIG_SITE;;
3760 esac
3761 elif test "x$prefix" != xNONE; then
3762 ac_site_file1=$prefix/share/config.site
3763 ac_site_file2=$prefix/etc/config.site
3764 else
3765 ac_site_file1=$ac_default_prefix/share/config.site
3766 ac_site_file2=$ac_default_prefix/etc/config.site
3768 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3770 test "x$ac_site_file" = xNONE && continue
3771 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3773 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3774 sed 's/^/| /' "$ac_site_file" >&5
3775 . "$ac_site_file" \
3776 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3777 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3778 as_fn_error $? "failed to load site script $ac_site_file
3779 See \`config.log' for more details" "$LINENO" 5; }
3781 done
3783 if test -r "$cache_file"; then
3784 # Some versions of bash will fail to source /dev/null (special files
3785 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3786 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3788 $as_echo "$as_me: loading cache $cache_file" >&6;}
3789 case $cache_file in
3790 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3791 *) . "./$cache_file";;
3792 esac
3794 else
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3796 $as_echo "$as_me: creating cache $cache_file" >&6;}
3797 >$cache_file
3800 # Check that the precious variables saved in the cache have kept the same
3801 # value.
3802 ac_cache_corrupted=false
3803 for ac_var in $ac_precious_vars; do
3804 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3805 eval ac_new_set=\$ac_env_${ac_var}_set
3806 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3807 eval ac_new_val=\$ac_env_${ac_var}_value
3808 case $ac_old_set,$ac_new_set in
3809 set,)
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3811 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3812 ac_cache_corrupted=: ;;
3813 ,set)
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3815 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3816 ac_cache_corrupted=: ;;
3817 ,);;
3819 if test "x$ac_old_val" != "x$ac_new_val"; then
3820 # differences in whitespace do not lead to failure.
3821 ac_old_val_w=`echo x $ac_old_val`
3822 ac_new_val_w=`echo x $ac_new_val`
3823 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3825 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3826 ac_cache_corrupted=:
3827 else
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3829 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3830 eval $ac_var=\$ac_old_val
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3833 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3835 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3836 fi;;
3837 esac
3838 # Pass precious variables to config.status.
3839 if test "$ac_new_set" = set; then
3840 case $ac_new_val in
3841 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3842 *) ac_arg=$ac_var=$ac_new_val ;;
3843 esac
3844 case " $ac_configure_args " in
3845 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3846 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3847 esac
3849 done
3850 if $ac_cache_corrupted; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3854 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3855 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3857 ## -------------------- ##
3858 ## Main body of script. ##
3859 ## -------------------- ##
3861 ac_ext=c
3862 ac_cpp='$CPP $CPPFLAGS'
3863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3869 ac_config_headers="$ac_config_headers include/config.h"
3871 ac_aux_dir=
3872 for ac_dir in tools "$srcdir"/tools; do
3873 if test -f "$ac_dir/install-sh"; then
3874 ac_aux_dir=$ac_dir
3875 ac_install_sh="$ac_aux_dir/install-sh -c"
3876 break
3877 elif test -f "$ac_dir/install.sh"; then
3878 ac_aux_dir=$ac_dir
3879 ac_install_sh="$ac_aux_dir/install.sh -c"
3880 break
3881 elif test -f "$ac_dir/shtool"; then
3882 ac_aux_dir=$ac_dir
3883 ac_install_sh="$ac_aux_dir/shtool install -c"
3884 break
3886 done
3887 if test -z "$ac_aux_dir"; then
3888 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3891 # These three variables are undocumented and unsupported,
3892 # and are intended to be withdrawn in a future Autoconf release.
3893 # They can cause serious problems if a builder's source tree is in a directory
3894 # whose full name contains unusual characters.
3895 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3896 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3897 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3901 libwine_version="1.0"
3905 # Check whether --enable-win16 was given.
3906 if test "${enable_win16+set}" = set; then :
3907 enableval=$enable_win16;
3910 # Check whether --enable-win64 was given.
3911 if test "${enable_win64+set}" = set; then :
3912 enableval=$enable_win64;
3915 # Check whether --enable-tests was given.
3916 if test "${enable_tests+set}" = set; then :
3917 enableval=$enable_tests;
3920 # Check whether --enable-build-id was given.
3921 if test "${enable_build_id+set}" = set; then :
3922 enableval=$enable_build_id;
3925 # Check whether --enable-maintainer-mode was given.
3926 if test "${enable_maintainer_mode+set}" = set; then :
3927 enableval=$enable_maintainer_mode;
3930 # Check whether --enable-silent-rules was given.
3931 if test "${enable_silent_rules+set}" = set; then :
3932 enableval=$enable_silent_rules;
3935 # Check whether --enable-werror was given.
3936 if test "${enable_werror+set}" = set; then :
3937 enableval=$enable_werror;
3942 # Check whether --with-alsa was given.
3943 if test "${with_alsa+set}" = set; then :
3944 withval=$with_alsa;
3948 # Check whether --with-capi was given.
3949 if test "${with_capi+set}" = set; then :
3950 withval=$with_capi;
3954 # Check whether --with-cms was given.
3955 if test "${with_cms+set}" = set; then :
3956 withval=$with_cms;
3960 # Check whether --with-coreaudio was given.
3961 if test "${with_coreaudio+set}" = set; then :
3962 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3966 # Check whether --with-cups was given.
3967 if test "${with_cups+set}" = set; then :
3968 withval=$with_cups;
3972 # Check whether --with-dbus was given.
3973 if test "${with_dbus+set}" = set; then :
3974 withval=$with_dbus;
3978 # Check whether --with-faudio was given.
3979 if test "${with_faudio+set}" = set; then :
3980 withval=$with_faudio;
3984 # Check whether --with-float-abi was given.
3985 if test "${with_float_abi+set}" = set; then :
3986 withval=$with_float_abi;
3990 # Check whether --with-fontconfig was given.
3991 if test "${with_fontconfig+set}" = set; then :
3992 withval=$with_fontconfig;
3996 # Check whether --with-freetype was given.
3997 if test "${with_freetype+set}" = set; then :
3998 withval=$with_freetype;
4002 # Check whether --with-gettext was given.
4003 if test "${with_gettext+set}" = set; then :
4004 withval=$with_gettext;
4008 # Check whether --with-gettextpo was given.
4009 if test "${with_gettextpo+set}" = set; then :
4010 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4014 # Check whether --with-gphoto was given.
4015 if test "${with_gphoto+set}" = set; then :
4016 withval=$with_gphoto;
4020 # Check whether --with-gnutls was given.
4021 if test "${with_gnutls+set}" = set; then :
4022 withval=$with_gnutls;
4026 # Check whether --with-gsm was given.
4027 if test "${with_gsm+set}" = set; then :
4028 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4032 # Check whether --with-gssapi was given.
4033 if test "${with_gssapi+set}" = set; then :
4034 withval=$with_gssapi;
4038 # Check whether --with-gstreamer was given.
4039 if test "${with_gstreamer+set}" = set; then :
4040 withval=$with_gstreamer;
4044 # Check whether --with-hal was given.
4045 if test "${with_hal+set}" = set; then :
4046 withval=$with_hal;
4050 # Check whether --with-inotify was given.
4051 if test "${with_inotify+set}" = set; then :
4052 withval=$with_inotify;
4056 # Check whether --with-jpeg was given.
4057 if test "${with_jpeg+set}" = set; then :
4058 withval=$with_jpeg;
4062 # Check whether --with-jxrlib was given.
4063 if test "${with_jxrlib+set}" = set; then :
4064 withval=$with_jxrlib;
4068 # Check whether --with-krb5 was given.
4069 if test "${with_krb5+set}" = set; then :
4070 withval=$with_krb5;
4074 # Check whether --with-ldap was given.
4075 if test "${with_ldap+set}" = set; then :
4076 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4080 # Check whether --with-mingw was given.
4081 if test "${with_mingw+set}" = set; then :
4082 withval=$with_mingw;
4086 # Check whether --with-mpg123 was given.
4087 if test "${with_mpg123+set}" = set; then :
4088 withval=$with_mpg123;
4092 # Check whether --with-netapi was given.
4093 if test "${with_netapi+set}" = set; then :
4094 withval=$with_netapi;
4098 # Check whether --with-openal was given.
4099 if test "${with_openal+set}" = set; then :
4100 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4104 # Check whether --with-opencl was given.
4105 if test "${with_opencl+set}" = set; then :
4106 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4110 # Check whether --with-opengl was given.
4111 if test "${with_opengl+set}" = set; then :
4112 withval=$with_opengl;
4116 # Check whether --with-osmesa was given.
4117 if test "${with_osmesa+set}" = set; then :
4118 withval=$with_osmesa;
4122 # Check whether --with-oss was given.
4123 if test "${with_oss+set}" = set; then :
4124 withval=$with_oss;
4128 # Check whether --with-pcap was given.
4129 if test "${with_pcap+set}" = set; then :
4130 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4134 # Check whether --with-png was given.
4135 if test "${with_png+set}" = set; then :
4136 withval=$with_png;
4140 # Check whether --with-pthread was given.
4141 if test "${with_pthread+set}" = set; then :
4142 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4146 # Check whether --with-pulse was given.
4147 if test "${with_pulse+set}" = set; then :
4148 withval=$with_pulse;
4152 # Check whether --with-quicktime was given.
4153 if test "${with_quicktime+set}" = set; then :
4154 withval=$with_quicktime;
4158 # Check whether --with-sane was given.
4159 if test "${with_sane+set}" = set; then :
4160 withval=$with_sane;
4164 # Check whether --with-sdl was given.
4165 if test "${with_sdl+set}" = set; then :
4166 withval=$with_sdl;
4170 # Check whether --with-tiff was given.
4171 if test "${with_tiff+set}" = set; then :
4172 withval=$with_tiff;
4176 # Check whether --with-udev was given.
4177 if test "${with_udev+set}" = set; then :
4178 withval=$with_udev;
4182 # Check whether --with-unwind was given.
4183 if test "${with_unwind+set}" = set; then :
4184 withval=$with_unwind;
4188 # Check whether --with-usb was given.
4189 if test "${with_usb+set}" = set; then :
4190 withval=$with_usb;
4194 # Check whether --with-v4l2 was given.
4195 if test "${with_v4l2+set}" = set; then :
4196 withval=$with_v4l2;
4200 # Check whether --with-vkd3d was given.
4201 if test "${with_vkd3d+set}" = set; then :
4202 withval=$with_vkd3d;
4206 # Check whether --with-vulkan was given.
4207 if test "${with_vulkan+set}" = set; then :
4208 withval=$with_vulkan;
4212 # Check whether --with-xcomposite was given.
4213 if test "${with_xcomposite+set}" = set; then :
4214 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4218 # Check whether --with-xcursor was given.
4219 if test "${with_xcursor+set}" = set; then :
4220 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4224 # Check whether --with-xfixes was given.
4225 if test "${with_xfixes+set}" = set; then :
4226 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4230 # Check whether --with-xinerama was given.
4231 if test "${with_xinerama+set}" = set; then :
4232 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4236 # Check whether --with-xinput was given.
4237 if test "${with_xinput+set}" = set; then :
4238 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4242 # Check whether --with-xinput2 was given.
4243 if test "${with_xinput2+set}" = set; then :
4244 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4248 # Check whether --with-xml was given.
4249 if test "${with_xml+set}" = set; then :
4250 withval=$with_xml;
4254 # Check whether --with-xrandr was given.
4255 if test "${with_xrandr+set}" = set; then :
4256 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4260 # Check whether --with-xrender was given.
4261 if test "${with_xrender+set}" = set; then :
4262 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4266 # Check whether --with-xshape was given.
4267 if test "${with_xshape+set}" = set; then :
4268 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4272 # Check whether --with-xshm was given.
4273 if test "${with_xshm+set}" = set; then :
4274 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4278 # Check whether --with-xslt was given.
4279 if test "${with_xslt+set}" = set; then :
4280 withval=$with_xslt;
4284 # Check whether --with-xxf86vm was given.
4285 if test "${with_xxf86vm+set}" = set; then :
4286 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
4291 # Check whether --with-wine-tools was given.
4292 if test "${with_wine_tools+set}" = set; then :
4293 withval=$with_wine_tools;
4297 # Check whether --with-wine64 was given.
4298 if test "${with_wine64+set}" = set; then :
4299 withval=$with_wine64;
4303 # Make sure we can run config.sub.
4304 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4305 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4308 $as_echo_n "checking build system type... " >&6; }
4309 if ${ac_cv_build+:} false; then :
4310 $as_echo_n "(cached) " >&6
4311 else
4312 ac_build_alias=$build_alias
4313 test "x$ac_build_alias" = x &&
4314 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4315 test "x$ac_build_alias" = x &&
4316 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4317 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4318 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4322 $as_echo "$ac_cv_build" >&6; }
4323 case $ac_cv_build in
4324 *-*-*) ;;
4325 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4326 esac
4327 build=$ac_cv_build
4328 ac_save_IFS=$IFS; IFS='-'
4329 set x $ac_cv_build
4330 shift
4331 build_cpu=$1
4332 build_vendor=$2
4333 shift; shift
4334 # Remember, the first character of IFS is used to create $*,
4335 # except with old shells:
4336 build_os=$*
4337 IFS=$ac_save_IFS
4338 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4342 $as_echo_n "checking host system type... " >&6; }
4343 if ${ac_cv_host+:} false; then :
4344 $as_echo_n "(cached) " >&6
4345 else
4346 if test "x$host_alias" = x; then
4347 ac_cv_host=$ac_cv_build
4348 else
4349 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4350 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4355 $as_echo "$ac_cv_host" >&6; }
4356 case $ac_cv_host in
4357 *-*-*) ;;
4358 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4359 esac
4360 host=$ac_cv_host
4361 ac_save_IFS=$IFS; IFS='-'
4362 set x $ac_cv_host
4363 shift
4364 host_cpu=$1
4365 host_vendor=$2
4366 shift; shift
4367 # Remember, the first character of IFS is used to create $*,
4368 # except with old shells:
4369 host_os=$*
4370 IFS=$ac_save_IFS
4371 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4377 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4378 set x ${MAKE-make}
4379 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4380 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4381 $as_echo_n "(cached) " >&6
4382 else
4383 cat >conftest.make <<\_ACEOF
4384 SHELL = /bin/sh
4385 all:
4386 @echo '@@@%%%=$(MAKE)=@@@%%%'
4387 _ACEOF
4388 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4389 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4390 *@@@%%%=?*=@@@%%%*)
4391 eval ac_cv_prog_make_${ac_make}_set=yes;;
4393 eval ac_cv_prog_make_${ac_make}_set=no;;
4394 esac
4395 rm -f conftest.make
4397 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4399 $as_echo "yes" >&6; }
4400 SET_MAKE=
4401 else
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4404 SET_MAKE="MAKE=${MAKE-make}"
4407 ac_ext=c
4408 ac_cpp='$CPP $CPPFLAGS'
4409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4412 if test -n "$ac_tool_prefix"; then
4413 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4414 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if ${ac_cv_prog_CC+:} false; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 if test -n "$CC"; then
4421 ac_cv_prog_CC="$CC" # Let the user override the test.
4422 else
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 for as_dir in $PATH
4426 IFS=$as_save_IFS
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4430 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 break 2
4434 done
4435 done
4436 IFS=$as_save_IFS
4440 CC=$ac_cv_prog_CC
4441 if test -n "$CC"; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4443 $as_echo "$CC" >&6; }
4444 else
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4451 if test -z "$ac_cv_prog_CC"; then
4452 ac_ct_CC=$CC
4453 # Extract the first word of "gcc", so it can be a program name with args.
4454 set dummy gcc; ac_word=$2
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4456 $as_echo_n "checking for $ac_word... " >&6; }
4457 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4458 $as_echo_n "(cached) " >&6
4459 else
4460 if test -n "$ac_ct_CC"; then
4461 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4462 else
4463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4464 for as_dir in $PATH
4466 IFS=$as_save_IFS
4467 test -z "$as_dir" && as_dir=.
4468 for ac_exec_ext in '' $ac_executable_extensions; do
4469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4470 ac_cv_prog_ac_ct_CC="gcc"
4471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4472 break 2
4474 done
4475 done
4476 IFS=$as_save_IFS
4480 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4481 if test -n "$ac_ct_CC"; then
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4483 $as_echo "$ac_ct_CC" >&6; }
4484 else
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4486 $as_echo "no" >&6; }
4489 if test "x$ac_ct_CC" = x; then
4490 CC=""
4491 else
4492 case $cross_compiling:$ac_tool_warned in
4493 yes:)
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4496 ac_tool_warned=yes ;;
4497 esac
4498 CC=$ac_ct_CC
4500 else
4501 CC="$ac_cv_prog_CC"
4504 if test -z "$CC"; then
4505 if test -n "$ac_tool_prefix"; then
4506 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4507 set dummy ${ac_tool_prefix}cc; ac_word=$2
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4509 $as_echo_n "checking for $ac_word... " >&6; }
4510 if ${ac_cv_prog_CC+:} false; then :
4511 $as_echo_n "(cached) " >&6
4512 else
4513 if test -n "$CC"; then
4514 ac_cv_prog_CC="$CC" # Let the user override the test.
4515 else
4516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517 for as_dir in $PATH
4519 IFS=$as_save_IFS
4520 test -z "$as_dir" && as_dir=.
4521 for ac_exec_ext in '' $ac_executable_extensions; do
4522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4523 ac_cv_prog_CC="${ac_tool_prefix}cc"
4524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4525 break 2
4527 done
4528 done
4529 IFS=$as_save_IFS
4533 CC=$ac_cv_prog_CC
4534 if test -n "$CC"; then
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4536 $as_echo "$CC" >&6; }
4537 else
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4539 $as_echo "no" >&6; }
4545 if test -z "$CC"; then
4546 # Extract the first word of "cc", so it can be a program name with args.
4547 set dummy cc; ac_word=$2
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if ${ac_cv_prog_CC+:} false; then :
4551 $as_echo_n "(cached) " >&6
4552 else
4553 if test -n "$CC"; then
4554 ac_cv_prog_CC="$CC" # Let the user override the test.
4555 else
4556 ac_prog_rejected=no
4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 for as_dir in $PATH
4560 IFS=$as_save_IFS
4561 test -z "$as_dir" && as_dir=.
4562 for ac_exec_ext in '' $ac_executable_extensions; do
4563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4564 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4565 ac_prog_rejected=yes
4566 continue
4568 ac_cv_prog_CC="cc"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4570 break 2
4572 done
4573 done
4574 IFS=$as_save_IFS
4576 if test $ac_prog_rejected = yes; then
4577 # We found a bogon in the path, so make sure we never use it.
4578 set dummy $ac_cv_prog_CC
4579 shift
4580 if test $# != 0; then
4581 # We chose a different compiler from the bogus one.
4582 # However, it has the same basename, so the bogon will be chosen
4583 # first if we set CC to just the basename; use the full file name.
4584 shift
4585 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4590 CC=$ac_cv_prog_CC
4591 if test -n "$CC"; then
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4593 $as_echo "$CC" >&6; }
4594 else
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4596 $as_echo "no" >&6; }
4601 if test -z "$CC"; then
4602 if test -n "$ac_tool_prefix"; then
4603 for ac_prog in cl.exe
4605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if ${ac_cv_prog_CC+:} false; then :
4610 $as_echo_n "(cached) " >&6
4611 else
4612 if test -n "$CC"; then
4613 ac_cv_prog_CC="$CC" # Let the user override the test.
4614 else
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 for as_dir in $PATH
4618 IFS=$as_save_IFS
4619 test -z "$as_dir" && as_dir=.
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4622 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 break 2
4626 done
4627 done
4628 IFS=$as_save_IFS
4632 CC=$ac_cv_prog_CC
4633 if test -n "$CC"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4635 $as_echo "$CC" >&6; }
4636 else
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4642 test -n "$CC" && break
4643 done
4645 if test -z "$CC"; then
4646 ac_ct_CC=$CC
4647 for ac_prog in cl.exe
4649 # Extract the first word of "$ac_prog", so it can be a program name with args.
4650 set dummy $ac_prog; ac_word=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4654 $as_echo_n "(cached) " >&6
4655 else
4656 if test -n "$ac_ct_CC"; then
4657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4658 else
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4660 for as_dir in $PATH
4662 IFS=$as_save_IFS
4663 test -z "$as_dir" && as_dir=.
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_ac_ct_CC="$ac_prog"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4668 break 2
4670 done
4671 done
4672 IFS=$as_save_IFS
4676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4677 if test -n "$ac_ct_CC"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4679 $as_echo "$ac_ct_CC" >&6; }
4680 else
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4686 test -n "$ac_ct_CC" && break
4687 done
4689 if test "x$ac_ct_CC" = x; then
4690 CC=""
4691 else
4692 case $cross_compiling:$ac_tool_warned in
4693 yes:)
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4696 ac_tool_warned=yes ;;
4697 esac
4698 CC=$ac_ct_CC
4705 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4707 as_fn_error $? "no acceptable C compiler found in \$PATH
4708 See \`config.log' for more details" "$LINENO" 5; }
4710 # Provide some information about the compiler.
4711 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4712 set X $ac_compile
4713 ac_compiler=$2
4714 for ac_option in --version -v -V -qversion; do
4715 { { ac_try="$ac_compiler $ac_option >&5"
4716 case "(($ac_try" in
4717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4718 *) ac_try_echo=$ac_try;;
4719 esac
4720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4721 $as_echo "$ac_try_echo"; } >&5
4722 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4723 ac_status=$?
4724 if test -s conftest.err; then
4725 sed '10a\
4726 ... rest of stderr output deleted ...
4727 10q' conftest.err >conftest.er1
4728 cat conftest.er1 >&5
4730 rm -f conftest.er1 conftest.err
4731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4732 test $ac_status = 0; }
4733 done
4735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4739 main ()
4743 return 0;
4745 _ACEOF
4746 ac_clean_files_save=$ac_clean_files
4747 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4748 # Try to create an executable without -o first, disregard a.out.
4749 # It will help us diagnose broken compilers, and finding out an intuition
4750 # of exeext.
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4752 $as_echo_n "checking whether the C compiler works... " >&6; }
4753 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4755 # The possible output files:
4756 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4758 ac_rmfiles=
4759 for ac_file in $ac_files
4761 case $ac_file in
4762 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4763 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4764 esac
4765 done
4766 rm -f $ac_rmfiles
4768 if { { ac_try="$ac_link_default"
4769 case "(($ac_try" in
4770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4771 *) ac_try_echo=$ac_try;;
4772 esac
4773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4774 $as_echo "$ac_try_echo"; } >&5
4775 (eval "$ac_link_default") 2>&5
4776 ac_status=$?
4777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4778 test $ac_status = 0; }; then :
4779 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4780 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4781 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4782 # so that the user can short-circuit this test for compilers unknown to
4783 # Autoconf.
4784 for ac_file in $ac_files ''
4786 test -f "$ac_file" || continue
4787 case $ac_file in
4788 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4790 [ab].out )
4791 # We found the default executable, but exeext='' is most
4792 # certainly right.
4793 break;;
4794 *.* )
4795 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4796 then :; else
4797 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4799 # We set ac_cv_exeext here because the later test for it is not
4800 # safe: cross compilers may not add the suffix if given an `-o'
4801 # argument, so we may need to know it at that point already.
4802 # Even if this section looks crufty: it has the advantage of
4803 # actually working.
4804 break;;
4806 break;;
4807 esac
4808 done
4809 test "$ac_cv_exeext" = no && ac_cv_exeext=
4811 else
4812 ac_file=''
4814 if test -z "$ac_file"; then :
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4817 $as_echo "$as_me: failed program was:" >&5
4818 sed 's/^/| /' conftest.$ac_ext >&5
4820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4822 as_fn_error 77 "C compiler cannot create executables
4823 See \`config.log' for more details" "$LINENO" 5; }
4824 else
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4826 $as_echo "yes" >&6; }
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4829 $as_echo_n "checking for C compiler default output file name... " >&6; }
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4831 $as_echo "$ac_file" >&6; }
4832 ac_exeext=$ac_cv_exeext
4834 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4835 ac_clean_files=$ac_clean_files_save
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4837 $as_echo_n "checking for suffix of executables... " >&6; }
4838 if { { ac_try="$ac_link"
4839 case "(($ac_try" in
4840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4842 esac
4843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4844 $as_echo "$ac_try_echo"; } >&5
4845 (eval "$ac_link") 2>&5
4846 ac_status=$?
4847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4848 test $ac_status = 0; }; then :
4849 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4850 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4851 # work properly (i.e., refer to `conftest.exe'), while it won't with
4852 # `rm'.
4853 for ac_file in conftest.exe conftest conftest.*; do
4854 test -f "$ac_file" || continue
4855 case $ac_file in
4856 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4857 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4858 break;;
4859 * ) break;;
4860 esac
4861 done
4862 else
4863 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4865 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4866 See \`config.log' for more details" "$LINENO" 5; }
4868 rm -f conftest conftest$ac_cv_exeext
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4870 $as_echo "$ac_cv_exeext" >&6; }
4872 rm -f conftest.$ac_ext
4873 EXEEXT=$ac_cv_exeext
4874 ac_exeext=$EXEEXT
4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4876 /* end confdefs.h. */
4877 #include <stdio.h>
4879 main ()
4881 FILE *f = fopen ("conftest.out", "w");
4882 return ferror (f) || fclose (f) != 0;
4885 return 0;
4887 _ACEOF
4888 ac_clean_files="$ac_clean_files conftest.out"
4889 # Check that the compiler produces executables we can run. If not, either
4890 # the compiler is broken, or we cross compile.
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4892 $as_echo_n "checking whether we are cross compiling... " >&6; }
4893 if test "$cross_compiling" != yes; then
4894 { { ac_try="$ac_link"
4895 case "(($ac_try" in
4896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4897 *) ac_try_echo=$ac_try;;
4898 esac
4899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4900 $as_echo "$ac_try_echo"; } >&5
4901 (eval "$ac_link") 2>&5
4902 ac_status=$?
4903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4904 test $ac_status = 0; }
4905 if { ac_try='./conftest$ac_cv_exeext'
4906 { { case "(($ac_try" in
4907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4908 *) ac_try_echo=$ac_try;;
4909 esac
4910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4911 $as_echo "$ac_try_echo"; } >&5
4912 (eval "$ac_try") 2>&5
4913 ac_status=$?
4914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4915 test $ac_status = 0; }; }; then
4916 cross_compiling=no
4917 else
4918 if test "$cross_compiling" = maybe; then
4919 cross_compiling=yes
4920 else
4921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4923 as_fn_error $? "cannot run C compiled programs.
4924 If you meant to cross compile, use \`--host'.
4925 See \`config.log' for more details" "$LINENO" 5; }
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4930 $as_echo "$cross_compiling" >&6; }
4932 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4933 ac_clean_files=$ac_clean_files_save
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4935 $as_echo_n "checking for suffix of object files... " >&6; }
4936 if ${ac_cv_objext+:} false; then :
4937 $as_echo_n "(cached) " >&6
4938 else
4939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4943 main ()
4947 return 0;
4949 _ACEOF
4950 rm -f conftest.o conftest.obj
4951 if { { ac_try="$ac_compile"
4952 case "(($ac_try" in
4953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4954 *) ac_try_echo=$ac_try;;
4955 esac
4956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4957 $as_echo "$ac_try_echo"; } >&5
4958 (eval "$ac_compile") 2>&5
4959 ac_status=$?
4960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4961 test $ac_status = 0; }; then :
4962 for ac_file in conftest.o conftest.obj conftest.*; do
4963 test -f "$ac_file" || continue;
4964 case $ac_file in
4965 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4966 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4967 break;;
4968 esac
4969 done
4970 else
4971 $as_echo "$as_me: failed program was:" >&5
4972 sed 's/^/| /' conftest.$ac_ext >&5
4974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4976 as_fn_error $? "cannot compute suffix of object files: cannot compile
4977 See \`config.log' for more details" "$LINENO" 5; }
4979 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4982 $as_echo "$ac_cv_objext" >&6; }
4983 OBJEXT=$ac_cv_objext
4984 ac_objext=$OBJEXT
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4986 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4987 if ${ac_cv_c_compiler_gnu+:} false; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4991 /* end confdefs.h. */
4994 main ()
4996 #ifndef __GNUC__
4997 choke me
4998 #endif
5001 return 0;
5003 _ACEOF
5004 if ac_fn_c_try_compile "$LINENO"; then :
5005 ac_compiler_gnu=yes
5006 else
5007 ac_compiler_gnu=no
5009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5010 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5014 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5015 if test $ac_compiler_gnu = yes; then
5016 GCC=yes
5017 else
5018 GCC=
5020 ac_test_CFLAGS=${CFLAGS+set}
5021 ac_save_CFLAGS=$CFLAGS
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5023 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5024 if ${ac_cv_prog_cc_g+:} false; then :
5025 $as_echo_n "(cached) " >&6
5026 else
5027 ac_save_c_werror_flag=$ac_c_werror_flag
5028 ac_c_werror_flag=yes
5029 ac_cv_prog_cc_g=no
5030 CFLAGS="-g"
5031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5032 /* end confdefs.h. */
5035 main ()
5039 return 0;
5041 _ACEOF
5042 if ac_fn_c_try_compile "$LINENO"; then :
5043 ac_cv_prog_cc_g=yes
5044 else
5045 CFLAGS=""
5046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5047 /* end confdefs.h. */
5050 main ()
5054 return 0;
5056 _ACEOF
5057 if ac_fn_c_try_compile "$LINENO"; then :
5059 else
5060 ac_c_werror_flag=$ac_save_c_werror_flag
5061 CFLAGS="-g"
5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5066 main ()
5070 return 0;
5072 _ACEOF
5073 if ac_fn_c_try_compile "$LINENO"; then :
5074 ac_cv_prog_cc_g=yes
5076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5081 ac_c_werror_flag=$ac_save_c_werror_flag
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5084 $as_echo "$ac_cv_prog_cc_g" >&6; }
5085 if test "$ac_test_CFLAGS" = set; then
5086 CFLAGS=$ac_save_CFLAGS
5087 elif test $ac_cv_prog_cc_g = yes; then
5088 if test "$GCC" = yes; then
5089 CFLAGS="-g -O2"
5090 else
5091 CFLAGS="-g"
5093 else
5094 if test "$GCC" = yes; then
5095 CFLAGS="-O2"
5096 else
5097 CFLAGS=
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5101 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5102 if ${ac_cv_prog_cc_c89+:} false; then :
5103 $as_echo_n "(cached) " >&6
5104 else
5105 ac_cv_prog_cc_c89=no
5106 ac_save_CC=$CC
5107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5108 /* end confdefs.h. */
5109 #include <stdarg.h>
5110 #include <stdio.h>
5111 struct stat;
5112 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5113 struct buf { int x; };
5114 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5115 static char *e (p, i)
5116 char **p;
5117 int i;
5119 return p[i];
5121 static char *f (char * (*g) (char **, int), char **p, ...)
5123 char *s;
5124 va_list v;
5125 va_start (v,p);
5126 s = g (p, va_arg (v,int));
5127 va_end (v);
5128 return s;
5131 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5132 function prototypes and stuff, but not '\xHH' hex character constants.
5133 These don't provoke an error unfortunately, instead are silently treated
5134 as 'x'. The following induces an error, until -std is added to get
5135 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5136 array size at least. It's necessary to write '\x00'==0 to get something
5137 that's true only with -std. */
5138 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5140 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5141 inside strings and character constants. */
5142 #define FOO(x) 'x'
5143 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5145 int test (int i, double x);
5146 struct s1 {int (*f) (int a);};
5147 struct s2 {int (*f) (double a);};
5148 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5149 int argc;
5150 char **argv;
5152 main ()
5154 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5156 return 0;
5158 _ACEOF
5159 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5160 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5162 CC="$ac_save_CC $ac_arg"
5163 if ac_fn_c_try_compile "$LINENO"; then :
5164 ac_cv_prog_cc_c89=$ac_arg
5166 rm -f core conftest.err conftest.$ac_objext
5167 test "x$ac_cv_prog_cc_c89" != "xno" && break
5168 done
5169 rm -f conftest.$ac_ext
5170 CC=$ac_save_CC
5173 # AC_CACHE_VAL
5174 case "x$ac_cv_prog_cc_c89" in
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5177 $as_echo "none needed" >&6; } ;;
5178 xno)
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5180 $as_echo "unsupported" >&6; } ;;
5182 CC="$CC $ac_cv_prog_cc_c89"
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5184 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5185 esac
5186 if test "x$ac_cv_prog_cc_c89" != xno; then :
5190 ac_ext=c
5191 ac_cpp='$CPP $CPPFLAGS'
5192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5196 ac_ext=cpp
5197 ac_cpp='$CXXCPP $CPPFLAGS'
5198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5201 if test -z "$CXX"; then
5202 if test -n "$CCC"; then
5203 CXX=$CCC
5204 else
5205 if test -n "$ac_tool_prefix"; then
5206 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5208 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5209 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if ${ac_cv_prog_CXX+:} false; then :
5213 $as_echo_n "(cached) " >&6
5214 else
5215 if test -n "$CXX"; then
5216 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5217 else
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 for as_dir in $PATH
5221 IFS=$as_save_IFS
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5225 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 break 2
5229 done
5230 done
5231 IFS=$as_save_IFS
5235 CXX=$ac_cv_prog_CXX
5236 if test -n "$CXX"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5238 $as_echo "$CXX" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5245 test -n "$CXX" && break
5246 done
5248 if test -z "$CXX"; then
5249 ac_ct_CXX=$CXX
5250 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5252 # Extract the first word of "$ac_prog", so it can be a program name with args.
5253 set dummy $ac_prog; ac_word=$2
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5255 $as_echo_n "checking for $ac_word... " >&6; }
5256 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5257 $as_echo_n "(cached) " >&6
5258 else
5259 if test -n "$ac_ct_CXX"; then
5260 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5261 else
5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 for as_dir in $PATH
5265 IFS=$as_save_IFS
5266 test -z "$as_dir" && as_dir=.
5267 for ac_exec_ext in '' $ac_executable_extensions; do
5268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5269 ac_cv_prog_ac_ct_CXX="$ac_prog"
5270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 break 2
5273 done
5274 done
5275 IFS=$as_save_IFS
5279 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5280 if test -n "$ac_ct_CXX"; then
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5282 $as_echo "$ac_ct_CXX" >&6; }
5283 else
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5285 $as_echo "no" >&6; }
5289 test -n "$ac_ct_CXX" && break
5290 done
5292 if test "x$ac_ct_CXX" = x; then
5293 CXX="g++"
5294 else
5295 case $cross_compiling:$ac_tool_warned in
5296 yes:)
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5299 ac_tool_warned=yes ;;
5300 esac
5301 CXX=$ac_ct_CXX
5307 # Provide some information about the compiler.
5308 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5309 set X $ac_compile
5310 ac_compiler=$2
5311 for ac_option in --version -v -V -qversion; do
5312 { { ac_try="$ac_compiler $ac_option >&5"
5313 case "(($ac_try" in
5314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5315 *) ac_try_echo=$ac_try;;
5316 esac
5317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5318 $as_echo "$ac_try_echo"; } >&5
5319 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5320 ac_status=$?
5321 if test -s conftest.err; then
5322 sed '10a\
5323 ... rest of stderr output deleted ...
5324 10q' conftest.err >conftest.er1
5325 cat conftest.er1 >&5
5327 rm -f conftest.er1 conftest.err
5328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5329 test $ac_status = 0; }
5330 done
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5333 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5334 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5335 $as_echo_n "(cached) " >&6
5336 else
5337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5338 /* end confdefs.h. */
5341 main ()
5343 #ifndef __GNUC__
5344 choke me
5345 #endif
5348 return 0;
5350 _ACEOF
5351 if ac_fn_cxx_try_compile "$LINENO"; then :
5352 ac_compiler_gnu=yes
5353 else
5354 ac_compiler_gnu=no
5356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5357 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5361 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5362 if test $ac_compiler_gnu = yes; then
5363 GXX=yes
5364 else
5365 GXX=
5367 ac_test_CXXFLAGS=${CXXFLAGS+set}
5368 ac_save_CXXFLAGS=$CXXFLAGS
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5370 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5371 if ${ac_cv_prog_cxx_g+:} false; then :
5372 $as_echo_n "(cached) " >&6
5373 else
5374 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5375 ac_cxx_werror_flag=yes
5376 ac_cv_prog_cxx_g=no
5377 CXXFLAGS="-g"
5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5382 main ()
5386 return 0;
5388 _ACEOF
5389 if ac_fn_cxx_try_compile "$LINENO"; then :
5390 ac_cv_prog_cxx_g=yes
5391 else
5392 CXXFLAGS=""
5393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5394 /* end confdefs.h. */
5397 main ()
5401 return 0;
5403 _ACEOF
5404 if ac_fn_cxx_try_compile "$LINENO"; then :
5406 else
5407 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5408 CXXFLAGS="-g"
5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h. */
5413 main ()
5417 return 0;
5419 _ACEOF
5420 if ac_fn_cxx_try_compile "$LINENO"; then :
5421 ac_cv_prog_cxx_g=yes
5423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5428 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5431 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5432 if test "$ac_test_CXXFLAGS" = set; then
5433 CXXFLAGS=$ac_save_CXXFLAGS
5434 elif test $ac_cv_prog_cxx_g = yes; then
5435 if test "$GXX" = yes; then
5436 CXXFLAGS="-g -O2"
5437 else
5438 CXXFLAGS="-g"
5440 else
5441 if test "$GXX" = yes; then
5442 CXXFLAGS="-O2"
5443 else
5444 CXXFLAGS=
5447 ac_ext=c
5448 ac_cpp='$CPP $CPPFLAGS'
5449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5453 if test -n "$ac_tool_prefix"; then
5454 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5455 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457 $as_echo_n "checking for $ac_word... " >&6; }
5458 if ${ac_cv_prog_CPPBIN+:} false; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if test -n "$CPPBIN"; then
5462 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5463 else
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_exec_ext in '' $ac_executable_extensions; do
5470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 break 2
5475 done
5476 done
5477 IFS=$as_save_IFS
5481 CPPBIN=$ac_cv_prog_CPPBIN
5482 if test -n "$CPPBIN"; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5484 $as_echo "$CPPBIN" >&6; }
5485 else
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5492 if test -z "$ac_cv_prog_CPPBIN"; then
5493 ac_ct_CPPBIN=$CPPBIN
5494 # Extract the first word of "cpp", so it can be a program name with args.
5495 set dummy cpp; ac_word=$2
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497 $as_echo_n "checking for $ac_word... " >&6; }
5498 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5499 $as_echo_n "(cached) " >&6
5500 else
5501 if test -n "$ac_ct_CPPBIN"; then
5502 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5503 else
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH
5507 IFS=$as_save_IFS
5508 test -z "$as_dir" && as_dir=.
5509 for ac_exec_ext in '' $ac_executable_extensions; do
5510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511 ac_cv_prog_ac_ct_CPPBIN="cpp"
5512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 break 2
5515 done
5516 done
5517 IFS=$as_save_IFS
5521 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5522 if test -n "$ac_ct_CPPBIN"; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5524 $as_echo "$ac_ct_CPPBIN" >&6; }
5525 else
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527 $as_echo "no" >&6; }
5530 if test "x$ac_ct_CPPBIN" = x; then
5531 CPPBIN="cpp"
5532 else
5533 case $cross_compiling:$ac_tool_warned in
5534 yes:)
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5537 ac_tool_warned=yes ;;
5538 esac
5539 CPPBIN=$ac_ct_CPPBIN
5541 else
5542 CPPBIN="$ac_cv_prog_CPPBIN"
5546 cat >>confdefs.h <<_ACEOF
5547 #define EXEEXT "$ac_exeext"
5548 _ACEOF
5550 if test -n "$ac_tool_prefix"; then
5551 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5552 set dummy ${ac_tool_prefix}ld; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_prog_LD+:} false; then :
5556 $as_echo_n "(cached) " >&6
5557 else
5558 if test -n "$LD"; then
5559 ac_cv_prog_LD="$LD" # Let the user override the test.
5560 else
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_exec_ext in '' $ac_executable_extensions; do
5567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5568 ac_cv_prog_LD="${ac_tool_prefix}ld"
5569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 break 2
5572 done
5573 done
5574 IFS=$as_save_IFS
5578 LD=$ac_cv_prog_LD
5579 if test -n "$LD"; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5581 $as_echo "$LD" >&6; }
5582 else
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5589 if test -z "$ac_cv_prog_LD"; then
5590 ac_ct_LD=$LD
5591 # Extract the first word of "ld", so it can be a program name with args.
5592 set dummy ld; ac_word=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 if test -n "$ac_ct_LD"; then
5599 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5600 else
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 for as_dir in $PATH
5604 IFS=$as_save_IFS
5605 test -z "$as_dir" && as_dir=.
5606 for ac_exec_ext in '' $ac_executable_extensions; do
5607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_ac_ct_LD="ld"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 break 2
5612 done
5613 done
5614 IFS=$as_save_IFS
5618 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5619 if test -n "$ac_ct_LD"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5621 $as_echo "$ac_ct_LD" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5627 if test "x$ac_ct_LD" = x; then
5628 LD=""
5629 else
5630 case $cross_compiling:$ac_tool_warned in
5631 yes:)
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5634 ac_tool_warned=yes ;;
5635 esac
5636 LD=$ac_ct_LD
5638 else
5639 LD="$ac_cv_prog_LD"
5643 case $host in
5644 *-darwin*)
5645 with_fontconfig=${with_fontconfig:-no}
5647 *-mingw32*|*-cygwin*)
5648 enable_win16=${enable_win16:-no}
5649 with_mingw=${with_mingw:-no}
5650 CFLAGS="$CFLAGS -D_WIN32"
5652 esac
5655 case $host in
5656 x86_64*|amd64*)
5657 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5658 then
5659 CC="$CC -m32"
5660 CXX="$CXX -m32"
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5663 $as_echo_n "checking whether $CC works... " >&6; }
5664 if ${wine_cv_cc_m32+:} false; then :
5665 $as_echo_n "(cached) " >&6
5666 else
5667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5671 main ()
5675 return 0;
5677 _ACEOF
5678 if ac_fn_c_try_link "$LINENO"; then :
5679 wine_cv_cc_m32=yes
5680 else
5681 wine_cv_cc_m32=no
5683 rm -f core conftest.err conftest.$ac_objext \
5684 conftest$ac_exeext conftest.$ac_ext
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5687 $as_echo "$wine_cv_cc_m32" >&6; }
5688 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
5689 host_cpu="i386"
5690 notice_platform="32-bit "
5691 TARGETFLAGS="$TARGETFLAGS -m32"
5692 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5693 export PKG_CONFIG_PATH
5694 enable_win16=${enable_win16:-yes}
5695 with_unwind=${with_unwind:-no}
5696 else
5697 if test "x${GCC}" = "xyes"
5698 then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5700 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5701 if ${wine_cv_builtin_ms_va_list+:} false; then :
5702 $as_echo_n "(cached) " >&6
5703 else
5704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5705 /* end confdefs.h. */
5706 #include <stdarg.h>
5708 main ()
5710 void func(__builtin_ms_va_list *args);
5712 return 0;
5714 _ACEOF
5715 if ac_fn_c_try_compile "$LINENO"; then :
5716 wine_cv_builtin_ms_va_list=yes
5717 else
5718 wine_cv_builtin_ms_va_list=no
5720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5723 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5724 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
5726 CC="$CC -m64"
5727 CXX="$CXX -m64"
5728 host_cpu="x86_64"
5729 notice_platform="64-bit "
5730 TARGETFLAGS="$TARGETFLAGS -m64"
5731 enable_wow64cpu=${enable_wow64cpu:-yes}
5734 arm*)
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5736 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5737 if ${wine_cv_thumb2+:} false; then :
5738 $as_echo_n "(cached) " >&6
5739 else
5740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5741 /* end confdefs.h. */
5744 main ()
5746 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5748 return 0;
5750 _ACEOF
5751 if ac_fn_c_try_link "$LINENO"; then :
5752 wine_cv_thumb2=yes
5753 else
5754 wine_cv_thumb2=no
5756 rm -f core conftest.err conftest.$ac_objext \
5757 conftest$ac_exeext conftest.$ac_ext
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5760 $as_echo "$wine_cv_thumb2" >&6; }
5761 if test x"$wine_cv_thumb2" = xyes
5762 then
5763 CFLAGS="$CFLAGS -mthumb"
5764 TARGETFLAGS="$TARGETFLAGS -mthumb"
5765 else
5766 CFLAGS="$CFLAGS -marm"
5767 TARGETFLAGS="$TARGETFLAGS -marm"
5769 case $with_float_abi in
5770 soft|softfp|hard)
5771 float_abi=$with_float_abi ;;
5773 case $host_os in
5774 *eabihf)
5775 float_abi=hard ;;
5777 float_abi=softfp
5778 saved_CFLAGS=$CFLAGS
5779 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5781 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5782 if ${wine_cv_float_abi+:} false; then :
5783 $as_echo_n "(cached) " >&6
5784 else
5785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5786 /* end confdefs.h. */
5789 main ()
5791 asm("vmrs r2,fpscr");
5793 return 0;
5795 _ACEOF
5796 if ac_fn_c_try_link "$LINENO"; then :
5797 wine_cv_float_abi=yes
5798 else
5799 wine_cv_float_abi=no
5801 rm -f core conftest.err conftest.$ac_objext \
5802 conftest$ac_exeext conftest.$ac_ext
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5805 $as_echo "$wine_cv_float_abi" >&6; }
5806 if test $wine_cv_float_abi = no
5807 then
5808 float_abi=soft
5809 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5811 CFLAGS=$saved_CFLAGS
5812 esac
5814 esac
5815 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5816 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5818 aarch64*)
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5820 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5821 if ${wine_cv_builtin_ms_va_list+:} false; then :
5822 $as_echo_n "(cached) " >&6
5823 else
5824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5826 #include <stdarg.h>
5828 main ()
5830 void func(__builtin_ms_va_list *args);
5832 return 0;
5834 _ACEOF
5835 if ac_fn_c_try_compile "$LINENO"; then :
5836 wine_cv_builtin_ms_va_list=yes
5837 else
5838 wine_cv_builtin_ms_va_list=no
5840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5843 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5844 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5846 i[3456789]86*)
5847 enable_win16=${enable_win16:-yes}
5848 with_unwind=${with_unwind:-no}
5850 esac
5852 enable_win16=${enable_win16:-no}
5853 enable_win64=${enable_win64:-no}
5854 enable_wow64cpu=${enable_wow64cpu:-no}
5856 enable_winetest=${enable_winetest:-$enable_tests}
5858 if test "x$enable_win64" = "xyes"
5859 then
5860 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5861 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5862 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5866 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5867 if ${wine_cv_toolsdir+:} false; then :
5868 $as_echo_n "(cached) " >&6
5869 else
5870 wine_cv_toolsdir="$with_wine_tools"
5871 if test -z "$with_wine_tools"; then
5872 if test "$cross_compiling" = "yes"; then
5873 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5874 elif test -n "$with_wine64"; then
5875 wine_cv_toolsdir="$with_wine64"
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5880 $as_echo "$wine_cv_toolsdir" >&6; }
5881 if test -z "$wine_cv_toolsdir"; then
5882 wine_makedep=tools/makedep
5883 TOOLSDIR="."
5885 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5886 wine_makedep=$wine_cv_toolsdir/tools/makedep
5887 TOOLSDIR=$wine_cv_toolsdir
5889 enable_tools=${enable_tools:-no}
5890 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5891 else
5892 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5894 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5895 then
5896 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5899 for ac_prog in flex
5901 # Extract the first word of "$ac_prog", so it can be a program name with args.
5902 set dummy $ac_prog; ac_word=$2
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5904 $as_echo_n "checking for $ac_word... " >&6; }
5905 if ${ac_cv_prog_FLEX+:} false; then :
5906 $as_echo_n "(cached) " >&6
5907 else
5908 if test -n "$FLEX"; then
5909 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5910 else
5911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5912 for as_dir in $PATH
5914 IFS=$as_save_IFS
5915 test -z "$as_dir" && as_dir=.
5916 for ac_exec_ext in '' $ac_executable_extensions; do
5917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5918 ac_cv_prog_FLEX="$ac_prog"
5919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 break 2
5922 done
5923 done
5924 IFS=$as_save_IFS
5928 FLEX=$ac_cv_prog_FLEX
5929 if test -n "$FLEX"; then
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5931 $as_echo "$FLEX" >&6; }
5932 else
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934 $as_echo "no" >&6; }
5938 test -n "$FLEX" && break
5939 done
5940 test -n "$FLEX" || FLEX="none"
5942 if test "$FLEX" = "none"
5943 then
5944 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5947 $as_echo_n "checking whether flex is recent enough... " >&6; }
5948 if ${wine_cv_recent_flex+:} false; then :
5949 $as_echo_n "(cached) " >&6
5950 else
5951 cat >conftest.l <<EOF
5952 %top{
5953 #include "prediluvian.h"
5957 if $FLEX -t conftest.l >/dev/null 2>&5
5958 then
5959 wine_cv_recent_flex=yes
5960 else
5961 wine_cv_recent_flex=no
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5965 $as_echo "$wine_cv_recent_flex" >&6; }
5966 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
5968 for ac_prog in bison
5970 # Extract the first word of "$ac_prog", so it can be a program name with args.
5971 set dummy $ac_prog; ac_word=$2
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5973 $as_echo_n "checking for $ac_word... " >&6; }
5974 if ${ac_cv_prog_BISON+:} false; then :
5975 $as_echo_n "(cached) " >&6
5976 else
5977 if test -n "$BISON"; then
5978 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5979 else
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $PATH
5983 IFS=$as_save_IFS
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_prog_BISON="$ac_prog"
5988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 break 2
5991 done
5992 done
5993 IFS=$as_save_IFS
5997 BISON=$ac_cv_prog_BISON
5998 if test -n "$BISON"; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6000 $as_echo "$BISON" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6003 $as_echo "no" >&6; }
6007 test -n "$BISON" && break
6008 done
6009 test -n "$BISON" || BISON="none"
6011 if test "$BISON" = "none"
6012 then
6013 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6016 $as_echo_n "checking whether bison is recent enough... " >&6; }
6017 if ${wine_cv_recent_bison+:} false; then :
6018 $as_echo_n "(cached) " >&6
6019 else
6020 cat >conftest.y <<EOF
6021 %define parse.error verbose
6023 empty: ;
6025 if $BISON conftest.y >/dev/null 2>&5
6026 then
6027 wine_cv_recent_bison=yes
6028 else
6029 wine_cv_recent_bison=no
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6033 $as_echo "$wine_cv_recent_bison" >&6; }
6034 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
6036 if test -n "$ac_tool_prefix"; then
6037 for ac_prog in ar gar
6039 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6040 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6042 $as_echo_n "checking for $ac_word... " >&6; }
6043 if ${ac_cv_prog_AR+:} false; then :
6044 $as_echo_n "(cached) " >&6
6045 else
6046 if test -n "$AR"; then
6047 ac_cv_prog_AR="$AR" # Let the user override the test.
6048 else
6049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6050 for as_dir in $PATH
6052 IFS=$as_save_IFS
6053 test -z "$as_dir" && as_dir=.
6054 for ac_exec_ext in '' $ac_executable_extensions; do
6055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6056 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6058 break 2
6060 done
6061 done
6062 IFS=$as_save_IFS
6066 AR=$ac_cv_prog_AR
6067 if test -n "$AR"; then
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6069 $as_echo "$AR" >&6; }
6070 else
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6072 $as_echo "no" >&6; }
6076 test -n "$AR" && break
6077 done
6079 if test -z "$AR"; then
6080 ac_ct_AR=$AR
6081 for ac_prog in ar gar
6083 # Extract the first word of "$ac_prog", so it can be a program name with args.
6084 set dummy $ac_prog; ac_word=$2
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6086 $as_echo_n "checking for $ac_word... " >&6; }
6087 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6088 $as_echo_n "(cached) " >&6
6089 else
6090 if test -n "$ac_ct_AR"; then
6091 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6092 else
6093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6094 for as_dir in $PATH
6096 IFS=$as_save_IFS
6097 test -z "$as_dir" && as_dir=.
6098 for ac_exec_ext in '' $ac_executable_extensions; do
6099 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6100 ac_cv_prog_ac_ct_AR="$ac_prog"
6101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6102 break 2
6104 done
6105 done
6106 IFS=$as_save_IFS
6110 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6111 if test -n "$ac_ct_AR"; then
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6113 $as_echo "$ac_ct_AR" >&6; }
6114 else
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 $as_echo "no" >&6; }
6120 test -n "$ac_ct_AR" && break
6121 done
6123 if test "x$ac_ct_AR" = x; then
6124 AR="ar"
6125 else
6126 case $cross_compiling:$ac_tool_warned in
6127 yes:)
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6130 ac_tool_warned=yes ;;
6131 esac
6132 AR=$ac_ct_AR
6136 if test -n "$ac_tool_prefix"; then
6137 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6138 set dummy ${ac_tool_prefix}strip; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if ${ac_cv_prog_STRIP+:} false; then :
6142 $as_echo_n "(cached) " >&6
6143 else
6144 if test -n "$STRIP"; then
6145 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6150 IFS=$as_save_IFS
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6154 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156 break 2
6158 done
6159 done
6160 IFS=$as_save_IFS
6164 STRIP=$ac_cv_prog_STRIP
6165 if test -n "$STRIP"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6167 $as_echo "$STRIP" >&6; }
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6175 if test -z "$ac_cv_prog_STRIP"; then
6176 ac_ct_STRIP=$STRIP
6177 # Extract the first word of "strip", so it can be a program name with args.
6178 set dummy strip; ac_word=$2
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180 $as_echo_n "checking for $ac_word... " >&6; }
6181 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6182 $as_echo_n "(cached) " >&6
6183 else
6184 if test -n "$ac_ct_STRIP"; then
6185 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6186 else
6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6188 for as_dir in $PATH
6190 IFS=$as_save_IFS
6191 test -z "$as_dir" && as_dir=.
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6194 ac_cv_prog_ac_ct_STRIP="strip"
6195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6196 break 2
6198 done
6199 done
6200 IFS=$as_save_IFS
6204 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6205 if test -n "$ac_ct_STRIP"; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6207 $as_echo "$ac_ct_STRIP" >&6; }
6208 else
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210 $as_echo "no" >&6; }
6213 if test "x$ac_ct_STRIP" = x; then
6214 STRIP="strip"
6215 else
6216 case $cross_compiling:$ac_tool_warned in
6217 yes:)
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6220 ac_tool_warned=yes ;;
6221 esac
6222 STRIP=$ac_ct_STRIP
6224 else
6225 STRIP="$ac_cv_prog_STRIP"
6228 if test -n "$ac_tool_prefix"; then
6229 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6230 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6232 $as_echo_n "checking for $ac_word... " >&6; }
6233 if ${ac_cv_prog_RANLIB+:} false; then :
6234 $as_echo_n "(cached) " >&6
6235 else
6236 if test -n "$RANLIB"; then
6237 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6238 else
6239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 for as_dir in $PATH
6242 IFS=$as_save_IFS
6243 test -z "$as_dir" && as_dir=.
6244 for ac_exec_ext in '' $ac_executable_extensions; do
6245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6246 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6248 break 2
6250 done
6251 done
6252 IFS=$as_save_IFS
6256 RANLIB=$ac_cv_prog_RANLIB
6257 if test -n "$RANLIB"; then
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6259 $as_echo "$RANLIB" >&6; }
6260 else
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6262 $as_echo "no" >&6; }
6267 if test -z "$ac_cv_prog_RANLIB"; then
6268 ac_ct_RANLIB=$RANLIB
6269 # Extract the first word of "ranlib", so it can be a program name with args.
6270 set dummy ranlib; ac_word=$2
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6272 $as_echo_n "checking for $ac_word... " >&6; }
6273 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6274 $as_echo_n "(cached) " >&6
6275 else
6276 if test -n "$ac_ct_RANLIB"; then
6277 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6278 else
6279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6280 for as_dir in $PATH
6282 IFS=$as_save_IFS
6283 test -z "$as_dir" && as_dir=.
6284 for ac_exec_ext in '' $ac_executable_extensions; do
6285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6286 ac_cv_prog_ac_ct_RANLIB="ranlib"
6287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6288 break 2
6290 done
6291 done
6292 IFS=$as_save_IFS
6296 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6297 if test -n "$ac_ct_RANLIB"; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6299 $as_echo "$ac_ct_RANLIB" >&6; }
6300 else
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6305 if test "x$ac_ct_RANLIB" = x; then
6306 RANLIB=":"
6307 else
6308 case $cross_compiling:$ac_tool_warned in
6309 yes:)
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6312 ac_tool_warned=yes ;;
6313 esac
6314 RANLIB=$ac_ct_RANLIB
6316 else
6317 RANLIB="$ac_cv_prog_RANLIB"
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6321 $as_echo_n "checking whether ln -s works... " >&6; }
6322 LN_S=$as_ln_s
6323 if test "$LN_S" = "ln -s"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6325 $as_echo "yes" >&6; }
6326 else
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6328 $as_echo "no, using $LN_S" >&6; }
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6332 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6333 if ${ac_cv_path_GREP+:} false; then :
6334 $as_echo_n "(cached) " >&6
6335 else
6336 if test -z "$GREP"; then
6337 ac_path_GREP_found=false
6338 # Loop through the user's path and test for each of PROGNAME-LIST
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6342 IFS=$as_save_IFS
6343 test -z "$as_dir" && as_dir=.
6344 for ac_prog in grep ggrep; do
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6347 as_fn_executable_p "$ac_path_GREP" || continue
6348 # Check for GNU ac_path_GREP and select it if it is found.
6349 # Check for GNU $ac_path_GREP
6350 case `"$ac_path_GREP" --version 2>&1` in
6351 *GNU*)
6352 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6354 ac_count=0
6355 $as_echo_n 0123456789 >"conftest.in"
6356 while :
6358 cat "conftest.in" "conftest.in" >"conftest.tmp"
6359 mv "conftest.tmp" "conftest.in"
6360 cp "conftest.in" "conftest.nl"
6361 $as_echo 'GREP' >> "conftest.nl"
6362 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6363 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6364 as_fn_arith $ac_count + 1 && ac_count=$as_val
6365 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6366 # Best one so far, save it but keep looking for a better one
6367 ac_cv_path_GREP="$ac_path_GREP"
6368 ac_path_GREP_max=$ac_count
6370 # 10*(2^10) chars as input seems more than enough
6371 test $ac_count -gt 10 && break
6372 done
6373 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6374 esac
6376 $ac_path_GREP_found && break 3
6377 done
6378 done
6379 done
6380 IFS=$as_save_IFS
6381 if test -z "$ac_cv_path_GREP"; then
6382 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6384 else
6385 ac_cv_path_GREP=$GREP
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6390 $as_echo "$ac_cv_path_GREP" >&6; }
6391 GREP="$ac_cv_path_GREP"
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6395 $as_echo_n "checking for egrep... " >&6; }
6396 if ${ac_cv_path_EGREP+:} false; then :
6397 $as_echo_n "(cached) " >&6
6398 else
6399 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6400 then ac_cv_path_EGREP="$GREP -E"
6401 else
6402 if test -z "$EGREP"; then
6403 ac_path_EGREP_found=false
6404 # Loop through the user's path and test for each of PROGNAME-LIST
6405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6408 IFS=$as_save_IFS
6409 test -z "$as_dir" && as_dir=.
6410 for ac_prog in egrep; do
6411 for ac_exec_ext in '' $ac_executable_extensions; do
6412 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6413 as_fn_executable_p "$ac_path_EGREP" || continue
6414 # Check for GNU ac_path_EGREP and select it if it is found.
6415 # Check for GNU $ac_path_EGREP
6416 case `"$ac_path_EGREP" --version 2>&1` in
6417 *GNU*)
6418 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6420 ac_count=0
6421 $as_echo_n 0123456789 >"conftest.in"
6422 while :
6424 cat "conftest.in" "conftest.in" >"conftest.tmp"
6425 mv "conftest.tmp" "conftest.in"
6426 cp "conftest.in" "conftest.nl"
6427 $as_echo 'EGREP' >> "conftest.nl"
6428 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6430 as_fn_arith $ac_count + 1 && ac_count=$as_val
6431 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6432 # Best one so far, save it but keep looking for a better one
6433 ac_cv_path_EGREP="$ac_path_EGREP"
6434 ac_path_EGREP_max=$ac_count
6436 # 10*(2^10) chars as input seems more than enough
6437 test $ac_count -gt 10 && break
6438 done
6439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6440 esac
6442 $ac_path_EGREP_found && break 3
6443 done
6444 done
6445 done
6446 IFS=$as_save_IFS
6447 if test -z "$ac_cv_path_EGREP"; then
6448 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6450 else
6451 ac_cv_path_EGREP=$EGREP
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6457 $as_echo "$ac_cv_path_EGREP" >&6; }
6458 EGREP="$ac_cv_path_EGREP"
6461 # Extract the first word of "ldconfig", so it can be a program name with args.
6462 set dummy ldconfig; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 $as_echo_n "checking for $ac_word... " >&6; }
6465 if ${ac_cv_path_LDCONFIG+:} false; then :
6466 $as_echo_n "(cached) " >&6
6467 else
6468 case $LDCONFIG in
6469 [\\/]* | ?:[\\/]*)
6470 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 for as_dir in /sbin /usr/sbin $PATH
6476 IFS=$as_save_IFS
6477 test -z "$as_dir" && as_dir=.
6478 for ac_exec_ext in '' $ac_executable_extensions; do
6479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6480 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6482 break 2
6484 done
6485 done
6486 IFS=$as_save_IFS
6488 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6490 esac
6492 LDCONFIG=$ac_cv_path_LDCONFIG
6493 if test -n "$LDCONFIG"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6495 $as_echo "$LDCONFIG" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6502 for ac_prog in msgfmt
6504 # Extract the first word of "$ac_prog", so it can be a program name with args.
6505 set dummy $ac_prog; ac_word=$2
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6507 $as_echo_n "checking for $ac_word... " >&6; }
6508 if ${ac_cv_prog_MSGFMT+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 if test -n "$MSGFMT"; then
6512 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6513 else
6514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 for as_dir in $PATH
6517 IFS=$as_save_IFS
6518 test -z "$as_dir" && as_dir=.
6519 for ac_exec_ext in '' $ac_executable_extensions; do
6520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_MSGFMT="$ac_prog"
6522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6523 break 2
6525 done
6526 done
6527 IFS=$as_save_IFS
6531 MSGFMT=$ac_cv_prog_MSGFMT
6532 if test -n "$MSGFMT"; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6534 $as_echo "$MSGFMT" >&6; }
6535 else
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 $as_echo "no" >&6; }
6541 test -n "$MSGFMT" && break
6542 done
6543 test -n "$MSGFMT" || MSGFMT="false"
6545 if ${ac_tool_prefix+:} false; then :
6546 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6547 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6549 $as_echo_n "checking for $ac_word... " >&6; }
6550 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6551 $as_echo_n "(cached) " >&6
6552 else
6553 if test -n "$PKG_CONFIG"; then
6554 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6555 else
6556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6557 for as_dir in $PATH
6559 IFS=$as_save_IFS
6560 test -z "$as_dir" && as_dir=.
6561 for ac_exec_ext in '' $ac_executable_extensions; do
6562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6563 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6565 break 2
6567 done
6568 done
6569 IFS=$as_save_IFS
6573 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6574 if test -n "$PKG_CONFIG"; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6576 $as_echo "$PKG_CONFIG" >&6; }
6577 else
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6579 $as_echo "no" >&6; }
6584 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6585 if test "x$cross_compiling" = xyes; then :
6587 else
6588 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6589 # Extract the first word of "pkg-config", so it can be a program name with args.
6590 set dummy pkg-config; ac_word=$2
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6592 $as_echo_n "checking for $ac_word... " >&6; }
6593 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6594 $as_echo_n "(cached) " >&6
6595 else
6596 if test -n "$PKG_CONFIG"; then
6597 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6598 else
6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6600 for as_dir in $PATH
6602 IFS=$as_save_IFS
6603 test -z "$as_dir" && as_dir=.
6604 for ac_exec_ext in '' $ac_executable_extensions; do
6605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6606 ac_cv_prog_PKG_CONFIG="pkg-config"
6607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6608 break 2
6610 done
6611 done
6612 IFS=$as_save_IFS
6616 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6617 if test -n "$PKG_CONFIG"; then
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6619 $as_echo "$PKG_CONFIG" >&6; }
6620 else
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6622 $as_echo "no" >&6; }
6627 else
6628 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6631 if test "x$enable_maintainer_mode" != "xyes"
6632 then
6633 FONTFORGE=""
6634 RSVG=""
6635 CONVERT=""
6636 ICOTOOL=""
6637 else
6638 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6639 for ac_prog in fontforge
6641 # Extract the first word of "$ac_prog", so it can be a program name with args.
6642 set dummy $ac_prog; ac_word=$2
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 $as_echo_n "checking for $ac_word... " >&6; }
6645 if ${ac_cv_prog_FONTFORGE+:} false; then :
6646 $as_echo_n "(cached) " >&6
6647 else
6648 if test -n "$FONTFORGE"; then
6649 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6650 else
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 for as_dir in $PATH
6654 IFS=$as_save_IFS
6655 test -z "$as_dir" && as_dir=.
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6658 ac_cv_prog_FONTFORGE="$ac_prog"
6659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660 break 2
6662 done
6663 done
6664 IFS=$as_save_IFS
6668 FONTFORGE=$ac_cv_prog_FONTFORGE
6669 if test -n "$FONTFORGE"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6671 $as_echo "$FONTFORGE" >&6; }
6672 else
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6678 test -n "$FONTFORGE" && break
6679 done
6680 test -n "$FONTFORGE" || FONTFORGE="false"
6682 for ac_prog in rsvg-convert rsvg
6684 # Extract the first word of "$ac_prog", so it can be a program name with args.
6685 set dummy $ac_prog; ac_word=$2
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6687 $as_echo_n "checking for $ac_word... " >&6; }
6688 if ${ac_cv_prog_RSVG+:} false; then :
6689 $as_echo_n "(cached) " >&6
6690 else
6691 if test -n "$RSVG"; then
6692 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6693 else
6694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6695 for as_dir in $PATH
6697 IFS=$as_save_IFS
6698 test -z "$as_dir" && as_dir=.
6699 for ac_exec_ext in '' $ac_executable_extensions; do
6700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6701 ac_cv_prog_RSVG="$ac_prog"
6702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6703 break 2
6705 done
6706 done
6707 IFS=$as_save_IFS
6711 RSVG=$ac_cv_prog_RSVG
6712 if test -n "$RSVG"; then
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6714 $as_echo "$RSVG" >&6; }
6715 else
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6717 $as_echo "no" >&6; }
6721 test -n "$RSVG" && break
6722 done
6723 test -n "$RSVG" || RSVG="false"
6725 for ac_prog in convert
6727 # Extract the first word of "$ac_prog", so it can be a program name with args.
6728 set dummy $ac_prog; ac_word=$2
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6730 $as_echo_n "checking for $ac_word... " >&6; }
6731 if ${ac_cv_prog_CONVERT+:} false; then :
6732 $as_echo_n "(cached) " >&6
6733 else
6734 if test -n "$CONVERT"; then
6735 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6736 else
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6738 for as_dir in $PATH
6740 IFS=$as_save_IFS
6741 test -z "$as_dir" && as_dir=.
6742 for ac_exec_ext in '' $ac_executable_extensions; do
6743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6744 ac_cv_prog_CONVERT="$ac_prog"
6745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6746 break 2
6748 done
6749 done
6750 IFS=$as_save_IFS
6754 CONVERT=$ac_cv_prog_CONVERT
6755 if test -n "$CONVERT"; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6757 $as_echo "$CONVERT" >&6; }
6758 else
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 $as_echo "no" >&6; }
6764 test -n "$CONVERT" && break
6765 done
6766 test -n "$CONVERT" || CONVERT="false"
6768 for ac_prog in icotool
6770 # Extract the first word of "$ac_prog", so it can be a program name with args.
6771 set dummy $ac_prog; ac_word=$2
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6773 $as_echo_n "checking for $ac_word... " >&6; }
6774 if ${ac_cv_prog_ICOTOOL+:} false; then :
6775 $as_echo_n "(cached) " >&6
6776 else
6777 if test -n "$ICOTOOL"; then
6778 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6779 else
6780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6781 for as_dir in $PATH
6783 IFS=$as_save_IFS
6784 test -z "$as_dir" && as_dir=.
6785 for ac_exec_ext in '' $ac_executable_extensions; do
6786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6787 ac_cv_prog_ICOTOOL="$ac_prog"
6788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6789 break 2
6791 done
6792 done
6793 IFS=$as_save_IFS
6797 ICOTOOL=$ac_cv_prog_ICOTOOL
6798 if test -n "$ICOTOOL"; then
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6800 $as_echo "$ICOTOOL" >&6; }
6801 else
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6803 $as_echo "no" >&6; }
6807 test -n "$ICOTOOL" && break
6808 done
6809 test -n "$ICOTOOL" || ICOTOOL="false"
6811 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6812 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6814 if test "$CONVERT" = false
6815 then
6816 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6817 else
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6819 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6820 convert_version=`convert --version | head -n1`
6821 if test "x$convert_version" != "x"
6822 then
6823 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6824 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6825 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6826 then
6827 CONVERT=false
6830 if test "$CONVERT" = false
6831 then
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6833 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6834 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6835 else
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6837 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6841 if test "$ICOTOOL" = false
6842 then
6843 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6844 else
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6846 $as_echo_n "checking for recent enough icotool... " >&6; }
6847 icotool_version=`icotool --version | head -n1`
6848 if test "x$icotool_version" != "x"
6849 then
6850 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6851 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6852 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6853 then
6854 ICOTOOL=false
6855 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6858 if test "$ICOTOOL" = false
6859 then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6861 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6862 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6863 else
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6865 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6869 with_gettext=yes
6870 with_gettextpo=yes
6872 enable_werror=yes
6875 test "x$with_gettext" != xno || MSGFMT=false
6876 if test "$MSGFMT" != "false"
6877 then
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6879 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6880 if ${wine_cv_msgfmt_contexts+:} false; then :
6881 $as_echo_n "(cached) " >&6
6882 else
6883 cat >conftest.po <<EOF
6884 # comment
6885 msgctxt "ctxt"
6886 msgid "id"
6887 msgstr "str"
6889 if $MSGFMT -o /dev/null conftest.po 2>&5
6890 then
6891 wine_cv_msgfmt_contexts=yes
6892 else
6893 wine_cv_msgfmt_contexts=no
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6897 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6898 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6900 if test "$MSGFMT" = false; then :
6901 case "x$with_gettext" in
6902 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6903 xno) ;;
6904 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6905 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6906 esac
6907 enable_po=${enable_po:-no}
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6912 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6913 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6914 $as_echo_n "(cached) " >&6
6915 else
6916 ac_check_lib_save_LIBS=$LIBS
6917 LIBS="-li386 $LIBS"
6918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6919 /* end confdefs.h. */
6921 /* Override any GCC internal prototype to avoid an error.
6922 Use char because int might match the return type of a GCC
6923 builtin and then its argument prototype would still apply. */
6924 #ifdef __cplusplus
6925 extern "C"
6926 #endif
6927 char i386_set_ldt ();
6929 main ()
6931 return i386_set_ldt ();
6933 return 0;
6935 _ACEOF
6936 if ac_fn_c_try_link "$LINENO"; then :
6937 ac_cv_lib_i386_i386_set_ldt=yes
6938 else
6939 ac_cv_lib_i386_i386_set_ldt=no
6941 rm -f core conftest.err conftest.$ac_objext \
6942 conftest$ac_exeext conftest.$ac_ext
6943 LIBS=$ac_check_lib_save_LIBS
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6946 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6947 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6948 I386_LIBS="-li386"
6953 OPENGL_LIBS=""
6957 # Check whether --enable-largefile was given.
6958 if test "${enable_largefile+set}" = set; then :
6959 enableval=$enable_largefile;
6962 if test "$enable_largefile" != no; then
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6965 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6966 if ${ac_cv_sys_largefile_CC+:} false; then :
6967 $as_echo_n "(cached) " >&6
6968 else
6969 ac_cv_sys_largefile_CC=no
6970 if test "$GCC" != yes; then
6971 ac_save_CC=$CC
6972 while :; do
6973 # IRIX 6.2 and later do not support large files by default,
6974 # so use the C compiler's -n32 option if that helps.
6975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6976 /* end confdefs.h. */
6977 #include <sys/types.h>
6978 /* Check that off_t can represent 2**63 - 1 correctly.
6979 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6980 since some C++ compilers masquerading as C compilers
6981 incorrectly reject 9223372036854775807. */
6982 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6983 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6984 && LARGE_OFF_T % 2147483647 == 1)
6985 ? 1 : -1];
6987 main ()
6991 return 0;
6993 _ACEOF
6994 if ac_fn_c_try_compile "$LINENO"; then :
6995 break
6997 rm -f core conftest.err conftest.$ac_objext
6998 CC="$CC -n32"
6999 if ac_fn_c_try_compile "$LINENO"; then :
7000 ac_cv_sys_largefile_CC=' -n32'; break
7002 rm -f core conftest.err conftest.$ac_objext
7003 break
7004 done
7005 CC=$ac_save_CC
7006 rm -f conftest.$ac_ext
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7010 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7011 if test "$ac_cv_sys_largefile_CC" != no; then
7012 CC=$CC$ac_cv_sys_largefile_CC
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7016 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7017 if ${ac_cv_sys_file_offset_bits+:} false; then :
7018 $as_echo_n "(cached) " >&6
7019 else
7020 while :; do
7021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7022 /* end confdefs.h. */
7023 #include <sys/types.h>
7024 /* Check that off_t can represent 2**63 - 1 correctly.
7025 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7026 since some C++ compilers masquerading as C compilers
7027 incorrectly reject 9223372036854775807. */
7028 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7029 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7030 && LARGE_OFF_T % 2147483647 == 1)
7031 ? 1 : -1];
7033 main ()
7037 return 0;
7039 _ACEOF
7040 if ac_fn_c_try_compile "$LINENO"; then :
7041 ac_cv_sys_file_offset_bits=no; break
7043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7045 /* end confdefs.h. */
7046 #define _FILE_OFFSET_BITS 64
7047 #include <sys/types.h>
7048 /* Check that off_t can represent 2**63 - 1 correctly.
7049 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7050 since some C++ compilers masquerading as C compilers
7051 incorrectly reject 9223372036854775807. */
7052 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7053 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7054 && LARGE_OFF_T % 2147483647 == 1)
7055 ? 1 : -1];
7057 main ()
7061 return 0;
7063 _ACEOF
7064 if ac_fn_c_try_compile "$LINENO"; then :
7065 ac_cv_sys_file_offset_bits=64; break
7067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7068 ac_cv_sys_file_offset_bits=unknown
7069 break
7070 done
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7073 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7074 case $ac_cv_sys_file_offset_bits in #(
7075 no | unknown) ;;
7077 cat >>confdefs.h <<_ACEOF
7078 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7079 _ACEOF
7081 esac
7082 rm -rf conftest*
7083 if test $ac_cv_sys_file_offset_bits = unknown; then
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7085 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7086 if ${ac_cv_sys_large_files+:} false; then :
7087 $as_echo_n "(cached) " >&6
7088 else
7089 while :; do
7090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7091 /* end confdefs.h. */
7092 #include <sys/types.h>
7093 /* Check that off_t can represent 2**63 - 1 correctly.
7094 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7095 since some C++ compilers masquerading as C compilers
7096 incorrectly reject 9223372036854775807. */
7097 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7098 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7099 && LARGE_OFF_T % 2147483647 == 1)
7100 ? 1 : -1];
7102 main ()
7106 return 0;
7108 _ACEOF
7109 if ac_fn_c_try_compile "$LINENO"; then :
7110 ac_cv_sys_large_files=no; break
7112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h. */
7115 #define _LARGE_FILES 1
7116 #include <sys/types.h>
7117 /* Check that off_t can represent 2**63 - 1 correctly.
7118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7119 since some C++ compilers masquerading as C compilers
7120 incorrectly reject 9223372036854775807. */
7121 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7123 && LARGE_OFF_T % 2147483647 == 1)
7124 ? 1 : -1];
7126 main ()
7130 return 0;
7132 _ACEOF
7133 if ac_fn_c_try_compile "$LINENO"; then :
7134 ac_cv_sys_large_files=1; break
7136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7137 ac_cv_sys_large_files=unknown
7138 break
7139 done
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7142 $as_echo "$ac_cv_sys_large_files" >&6; }
7143 case $ac_cv_sys_large_files in #(
7144 no | unknown) ;;
7146 cat >>confdefs.h <<_ACEOF
7147 #define _LARGE_FILES $ac_cv_sys_large_files
7148 _ACEOF
7150 esac
7151 rm -rf conftest*
7158 ac_ext=c
7159 ac_cpp='$CPP $CPPFLAGS'
7160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7164 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7165 # On Suns, sometimes $CPP names a directory.
7166 if test -n "$CPP" && test -d "$CPP"; then
7167 CPP=
7169 if test -z "$CPP"; then
7170 if ${ac_cv_prog_CPP+:} false; then :
7171 $as_echo_n "(cached) " >&6
7172 else
7173 # Double quotes because CPP needs to be expanded
7174 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7176 ac_preproc_ok=false
7177 for ac_c_preproc_warn_flag in '' yes
7179 # Use a header file that comes with gcc, so configuring glibc
7180 # with a fresh cross-compiler works.
7181 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7182 # <limits.h> exists even on freestanding compilers.
7183 # On the NeXT, cc -E runs the code through the compiler's parser,
7184 # not just through cpp. "Syntax error" is here to catch this case.
7185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7186 /* end confdefs.h. */
7187 #ifdef __STDC__
7188 # include <limits.h>
7189 #else
7190 # include <assert.h>
7191 #endif
7192 Syntax error
7193 _ACEOF
7194 if ac_fn_c_try_cpp "$LINENO"; then :
7196 else
7197 # Broken: fails on valid input.
7198 continue
7200 rm -f conftest.err conftest.i conftest.$ac_ext
7202 # OK, works on sane cases. Now check whether nonexistent headers
7203 # can be detected and how.
7204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7205 /* end confdefs.h. */
7206 #include <ac_nonexistent.h>
7207 _ACEOF
7208 if ac_fn_c_try_cpp "$LINENO"; then :
7209 # Broken: success on invalid input.
7210 continue
7211 else
7212 # Passes both tests.
7213 ac_preproc_ok=:
7214 break
7216 rm -f conftest.err conftest.i conftest.$ac_ext
7218 done
7219 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7220 rm -f conftest.i conftest.err conftest.$ac_ext
7221 if $ac_preproc_ok; then :
7222 break
7225 done
7226 ac_cv_prog_CPP=$CPP
7229 CPP=$ac_cv_prog_CPP
7230 else
7231 ac_cv_prog_CPP=$CPP
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7234 $as_echo "$CPP" >&6; }
7235 ac_preproc_ok=false
7236 for ac_c_preproc_warn_flag in '' yes
7238 # Use a header file that comes with gcc, so configuring glibc
7239 # with a fresh cross-compiler works.
7240 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7241 # <limits.h> exists even on freestanding compilers.
7242 # On the NeXT, cc -E runs the code through the compiler's parser,
7243 # not just through cpp. "Syntax error" is here to catch this case.
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7246 #ifdef __STDC__
7247 # include <limits.h>
7248 #else
7249 # include <assert.h>
7250 #endif
7251 Syntax error
7252 _ACEOF
7253 if ac_fn_c_try_cpp "$LINENO"; then :
7255 else
7256 # Broken: fails on valid input.
7257 continue
7259 rm -f conftest.err conftest.i conftest.$ac_ext
7261 # OK, works on sane cases. Now check whether nonexistent headers
7262 # can be detected and how.
7263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7264 /* end confdefs.h. */
7265 #include <ac_nonexistent.h>
7266 _ACEOF
7267 if ac_fn_c_try_cpp "$LINENO"; then :
7268 # Broken: success on invalid input.
7269 continue
7270 else
7271 # Passes both tests.
7272 ac_preproc_ok=:
7273 break
7275 rm -f conftest.err conftest.i conftest.$ac_ext
7277 done
7278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7279 rm -f conftest.i conftest.err conftest.$ac_ext
7280 if $ac_preproc_ok; then :
7282 else
7283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7285 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7286 See \`config.log' for more details" "$LINENO" 5; }
7289 ac_ext=c
7290 ac_cpp='$CPP $CPPFLAGS'
7291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7297 $as_echo_n "checking for ANSI C header files... " >&6; }
7298 if ${ac_cv_header_stdc+:} false; then :
7299 $as_echo_n "(cached) " >&6
7300 else
7301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7302 /* end confdefs.h. */
7303 #include <stdlib.h>
7304 #include <stdarg.h>
7305 #include <string.h>
7306 #include <float.h>
7309 main ()
7313 return 0;
7315 _ACEOF
7316 if ac_fn_c_try_compile "$LINENO"; then :
7317 ac_cv_header_stdc=yes
7318 else
7319 ac_cv_header_stdc=no
7321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7323 if test $ac_cv_header_stdc = yes; then
7324 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7326 /* end confdefs.h. */
7327 #include <string.h>
7329 _ACEOF
7330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7331 $EGREP "memchr" >/dev/null 2>&1; then :
7333 else
7334 ac_cv_header_stdc=no
7336 rm -f conftest*
7340 if test $ac_cv_header_stdc = yes; then
7341 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7343 /* end confdefs.h. */
7344 #include <stdlib.h>
7346 _ACEOF
7347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7348 $EGREP "free" >/dev/null 2>&1; then :
7350 else
7351 ac_cv_header_stdc=no
7353 rm -f conftest*
7357 if test $ac_cv_header_stdc = yes; then
7358 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7359 if test "$cross_compiling" = yes; then :
7361 else
7362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7363 /* end confdefs.h. */
7364 #include <ctype.h>
7365 #include <stdlib.h>
7366 #if ((' ' & 0x0FF) == 0x020)
7367 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7368 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7369 #else
7370 # define ISLOWER(c) \
7371 (('a' <= (c) && (c) <= 'i') \
7372 || ('j' <= (c) && (c) <= 'r') \
7373 || ('s' <= (c) && (c) <= 'z'))
7374 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7375 #endif
7377 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7379 main ()
7381 int i;
7382 for (i = 0; i < 256; i++)
7383 if (XOR (islower (i), ISLOWER (i))
7384 || toupper (i) != TOUPPER (i))
7385 return 2;
7386 return 0;
7388 _ACEOF
7389 if ac_fn_c_try_run "$LINENO"; then :
7391 else
7392 ac_cv_header_stdc=no
7394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7395 conftest.$ac_objext conftest.beam conftest.$ac_ext
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7401 $as_echo "$ac_cv_header_stdc" >&6; }
7402 if test $ac_cv_header_stdc = yes; then
7404 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7408 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7409 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7410 inttypes.h stdint.h unistd.h
7411 do :
7412 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7413 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7415 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7416 cat >>confdefs.h <<_ACEOF
7417 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7418 _ACEOF
7422 done
7425 for ac_header in \
7426 AL/al.h \
7427 ApplicationServices/ApplicationServices.h \
7428 AudioToolbox/AudioConverter.h \
7429 AudioUnit/AudioUnit.h \
7430 AudioUnit/AudioComponent.h \
7431 CL/cl.h \
7432 Carbon/Carbon.h \
7433 CommonCrypto/CommonCryptor.h \
7434 CoreAudio/CoreAudio.h \
7435 DiskArbitration/DiskArbitration.h \
7436 EGL/egl.h \
7437 IOKit/IOKitLib.h \
7438 IOKit/hid/IOHIDLib.h \
7439 OpenAL/al.h \
7440 OpenCL/opencl.h \
7441 QuickTime/ImageCompression.h \
7442 Security/Security.h \
7443 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7444 SystemConfiguration/SCNetworkConfiguration.h \
7445 alias.h \
7446 arpa/inet.h \
7447 arpa/nameser.h \
7448 asm/types.h \
7449 asm/user.h \
7450 dirent.h \
7451 dlfcn.h \
7452 elf.h \
7453 float.h \
7454 fnmatch.h \
7455 getopt.h \
7456 gettext-po.h \
7457 grp.h \
7458 gsm.h \
7459 gsm/gsm.h \
7460 ieeefp.h \
7461 inet/mib2.h \
7462 kstat.h \
7463 libproc.h \
7464 link.h \
7465 linux/cdrom.h \
7466 linux/filter.h \
7467 linux/hdreg.h \
7468 linux/hidraw.h \
7469 linux/input.h \
7470 linux/ioctl.h \
7471 linux/joystick.h \
7472 linux/major.h \
7473 linux/param.h \
7474 linux/serial.h \
7475 linux/types.h \
7476 linux/ucdrom.h \
7477 lwp.h \
7478 mach-o/loader.h \
7479 mach/mach.h \
7480 machine/cpu.h \
7481 machine/sysarch.h \
7482 mntent.h \
7483 netdb.h \
7484 netinet/in.h \
7485 netinet/in_systm.h \
7486 netinet/tcp.h \
7487 netinet/tcp_fsm.h \
7488 pcap/pcap.h \
7489 poll.h \
7490 port.h \
7491 pthread.h \
7492 pwd.h \
7493 sasl/sasl.h \
7494 sched.h \
7495 scsi/scsi.h \
7496 scsi/scsi_ioctl.h \
7497 scsi/sg.h \
7498 stdint.h \
7499 stropts.h \
7500 sys/attr.h \
7501 sys/auxv.h \
7502 sys/cdio.h \
7503 sys/epoll.h \
7504 sys/event.h \
7505 sys/filio.h \
7506 sys/ioctl.h \
7507 sys/ipc.h \
7508 sys/link.h \
7509 sys/mman.h \
7510 sys/modem.h \
7511 sys/msg.h \
7512 sys/mtio.h \
7513 sys/param.h \
7514 sys/poll.h \
7515 sys/prctl.h \
7516 sys/protosw.h \
7517 sys/ptrace.h \
7518 sys/queue.h \
7519 sys/random.h \
7520 sys/resource.h \
7521 sys/scsiio.h \
7522 sys/shm.h \
7523 sys/signal.h \
7524 sys/socket.h \
7525 sys/socketvar.h \
7526 sys/sockio.h \
7527 sys/statvfs.h \
7528 sys/strtio.h \
7529 sys/syscall.h \
7530 sys/sysinfo.h \
7531 sys/tihdr.h \
7532 sys/time.h \
7533 sys/timeout.h \
7534 sys/times.h \
7535 sys/uio.h \
7536 sys/user.h \
7537 sys/utsname.h \
7538 sys/vnode.h \
7539 sys/wait.h \
7540 syscall.h \
7541 termios.h \
7542 unistd.h \
7543 utime.h \
7544 valgrind/memcheck.h \
7545 valgrind/valgrind.h
7547 do :
7548 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7549 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7550 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7551 cat >>confdefs.h <<_ACEOF
7552 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7553 _ACEOF
7557 done
7559 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7560 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7562 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7567 if test $ac_cv_header_sys_mkdev_h = no; then
7568 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7569 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7571 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7578 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7579 if ${ac_cv_header_stat_broken+:} false; then :
7580 $as_echo_n "(cached) " >&6
7581 else
7582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7583 /* end confdefs.h. */
7584 #include <sys/types.h>
7585 #include <sys/stat.h>
7587 #if defined S_ISBLK && defined S_IFDIR
7588 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7589 #endif
7591 #if defined S_ISBLK && defined S_IFCHR
7592 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7593 #endif
7595 #if defined S_ISLNK && defined S_IFREG
7596 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7597 #endif
7599 #if defined S_ISSOCK && defined S_IFREG
7600 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7601 #endif
7603 _ACEOF
7604 if ac_fn_c_try_compile "$LINENO"; then :
7605 ac_cv_header_stat_broken=no
7606 else
7607 ac_cv_header_stat_broken=yes
7609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7612 $as_echo "$ac_cv_header_stat_broken" >&6; }
7613 if test $ac_cv_header_stat_broken = yes; then
7615 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7621 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7622 do :
7623 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7624 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7625 #ifdef HAVE_SYS_PARAM_H
7626 # include <sys/param.h>
7627 #endif
7629 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7630 cat >>confdefs.h <<_ACEOF
7631 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7632 _ACEOF
7636 done
7639 saved_sysctl_h_CFLAGS=$CFLAGS
7640 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7641 for ac_header in sys/sysctl.h
7642 do :
7643 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7644 #ifdef HAVE_SYS_PARAM_H
7645 # include <sys/param.h>
7646 #endif
7648 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7649 cat >>confdefs.h <<_ACEOF
7650 #define HAVE_SYS_SYSCTL_H 1
7651 _ACEOF
7655 done
7657 CFLAGS=$saved_sysctl_h_CFLAGS
7659 for ac_header in \
7660 netinet/ip.h \
7661 net/if.h \
7662 net/if_arp.h \
7663 net/if_dl.h \
7664 net/if_types.h \
7665 net/route.h \
7666 netinet/if_ether.h \
7667 netinet/if_inarp.h \
7668 netinet/in_pcb.h \
7669 netinet/ip_icmp.h \
7670 netinet/ip_var.h \
7671 netinet/udp.h \
7672 netipx/ipx.h \
7673 sys/un.h \
7675 do :
7676 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7677 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7678 #ifdef HAVE_SYS_SOCKET_H
7679 # include <sys/socket.h>
7680 #endif
7681 #ifdef HAVE_SYS_SOCKETVAR_H
7682 # include <sys/socketvar.h>
7683 #endif
7684 #ifdef HAVE_NET_ROUTE_H
7685 # include <net/route.h>
7686 #endif
7687 #ifdef HAVE_NETINET_IN_H
7688 # include <netinet/in.h>
7689 #endif
7690 #ifdef HAVE_NETINET_IN_SYSTM_H
7691 # include <netinet/in_systm.h>
7692 #endif
7693 #ifdef HAVE_NET_IF_H
7694 # include <net/if.h>
7695 #endif
7696 #ifdef HAVE_NETINET_IP_H
7697 # include <netinet/ip.h>
7698 #endif
7700 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7701 cat >>confdefs.h <<_ACEOF
7702 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7703 _ACEOF
7707 done
7710 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7711 do :
7712 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7713 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7714 #ifdef HAVE_ALIAS_H
7715 # include <alias.h>
7716 #endif
7717 #ifdef HAVE_SYS_SOCKET_H
7718 # include <sys/socket.h>
7719 #endif
7720 #ifdef HAVE_SYS_SOCKETVAR_H
7721 # include <sys/socketvar.h>
7722 #endif
7723 #ifdef HAVE_SYS_TIMEOUT_H
7724 # include <sys/timeout.h>
7725 #endif
7726 #ifdef HAVE_NETINET_IN_H
7727 # include <netinet/in.h>
7728 #endif
7729 #ifdef HAVE_NETINET_IN_SYSTM_H
7730 # include <netinet/in_systm.h>
7731 #endif
7732 #ifdef HAVE_NETINET_IP_H
7733 # include <netinet/ip.h>
7734 #endif
7735 #ifdef HAVE_NETINET_IP_VAR_H
7736 # include <netinet/ip_var.h>
7737 #endif
7738 #ifdef HAVE_NETINET_IP_ICMP_H
7739 # include <netinet/ip_icmp.h>
7740 #endif
7741 #ifdef HAVE_NETINET_UDP_H
7742 # include <netinet/udp.h>
7743 #endif
7744 #ifdef HAVE_NETINET_TCP_H
7745 # include <netinet/tcp.h>
7746 #endif
7747 #ifdef HAVE_NETINET_TCP_TIMER_H
7748 #include <netinet/tcp_timer.h>
7749 #endif
7751 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7752 cat >>confdefs.h <<_ACEOF
7753 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7754 _ACEOF
7758 done
7761 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7762 do :
7763 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7764 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7765 #ifdef HAVE_ASM_TYPES_H
7766 # include <asm/types.h>
7767 #endif
7768 #ifdef HAVE_SYS_SOCKET_H
7769 # include <sys/socket.h>
7770 #endif
7771 #ifdef HAVE_LINUX_TYPES_H
7772 # include <linux/types.h>
7773 #endif
7775 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7776 cat >>confdefs.h <<_ACEOF
7777 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7778 _ACEOF
7782 done
7785 for ac_header in resolv.h
7786 do :
7787 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7788 #ifdef HAVE_SYS_SOCKET_H
7789 # include <sys/socket.h>
7790 #endif
7791 #ifdef HAVE_NETINET_IN_H
7792 # include <netinet/in.h>
7793 #endif
7794 #ifdef HAVE_ARPA_NAMESER_H
7795 # include <arpa/nameser.h>
7796 #endif
7798 if test "x$ac_cv_header_resolv_h" = xyes; then :
7799 cat >>confdefs.h <<_ACEOF
7800 #define HAVE_RESOLV_H 1
7801 _ACEOF
7805 done
7808 for ac_header in ifaddrs.h
7809 do :
7810 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7812 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7813 cat >>confdefs.h <<_ACEOF
7814 #define HAVE_IFADDRS_H 1
7815 _ACEOF
7819 done
7822 for ac_header in sys/ucontext.h
7823 do :
7824 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7826 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7827 cat >>confdefs.h <<_ACEOF
7828 #define HAVE_SYS_UCONTEXT_H 1
7829 _ACEOF
7833 done
7836 for ac_header in sys/thr.h
7837 do :
7838 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7839 #ifdef HAVE_SYS_UCONTEXT_H
7840 #include <sys/ucontext.h>
7841 #endif
7843 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7844 cat >>confdefs.h <<_ACEOF
7845 #define HAVE_SYS_THR_H 1
7846 _ACEOF
7850 done
7853 for ac_header in pthread_np.h
7854 do :
7855 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7856 #include <pthread.h>
7857 #endif
7859 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7860 cat >>confdefs.h <<_ACEOF
7861 #define HAVE_PTHREAD_NP_H 1
7862 _ACEOF
7866 done
7869 for ac_header in linux/videodev2.h
7870 do :
7871 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7872 #include <sys/time.h>
7873 #endif
7874 #include <sys/types.h>
7875 #ifdef HAVE_ASM_TYPES_H
7876 #include <asm/types.h>
7877 #endif
7879 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7880 cat >>confdefs.h <<_ACEOF
7881 #define HAVE_LINUX_VIDEODEV2_H 1
7882 _ACEOF
7886 done
7889 for ac_header in libprocstat.h
7890 do :
7891 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7892 #include <sys/param.h>
7893 #endif
7894 #ifdef HAVE_SYS_QUEUE_H
7895 #include <sys/queue.h>
7896 #endif
7897 #ifdef HAVE_SYS_SOCKET_H
7898 #include <sys/socket.h>
7899 #endif
7901 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7902 cat >>confdefs.h <<_ACEOF
7903 #define HAVE_LIBPROCSTAT_H 1
7904 _ACEOF
7908 done
7912 DLLFLAGS="-D_REENTRANT"
7914 LDDLLFLAGS=""
7916 LDEXECFLAGS=""
7918 TOP_INSTALL_LIB=""
7920 TOP_INSTALL_DEV=""
7922 WINELOADER_LDFLAGS=""
7924 WINEPRELOADER_LDFLAGS=""
7926 LIBEXT="so"
7927 DLLEXT=".so"
7928 # Extract the first word of "ldd", so it can be a program name with args.
7929 set dummy ldd; ac_word=$2
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7931 $as_echo_n "checking for $ac_word... " >&6; }
7932 if ${ac_cv_path_LDD+:} false; then :
7933 $as_echo_n "(cached) " >&6
7934 else
7935 case $LDD in
7936 [\\/]* | ?:[\\/]*)
7937 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941 as_dummy="/sbin:/usr/sbin:$PATH"
7942 for as_dir in $as_dummy
7944 IFS=$as_save_IFS
7945 test -z "$as_dir" && as_dir=.
7946 for ac_exec_ext in '' $ac_executable_extensions; do
7947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7948 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7950 break 2
7952 done
7953 done
7954 IFS=$as_save_IFS
7956 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7958 esac
7960 LDD=$ac_cv_path_LDD
7961 if test -n "$LDD"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7963 $as_echo "$LDD" >&6; }
7964 else
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7966 $as_echo "no" >&6; }
7970 if test -n "$ac_tool_prefix"; then
7971 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7972 set dummy ${ac_tool_prefix}otool; ac_word=$2
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7974 $as_echo_n "checking for $ac_word... " >&6; }
7975 if ${ac_cv_prog_OTOOL+:} false; then :
7976 $as_echo_n "(cached) " >&6
7977 else
7978 if test -n "$OTOOL"; then
7979 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7980 else
7981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 for as_dir in $PATH
7984 IFS=$as_save_IFS
7985 test -z "$as_dir" && as_dir=.
7986 for ac_exec_ext in '' $ac_executable_extensions; do
7987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7988 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 break 2
7992 done
7993 done
7994 IFS=$as_save_IFS
7998 OTOOL=$ac_cv_prog_OTOOL
7999 if test -n "$OTOOL"; then
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8001 $as_echo "$OTOOL" >&6; }
8002 else
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8004 $as_echo "no" >&6; }
8009 if test -z "$ac_cv_prog_OTOOL"; then
8010 ac_ct_OTOOL=$OTOOL
8011 # Extract the first word of "otool", so it can be a program name with args.
8012 set dummy otool; ac_word=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8016 $as_echo_n "(cached) " >&6
8017 else
8018 if test -n "$ac_ct_OTOOL"; then
8019 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8020 else
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 for as_dir in $PATH
8024 IFS=$as_save_IFS
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_ac_ct_OTOOL="otool"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 break 2
8032 done
8033 done
8034 IFS=$as_save_IFS
8038 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8039 if test -n "$ac_ct_OTOOL"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8041 $as_echo "$ac_ct_OTOOL" >&6; }
8042 else
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8047 if test "x$ac_ct_OTOOL" = x; then
8048 OTOOL="otool"
8049 else
8050 case $cross_compiling:$ac_tool_warned in
8051 yes:)
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8054 ac_tool_warned=yes ;;
8055 esac
8056 OTOOL=$ac_ct_OTOOL
8058 else
8059 OTOOL="$ac_cv_prog_OTOOL"
8062 if test -n "$ac_tool_prefix"; then
8063 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8064 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8066 $as_echo_n "checking for $ac_word... " >&6; }
8067 if ${ac_cv_prog_READELF+:} false; then :
8068 $as_echo_n "(cached) " >&6
8069 else
8070 if test -n "$READELF"; then
8071 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8072 else
8073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8074 for as_dir in $PATH
8076 IFS=$as_save_IFS
8077 test -z "$as_dir" && as_dir=.
8078 for ac_exec_ext in '' $ac_executable_extensions; do
8079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8080 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8082 break 2
8084 done
8085 done
8086 IFS=$as_save_IFS
8090 READELF=$ac_cv_prog_READELF
8091 if test -n "$READELF"; then
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8093 $as_echo "$READELF" >&6; }
8094 else
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8096 $as_echo "no" >&6; }
8101 if test -z "$ac_cv_prog_READELF"; then
8102 ac_ct_READELF=$READELF
8103 # Extract the first word of "readelf", so it can be a program name with args.
8104 set dummy readelf; ac_word=$2
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8106 $as_echo_n "checking for $ac_word... " >&6; }
8107 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8108 $as_echo_n "(cached) " >&6
8109 else
8110 if test -n "$ac_ct_READELF"; then
8111 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8112 else
8113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8114 for as_dir in $PATH
8116 IFS=$as_save_IFS
8117 test -z "$as_dir" && as_dir=.
8118 for ac_exec_ext in '' $ac_executable_extensions; do
8119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8120 ac_cv_prog_ac_ct_READELF="readelf"
8121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8122 break 2
8124 done
8125 done
8126 IFS=$as_save_IFS
8130 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8131 if test -n "$ac_ct_READELF"; then
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8133 $as_echo "$ac_ct_READELF" >&6; }
8134 else
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8136 $as_echo "no" >&6; }
8139 if test "x$ac_ct_READELF" = x; then
8140 READELF="true"
8141 else
8142 case $cross_compiling:$ac_tool_warned in
8143 yes:)
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8146 ac_tool_warned=yes ;;
8147 esac
8148 READELF=$ac_ct_READELF
8150 else
8151 READELF="$ac_cv_prog_READELF"
8154 wine_rules_file=conf$$rules.make
8155 rm -f $wine_rules_file
8156 SUBDIRS=""
8158 DISABLED_SUBDIRS=""
8160 CONFIGURE_TARGETS=""
8163 wine_fn_append_file ()
8165 as_fn_append $1 " \\$as_nl $2"
8168 wine_fn_append_rule ()
8170 $as_echo "$1" >>$wine_rules_file
8173 wine_fn_config_makefile ()
8175 wine_fn_append_file SUBDIRS $1
8176 if eval test \"x\$"$2"\" = x"no"; then :
8177 wine_fn_append_file DISABLED_SUBDIRS $1
8181 wine_fn_config_symlink ()
8183 ac_links=$@
8184 wine_fn_append_rule \
8185 "$ac_links:
8186 @./config.status \$@"
8187 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8190 wine_binary="wine"
8191 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8192 WINELOADER_PROGRAMS="$wine_binary"
8194 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8196 case $host_os in
8197 cygwin*|mingw32*)
8198 if test -n "$ac_tool_prefix"; then
8199 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8200 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if ${ac_cv_prog_DLLTOOL+:} false; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206 if test -n "$DLLTOOL"; then
8207 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8208 else
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 for as_dir in $PATH
8212 IFS=$as_save_IFS
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8216 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218 break 2
8220 done
8221 done
8222 IFS=$as_save_IFS
8226 DLLTOOL=$ac_cv_prog_DLLTOOL
8227 if test -n "$DLLTOOL"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8229 $as_echo "$DLLTOOL" >&6; }
8230 else
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8237 if test -z "$ac_cv_prog_DLLTOOL"; then
8238 ac_ct_DLLTOOL=$DLLTOOL
8239 # Extract the first word of "dlltool", so it can be a program name with args.
8240 set dummy dlltool; ac_word=$2
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242 $as_echo_n "checking for $ac_word... " >&6; }
8243 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 if test -n "$ac_ct_DLLTOOL"; then
8247 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8248 else
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8250 for as_dir in $PATH
8252 IFS=$as_save_IFS
8253 test -z "$as_dir" && as_dir=.
8254 for ac_exec_ext in '' $ac_executable_extensions; do
8255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8256 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8258 break 2
8260 done
8261 done
8262 IFS=$as_save_IFS
8266 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8267 if test -n "$ac_ct_DLLTOOL"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8269 $as_echo "$ac_ct_DLLTOOL" >&6; }
8270 else
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8275 if test "x$ac_ct_DLLTOOL" = x; then
8276 DLLTOOL="false"
8277 else
8278 case $cross_compiling:$ac_tool_warned in
8279 yes:)
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8282 ac_tool_warned=yes ;;
8283 esac
8284 DLLTOOL=$ac_ct_DLLTOOL
8286 else
8287 DLLTOOL="$ac_cv_prog_DLLTOOL"
8290 LIBEXT="dll"
8291 DLLEXT=""
8292 case $host_cpu in
8293 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8294 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8295 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8296 $as_echo_n "(cached) " >&6
8297 else
8298 ac_wine_try_cflags_saved=$CFLAGS
8299 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8301 /* end confdefs.h. */
8302 int main(int argc, char **argv) { return 0; }
8303 _ACEOF
8304 if ac_fn_c_try_link "$LINENO"; then :
8305 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8306 else
8307 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8309 rm -f core conftest.err conftest.$ac_objext \
8310 conftest$ac_exeext conftest.$ac_ext
8311 CFLAGS=$ac_wine_try_cflags_saved
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8314 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8315 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8316 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8317 fi ;;
8318 esac
8319 enable_iphlpapi=${enable_iphlpapi:-no}
8320 enable_ws2_32=${enable_ws2_32:-no}
8321 enable_loader=${enable_loader:-no}
8322 enable_server=${enable_server:-no}
8323 with_x=${with_x:-no}
8324 with_pthread=${with_pthread:-no}
8327 darwin*|macosx*)
8328 ac_ext=m
8329 ac_cpp='$OBJCPP $CPPFLAGS'
8330 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8331 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8332 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8334 ac_ext=m
8335 ac_cpp='$OBJCPP $CPPFLAGS'
8336 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8337 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8338 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8339 if test -n "$ac_tool_prefix"; then
8340 for ac_prog in gcc objcc objc cc CC
8342 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8343 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8345 $as_echo_n "checking for $ac_word... " >&6; }
8346 if ${ac_cv_prog_OBJC+:} false; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 if test -n "$OBJC"; then
8350 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8351 else
8352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8353 for as_dir in $PATH
8355 IFS=$as_save_IFS
8356 test -z "$as_dir" && as_dir=.
8357 for ac_exec_ext in '' $ac_executable_extensions; do
8358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8359 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8361 break 2
8363 done
8364 done
8365 IFS=$as_save_IFS
8369 OBJC=$ac_cv_prog_OBJC
8370 if test -n "$OBJC"; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8372 $as_echo "$OBJC" >&6; }
8373 else
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8375 $as_echo "no" >&6; }
8379 test -n "$OBJC" && break
8380 done
8382 if test -z "$OBJC"; then
8383 ac_ct_OBJC=$OBJC
8384 for ac_prog in gcc objcc objc cc CC
8386 # Extract the first word of "$ac_prog", so it can be a program name with args.
8387 set dummy $ac_prog; ac_word=$2
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8389 $as_echo_n "checking for $ac_word... " >&6; }
8390 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8391 $as_echo_n "(cached) " >&6
8392 else
8393 if test -n "$ac_ct_OBJC"; then
8394 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8395 else
8396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8397 for as_dir in $PATH
8399 IFS=$as_save_IFS
8400 test -z "$as_dir" && as_dir=.
8401 for ac_exec_ext in '' $ac_executable_extensions; do
8402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8403 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8405 break 2
8407 done
8408 done
8409 IFS=$as_save_IFS
8413 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8414 if test -n "$ac_ct_OBJC"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8416 $as_echo "$ac_ct_OBJC" >&6; }
8417 else
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
8423 test -n "$ac_ct_OBJC" && break
8424 done
8426 if test "x$ac_ct_OBJC" = x; then
8427 OBJC="gcc"
8428 else
8429 case $cross_compiling:$ac_tool_warned in
8430 yes:)
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8433 ac_tool_warned=yes ;;
8434 esac
8435 OBJC=$ac_ct_OBJC
8439 # Provide some information about the compiler.
8440 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8441 set X $ac_compile
8442 ac_compiler=$2
8443 for ac_option in --version -v -V -qversion; do
8444 { { ac_try="$ac_compiler $ac_option >&5"
8445 case "(($ac_try" in
8446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8447 *) ac_try_echo=$ac_try;;
8448 esac
8449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8450 $as_echo "$ac_try_echo"; } >&5
8451 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8452 ac_status=$?
8453 if test -s conftest.err; then
8454 sed '10a\
8455 ... rest of stderr output deleted ...
8456 10q' conftest.err >conftest.er1
8457 cat conftest.er1 >&5
8459 rm -f conftest.er1 conftest.err
8460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8461 test $ac_status = 0; }
8462 done
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8465 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8466 if ${ac_cv_objc_compiler_gnu+:} false; then :
8467 $as_echo_n "(cached) " >&6
8468 else
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8473 main ()
8475 #ifndef __GNUC__
8476 choke me
8477 #endif
8480 return 0;
8482 _ACEOF
8483 if ac_fn_objc_try_compile "$LINENO"; then :
8484 ac_compiler_gnu=yes
8485 else
8486 ac_compiler_gnu=no
8488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8489 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8493 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8494 if test $ac_compiler_gnu = yes; then
8495 GOBJC=yes
8496 else
8497 GOBJC=
8499 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8500 ac_save_OBJCFLAGS=$OBJCFLAGS
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8502 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8503 if ${ac_cv_prog_objc_g+:} false; then :
8504 $as_echo_n "(cached) " >&6
8505 else
8506 ac_save_objc_werror_flag=$ac_objc_werror_flag
8507 ac_objc_werror_flag=yes
8508 ac_cv_prog_objc_g=no
8509 OBJCFLAGS="-g"
8510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8514 main ()
8518 return 0;
8520 _ACEOF
8521 if ac_fn_objc_try_compile "$LINENO"; then :
8522 ac_cv_prog_objc_g=yes
8523 else
8524 OBJCFLAGS=""
8525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8526 /* end confdefs.h. */
8529 main ()
8533 return 0;
8535 _ACEOF
8536 if ac_fn_objc_try_compile "$LINENO"; then :
8538 else
8539 ac_objc_werror_flag=$ac_save_objc_werror_flag
8540 OBJCFLAGS="-g"
8541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8542 /* end confdefs.h. */
8545 main ()
8549 return 0;
8551 _ACEOF
8552 if ac_fn_objc_try_compile "$LINENO"; then :
8553 ac_cv_prog_objc_g=yes
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8560 ac_objc_werror_flag=$ac_save_objc_werror_flag
8562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8563 $as_echo "$ac_cv_prog_objc_g" >&6; }
8564 if test "$ac_test_OBJCFLAGS" = set; then
8565 OBJCFLAGS=$ac_save_OBJCFLAGS
8566 elif test $ac_cv_prog_objc_g = yes; then
8567 if test "$GOBJC" = yes; then
8568 OBJCFLAGS="-g -O2"
8569 else
8570 OBJCFLAGS="-g"
8572 else
8573 if test "$GOBJC" = yes; then
8574 OBJCFLAGS="-O2"
8575 else
8576 OBJCFLAGS=
8579 ac_ext=m
8580 ac_cpp='$OBJCPP $CPPFLAGS'
8581 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8582 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8583 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8586 ac_ext=m
8587 ac_cpp='$OBJCPP $CPPFLAGS'
8588 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8589 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8590 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8592 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8593 if test -z "$OBJCPP"; then
8594 if ${ac_cv_prog_OBJCPP+:} false; then :
8595 $as_echo_n "(cached) " >&6
8596 else
8597 # Double quotes because OBJCPP needs to be expanded
8598 for OBJCPP in "$OBJC -E" "/lib/cpp"
8600 ac_preproc_ok=false
8601 for ac_objc_preproc_warn_flag in '' yes
8603 # Use a header file that comes with gcc, so configuring glibc
8604 # with a fresh cross-compiler works.
8605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8606 # <limits.h> exists even on freestanding compilers.
8607 # On the NeXT, cc -E runs the code through the compiler's parser,
8608 # not just through cpp. "Syntax error" is here to catch this case.
8609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8610 /* end confdefs.h. */
8611 #ifdef __STDC__
8612 # include <limits.h>
8613 #else
8614 # include <assert.h>
8615 #endif
8616 Syntax error
8617 _ACEOF
8618 if ac_fn_objc_try_cpp "$LINENO"; then :
8620 else
8621 # Broken: fails on valid input.
8622 continue
8624 rm -f conftest.err conftest.i conftest.$ac_ext
8626 # OK, works on sane cases. Now check whether nonexistent headers
8627 # can be detected and how.
8628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8629 /* end confdefs.h. */
8630 #include <ac_nonexistent.h>
8631 _ACEOF
8632 if ac_fn_objc_try_cpp "$LINENO"; then :
8633 # Broken: success on invalid input.
8634 continue
8635 else
8636 # Passes both tests.
8637 ac_preproc_ok=:
8638 break
8640 rm -f conftest.err conftest.i conftest.$ac_ext
8642 done
8643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8644 rm -f conftest.i conftest.err conftest.$ac_ext
8645 if $ac_preproc_ok; then :
8646 break
8649 done
8650 ac_cv_prog_OBJCPP=$OBJCPP
8653 OBJCPP=$ac_cv_prog_OBJCPP
8654 else
8655 ac_cv_prog_OBJCPP=$OBJCPP
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8658 $as_echo "$OBJCPP" >&6; }
8659 ac_preproc_ok=false
8660 for ac_objc_preproc_warn_flag in '' yes
8662 # Use a header file that comes with gcc, so configuring glibc
8663 # with a fresh cross-compiler works.
8664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8665 # <limits.h> exists even on freestanding compilers.
8666 # On the NeXT, cc -E runs the code through the compiler's parser,
8667 # not just through cpp. "Syntax error" is here to catch this case.
8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8670 #ifdef __STDC__
8671 # include <limits.h>
8672 #else
8673 # include <assert.h>
8674 #endif
8675 Syntax error
8676 _ACEOF
8677 if ac_fn_objc_try_cpp "$LINENO"; then :
8679 else
8680 # Broken: fails on valid input.
8681 continue
8683 rm -f conftest.err conftest.i conftest.$ac_ext
8685 # OK, works on sane cases. Now check whether nonexistent headers
8686 # can be detected and how.
8687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8688 /* end confdefs.h. */
8689 #include <ac_nonexistent.h>
8690 _ACEOF
8691 if ac_fn_objc_try_cpp "$LINENO"; then :
8692 # Broken: success on invalid input.
8693 continue
8694 else
8695 # Passes both tests.
8696 ac_preproc_ok=:
8697 break
8699 rm -f conftest.err conftest.i conftest.$ac_ext
8701 done
8702 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8703 rm -f conftest.i conftest.err conftest.$ac_ext
8704 if $ac_preproc_ok; then :
8706 else
8707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8709 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8710 See \`config.log' for more details" "$LINENO" 5; }
8713 ac_ext=m
8714 ac_cpp='$OBJCPP $CPPFLAGS'
8715 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8716 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8717 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8720 for ac_header in Metal/Metal.h
8721 do :
8722 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8723 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8724 cat >>confdefs.h <<_ACEOF
8725 #define HAVE_METAL_METAL_H 1
8726 _ACEOF
8730 done
8732 ac_ext=c
8733 ac_cpp='$CPP $CPPFLAGS'
8734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8738 LIBEXT="dylib"
8739 DLLFLAGS="$DLLFLAGS -fPIC"
8740 LDDLLFLAGS="-fPIC"
8741 COREFOUNDATION_LIBS="-framework CoreFoundation"
8743 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8745 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8747 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8749 CORESERVICES_LIBS="-framework CoreServices"
8751 APPKIT_LIBS="-framework AppKit"
8753 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8756 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8758 wine_can_build_preloader=yes
8759 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"
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8761 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8762 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8763 $as_echo_n "(cached) " >&6
8764 else
8765 ac_wine_try_cflags_saved=$CFLAGS
8766 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8769 int main(int argc, char **argv) { return 0; }
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 ac_cv_cflags__Wl__no_new_main__e__main=yes
8773 else
8774 ac_cv_cflags__Wl__no_new_main__e__main=no
8776 rm -f core conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8778 CFLAGS=$ac_wine_try_cflags_saved
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8781 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8782 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8783 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8785 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8786 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8787 $as_echo_n "(cached) " >&6
8788 else
8789 ac_wine_try_cflags_saved=$CFLAGS
8790 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8792 /* end confdefs.h. */
8793 int main(int argc, char **argv) { return 0; }
8794 _ACEOF
8795 if ac_fn_c_try_link "$LINENO"; then :
8796 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8797 else
8798 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8800 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext
8802 CFLAGS=$ac_wine_try_cflags_saved
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8805 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8806 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8807 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8808 else
8809 { $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
8810 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8811 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 ac_wine_try_cflags_saved=$CFLAGS
8815 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8818 int main(int argc, char **argv) { return 0; }
8819 _ACEOF
8820 if ac_fn_c_try_link "$LINENO"; then :
8821 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8822 else
8823 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8825 rm -f core conftest.err conftest.$ac_objext \
8826 conftest$ac_exeext conftest.$ac_ext
8827 CFLAGS=$ac_wine_try_cflags_saved
8829 { $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
8830 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8831 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8832 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8833 else
8834 wine_can_build_preloader=no
8837 else
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8839 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8840 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8841 $as_echo_n "(cached) " >&6
8842 else
8843 ac_wine_try_cflags_saved=$CFLAGS
8844 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8846 /* end confdefs.h. */
8847 int main(int argc, char **argv) { return 0; }
8848 _ACEOF
8849 if ac_fn_c_try_link "$LINENO"; then :
8850 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8851 else
8852 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8854 rm -f core conftest.err conftest.$ac_objext \
8855 conftest$ac_exeext conftest.$ac_ext
8856 CFLAGS=$ac_wine_try_cflags_saved
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8859 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8860 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8861 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8862 else
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8864 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8865 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8866 $as_echo_n "(cached) " >&6
8867 else
8868 ac_wine_try_cflags_saved=$CFLAGS
8869 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8871 /* end confdefs.h. */
8872 int main(int argc, char **argv) { return 0; }
8873 _ACEOF
8874 if ac_fn_c_try_link "$LINENO"; then :
8875 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8876 else
8877 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8879 rm -f core conftest.err conftest.$ac_objext \
8880 conftest$ac_exeext conftest.$ac_ext
8881 CFLAGS=$ac_wine_try_cflags_saved
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8884 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8885 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8886 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8887 else
8888 wine_can_build_preloader=no
8892 if test "$wine_can_build_preloader" = "yes"
8893 then
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8895 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8896 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8897 $as_echo_n "(cached) " >&6
8898 else
8899 ac_wine_try_cflags_saved=$CFLAGS
8900 CFLAGS="$CFLAGS -Wl,-no_pie"
8901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8903 int main(int argc, char **argv) { return 0; }
8904 _ACEOF
8905 if ac_fn_c_try_link "$LINENO"; then :
8906 ac_cv_cflags__Wl__no_pie=yes
8907 else
8908 ac_cv_cflags__Wl__no_pie=no
8910 rm -f core conftest.err conftest.$ac_objext \
8911 conftest$ac_exeext conftest.$ac_ext
8912 CFLAGS=$ac_wine_try_cflags_saved
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8915 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8916 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8917 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8919 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8920 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8921 else
8922 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8925 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8926 then
8927 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8930 if test "$ac_cv_header_Security_Security_h" = "yes"
8931 then
8932 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8934 ac_save_LIBS="$LIBS"
8935 LIBS="$LIBS $SECURITY_LIBS"
8936 for ac_func in SSLCopyPeerCertificates
8937 do :
8938 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8939 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8940 cat >>confdefs.h <<_ACEOF
8941 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8942 _ACEOF
8945 done
8947 LIBS="$ac_save_LIBS"
8949 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8950 then
8951 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8952 then
8953 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8955 else
8956 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8959 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8960 ac_save_LIBS="$LIBS"
8961 LIBS="$LIBS $COREAUDIO_LIBS"
8962 for ac_func in AUGraphAddNode
8963 do :
8964 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8965 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8966 cat >>confdefs.h <<_ACEOF
8967 #define HAVE_AUGRAPHADDNODE 1
8968 _ACEOF
8971 done
8973 LIBS="$ac_save_LIBS"
8975 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8976 then
8977 OPENAL_LIBS="-framework OpenAL"
8980 cat >>confdefs.h <<_ACEOF
8981 #define HAVE_OPENAL 1
8982 _ACEOF
8984 ac_cv_lib_openal=yes
8986 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8987 then
8988 OPENCL_LIBS="-framework OpenCL"
8990 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8992 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8993 then
8994 ac_save_LIBS="$LIBS"
8995 LIBS="$LIBS $IOKIT_LIBS"
8996 for ac_func in IOHIDManagerCreate
8997 do :
8998 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8999 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9000 cat >>confdefs.h <<_ACEOF
9001 #define HAVE_IOHIDMANAGERCREATE 1
9002 _ACEOF
9005 done
9007 LIBS="$ac_save_LIBS"
9010 if test "x$with_quicktime" != "xno"
9011 then
9012 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9013 then
9014 ac_save_LIBS="$LIBS"
9015 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9017 $as_echo_n "checking for the QuickTime framework... " >&6; }
9018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9020 #include <QuickTime/ImageCompression.h>
9022 main ()
9024 CodecManagerVersion(NULL);
9026 return 0;
9028 _ACEOF
9029 if ac_fn_c_try_link "$LINENO"; then :
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9031 $as_echo "yes" >&6; }
9032 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9034 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9035 else
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9037 $as_echo "no" >&6; }
9038 ac_cv_header_QuickTime_ImageCompression_h=no
9040 rm -f core conftest.err conftest.$ac_objext \
9041 conftest$ac_exeext conftest.$ac_ext
9042 LIBS="$ac_save_LIBS"
9045 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9046 case "x$with_quicktime" in
9047 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9048 xno) ;;
9049 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9050 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9051 esac
9055 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9056 then
9057 CARBON_LIBS="-framework Carbon"
9060 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9061 then
9062 METAL_LIBS="-framework Metal -framework QuartzCore"
9066 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9067 then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9069 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9070 ac_ext=m
9071 ac_cpp='$OBJCPP $CPPFLAGS'
9072 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9073 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9074 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9078 #include <Metal/Metal.h>
9080 main ()
9082 id<MTLDevice> device; device.registryID;
9084 return 0;
9086 _ACEOF
9087 if ac_fn_objc_try_compile "$LINENO"; then :
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9089 $as_echo "yes" >&6; }
9091 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9093 else
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9095 $as_echo "no" >&6; }
9097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9098 ac_ext=c
9099 ac_cpp='$CPP $CPPFLAGS'
9100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9106 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9107 then
9108 ac_save_LIBS="$LIBS"
9109 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9110 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9111 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9112 enable_winemac_drv=${enable_winemac_drv:-yes}
9115 LIBS="$ac_save_LIBS"
9118 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9120 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9122 WINELOADER_DEPENDS="wine_info.plist"
9124 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9127 linux-android*)
9128 DLLFLAGS="$DLLFLAGS -fPIC"
9129 LDDLLFLAGS="-fPIC"
9130 LDEXECFLAGS="-Wl,-pie"
9131 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9133 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9134 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9135 $as_echo_n "(cached) " >&6
9136 else
9137 ac_wine_try_cflags_saved=$CFLAGS
9138 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9140 /* end confdefs.h. */
9141 int main(int argc, char **argv) { return 0; }
9142 _ACEOF
9143 if ac_fn_c_try_link "$LINENO"; then :
9144 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9145 else
9146 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9148 rm -f core conftest.err conftest.$ac_objext \
9149 conftest$ac_exeext conftest.$ac_ext
9150 CFLAGS=$ac_wine_try_cflags_saved
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9153 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9154 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9155 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9157 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9159 LIBWINE_SHAREDLIB="libwine.so"
9161 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9163 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9166 $as_echo_n "checking for -lEGL... " >&6; }
9167 if ${ac_cv_lib_soname_EGL+:} false; then :
9168 $as_echo_n "(cached) " >&6
9169 else
9170 ac_check_soname_save_LIBS=$LIBS
9171 LIBS="-lEGL $LIBS"
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9175 /* Override any GCC internal prototype to avoid an error.
9176 Use char because int might match the return type of a GCC
9177 builtin and then its argument prototype would still apply. */
9178 #ifdef __cplusplus
9179 extern "C"
9180 #endif
9181 char eglGetProcAddress ();
9183 main ()
9185 return eglGetProcAddress ();
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 case "$LIBEXT" in
9192 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9193 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'` ;;
9194 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9195 if ${ac_cv_lib_soname_EGL:+false} :; then :
9196 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9197 fi ;;
9198 esac
9199 else
9200 ac_cv_lib_soname_EGL=
9202 rm -f core conftest.err conftest.$ac_objext \
9203 conftest$ac_exeext conftest.$ac_ext
9204 LIBS=$ac_check_soname_save_LIBS
9206 if ${ac_cv_lib_soname_EGL:+false} :; then :
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9208 $as_echo "not found" >&6; }
9210 else
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9212 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9214 cat >>confdefs.h <<_ACEOF
9215 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9216 _ACEOF
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9221 $as_echo_n "checking for -lGLESv2... " >&6; }
9222 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9223 $as_echo_n "(cached) " >&6
9224 else
9225 ac_check_soname_save_LIBS=$LIBS
9226 LIBS="-lGLESv2 $LIBS"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9233 #ifdef __cplusplus
9234 extern "C"
9235 #endif
9236 char glFlush ();
9238 main ()
9240 return glFlush ();
9242 return 0;
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 case "$LIBEXT" in
9247 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9248 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'` ;;
9249 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9250 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9251 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9252 fi ;;
9253 esac
9254 else
9255 ac_cv_lib_soname_GLESv2=
9257 rm -f core conftest.err conftest.$ac_objext \
9258 conftest$ac_exeext conftest.$ac_ext
9259 LIBS=$ac_check_soname_save_LIBS
9261 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9263 $as_echo "not found" >&6; }
9265 else
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9267 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9269 cat >>confdefs.h <<_ACEOF
9270 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9271 _ACEOF
9276 if test "x$exec_prefix" = xNONE
9277 then
9278 case $host_cpu in
9279 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9280 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9281 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9282 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9283 esac
9288 case $host_cpu in
9289 *i[3456789]86*)
9290 DLLFLAGS="$DLLFLAGS -fno-PIC"
9291 LDDLLFLAGS="-fno-PIC"
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9293 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9294 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9295 $as_echo_n "(cached) " >&6
9296 else
9297 ac_wine_try_cflags_saved=$CFLAGS
9298 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9300 /* end confdefs.h. */
9301 int main(int argc, char **argv) { return 0; }
9302 _ACEOF
9303 if ac_fn_c_try_link "$LINENO"; then :
9304 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9305 else
9306 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9308 rm -f core conftest.err conftest.$ac_objext \
9309 conftest$ac_exeext conftest.$ac_ext
9310 CFLAGS=$ac_wine_try_cflags_saved
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9313 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9314 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9315 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9319 DLLFLAGS="$DLLFLAGS -fPIC"
9320 LDDLLFLAGS="-fPIC" ;;
9321 esac
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9323 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9324 if ${ac_cv_c_dll_gnuelf+:} false; then :
9325 $as_echo_n "(cached) " >&6
9326 else
9327 ac_wine_try_cflags_saved=$CFLAGS
9328 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9331 void myfunc() {}
9332 _ACEOF
9333 if ac_fn_c_try_link "$LINENO"; then :
9334 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9335 else
9336 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9338 rm -f core conftest.err conftest.$ac_objext \
9339 conftest$ac_exeext conftest.$ac_ext
9340 CFLAGS=$ac_wine_try_cflags_saved
9341 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9342 ac_cv_c_dll_gnuelf="yes"
9343 else
9344 ac_cv_c_dll_gnuelf="no"
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9348 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9349 if test "$ac_cv_c_dll_gnuelf" = "yes"
9350 then
9351 LIBWINE_LDFLAGS="-shared"
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9353 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9354 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9355 $as_echo_n "(cached) " >&6
9356 else
9357 ac_wine_try_cflags_saved=$CFLAGS
9358 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9360 /* end confdefs.h. */
9361 int main(int argc, char **argv) { return 0; }
9362 _ACEOF
9363 if ac_fn_c_try_link "$LINENO"; then :
9364 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9365 else
9366 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9368 rm -f core conftest.err conftest.$ac_objext \
9369 conftest$ac_exeext conftest.$ac_ext
9370 CFLAGS=$ac_wine_try_cflags_saved
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9373 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9374 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9375 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9376 else
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9378 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9379 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_wine_try_cflags_saved=$CFLAGS
9383 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9386 int main(int argc, char **argv) { return 0; }
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9390 else
9391 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 CFLAGS=$ac_wine_try_cflags_saved
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9398 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9399 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9400 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9404 echo '{ global: *; };' >conftest.map
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9406 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9407 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9408 $as_echo_n "(cached) " >&6
9409 else
9410 ac_wine_try_cflags_saved=$CFLAGS
9411 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9414 int main(int argc, char **argv) { return 0; }
9415 _ACEOF
9416 if ac_fn_c_try_link "$LINENO"; then :
9417 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9418 else
9419 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9421 rm -f core conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 CFLAGS=$ac_wine_try_cflags_saved
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9426 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9427 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9428 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9430 rm -f conftest.map
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9433 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9434 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_wine_try_cflags_saved=$CFLAGS
9438 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9441 int main(int argc, char **argv) { return 0; }
9442 _ACEOF
9443 if ac_fn_c_try_link "$LINENO"; then :
9444 ac_cv_cflags__Wl___export_dynamic=yes
9445 else
9446 ac_cv_cflags__Wl___export_dynamic=no
9448 rm -f core conftest.err conftest.$ac_objext \
9449 conftest$ac_exeext conftest.$ac_ext
9450 CFLAGS=$ac_wine_try_cflags_saved
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9453 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9454 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9455 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9457 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9459 case $host_cpu in
9460 *i[3456789]86* | x86_64 | *aarch64*)
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9462 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9463 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_wine_try_cflags_saved=$CFLAGS
9467 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9470 int main(int argc, char **argv) { return 0; }
9471 _ACEOF
9472 if ac_fn_c_try_link "$LINENO"; then :
9473 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9474 else
9475 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9477 rm -f core conftest.err conftest.$ac_objext \
9478 conftest$ac_exeext conftest.$ac_ext
9479 CFLAGS=$ac_wine_try_cflags_saved
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9482 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9483 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9484 case $host_os in
9485 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9486 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9487 esac
9488 else
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9490 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9491 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9492 $as_echo_n "(cached) " >&6
9493 else
9494 ac_wine_try_cflags_saved=$CFLAGS
9495 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9497 /* end confdefs.h. */
9498 int main(int argc, char **argv) { return 0; }
9499 _ACEOF
9500 if ac_fn_c_try_link "$LINENO"; then :
9501 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9502 else
9503 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9505 rm -f core conftest.err conftest.$ac_objext \
9506 conftest$ac_exeext conftest.$ac_ext
9507 CFLAGS=$ac_wine_try_cflags_saved
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9510 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9511 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9512 case $host_os in
9513 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9514 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9515 esac
9517 # Extract the first word of "prelink", so it can be a program name with args.
9518 set dummy prelink; ac_word=$2
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9520 $as_echo_n "checking for $ac_word... " >&6; }
9521 if ${ac_cv_path_PRELINK+:} false; then :
9522 $as_echo_n "(cached) " >&6
9523 else
9524 case $PRELINK in
9525 [\\/]* | ?:[\\/]*)
9526 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9530 for as_dir in /sbin /usr/sbin $PATH
9532 IFS=$as_save_IFS
9533 test -z "$as_dir" && as_dir=.
9534 for ac_exec_ext in '' $ac_executable_extensions; do
9535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9536 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9538 break 2
9540 done
9541 done
9542 IFS=$as_save_IFS
9544 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9546 esac
9548 PRELINK=$ac_cv_path_PRELINK
9549 if test -n "$PRELINK"; then
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9551 $as_echo "$PRELINK" >&6; }
9552 else
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9554 $as_echo "no" >&6; }
9558 if test "x$PRELINK" = xfalse
9559 then
9560 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9564 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9565 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9566 $as_echo_n "(cached) " >&6
9567 else
9568 ac_wine_try_cflags_saved=$CFLAGS
9569 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9571 /* end confdefs.h. */
9572 int main(int argc, char **argv) { return 0; }
9573 _ACEOF
9574 if ac_fn_c_try_link "$LINENO"; then :
9575 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9576 else
9577 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9579 rm -f core conftest.err conftest.$ac_objext \
9580 conftest$ac_exeext conftest.$ac_ext
9581 CFLAGS=$ac_wine_try_cflags_saved
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9584 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9585 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9586 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9589 esac
9591 else
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9593 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9594 if ${ac_cv_c_dll_unixware+:} false; then :
9595 $as_echo_n "(cached) " >&6
9596 else
9597 ac_wine_try_cflags_saved=$CFLAGS
9598 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9601 void myfunc() {}
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9605 else
9606 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9608 rm -f core conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9610 CFLAGS=$ac_wine_try_cflags_saved
9611 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9612 ac_cv_c_dll_unixware="yes"
9613 else
9614 ac_cv_c_dll_unixware="no"
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9618 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9619 if test "$ac_cv_c_dll_unixware" = "yes"
9620 then
9621 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9624 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9626 LIBWINE_DEPENDS="wine.map"
9628 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9630 esac
9632 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9633 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9634 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9635 enable_winemac_drv=${enable_winemac_drv:-no}
9636 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9639 if test "x$with_mingw" != xno
9640 then
9641 case "x$with_mingw" in
9642 x|xyes) case "$host_cpu" in
9643 aarch64*)
9644 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9645 arm*)
9646 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9647 i[3456789]86*)
9648 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
9649 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9650 mingw32-gcc" ;;
9651 x86_64)
9652 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
9653 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9655 ac_prefix_list="" ;;
9656 esac
9657 for ac_prog in $ac_prefix_list
9659 # Extract the first word of "$ac_prog", so it can be a program name with args.
9660 set dummy $ac_prog; ac_word=$2
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9662 $as_echo_n "checking for $ac_word... " >&6; }
9663 if ${ac_cv_prog_CROSSCC+:} false; then :
9664 $as_echo_n "(cached) " >&6
9665 else
9666 if test -n "$CROSSCC"; then
9667 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9668 else
9669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9670 for as_dir in $PATH
9672 IFS=$as_save_IFS
9673 test -z "$as_dir" && as_dir=.
9674 for ac_exec_ext in '' $ac_executable_extensions; do
9675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9676 ac_cv_prog_CROSSCC="$ac_prog"
9677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9678 break 2
9680 done
9681 done
9682 IFS=$as_save_IFS
9686 CROSSCC=$ac_cv_prog_CROSSCC
9687 if test -n "$CROSSCC"; then
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9689 $as_echo "$CROSSCC" >&6; }
9690 else
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9692 $as_echo "no" >&6; }
9696 test -n "$CROSSCC" && break
9697 done
9698 test -n "$CROSSCC" || CROSSCC="false"
9700 *) CROSSCC=$with_mingw ;;
9701 esac
9702 if test "$CROSSCC" != "false"
9703 then
9704 ac_save_CC="$CC"
9705 saved_CFLAGS=$CFLAGS
9706 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9708 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9712 CC="$CROSSCC"
9713 CFLAGS=$CROSSCFLAGS
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9715 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9716 if ${wine_cv_crosscc+:} false; then :
9717 $as_echo_n "(cached) " >&6
9718 else
9719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9723 main ()
9727 return 0;
9729 _ACEOF
9730 if ac_fn_c_try_compile "$LINENO"; then :
9731 wine_cv_crosscc=yes
9732 else
9733 wine_cv_crosscc=no
9735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9738 $as_echo "$wine_cv_crosscc" >&6; }
9739 if test $wine_cv_crosscc = yes
9740 then
9741 set x $CROSSCC
9742 shift
9743 while test $# -ge 1
9745 case "$1" in
9746 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9747 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9748 esac
9749 shift
9750 done
9752 llvm_target=$CROSSTARGET
9753 llvm_cflags="-fuse-ld=lld"
9754 if test -z "$llvm_target"
9755 then
9756 case $host_cpu in
9757 *i[3456789]86*) llvm_target=i686-windows ;;
9758 *) llvm_target=$host_cpu-windows ;;
9759 esac
9761 case $llvm_target in
9762 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9763 esac
9764 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9766 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9767 if eval \${$as_ac_var+:} false; then :
9768 $as_echo_n "(cached) " >&6
9769 else
9770 ac_wine_try_cflags_saved=$CFLAGS
9771 ac_wine_try_cflags_saved_cc=$CC
9772 ac_wine_try_cflags_saved_exeext=$ac_exeext
9773 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9774 CC="$CROSSCC"
9775 ac_exeext=".exe"
9776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9777 /* end confdefs.h. */
9778 int __cdecl mainCRTStartup(void) { return 0; }
9779 _ACEOF
9780 if ac_fn_c_try_link "$LINENO"; then :
9781 eval "$as_ac_var=yes"
9782 else
9783 eval "$as_ac_var=no"
9785 rm -f core conftest.err conftest.$ac_objext \
9786 conftest$ac_exeext conftest.$ac_ext
9787 CFLAGS=$ac_wine_try_cflags_saved
9788 CC=$ac_wine_try_cflags_saved_cc
9789 ac_exeext=$ac_wine_try_cflags_saved_exeext
9791 eval ac_res=\$$as_ac_var
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9793 $as_echo "$ac_res" >&6; }
9794 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9795 CROSSTARGET=$llvm_target
9796 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9797 DELAYLOADFLAG="-Wl,-delayload,"
9799 CFLAGS="$CFLAGS $llvm_cflags"
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9803 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9804 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9805 $as_echo_n "(cached) " >&6
9806 else
9807 ac_wine_try_cflags_saved=$CFLAGS
9808 ac_wine_try_cflags_saved_cc=$CC
9809 ac_wine_try_cflags_saved_exeext=$ac_exeext
9810 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9811 CC="$CROSSCC"
9812 ac_exeext=".exe"
9813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9814 /* end confdefs.h. */
9815 int __cdecl mainCRTStartup(void) { return 0; }
9816 _ACEOF
9817 if ac_fn_c_try_link "$LINENO"; then :
9818 ac_cv_crosscflags__fno_strict_aliasing=yes
9819 else
9820 ac_cv_crosscflags__fno_strict_aliasing=no
9822 rm -f core conftest.err conftest.$ac_objext \
9823 conftest$ac_exeext conftest.$ac_ext
9824 CFLAGS=$ac_wine_try_cflags_saved
9825 CC=$ac_wine_try_cflags_saved_cc
9826 ac_exeext=$ac_wine_try_cflags_saved_exeext
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9829 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9830 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9831 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9834 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9835 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9836 $as_echo_n "(cached) " >&6
9837 else
9838 ac_wine_try_cflags_saved=$CFLAGS
9839 ac_wine_try_cflags_saved_cc=$CC
9840 ac_wine_try_cflags_saved_exeext=$ac_exeext
9841 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9842 CC="$CROSSCC"
9843 ac_exeext=".exe"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9846 int __cdecl mainCRTStartup(void) { return 0; }
9847 _ACEOF
9848 if ac_fn_c_try_link "$LINENO"; then :
9849 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9850 else
9851 ac_cv_crosscflags__Werror_unknown_warning_option=no
9853 rm -f core conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 CFLAGS=$ac_wine_try_cflags_saved
9856 CC=$ac_wine_try_cflags_saved_cc
9857 ac_exeext=$ac_wine_try_cflags_saved_exeext
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9860 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9861 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9862 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9865 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9866 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9867 $as_echo_n "(cached) " >&6
9868 else
9869 ac_wine_try_cflags_saved=$CFLAGS
9870 ac_wine_try_cflags_saved_cc=$CC
9871 ac_wine_try_cflags_saved_exeext=$ac_exeext
9872 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9873 CC="$CROSSCC"
9874 ac_exeext=".exe"
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9877 int __cdecl mainCRTStartup(void) { return 0; }
9878 _ACEOF
9879 if ac_fn_c_try_link "$LINENO"; then :
9880 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9881 else
9882 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9884 rm -f core conftest.err conftest.$ac_objext \
9885 conftest$ac_exeext conftest.$ac_ext
9886 CFLAGS=$ac_wine_try_cflags_saved
9887 CC=$ac_wine_try_cflags_saved_cc
9888 ac_exeext=$ac_wine_try_cflags_saved_exeext
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9891 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9892 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9893 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9896 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9897 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9898 $as_echo_n "(cached) " >&6
9899 else
9900 ac_wine_try_cflags_saved=$CFLAGS
9901 ac_wine_try_cflags_saved_cc=$CC
9902 ac_wine_try_cflags_saved_exeext=$ac_exeext
9903 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9904 CC="$CROSSCC"
9905 ac_exeext=".exe"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9908 int __cdecl mainCRTStartup(void) { return 0; }
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"; then :
9911 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9912 else
9913 ac_cv_crosscflags__Wdeclaration_after_statement=no
9915 rm -f core conftest.err conftest.$ac_objext \
9916 conftest$ac_exeext conftest.$ac_ext
9917 CFLAGS=$ac_wine_try_cflags_saved
9918 CC=$ac_wine_try_cflags_saved_cc
9919 ac_exeext=$ac_wine_try_cflags_saved_exeext
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9922 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9923 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9924 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9927 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9928 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9929 $as_echo_n "(cached) " >&6
9930 else
9931 ac_wine_try_cflags_saved=$CFLAGS
9932 ac_wine_try_cflags_saved_cc=$CC
9933 ac_wine_try_cflags_saved_exeext=$ac_exeext
9934 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9935 CC="$CROSSCC"
9936 ac_exeext=".exe"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9939 int __cdecl mainCRTStartup(void) { return 0; }
9940 _ACEOF
9941 if ac_fn_c_try_link "$LINENO"; then :
9942 ac_cv_crosscflags__Wempty_body=yes
9943 else
9944 ac_cv_crosscflags__Wempty_body=no
9946 rm -f core conftest.err conftest.$ac_objext \
9947 conftest$ac_exeext conftest.$ac_ext
9948 CFLAGS=$ac_wine_try_cflags_saved
9949 CC=$ac_wine_try_cflags_saved_cc
9950 ac_exeext=$ac_wine_try_cflags_saved_exeext
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9953 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9954 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9955 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9958 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9959 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9960 $as_echo_n "(cached) " >&6
9961 else
9962 ac_wine_try_cflags_saved=$CFLAGS
9963 ac_wine_try_cflags_saved_cc=$CC
9964 ac_wine_try_cflags_saved_exeext=$ac_exeext
9965 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9966 CC="$CROSSCC"
9967 ac_exeext=".exe"
9968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9969 /* end confdefs.h. */
9970 int __cdecl mainCRTStartup(void) { return 0; }
9971 _ACEOF
9972 if ac_fn_c_try_link "$LINENO"; then :
9973 ac_cv_crosscflags__Wignored_qualifiers=yes
9974 else
9975 ac_cv_crosscflags__Wignored_qualifiers=no
9977 rm -f core conftest.err conftest.$ac_objext \
9978 conftest$ac_exeext conftest.$ac_ext
9979 CFLAGS=$ac_wine_try_cflags_saved
9980 CC=$ac_wine_try_cflags_saved_cc
9981 ac_exeext=$ac_wine_try_cflags_saved_exeext
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9984 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9985 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9986 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9989 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9990 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9991 $as_echo_n "(cached) " >&6
9992 else
9993 ac_wine_try_cflags_saved=$CFLAGS
9994 ac_wine_try_cflags_saved_cc=$CC
9995 ac_wine_try_cflags_saved_exeext=$ac_exeext
9996 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
9997 CC="$CROSSCC"
9998 ac_exeext=".exe"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10001 int __cdecl mainCRTStartup(void) { return 0; }
10002 _ACEOF
10003 if ac_fn_c_try_link "$LINENO"; then :
10004 ac_cv_crosscflags__Winit_self=yes
10005 else
10006 ac_cv_crosscflags__Winit_self=no
10008 rm -f core conftest.err conftest.$ac_objext \
10009 conftest$ac_exeext conftest.$ac_ext
10010 CFLAGS=$ac_wine_try_cflags_saved
10011 CC=$ac_wine_try_cflags_saved_cc
10012 ac_exeext=$ac_wine_try_cflags_saved_exeext
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10015 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10016 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10017 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10020 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10021 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10022 $as_echo_n "(cached) " >&6
10023 else
10024 ac_wine_try_cflags_saved=$CFLAGS
10025 ac_wine_try_cflags_saved_cc=$CC
10026 ac_wine_try_cflags_saved_exeext=$ac_exeext
10027 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10028 CC="$CROSSCC"
10029 ac_exeext=".exe"
10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10032 int __cdecl mainCRTStartup(void) { return 0; }
10033 _ACEOF
10034 if ac_fn_c_try_link "$LINENO"; then :
10035 ac_cv_crosscflags__Wpacked_not_aligned=yes
10036 else
10037 ac_cv_crosscflags__Wpacked_not_aligned=no
10039 rm -f core conftest.err conftest.$ac_objext \
10040 conftest$ac_exeext conftest.$ac_ext
10041 CFLAGS=$ac_wine_try_cflags_saved
10042 CC=$ac_wine_try_cflags_saved_cc
10043 ac_exeext=$ac_wine_try_cflags_saved_exeext
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10046 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10047 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10048 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10051 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10052 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10053 $as_echo_n "(cached) " >&6
10054 else
10055 ac_wine_try_cflags_saved=$CFLAGS
10056 ac_wine_try_cflags_saved_cc=$CC
10057 ac_wine_try_cflags_saved_exeext=$ac_exeext
10058 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10059 CC="$CROSSCC"
10060 ac_exeext=".exe"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10063 int __cdecl mainCRTStartup(void) { return 0; }
10064 _ACEOF
10065 if ac_fn_c_try_link "$LINENO"; then :
10066 ac_cv_crosscflags__Wpragma_pack=yes
10067 else
10068 ac_cv_crosscflags__Wpragma_pack=no
10070 rm -f core conftest.err conftest.$ac_objext \
10071 conftest$ac_exeext conftest.$ac_ext
10072 CFLAGS=$ac_wine_try_cflags_saved
10073 CC=$ac_wine_try_cflags_saved_cc
10074 ac_exeext=$ac_wine_try_cflags_saved_exeext
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10077 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10078 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10079 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10082 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10083 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10084 $as_echo_n "(cached) " >&6
10085 else
10086 ac_wine_try_cflags_saved=$CFLAGS
10087 ac_wine_try_cflags_saved_cc=$CC
10088 ac_wine_try_cflags_saved_exeext=$ac_exeext
10089 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10090 CC="$CROSSCC"
10091 ac_exeext=".exe"
10092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10093 /* end confdefs.h. */
10094 int __cdecl mainCRTStartup(void) { return 0; }
10095 _ACEOF
10096 if ac_fn_c_try_link "$LINENO"; then :
10097 ac_cv_crosscflags__Wshift_overflow_2=yes
10098 else
10099 ac_cv_crosscflags__Wshift_overflow_2=no
10101 rm -f core conftest.err conftest.$ac_objext \
10102 conftest$ac_exeext conftest.$ac_ext
10103 CFLAGS=$ac_wine_try_cflags_saved
10104 CC=$ac_wine_try_cflags_saved_cc
10105 ac_exeext=$ac_wine_try_cflags_saved_exeext
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10108 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10109 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10110 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10113 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10114 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10115 $as_echo_n "(cached) " >&6
10116 else
10117 ac_wine_try_cflags_saved=$CFLAGS
10118 ac_wine_try_cflags_saved_cc=$CC
10119 ac_wine_try_cflags_saved_exeext=$ac_exeext
10120 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10121 CC="$CROSSCC"
10122 ac_exeext=".exe"
10123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10125 int __cdecl mainCRTStartup(void) { return 0; }
10126 _ACEOF
10127 if ac_fn_c_try_link "$LINENO"; then :
10128 ac_cv_crosscflags__Wstrict_prototypes=yes
10129 else
10130 ac_cv_crosscflags__Wstrict_prototypes=no
10132 rm -f core conftest.err conftest.$ac_objext \
10133 conftest$ac_exeext conftest.$ac_ext
10134 CFLAGS=$ac_wine_try_cflags_saved
10135 CC=$ac_wine_try_cflags_saved_cc
10136 ac_exeext=$ac_wine_try_cflags_saved_exeext
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10139 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10140 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10141 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10144 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10145 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10146 $as_echo_n "(cached) " >&6
10147 else
10148 ac_wine_try_cflags_saved=$CFLAGS
10149 ac_wine_try_cflags_saved_cc=$CC
10150 ac_wine_try_cflags_saved_exeext=$ac_exeext
10151 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10152 CC="$CROSSCC"
10153 ac_exeext=".exe"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10156 int __cdecl mainCRTStartup(void) { return 0; }
10157 _ACEOF
10158 if ac_fn_c_try_link "$LINENO"; then :
10159 ac_cv_crosscflags__Wtype_limits=yes
10160 else
10161 ac_cv_crosscflags__Wtype_limits=no
10163 rm -f core conftest.err conftest.$ac_objext \
10164 conftest$ac_exeext conftest.$ac_ext
10165 CFLAGS=$ac_wine_try_cflags_saved
10166 CC=$ac_wine_try_cflags_saved_cc
10167 ac_exeext=$ac_wine_try_cflags_saved_exeext
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10170 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10171 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10172 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10175 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10176 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10177 $as_echo_n "(cached) " >&6
10178 else
10179 ac_wine_try_cflags_saved=$CFLAGS
10180 ac_wine_try_cflags_saved_cc=$CC
10181 ac_wine_try_cflags_saved_exeext=$ac_exeext
10182 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10183 CC="$CROSSCC"
10184 ac_exeext=".exe"
10185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10186 /* end confdefs.h. */
10187 int __cdecl mainCRTStartup(void) { return 0; }
10188 _ACEOF
10189 if ac_fn_c_try_link "$LINENO"; then :
10190 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10191 else
10192 ac_cv_crosscflags__Wunused_but_set_parameter=no
10194 rm -f core conftest.err conftest.$ac_objext \
10195 conftest$ac_exeext conftest.$ac_ext
10196 CFLAGS=$ac_wine_try_cflags_saved
10197 CC=$ac_wine_try_cflags_saved_cc
10198 ac_exeext=$ac_wine_try_cflags_saved_exeext
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10201 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10202 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10203 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10206 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10207 if ${ac_cv_crosscflags__Wvla+:} false; then :
10208 $as_echo_n "(cached) " >&6
10209 else
10210 ac_wine_try_cflags_saved=$CFLAGS
10211 ac_wine_try_cflags_saved_cc=$CC
10212 ac_wine_try_cflags_saved_exeext=$ac_exeext
10213 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10214 CC="$CROSSCC"
10215 ac_exeext=".exe"
10216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10218 int __cdecl mainCRTStartup(void) { return 0; }
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10221 ac_cv_crosscflags__Wvla=yes
10222 else
10223 ac_cv_crosscflags__Wvla=no
10225 rm -f core conftest.err conftest.$ac_objext \
10226 conftest$ac_exeext conftest.$ac_ext
10227 CFLAGS=$ac_wine_try_cflags_saved
10228 CC=$ac_wine_try_cflags_saved_cc
10229 ac_exeext=$ac_wine_try_cflags_saved_exeext
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10232 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10233 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10234 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10237 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10238 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_wine_try_cflags_saved=$CFLAGS
10242 ac_wine_try_cflags_saved_cc=$CC
10243 ac_wine_try_cflags_saved_exeext=$ac_exeext
10244 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10245 CC="$CROSSCC"
10246 ac_exeext=".exe"
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10249 int __cdecl mainCRTStartup(void) { return 0; }
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"; then :
10252 ac_cv_crosscflags__Wwrite_strings=yes
10253 else
10254 ac_cv_crosscflags__Wwrite_strings=no
10256 rm -f core conftest.err conftest.$ac_objext \
10257 conftest$ac_exeext conftest.$ac_ext
10258 CFLAGS=$ac_wine_try_cflags_saved
10259 CC=$ac_wine_try_cflags_saved_cc
10260 ac_exeext=$ac_wine_try_cflags_saved_exeext
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10263 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10264 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10265 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10268 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10269 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10270 $as_echo_n "(cached) " >&6
10271 else
10272 ac_wine_try_cflags_saved=$CFLAGS
10273 ac_wine_try_cflags_saved_cc=$CC
10274 ac_wine_try_cflags_saved_exeext=$ac_exeext
10275 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10276 CC="$CROSSCC"
10277 ac_exeext=".exe"
10278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10280 int __cdecl mainCRTStartup(void) { return 0; }
10281 _ACEOF
10282 if ac_fn_c_try_link "$LINENO"; then :
10283 ac_cv_crosscflags__Wpointer_arith=yes
10284 else
10285 ac_cv_crosscflags__Wpointer_arith=no
10287 rm -f core conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10289 CFLAGS=$ac_wine_try_cflags_saved
10290 CC=$ac_wine_try_cflags_saved_cc
10291 ac_exeext=$ac_wine_try_cflags_saved_exeext
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10294 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10295 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10296 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10299 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10300 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10301 $as_echo_n "(cached) " >&6
10302 else
10303 ac_wine_try_cflags_saved=$CFLAGS
10304 ac_wine_try_cflags_saved_cc=$CC
10305 ac_wine_try_cflags_saved_exeext=$ac_exeext
10306 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10307 CC="$CROSSCC"
10308 ac_exeext=".exe"
10309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10311 int __cdecl mainCRTStartup(void) { return 0; }
10312 _ACEOF
10313 if ac_fn_c_try_link "$LINENO"; then :
10314 ac_cv_crosscflags__Wlogical_op=yes
10315 else
10316 ac_cv_crosscflags__Wlogical_op=no
10318 rm -f core conftest.err conftest.$ac_objext \
10319 conftest$ac_exeext conftest.$ac_ext
10320 CFLAGS=$ac_wine_try_cflags_saved
10321 CC=$ac_wine_try_cflags_saved_cc
10322 ac_exeext=$ac_wine_try_cflags_saved_exeext
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10325 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10326 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10327 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10330 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10331 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10332 $as_echo_n "(cached) " >&6
10333 else
10334 ac_wine_try_cflags_saved=$CFLAGS
10335 ac_wine_try_cflags_saved_cc=$CC
10336 ac_wine_try_cflags_saved_exeext=$ac_exeext
10337 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10338 CC="$CROSSCC"
10339 ac_exeext=".exe"
10340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10342 int __cdecl mainCRTStartup(void) { return 0; }
10343 _ACEOF
10344 if ac_fn_c_try_link "$LINENO"; then :
10345 ac_cv_crosscflags__Wabsolute_value=yes
10346 else
10347 ac_cv_crosscflags__Wabsolute_value=no
10349 rm -f core conftest.err conftest.$ac_objext \
10350 conftest$ac_exeext conftest.$ac_ext
10351 CFLAGS=$ac_wine_try_cflags_saved
10352 CC=$ac_wine_try_cflags_saved_cc
10353 ac_exeext=$ac_wine_try_cflags_saved_exeext
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10356 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10357 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10358 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10361 case $host_cpu in
10362 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10363 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10364 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10365 $as_echo_n "(cached) " >&6
10366 else
10367 ac_wine_try_cflags_saved=$CFLAGS
10368 ac_wine_try_cflags_saved_cc=$CC
10369 ac_wine_try_cflags_saved_exeext=$ac_exeext
10370 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10371 CC="$CROSSCC"
10372 ac_exeext=".exe"
10373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10374 /* end confdefs.h. */
10375 int __cdecl mainCRTStartup(void) { return 0; }
10376 _ACEOF
10377 if ac_fn_c_try_link "$LINENO"; then :
10378 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10379 else
10380 ac_cv_crosscflags__fno_omit_frame_pointer=no
10382 rm -f core conftest.err conftest.$ac_objext \
10383 conftest$ac_exeext conftest.$ac_ext
10384 CFLAGS=$ac_wine_try_cflags_saved
10385 CC=$ac_wine_try_cflags_saved_cc
10386 ac_exeext=$ac_wine_try_cflags_saved_exeext
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10389 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10390 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10391 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10392 fi ;;
10393 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10394 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10395 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10396 $as_echo_n "(cached) " >&6
10397 else
10398 ac_wine_try_cflags_saved=$CFLAGS
10399 ac_wine_try_cflags_saved_cc=$CC
10400 ac_wine_try_cflags_saved_exeext=$ac_exeext
10401 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10402 CC="$CROSSCC"
10403 ac_exeext=".exe"
10404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10405 /* end confdefs.h. */
10406 int __cdecl mainCRTStartup(void) { return 0; }
10407 _ACEOF
10408 if ac_fn_c_try_link "$LINENO"; then :
10409 ac_cv_crosscflags__Wno_format=yes
10410 else
10411 ac_cv_crosscflags__Wno_format=no
10413 rm -f core conftest.err conftest.$ac_objext \
10414 conftest$ac_exeext conftest.$ac_ext
10415 CFLAGS=$ac_wine_try_cflags_saved
10416 CC=$ac_wine_try_cflags_saved_cc
10417 ac_exeext=$ac_wine_try_cflags_saved_exeext
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10420 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10421 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10422 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10425 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10426 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10427 $as_echo_n "(cached) " >&6
10428 else
10429 ac_wine_try_cflags_saved=$CFLAGS
10430 ac_wine_try_cflags_saved_cc=$CC
10431 ac_wine_try_cflags_saved_exeext=$ac_exeext
10432 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10433 CC="$CROSSCC"
10434 ac_exeext=".exe"
10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h. */
10437 int __cdecl mainCRTStartup(void) { return 0; }
10438 _ACEOF
10439 if ac_fn_c_try_link "$LINENO"; then :
10440 ac_cv_crosscflags__Wformat_overflow=yes
10441 else
10442 ac_cv_crosscflags__Wformat_overflow=no
10444 rm -f core conftest.err conftest.$ac_objext \
10445 conftest$ac_exeext conftest.$ac_ext
10446 CFLAGS=$ac_wine_try_cflags_saved
10447 CC=$ac_wine_try_cflags_saved_cc
10448 ac_exeext=$ac_wine_try_cflags_saved_exeext
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10451 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10452 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10453 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10456 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10457 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10458 $as_echo_n "(cached) " >&6
10459 else
10460 ac_wine_try_cflags_saved=$CFLAGS
10461 ac_wine_try_cflags_saved_cc=$CC
10462 ac_wine_try_cflags_saved_exeext=$ac_exeext
10463 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10464 CC="$CROSSCC"
10465 ac_exeext=".exe"
10466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10467 /* end confdefs.h. */
10468 int __cdecl mainCRTStartup(void) { return 0; }
10469 _ACEOF
10470 if ac_fn_c_try_link "$LINENO"; then :
10471 ac_cv_crosscflags__Wnonnull=yes
10472 else
10473 ac_cv_crosscflags__Wnonnull=no
10475 rm -f core conftest.err conftest.$ac_objext \
10476 conftest$ac_exeext conftest.$ac_ext
10477 CFLAGS=$ac_wine_try_cflags_saved
10478 CC=$ac_wine_try_cflags_saved_cc
10479 ac_exeext=$ac_wine_try_cflags_saved_exeext
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10482 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10483 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10484 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10487 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10488 if ${ac_cv_crosscflags__mcx16+:} false; then :
10489 $as_echo_n "(cached) " >&6
10490 else
10491 ac_wine_try_cflags_saved=$CFLAGS
10492 ac_wine_try_cflags_saved_cc=$CC
10493 ac_wine_try_cflags_saved_exeext=$ac_exeext
10494 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10495 CC="$CROSSCC"
10496 ac_exeext=".exe"
10497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10498 /* end confdefs.h. */
10499 int __cdecl mainCRTStartup(void) { return 0; }
10500 _ACEOF
10501 if ac_fn_c_try_link "$LINENO"; then :
10502 ac_cv_crosscflags__mcx16=yes
10503 else
10504 ac_cv_crosscflags__mcx16=no
10506 rm -f core conftest.err conftest.$ac_objext \
10507 conftest$ac_exeext conftest.$ac_ext
10508 CFLAGS=$ac_wine_try_cflags_saved
10509 CC=$ac_wine_try_cflags_saved_cc
10510 ac_exeext=$ac_wine_try_cflags_saved_exeext
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10513 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10514 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10515 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10516 fi ;;
10517 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10518 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10519 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10520 $as_echo_n "(cached) " >&6
10521 else
10522 ac_wine_try_cflags_saved=$CFLAGS
10523 ac_wine_try_cflags_saved_cc=$CC
10524 ac_wine_try_cflags_saved_exeext=$ac_exeext
10525 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10526 CC="$CROSSCC"
10527 ac_exeext=".exe"
10528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10529 /* end confdefs.h. */
10530 int __cdecl mainCRTStartup(void) { return 0; }
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"; then :
10533 ac_cv_crosscflags__Wno_format=yes
10534 else
10535 ac_cv_crosscflags__Wno_format=no
10537 rm -f core conftest.err conftest.$ac_objext \
10538 conftest$ac_exeext conftest.$ac_ext
10539 CFLAGS=$ac_wine_try_cflags_saved
10540 CC=$ac_wine_try_cflags_saved_cc
10541 ac_exeext=$ac_wine_try_cflags_saved_exeext
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10544 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10545 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10546 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10547 fi ;;
10548 esac
10551 if test -z "$CROSSDEBUG"
10552 then
10553 for ac_flag in $CROSSCFLAGS; do
10554 case $ac_flag in
10555 -gdwarf*) CROSSDEBUG=dwarf ;;
10556 -gcodeview) CROSSDEBUG=pdb ;;
10557 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10558 esac
10559 done
10561 case $CROSSDEBUG in
10562 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10563 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10564 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10565 $as_echo_n "(cached) " >&6
10566 else
10567 ac_wine_try_cflags_saved=$CFLAGS
10568 ac_wine_try_cflags_saved_cc=$CC
10569 ac_wine_try_cflags_saved_exeext=$ac_exeext
10570 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10571 CC="$CROSSCC"
10572 ac_exeext=".exe"
10573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10575 int __cdecl mainCRTStartup(void) { return 0; }
10576 _ACEOF
10577 if ac_fn_c_try_link "$LINENO"; then :
10578 ac_cv_crosscflags__gdwarf_2=yes
10579 else
10580 ac_cv_crosscflags__gdwarf_2=no
10582 rm -f core conftest.err conftest.$ac_objext \
10583 conftest$ac_exeext conftest.$ac_ext
10584 CFLAGS=$ac_wine_try_cflags_saved
10585 CC=$ac_wine_try_cflags_saved_cc
10586 ac_exeext=$ac_wine_try_cflags_saved_exeext
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10589 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10590 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10591 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10594 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10595 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10596 $as_echo_n "(cached) " >&6
10597 else
10598 ac_wine_try_cflags_saved=$CFLAGS
10599 ac_wine_try_cflags_saved_cc=$CC
10600 ac_wine_try_cflags_saved_exeext=$ac_exeext
10601 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10602 CC="$CROSSCC"
10603 ac_exeext=".exe"
10604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10605 /* end confdefs.h. */
10606 int __cdecl mainCRTStartup(void) { return 0; }
10607 _ACEOF
10608 if ac_fn_c_try_link "$LINENO"; then :
10609 ac_cv_crosscflags__gstrict_dwarf=yes
10610 else
10611 ac_cv_crosscflags__gstrict_dwarf=no
10613 rm -f core conftest.err conftest.$ac_objext \
10614 conftest$ac_exeext conftest.$ac_ext
10615 CFLAGS=$ac_wine_try_cflags_saved
10616 CC=$ac_wine_try_cflags_saved_cc
10617 ac_exeext=$ac_wine_try_cflags_saved_exeext
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10620 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10621 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10622 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10623 fi ;;
10624 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10625 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10626 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10627 $as_echo_n "(cached) " >&6
10628 else
10629 ac_wine_try_cflags_saved=$CFLAGS
10630 ac_wine_try_cflags_saved_cc=$CC
10631 ac_wine_try_cflags_saved_exeext=$ac_exeext
10632 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10633 CC="$CROSSCC"
10634 ac_exeext=".exe"
10635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10637 int __cdecl mainCRTStartup(void) { return 0; }
10638 _ACEOF
10639 if ac_fn_c_try_link "$LINENO"; then :
10640 ac_cv_crosscflags__gcodeview=yes
10641 else
10642 ac_cv_crosscflags__gcodeview=no
10644 rm -f core conftest.err conftest.$ac_objext \
10645 conftest$ac_exeext conftest.$ac_ext
10646 CFLAGS=$ac_wine_try_cflags_saved
10647 CC=$ac_wine_try_cflags_saved_cc
10648 ac_exeext=$ac_wine_try_cflags_saved_exeext
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10651 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10652 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10653 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10654 fi ;;
10655 esac
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10658 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10659 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10660 $as_echo_n "(cached) " >&6
10661 else
10662 ac_wine_try_cflags_saved=$CFLAGS
10663 ac_wine_try_cflags_saved_cc=$CC
10664 ac_wine_try_cflags_saved_exeext=$ac_exeext
10665 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10666 CC="$CROSSCC"
10667 ac_exeext=".exe"
10668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10670 int __cdecl mainCRTStartup(void) { return 0; }
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673 ac_cv_crosscflags__fexcess_precision_standard=yes
10674 else
10675 ac_cv_crosscflags__fexcess_precision_standard=no
10677 rm -f core conftest.err conftest.$ac_objext \
10678 conftest$ac_exeext conftest.$ac_ext
10679 CFLAGS=$ac_wine_try_cflags_saved
10680 CC=$ac_wine_try_cflags_saved_cc
10681 ac_exeext=$ac_wine_try_cflags_saved_exeext
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10684 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10685 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10686 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10690 if test "x$enable_werror" = "xyes"
10691 then
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10693 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10694 if ${ac_cv_crosscflags__Werror+:} false; then :
10695 $as_echo_n "(cached) " >&6
10696 else
10697 ac_wine_try_cflags_saved=$CFLAGS
10698 ac_wine_try_cflags_saved_cc=$CC
10699 ac_wine_try_cflags_saved_exeext=$ac_exeext
10700 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10701 CC="$CROSSCC"
10702 ac_exeext=".exe"
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10705 int __cdecl mainCRTStartup(void) { return 0; }
10706 _ACEOF
10707 if ac_fn_c_try_link "$LINENO"; then :
10708 ac_cv_crosscflags__Werror=yes
10709 else
10710 ac_cv_crosscflags__Werror=no
10712 rm -f core conftest.err conftest.$ac_objext \
10713 conftest$ac_exeext conftest.$ac_ext
10714 CFLAGS=$ac_wine_try_cflags_saved
10715 CC=$ac_wine_try_cflags_saved_cc
10716 ac_exeext=$ac_wine_try_cflags_saved_exeext
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10719 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10720 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10721 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10724 if test "x$enable_build_id" = "xyes"
10725 then
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10727 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10728 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10729 $as_echo_n "(cached) " >&6
10730 else
10731 ac_wine_try_cflags_saved=$CFLAGS
10732 ac_wine_try_cflags_saved_cc=$CC
10733 ac_wine_try_cflags_saved_exeext=$ac_exeext
10734 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10735 CC="$CROSSCC"
10736 ac_exeext=".exe"
10737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10738 /* end confdefs.h. */
10739 int __cdecl mainCRTStartup(void) { return 0; }
10740 _ACEOF
10741 if ac_fn_c_try_link "$LINENO"; then :
10742 ac_cv_crosscflags__Wl___build_id=yes
10743 else
10744 ac_cv_crosscflags__Wl___build_id=no
10746 rm -f core conftest.err conftest.$ac_objext \
10747 conftest$ac_exeext conftest.$ac_ext
10748 CFLAGS=$ac_wine_try_cflags_saved
10749 CC=$ac_wine_try_cflags_saved_cc
10750 ac_exeext=$ac_wine_try_cflags_saved_exeext
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10753 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10754 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10755 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10756 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10760 CFLAGS=$saved_CFLAGS
10761 CC="$ac_save_CC"
10764 if test "x$CROSSTARGET" = "x"; then :
10765 case "x$with_mingw" in
10766 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10767 xno) ;;
10768 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10769 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10770 esac
10775 if test "$ac_cv_header_pthread_h" = "yes"
10776 then
10777 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10778 if test "x$ac_cv_func_pthread_create" = xyes; then :
10780 else
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10782 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10783 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10784 $as_echo_n "(cached) " >&6
10785 else
10786 ac_check_lib_save_LIBS=$LIBS
10787 LIBS="-lpthread $LIBS"
10788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10791 /* Override any GCC internal prototype to avoid an error.
10792 Use char because int might match the return type of a GCC
10793 builtin and then its argument prototype would still apply. */
10794 #ifdef __cplusplus
10795 extern "C"
10796 #endif
10797 char pthread_create ();
10799 main ()
10801 return pthread_create ();
10803 return 0;
10805 _ACEOF
10806 if ac_fn_c_try_link "$LINENO"; then :
10807 ac_cv_lib_pthread_pthread_create=yes
10808 else
10809 ac_cv_lib_pthread_pthread_create=no
10811 rm -f core conftest.err conftest.$ac_objext \
10812 conftest$ac_exeext conftest.$ac_ext
10813 LIBS=$ac_check_lib_save_LIBS
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10816 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10817 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10818 PTHREAD_LIBS="-lpthread"
10825 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10826 case "x$with_pthread" in
10827 xno) ;;
10828 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10829 Wine cannot support threads without libpthread.
10830 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10831 esac
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10837 $as_echo_n "checking for X... " >&6; }
10840 # Check whether --with-x was given.
10841 if test "${with_x+set}" = set; then :
10842 withval=$with_x;
10845 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10846 if test "x$with_x" = xno; then
10847 # The user explicitly disabled X.
10848 have_x=disabled
10849 else
10850 case $x_includes,$x_libraries in #(
10851 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10852 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10853 $as_echo_n "(cached) " >&6
10854 else
10855 # One or both of the vars are not set, and there is no cached value.
10856 ac_x_includes=no ac_x_libraries=no
10857 rm -f -r conftest.dir
10858 if mkdir conftest.dir; then
10859 cd conftest.dir
10860 cat >Imakefile <<'_ACEOF'
10861 incroot:
10862 @echo incroot='${INCROOT}'
10863 usrlibdir:
10864 @echo usrlibdir='${USRLIBDIR}'
10865 libdir:
10866 @echo libdir='${LIBDIR}'
10867 _ACEOF
10868 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10869 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10870 for ac_var in incroot usrlibdir libdir; do
10871 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10872 done
10873 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10874 for ac_extension in a so sl dylib la dll; do
10875 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10876 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10877 ac_im_usrlibdir=$ac_im_libdir; break
10879 done
10880 # Screen out bogus values from the imake configuration. They are
10881 # bogus both because they are the default anyway, and because
10882 # using them would break gcc on systems where it needs fixed includes.
10883 case $ac_im_incroot in
10884 /usr/include) ac_x_includes= ;;
10885 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10886 esac
10887 case $ac_im_usrlibdir in
10888 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10889 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10890 esac
10892 cd ..
10893 rm -f -r conftest.dir
10896 # Standard set of common directories for X headers.
10897 # Check X11 before X11Rn because it is often a symlink to the current release.
10898 ac_x_header_dirs='
10899 /usr/X11/include
10900 /usr/X11R7/include
10901 /usr/X11R6/include
10902 /usr/X11R5/include
10903 /usr/X11R4/include
10905 /usr/include/X11
10906 /usr/include/X11R7
10907 /usr/include/X11R6
10908 /usr/include/X11R5
10909 /usr/include/X11R4
10911 /usr/local/X11/include
10912 /usr/local/X11R7/include
10913 /usr/local/X11R6/include
10914 /usr/local/X11R5/include
10915 /usr/local/X11R4/include
10917 /usr/local/include/X11
10918 /usr/local/include/X11R7
10919 /usr/local/include/X11R6
10920 /usr/local/include/X11R5
10921 /usr/local/include/X11R4
10923 /usr/X386/include
10924 /usr/x386/include
10925 /usr/XFree86/include/X11
10927 /usr/include
10928 /usr/local/include
10929 /usr/unsupported/include
10930 /usr/athena/include
10931 /usr/local/x11r5/include
10932 /usr/lpp/Xamples/include
10934 /usr/openwin/include
10935 /usr/openwin/share/include'
10937 if test "$ac_x_includes" = no; then
10938 # Guess where to find include files, by looking for Xlib.h.
10939 # First, try using that file with no special directory specified.
10940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10941 /* end confdefs.h. */
10942 #include <X11/Xlib.h>
10943 _ACEOF
10944 if ac_fn_c_try_cpp "$LINENO"; then :
10945 # We can compile using X headers with no special include directory.
10946 ac_x_includes=
10947 else
10948 for ac_dir in $ac_x_header_dirs; do
10949 if test -r "$ac_dir/X11/Xlib.h"; then
10950 ac_x_includes=$ac_dir
10951 break
10953 done
10955 rm -f conftest.err conftest.i conftest.$ac_ext
10956 fi # $ac_x_includes = no
10958 if test "$ac_x_libraries" = no; then
10959 # Check for the libraries.
10960 # See if we find them without any special options.
10961 # Don't add to $LIBS permanently.
10962 ac_save_LIBS=$LIBS
10963 LIBS="-lX11 $LIBS"
10964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10965 /* end confdefs.h. */
10966 #include <X11/Xlib.h>
10968 main ()
10970 XrmInitialize ()
10972 return 0;
10974 _ACEOF
10975 if ac_fn_c_try_link "$LINENO"; then :
10976 LIBS=$ac_save_LIBS
10977 # We can link X programs with no special library path.
10978 ac_x_libraries=
10979 else
10980 LIBS=$ac_save_LIBS
10981 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10983 # Don't even attempt the hair of trying to link an X program!
10984 for ac_extension in a so sl dylib la dll; do
10985 if test -r "$ac_dir/libX11.$ac_extension"; then
10986 ac_x_libraries=$ac_dir
10987 break 2
10989 done
10990 done
10992 rm -f core conftest.err conftest.$ac_objext \
10993 conftest$ac_exeext conftest.$ac_ext
10994 fi # $ac_x_libraries = no
10996 case $ac_x_includes,$ac_x_libraries in #(
10997 no,* | *,no | *\'*)
10998 # Didn't find X, or a directory has "'" in its name.
10999 ac_cv_have_x="have_x=no";; #(
11001 # Record where we found X for the cache.
11002 ac_cv_have_x="have_x=yes\
11003 ac_x_includes='$ac_x_includes'\
11004 ac_x_libraries='$ac_x_libraries'"
11005 esac
11007 ;; #(
11008 *) have_x=yes;;
11009 esac
11010 eval "$ac_cv_have_x"
11011 fi # $with_x != no
11013 if test "$have_x" != yes; then
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11015 $as_echo "$have_x" >&6; }
11016 no_x=yes
11017 else
11018 # If each of the values was on the command line, it overrides each guess.
11019 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11020 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11021 # Update the cache value to reflect the command line values.
11022 ac_cv_have_x="have_x=yes\
11023 ac_x_includes='$x_includes'\
11024 ac_x_libraries='$x_libraries'"
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11026 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11029 if test "$no_x" = yes; then
11030 # Not all programs may use this symbol, but it does not hurt to define it.
11032 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11034 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11035 else
11036 if test -n "$x_includes"; then
11037 X_CFLAGS="$X_CFLAGS -I$x_includes"
11040 # It would also be nice to do this for all -L options, not just this one.
11041 if test -n "$x_libraries"; then
11042 X_LIBS="$X_LIBS -L$x_libraries"
11043 # For Solaris; some versions of Sun CC require a space after -R and
11044 # others require no space. Words are not sufficient . . . .
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11046 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11047 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11048 ac_xsave_c_werror_flag=$ac_c_werror_flag
11049 ac_c_werror_flag=yes
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11054 main ()
11058 return 0;
11060 _ACEOF
11061 if ac_fn_c_try_link "$LINENO"; then :
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11063 $as_echo "no" >&6; }
11064 X_LIBS="$X_LIBS -R$x_libraries"
11065 else
11066 LIBS="$ac_xsave_LIBS -R $x_libraries"
11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11071 main ()
11075 return 0;
11077 _ACEOF
11078 if ac_fn_c_try_link "$LINENO"; then :
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11080 $as_echo "yes" >&6; }
11081 X_LIBS="$X_LIBS -R $x_libraries"
11082 else
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11084 $as_echo "neither works" >&6; }
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11089 rm -f core conftest.err conftest.$ac_objext \
11090 conftest$ac_exeext conftest.$ac_ext
11091 ac_c_werror_flag=$ac_xsave_c_werror_flag
11092 LIBS=$ac_xsave_LIBS
11095 # Check for system-dependent libraries X programs must link with.
11096 # Do this before checking for the system-independent R6 libraries
11097 # (-lICE), since we may need -lsocket or whatever for X linking.
11099 if test "$ISC" = yes; then
11100 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11101 else
11102 # Martyn Johnson says this is needed for Ultrix, if the X
11103 # libraries were built with DECnet support. And Karl Berry says
11104 # the Alpha needs dnet_stub (dnet does not exist).
11105 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11109 /* Override any GCC internal prototype to avoid an error.
11110 Use char because int might match the return type of a GCC
11111 builtin and then its argument prototype would still apply. */
11112 #ifdef __cplusplus
11113 extern "C"
11114 #endif
11115 char XOpenDisplay ();
11117 main ()
11119 return XOpenDisplay ();
11121 return 0;
11123 _ACEOF
11124 if ac_fn_c_try_link "$LINENO"; then :
11126 else
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11128 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11129 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11130 $as_echo_n "(cached) " >&6
11131 else
11132 ac_check_lib_save_LIBS=$LIBS
11133 LIBS="-ldnet $LIBS"
11134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11135 /* end confdefs.h. */
11137 /* Override any GCC internal prototype to avoid an error.
11138 Use char because int might match the return type of a GCC
11139 builtin and then its argument prototype would still apply. */
11140 #ifdef __cplusplus
11141 extern "C"
11142 #endif
11143 char dnet_ntoa ();
11145 main ()
11147 return dnet_ntoa ();
11149 return 0;
11151 _ACEOF
11152 if ac_fn_c_try_link "$LINENO"; then :
11153 ac_cv_lib_dnet_dnet_ntoa=yes
11154 else
11155 ac_cv_lib_dnet_dnet_ntoa=no
11157 rm -f core conftest.err conftest.$ac_objext \
11158 conftest$ac_exeext conftest.$ac_ext
11159 LIBS=$ac_check_lib_save_LIBS
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11162 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11163 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11164 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11167 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11169 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11170 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11171 $as_echo_n "(cached) " >&6
11172 else
11173 ac_check_lib_save_LIBS=$LIBS
11174 LIBS="-ldnet_stub $LIBS"
11175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11176 /* end confdefs.h. */
11178 /* Override any GCC internal prototype to avoid an error.
11179 Use char because int might match the return type of a GCC
11180 builtin and then its argument prototype would still apply. */
11181 #ifdef __cplusplus
11182 extern "C"
11183 #endif
11184 char dnet_ntoa ();
11186 main ()
11188 return dnet_ntoa ();
11190 return 0;
11192 _ACEOF
11193 if ac_fn_c_try_link "$LINENO"; then :
11194 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11195 else
11196 ac_cv_lib_dnet_stub_dnet_ntoa=no
11198 rm -f core conftest.err conftest.$ac_objext \
11199 conftest$ac_exeext conftest.$ac_ext
11200 LIBS=$ac_check_lib_save_LIBS
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11203 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11204 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11205 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11210 rm -f core conftest.err conftest.$ac_objext \
11211 conftest$ac_exeext conftest.$ac_ext
11212 LIBS="$ac_xsave_LIBS"
11214 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11215 # to get the SysV transport functions.
11216 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11217 # needs -lnsl.
11218 # The nsl library prevents programs from opening the X display
11219 # on Irix 5.2, according to T.E. Dickey.
11220 # The functions gethostbyname, getservbyname, and inet_addr are
11221 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11222 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11223 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11227 if test $ac_cv_func_gethostbyname = no; then
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11229 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11230 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11231 $as_echo_n "(cached) " >&6
11232 else
11233 ac_check_lib_save_LIBS=$LIBS
11234 LIBS="-lnsl $LIBS"
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char gethostbyname ();
11246 main ()
11248 return gethostbyname ();
11250 return 0;
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254 ac_cv_lib_nsl_gethostbyname=yes
11255 else
11256 ac_cv_lib_nsl_gethostbyname=no
11258 rm -f core conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11263 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11264 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11265 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11268 if test $ac_cv_lib_nsl_gethostbyname = no; then
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11270 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11271 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11272 $as_echo_n "(cached) " >&6
11273 else
11274 ac_check_lib_save_LIBS=$LIBS
11275 LIBS="-lbsd $LIBS"
11276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h. */
11279 /* Override any GCC internal prototype to avoid an error.
11280 Use char because int might match the return type of a GCC
11281 builtin and then its argument prototype would still apply. */
11282 #ifdef __cplusplus
11283 extern "C"
11284 #endif
11285 char gethostbyname ();
11287 main ()
11289 return gethostbyname ();
11291 return 0;
11293 _ACEOF
11294 if ac_fn_c_try_link "$LINENO"; then :
11295 ac_cv_lib_bsd_gethostbyname=yes
11296 else
11297 ac_cv_lib_bsd_gethostbyname=no
11299 rm -f core conftest.err conftest.$ac_objext \
11300 conftest$ac_exeext conftest.$ac_ext
11301 LIBS=$ac_check_lib_save_LIBS
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11304 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11305 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11306 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11312 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11313 # socket/setsockopt and other routines are undefined under SCO ODT
11314 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11315 # on later versions), says Simon Leinen: it contains gethostby*
11316 # variants that don't use the name server (or something). -lsocket
11317 # must be given before -lnsl if both are needed. We assume that
11318 # if connect needs -lnsl, so does gethostbyname.
11319 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11320 if test "x$ac_cv_func_connect" = xyes; then :
11324 if test $ac_cv_func_connect = no; then
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11326 $as_echo_n "checking for connect in -lsocket... " >&6; }
11327 if ${ac_cv_lib_socket_connect+:} false; then :
11328 $as_echo_n "(cached) " >&6
11329 else
11330 ac_check_lib_save_LIBS=$LIBS
11331 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char connect ();
11343 main ()
11345 return connect ();
11347 return 0;
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_socket_connect=yes
11352 else
11353 ac_cv_lib_socket_connect=no
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11360 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11361 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11362 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11367 # Guillermo Gomez says -lposix is necessary on A/UX.
11368 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11369 if test "x$ac_cv_func_remove" = xyes; then :
11373 if test $ac_cv_func_remove = no; then
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11375 $as_echo_n "checking for remove in -lposix... " >&6; }
11376 if ${ac_cv_lib_posix_remove+:} false; then :
11377 $as_echo_n "(cached) " >&6
11378 else
11379 ac_check_lib_save_LIBS=$LIBS
11380 LIBS="-lposix $LIBS"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char remove ();
11392 main ()
11394 return remove ();
11396 return 0;
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400 ac_cv_lib_posix_remove=yes
11401 else
11402 ac_cv_lib_posix_remove=no
11404 rm -f core conftest.err conftest.$ac_objext \
11405 conftest$ac_exeext conftest.$ac_ext
11406 LIBS=$ac_check_lib_save_LIBS
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11409 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11410 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11411 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11416 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11417 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11418 if test "x$ac_cv_func_shmat" = xyes; then :
11422 if test $ac_cv_func_shmat = no; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11424 $as_echo_n "checking for shmat in -lipc... " >&6; }
11425 if ${ac_cv_lib_ipc_shmat+:} false; then :
11426 $as_echo_n "(cached) " >&6
11427 else
11428 ac_check_lib_save_LIBS=$LIBS
11429 LIBS="-lipc $LIBS"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11433 /* Override any GCC internal prototype to avoid an error.
11434 Use char because int might match the return type of a GCC
11435 builtin and then its argument prototype would still apply. */
11436 #ifdef __cplusplus
11437 extern "C"
11438 #endif
11439 char shmat ();
11441 main ()
11443 return shmat ();
11445 return 0;
11447 _ACEOF
11448 if ac_fn_c_try_link "$LINENO"; then :
11449 ac_cv_lib_ipc_shmat=yes
11450 else
11451 ac_cv_lib_ipc_shmat=no
11453 rm -f core conftest.err conftest.$ac_objext \
11454 conftest$ac_exeext conftest.$ac_ext
11455 LIBS=$ac_check_lib_save_LIBS
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11458 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11459 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11460 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11466 # Check for libraries that X11R6 Xt/Xaw programs need.
11467 ac_save_LDFLAGS=$LDFLAGS
11468 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11469 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11470 # check for ICE first), but we must link in the order -lSM -lICE or
11471 # we get undefined symbols. So assume we have SM if we have ICE.
11472 # These have to be linked with before -lX11, unlike the other
11473 # libraries we check for below, so use a different variable.
11474 # John Interrante, Karl Berry
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11476 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11477 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11478 $as_echo_n "(cached) " >&6
11479 else
11480 ac_check_lib_save_LIBS=$LIBS
11481 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11483 /* end confdefs.h. */
11485 /* Override any GCC internal prototype to avoid an error.
11486 Use char because int might match the return type of a GCC
11487 builtin and then its argument prototype would still apply. */
11488 #ifdef __cplusplus
11489 extern "C"
11490 #endif
11491 char IceConnectionNumber ();
11493 main ()
11495 return IceConnectionNumber ();
11497 return 0;
11499 _ACEOF
11500 if ac_fn_c_try_link "$LINENO"; then :
11501 ac_cv_lib_ICE_IceConnectionNumber=yes
11502 else
11503 ac_cv_lib_ICE_IceConnectionNumber=no
11505 rm -f core conftest.err conftest.$ac_objext \
11506 conftest$ac_exeext conftest.$ac_ext
11507 LIBS=$ac_check_lib_save_LIBS
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11510 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11511 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11512 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11515 LDFLAGS=$ac_save_LDFLAGS
11520 if test "$have_x" = "yes"
11521 then
11522 ac_save_CPPFLAGS="$CPPFLAGS"
11523 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11526 $as_echo_n "checking for -lX11... " >&6; }
11527 if ${ac_cv_lib_soname_X11+:} false; then :
11528 $as_echo_n "(cached) " >&6
11529 else
11530 ac_check_soname_save_LIBS=$LIBS
11531 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11533 /* end confdefs.h. */
11535 /* Override any GCC internal prototype to avoid an error.
11536 Use char because int might match the return type of a GCC
11537 builtin and then its argument prototype would still apply. */
11538 #ifdef __cplusplus
11539 extern "C"
11540 #endif
11541 char XCreateWindow ();
11543 main ()
11545 return XCreateWindow ();
11547 return 0;
11549 _ACEOF
11550 if ac_fn_c_try_link "$LINENO"; then :
11551 case "$LIBEXT" in
11552 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11553 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'` ;;
11554 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11555 if ${ac_cv_lib_soname_X11:+false} :; then :
11556 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11557 fi ;;
11558 esac
11559 else
11560 ac_cv_lib_soname_X11=
11562 rm -f core conftest.err conftest.$ac_objext \
11563 conftest$ac_exeext conftest.$ac_ext
11564 LIBS=$ac_check_soname_save_LIBS
11566 if ${ac_cv_lib_soname_X11:+false} :; then :
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11568 $as_echo "not found" >&6; }
11570 else
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11572 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11574 cat >>confdefs.h <<_ACEOF
11575 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11576 _ACEOF
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11581 $as_echo_n "checking for -lXext... " >&6; }
11582 if ${ac_cv_lib_soname_Xext+:} false; then :
11583 $as_echo_n "(cached) " >&6
11584 else
11585 ac_check_soname_save_LIBS=$LIBS
11586 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588 /* end confdefs.h. */
11590 /* Override any GCC internal prototype to avoid an error.
11591 Use char because int might match the return type of a GCC
11592 builtin and then its argument prototype would still apply. */
11593 #ifdef __cplusplus
11594 extern "C"
11595 #endif
11596 char XextCreateExtension ();
11598 main ()
11600 return XextCreateExtension ();
11602 return 0;
11604 _ACEOF
11605 if ac_fn_c_try_link "$LINENO"; then :
11606 case "$LIBEXT" in
11607 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11608 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'` ;;
11609 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11610 if ${ac_cv_lib_soname_Xext:+false} :; then :
11611 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11612 fi ;;
11613 esac
11614 else
11615 ac_cv_lib_soname_Xext=
11617 rm -f core conftest.err conftest.$ac_objext \
11618 conftest$ac_exeext conftest.$ac_ext
11619 LIBS=$ac_check_soname_save_LIBS
11621 if ${ac_cv_lib_soname_Xext:+false} :; then :
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11623 $as_echo "not found" >&6; }
11625 else
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11627 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11629 cat >>confdefs.h <<_ACEOF
11630 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11631 _ACEOF
11633 X_LIBS="$X_LIBS -lXext"
11635 X_LIBS="$X_LIBS -lX11"
11637 for ac_header in X11/Xlib.h \
11638 X11/XKBlib.h \
11639 X11/Xutil.h \
11640 X11/Xcursor/Xcursor.h \
11641 X11/extensions/shape.h \
11642 X11/extensions/XInput.h \
11643 X11/extensions/XInput2.h \
11644 X11/extensions/XShm.h \
11645 X11/extensions/Xcomposite.h \
11646 X11/extensions/Xfixes.h \
11647 X11/extensions/Xinerama.h \
11648 X11/extensions/Xrandr.h \
11649 X11/extensions/Xrender.h \
11650 X11/extensions/xf86vmode.h \
11651 X11/extensions/xf86vmproto.h
11652 do :
11653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11654 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11655 # include <X11/Xlib.h>
11656 #endif
11657 #ifdef HAVE_X11_XUTIL_H
11658 # include <X11/Xutil.h>
11659 #endif
11661 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11662 cat >>confdefs.h <<_ACEOF
11663 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11664 _ACEOF
11668 done
11671 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11672 then
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11674 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11675 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11676 $as_echo_n "(cached) " >&6
11677 else
11678 ac_check_lib_save_LIBS=$LIBS
11679 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11681 /* end confdefs.h. */
11683 /* Override any GCC internal prototype to avoid an error.
11684 Use char because int might match the return type of a GCC
11685 builtin and then its argument prototype would still apply. */
11686 #ifdef __cplusplus
11687 extern "C"
11688 #endif
11689 char XkbQueryExtension ();
11691 main ()
11693 return XkbQueryExtension ();
11695 return 0;
11697 _ACEOF
11698 if ac_fn_c_try_link "$LINENO"; then :
11699 ac_cv_lib_X11_XkbQueryExtension=yes
11700 else
11701 ac_cv_lib_X11_XkbQueryExtension=no
11703 rm -f core conftest.err conftest.$ac_objext \
11704 conftest$ac_exeext conftest.$ac_ext
11705 LIBS=$ac_check_lib_save_LIBS
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11708 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11709 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11711 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11717 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11718 then
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11720 $as_echo_n "checking for -lXcursor... " >&6; }
11721 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11722 $as_echo_n "(cached) " >&6
11723 else
11724 ac_check_soname_save_LIBS=$LIBS
11725 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11727 /* end confdefs.h. */
11729 /* Override any GCC internal prototype to avoid an error.
11730 Use char because int might match the return type of a GCC
11731 builtin and then its argument prototype would still apply. */
11732 #ifdef __cplusplus
11733 extern "C"
11734 #endif
11735 char XcursorImageLoadCursor ();
11737 main ()
11739 return XcursorImageLoadCursor ();
11741 return 0;
11743 _ACEOF
11744 if ac_fn_c_try_link "$LINENO"; then :
11745 case "$LIBEXT" in
11746 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11747 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'` ;;
11748 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11749 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11750 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11751 fi ;;
11752 esac
11753 else
11754 ac_cv_lib_soname_Xcursor=
11756 rm -f core conftest.err conftest.$ac_objext \
11757 conftest$ac_exeext conftest.$ac_ext
11758 LIBS=$ac_check_soname_save_LIBS
11760 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11762 $as_echo "not found" >&6; }
11764 else
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11766 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11768 cat >>confdefs.h <<_ACEOF
11769 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11770 _ACEOF
11775 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11776 case "x$with_xcursor" in
11777 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11778 xno) ;;
11779 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11780 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11781 esac
11785 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11786 then
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11788 $as_echo_n "checking for -lXi... " >&6; }
11789 if ${ac_cv_lib_soname_Xi+:} false; then :
11790 $as_echo_n "(cached) " >&6
11791 else
11792 ac_check_soname_save_LIBS=$LIBS
11793 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11797 /* Override any GCC internal prototype to avoid an error.
11798 Use char because int might match the return type of a GCC
11799 builtin and then its argument prototype would still apply. */
11800 #ifdef __cplusplus
11801 extern "C"
11802 #endif
11803 char XOpenDevice ();
11805 main ()
11807 return XOpenDevice ();
11809 return 0;
11811 _ACEOF
11812 if ac_fn_c_try_link "$LINENO"; then :
11813 case "$LIBEXT" in
11814 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11815 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'` ;;
11816 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11817 if ${ac_cv_lib_soname_Xi:+false} :; then :
11818 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11819 fi ;;
11820 esac
11821 else
11822 ac_cv_lib_soname_Xi=
11824 rm -f core conftest.err conftest.$ac_objext \
11825 conftest$ac_exeext conftest.$ac_ext
11826 LIBS=$ac_check_soname_save_LIBS
11828 if ${ac_cv_lib_soname_Xi:+false} :; then :
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11830 $as_echo "not found" >&6; }
11832 else
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11834 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11836 cat >>confdefs.h <<_ACEOF
11837 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11838 _ACEOF
11843 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11844 case "x$with_xinput" in
11845 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11846 xno) ;;
11847 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11848 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11849 esac
11853 if test "x$ac_cv_lib_soname_Xi" != x
11854 then
11855 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11856 case "x$with_xinput2" in
11857 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11858 xno) ;;
11859 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11860 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11861 esac
11866 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11867 then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11869 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11870 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11871 $as_echo_n "(cached) " >&6
11872 else
11873 ac_check_lib_save_LIBS=$LIBS
11874 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11878 /* Override any GCC internal prototype to avoid an error.
11879 Use char because int might match the return type of a GCC
11880 builtin and then its argument prototype would still apply. */
11881 #ifdef __cplusplus
11882 extern "C"
11883 #endif
11884 char XShmQueryExtension ();
11886 main ()
11888 return XShmQueryExtension ();
11890 return 0;
11892 _ACEOF
11893 if ac_fn_c_try_link "$LINENO"; then :
11894 ac_cv_lib_Xext_XShmQueryExtension=yes
11895 else
11896 ac_cv_lib_Xext_XShmQueryExtension=no
11898 rm -f core conftest.err conftest.$ac_objext \
11899 conftest$ac_exeext conftest.$ac_ext
11900 LIBS=$ac_check_lib_save_LIBS
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11903 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11904 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11906 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11911 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11912 case "x$with_xshm" in
11913 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11914 xno) ;;
11915 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11916 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11917 esac
11921 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11922 then
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11924 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11925 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11926 $as_echo_n "(cached) " >&6
11927 else
11928 ac_check_lib_save_LIBS=$LIBS
11929 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11931 /* end confdefs.h. */
11933 /* Override any GCC internal prototype to avoid an error.
11934 Use char because int might match the return type of a GCC
11935 builtin and then its argument prototype would still apply. */
11936 #ifdef __cplusplus
11937 extern "C"
11938 #endif
11939 char XShapeQueryExtension ();
11941 main ()
11943 return XShapeQueryExtension ();
11945 return 0;
11947 _ACEOF
11948 if ac_fn_c_try_link "$LINENO"; then :
11949 ac_cv_lib_Xext_XShapeQueryExtension=yes
11950 else
11951 ac_cv_lib_Xext_XShapeQueryExtension=no
11953 rm -f core conftest.err conftest.$ac_objext \
11954 conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_lib_save_LIBS
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11958 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11959 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11961 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11966 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11967 case "x$with_xshape" in
11968 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11969 xno) ;;
11970 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11971 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11972 esac
11976 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11977 then
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11979 $as_echo_n "checking for -lXxf86vm... " >&6; }
11980 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11981 $as_echo_n "(cached) " >&6
11982 else
11983 ac_check_soname_save_LIBS=$LIBS
11984 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11988 /* Override any GCC internal prototype to avoid an error.
11989 Use char because int might match the return type of a GCC
11990 builtin and then its argument prototype would still apply. */
11991 #ifdef __cplusplus
11992 extern "C"
11993 #endif
11994 char XF86VidModeQueryExtension ();
11996 main ()
11998 return XF86VidModeQueryExtension ();
12000 return 0;
12002 _ACEOF
12003 if ac_fn_c_try_link "$LINENO"; then :
12004 case "$LIBEXT" in
12005 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12006 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'` ;;
12007 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12008 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12009 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12010 fi ;;
12011 esac
12012 else
12013 ac_cv_lib_soname_Xxf86vm=
12015 rm -f core conftest.err conftest.$ac_objext \
12016 conftest$ac_exeext conftest.$ac_ext
12017 LIBS=$ac_check_soname_save_LIBS
12019 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12021 $as_echo "not found" >&6; }
12023 else
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12025 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12027 cat >>confdefs.h <<_ACEOF
12028 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12029 _ACEOF
12034 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12035 case "x$with_xxf86vm" in
12036 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12037 xno) ;;
12038 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12039 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12040 esac
12044 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12045 then
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12047 $as_echo_n "checking for -lXrender... " >&6; }
12048 if ${ac_cv_lib_soname_Xrender+:} false; then :
12049 $as_echo_n "(cached) " >&6
12050 else
12051 ac_check_soname_save_LIBS=$LIBS
12052 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12059 #ifdef __cplusplus
12060 extern "C"
12061 #endif
12062 char XRenderQueryExtension ();
12064 main ()
12066 return XRenderQueryExtension ();
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_link "$LINENO"; then :
12072 case "$LIBEXT" in
12073 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12074 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'` ;;
12075 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12076 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12077 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12078 fi ;;
12079 esac
12080 else
12081 ac_cv_lib_soname_Xrender=
12083 rm -f core conftest.err conftest.$ac_objext \
12084 conftest$ac_exeext conftest.$ac_ext
12085 LIBS=$ac_check_soname_save_LIBS
12087 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12089 $as_echo "not found" >&6; }
12091 else
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12093 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12095 cat >>confdefs.h <<_ACEOF
12096 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12097 _ACEOF
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12100 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12101 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12102 $as_echo_n "(cached) " >&6
12103 else
12104 ac_check_lib_save_LIBS=$LIBS
12105 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12107 /* end confdefs.h. */
12109 /* Override any GCC internal prototype to avoid an error.
12110 Use char because int might match the return type of a GCC
12111 builtin and then its argument prototype would still apply. */
12112 #ifdef __cplusplus
12113 extern "C"
12114 #endif
12115 char XRenderSetPictureTransform ();
12117 main ()
12119 return XRenderSetPictureTransform ();
12121 return 0;
12123 _ACEOF
12124 if ac_fn_c_try_link "$LINENO"; then :
12125 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12126 else
12127 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12129 rm -f core conftest.err conftest.$ac_objext \
12130 conftest$ac_exeext conftest.$ac_ext
12131 LIBS=$ac_check_lib_save_LIBS
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12134 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12135 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12137 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12142 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12143 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12144 $as_echo_n "(cached) " >&6
12145 else
12146 ac_check_lib_save_LIBS=$LIBS
12147 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12151 /* Override any GCC internal prototype to avoid an error.
12152 Use char because int might match the return type of a GCC
12153 builtin and then its argument prototype would still apply. */
12154 #ifdef __cplusplus
12155 extern "C"
12156 #endif
12157 char XRenderCreateLinearGradient ();
12159 main ()
12161 return XRenderCreateLinearGradient ();
12163 return 0;
12165 _ACEOF
12166 if ac_fn_c_try_link "$LINENO"; then :
12167 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12168 else
12169 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12171 rm -f core conftest.err conftest.$ac_objext \
12172 conftest$ac_exeext conftest.$ac_ext
12173 LIBS=$ac_check_lib_save_LIBS
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12176 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12177 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12179 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12186 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12187 case "x$with_xrender" in
12188 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12189 xno) ;;
12190 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12191 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12192 esac
12196 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12197 then
12198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12199 /* end confdefs.h. */
12200 #include <X11/Xlib.h>
12201 #include <X11/extensions/Xrandr.h>
12203 main ()
12205 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12207 return 0;
12209 _ACEOF
12210 if ac_fn_c_try_compile "$LINENO"; then :
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12212 $as_echo_n "checking for -lXrandr... " >&6; }
12213 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12214 $as_echo_n "(cached) " >&6
12215 else
12216 ac_check_soname_save_LIBS=$LIBS
12217 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12219 /* end confdefs.h. */
12221 /* Override any GCC internal prototype to avoid an error.
12222 Use char because int might match the return type of a GCC
12223 builtin and then its argument prototype would still apply. */
12224 #ifdef __cplusplus
12225 extern "C"
12226 #endif
12227 char XRRQueryExtension ();
12229 main ()
12231 return XRRQueryExtension ();
12233 return 0;
12235 _ACEOF
12236 if ac_fn_c_try_link "$LINENO"; then :
12237 case "$LIBEXT" in
12238 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12239 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'` ;;
12240 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12241 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12242 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12243 fi ;;
12244 esac
12245 else
12246 ac_cv_lib_soname_Xrandr=
12248 rm -f core conftest.err conftest.$ac_objext \
12249 conftest$ac_exeext conftest.$ac_ext
12250 LIBS=$ac_check_soname_save_LIBS
12252 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12254 $as_echo "not found" >&6; }
12256 else
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12258 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12260 cat >>confdefs.h <<_ACEOF
12261 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12262 _ACEOF
12264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12265 /* end confdefs.h. */
12266 #include <X11/Xlib.h>
12267 #include <X11/extensions/Xrandr.h>
12269 main ()
12271 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12273 return 0;
12275 _ACEOF
12276 if ac_fn_c_try_compile "$LINENO"; then :
12278 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12280 else
12281 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12288 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12289 case "x$with_xrandr" in
12290 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12291 xno) ;;
12292 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12293 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12294 esac
12298 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12299 then
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12302 #include <X11/Xlib.h>
12303 #include <X11/extensions/Xfixes.h>
12305 main ()
12307 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12309 return 0;
12311 _ACEOF
12312 if ac_fn_c_try_compile "$LINENO"; then :
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12314 $as_echo_n "checking for -lXfixes... " >&6; }
12315 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12316 $as_echo_n "(cached) " >&6
12317 else
12318 ac_check_soname_save_LIBS=$LIBS
12319 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12323 /* Override any GCC internal prototype to avoid an error.
12324 Use char because int might match the return type of a GCC
12325 builtin and then its argument prototype would still apply. */
12326 #ifdef __cplusplus
12327 extern "C"
12328 #endif
12329 char XFixesQueryVersion ();
12331 main ()
12333 return XFixesQueryVersion ();
12335 return 0;
12337 _ACEOF
12338 if ac_fn_c_try_link "$LINENO"; then :
12339 case "$LIBEXT" in
12340 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12341 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'` ;;
12342 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12343 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12344 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12345 fi ;;
12346 esac
12347 else
12348 ac_cv_lib_soname_Xfixes=
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 LIBS=$ac_check_soname_save_LIBS
12354 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12356 $as_echo "not found" >&6; }
12358 else
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12360 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12362 cat >>confdefs.h <<_ACEOF
12363 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12364 _ACEOF
12369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12371 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12372 case "x$with_xfixes" in
12373 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12374 xno) ;;
12375 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12376 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12377 esac
12381 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12382 then
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12385 #include <X11/Xlib.h>
12386 #include <X11/extensions/Xinerama.h>
12388 main ()
12390 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12392 return 0;
12394 _ACEOF
12395 if ac_fn_c_try_compile "$LINENO"; then :
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12397 $as_echo_n "checking for -lXinerama... " >&6; }
12398 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12399 $as_echo_n "(cached) " >&6
12400 else
12401 ac_check_soname_save_LIBS=$LIBS
12402 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12406 /* Override any GCC internal prototype to avoid an error.
12407 Use char because int might match the return type of a GCC
12408 builtin and then its argument prototype would still apply. */
12409 #ifdef __cplusplus
12410 extern "C"
12411 #endif
12412 char XineramaQueryScreens ();
12414 main ()
12416 return XineramaQueryScreens ();
12418 return 0;
12420 _ACEOF
12421 if ac_fn_c_try_link "$LINENO"; then :
12422 case "$LIBEXT" in
12423 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12424 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'` ;;
12425 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12426 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12427 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12428 fi ;;
12429 esac
12430 else
12431 ac_cv_lib_soname_Xinerama=
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 LIBS=$ac_check_soname_save_LIBS
12437 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12439 $as_echo "not found" >&6; }
12441 else
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12443 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12445 cat >>confdefs.h <<_ACEOF
12446 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12447 _ACEOF
12452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12454 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12455 case "x$with_xinerama" in
12456 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12457 xno) ;;
12458 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12459 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12460 esac
12464 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12465 then
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12467 $as_echo_n "checking for -lXcomposite... " >&6; }
12468 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12469 $as_echo_n "(cached) " >&6
12470 else
12471 ac_check_soname_save_LIBS=$LIBS
12472 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12474 /* end confdefs.h. */
12476 /* Override any GCC internal prototype to avoid an error.
12477 Use char because int might match the return type of a GCC
12478 builtin and then its argument prototype would still apply. */
12479 #ifdef __cplusplus
12480 extern "C"
12481 #endif
12482 char XCompositeRedirectWindow ();
12484 main ()
12486 return XCompositeRedirectWindow ();
12488 return 0;
12490 _ACEOF
12491 if ac_fn_c_try_link "$LINENO"; then :
12492 case "$LIBEXT" in
12493 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12494 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'` ;;
12495 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12496 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12497 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12498 fi ;;
12499 esac
12500 else
12501 ac_cv_lib_soname_Xcomposite=
12503 rm -f core conftest.err conftest.$ac_objext \
12504 conftest$ac_exeext conftest.$ac_ext
12505 LIBS=$ac_check_soname_save_LIBS
12507 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12509 $as_echo "not found" >&6; }
12511 else
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12513 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12515 cat >>confdefs.h <<_ACEOF
12516 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12517 _ACEOF
12522 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12523 case "x$with_xcomposite" in
12524 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12525 xno) ;;
12526 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12527 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12528 esac
12532 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12533 #include <X11/Xlib.h>
12534 #endif
12536 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12538 cat >>confdefs.h <<_ACEOF
12539 #define HAVE_XICCALLBACK_CALLBACK 1
12540 _ACEOF
12544 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12545 #include <X11/Xlib.h>
12546 #endif
12548 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12550 cat >>confdefs.h <<_ACEOF
12551 #define HAVE_XEVENT_XCOOKIE 1
12552 _ACEOF
12559 opengl_msg=""
12560 if test "x$with_opengl" != "xno"
12561 then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12563 $as_echo_n "checking for -lGL... " >&6; }
12564 if ${ac_cv_lib_soname_GL+:} false; then :
12565 $as_echo_n "(cached) " >&6
12566 else
12567 ac_check_soname_save_LIBS=$LIBS
12568 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12570 /* end confdefs.h. */
12572 /* Override any GCC internal prototype to avoid an error.
12573 Use char because int might match the return type of a GCC
12574 builtin and then its argument prototype would still apply. */
12575 #ifdef __cplusplus
12576 extern "C"
12577 #endif
12578 char glXCreateContext ();
12580 main ()
12582 return glXCreateContext ();
12584 return 0;
12586 _ACEOF
12587 if ac_fn_c_try_link "$LINENO"; then :
12588 case "$LIBEXT" in
12589 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12590 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'` ;;
12591 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12592 if ${ac_cv_lib_soname_GL:+false} :; then :
12593 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12594 fi ;;
12595 esac
12596 else
12597 ac_cv_lib_soname_GL=
12599 rm -f core conftest.err conftest.$ac_objext \
12600 conftest$ac_exeext conftest.$ac_ext
12601 LIBS=$ac_check_soname_save_LIBS
12603 if ${ac_cv_lib_soname_GL:+false} :; then :
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12605 $as_echo "not found" >&6; }
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12607 $as_echo_n "checking for -lGL... " >&6; }
12608 if ${ac_cv_lib_soname_GL+:} false; then :
12609 $as_echo_n "(cached) " >&6
12610 else
12611 ac_check_soname_save_LIBS=$LIBS
12612 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"
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12619 #ifdef __cplusplus
12620 extern "C"
12621 #endif
12622 char glXCreateContext ();
12624 main ()
12626 return glXCreateContext ();
12628 return 0;
12630 _ACEOF
12631 if ac_fn_c_try_link "$LINENO"; then :
12632 case "$LIBEXT" in
12633 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12634 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'` ;;
12635 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12636 if ${ac_cv_lib_soname_GL:+false} :; then :
12637 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12638 fi ;;
12639 esac
12640 else
12641 ac_cv_lib_soname_GL=
12643 rm -f core conftest.err conftest.$ac_objext \
12644 conftest$ac_exeext conftest.$ac_ext
12645 LIBS=$ac_check_soname_save_LIBS
12647 if ${ac_cv_lib_soname_GL:+false} :; then :
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12649 $as_echo "not found" >&6; }
12650 if test -f /usr/X11R6/lib/libGL.a
12651 then
12652 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12653 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12654 else
12655 opengl_msg="No OpenGL library found on this system."
12657 else
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12659 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12661 cat >>confdefs.h <<_ACEOF
12662 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12663 _ACEOF
12665 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"
12667 else
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12669 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12671 cat >>confdefs.h <<_ACEOF
12672 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12673 _ACEOF
12675 OPENGL_LIBS="-lGL"
12677 if test "x$with_osmesa" != "xno"
12678 then
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12680 $as_echo_n "checking for -lOSMesa... " >&6; }
12681 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12682 $as_echo_n "(cached) " >&6
12683 else
12684 ac_check_soname_save_LIBS=$LIBS
12685 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 /* Override any GCC internal prototype to avoid an error.
12690 Use char because int might match the return type of a GCC
12691 builtin and then its argument prototype would still apply. */
12692 #ifdef __cplusplus
12693 extern "C"
12694 #endif
12695 char OSMesaGetProcAddress ();
12697 main ()
12699 return OSMesaGetProcAddress ();
12701 return 0;
12703 _ACEOF
12704 if ac_fn_c_try_link "$LINENO"; then :
12705 case "$LIBEXT" in
12706 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12707 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'` ;;
12708 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12709 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12710 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12711 fi ;;
12712 esac
12713 else
12714 ac_cv_lib_soname_OSMesa=
12716 rm -f core conftest.err conftest.$ac_objext \
12717 conftest$ac_exeext conftest.$ac_ext
12718 LIBS=$ac_check_soname_save_LIBS
12720 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12722 $as_echo "not found" >&6; }
12724 else
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12726 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12728 cat >>confdefs.h <<_ACEOF
12729 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12730 _ACEOF
12734 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12735 case "x$with_osmesa" in
12736 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12737 xno) ;;
12738 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12739 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12740 esac
12745 if test -n "$opengl_msg"; then :
12746 case "x$with_opengl" in
12747 x) as_fn_append wine_warnings "|$opengl_msg
12748 OpenGL and Direct3D won't be supported." ;;
12749 xno) ;;
12750 *) as_fn_error $? "$opengl_msg
12751 OpenGL and Direct3D won't be supported.
12752 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12753 esac
12757 CPPFLAGS="$ac_save_CPPFLAGS"
12758 else
12759 X_CFLAGS=""
12760 X_LIBS=""
12763 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12764 then
12765 if test "x$X_LIBS" = "x"; then :
12766 case "x$with_x" in
12767 xno) ;;
12768 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12769 without X support, which probably isn't what you want. You will need
12770 to install ${notice_platform}development packages of Xlib at the very least.
12771 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12772 esac
12773 enable_winex11_drv=${enable_winex11_drv:-no}
12775 else
12776 if test "x$X_LIBS" = "x"; then :
12777 case "x$with_x" in
12778 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12779 xno) ;;
12780 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12781 This is an error since --with-x was requested." "$LINENO" 5 ;;
12782 esac
12783 enable_winex11_drv=${enable_winex11_drv:-no}
12787 if test "$ac_cv_header_CL_cl_h" = "yes"
12788 then
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12790 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12791 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12792 $as_echo_n "(cached) " >&6
12793 else
12794 ac_check_lib_save_LIBS=$LIBS
12795 LIBS="-lOpenCL $LIBS"
12796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12799 /* Override any GCC internal prototype to avoid an error.
12800 Use char because int might match the return type of a GCC
12801 builtin and then its argument prototype would still apply. */
12802 #ifdef __cplusplus
12803 extern "C"
12804 #endif
12805 char clGetPlatformInfo ();
12807 main ()
12809 return clGetPlatformInfo ();
12811 return 0;
12813 _ACEOF
12814 if ac_fn_c_try_link "$LINENO"; then :
12815 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12816 else
12817 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12819 rm -f core conftest.err conftest.$ac_objext \
12820 conftest$ac_exeext conftest.$ac_ext
12821 LIBS=$ac_check_lib_save_LIBS
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12824 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12825 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12826 OPENCL_LIBS="-lOpenCL"
12831 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12832 case "x$with_opencl" in
12833 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12834 xno) ;;
12835 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12836 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12837 esac
12838 enable_opencl=${enable_opencl:-no}
12841 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12842 then
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12844 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12845 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12846 $as_echo_n "(cached) " >&6
12847 else
12848 ac_check_lib_save_LIBS=$LIBS
12849 LIBS="-lpcap $LIBS"
12850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12853 /* Override any GCC internal prototype to avoid an error.
12854 Use char because int might match the return type of a GCC
12855 builtin and then its argument prototype would still apply. */
12856 #ifdef __cplusplus
12857 extern "C"
12858 #endif
12859 char pcap_create ();
12861 main ()
12863 return pcap_create ();
12865 return 0;
12867 _ACEOF
12868 if ac_fn_c_try_link "$LINENO"; then :
12869 ac_cv_lib_pcap_pcap_create=yes
12870 else
12871 ac_cv_lib_pcap_pcap_create=no
12873 rm -f core conftest.err conftest.$ac_objext \
12874 conftest$ac_exeext conftest.$ac_ext
12875 LIBS=$ac_check_lib_save_LIBS
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12878 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12879 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12880 PCAP_LIBS="-lpcap"
12885 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12886 case "x$with_pcap" in
12887 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12888 xno) ;;
12889 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12890 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12891 esac
12892 enable_wpcap=${enable_wpcap:-no}
12896 if test "x$with_xml" != "xno"
12897 then
12898 if ${XML2_CFLAGS:+false} :; then :
12899 if ${PKG_CONFIG+:} false; then :
12900 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12903 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12904 if ${XML2_LIBS:+false} :; then :
12905 if ${PKG_CONFIG+:} false; then :
12906 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12909 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12910 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12911 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12912 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12913 ac_save_CPPFLAGS=$CPPFLAGS
12914 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12915 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12916 do :
12917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12918 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12920 cat >>confdefs.h <<_ACEOF
12921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12922 _ACEOF
12926 done
12928 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"
12929 then
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12931 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12932 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12933 $as_echo_n "(cached) " >&6
12934 else
12935 ac_check_lib_save_LIBS=$LIBS
12936 LIBS="-lxml2 $XML2_LIBS $LIBS"
12937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12938 /* end confdefs.h. */
12940 /* Override any GCC internal prototype to avoid an error.
12941 Use char because int might match the return type of a GCC
12942 builtin and then its argument prototype would still apply. */
12943 #ifdef __cplusplus
12944 extern "C"
12945 #endif
12946 char xmlParseMemory ();
12948 main ()
12950 return xmlParseMemory ();
12952 return 0;
12954 _ACEOF
12955 if ac_fn_c_try_link "$LINENO"; then :
12956 ac_cv_lib_xml2_xmlParseMemory=yes
12957 else
12958 ac_cv_lib_xml2_xmlParseMemory=no
12960 rm -f core conftest.err conftest.$ac_objext \
12961 conftest$ac_exeext conftest.$ac_ext
12962 LIBS=$ac_check_lib_save_LIBS
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12965 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12966 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12968 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12970 else
12971 XML2_LIBS=""
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12975 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12976 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12977 $as_echo_n "(cached) " >&6
12978 else
12979 ac_check_lib_save_LIBS=$LIBS
12980 LIBS="-lxml2 $XML2_LIBS $LIBS"
12981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12982 /* end confdefs.h. */
12984 /* Override any GCC internal prototype to avoid an error.
12985 Use char because int might match the return type of a GCC
12986 builtin and then its argument prototype would still apply. */
12987 #ifdef __cplusplus
12988 extern "C"
12989 #endif
12990 char xmlReadMemory ();
12992 main ()
12994 return xmlReadMemory ();
12996 return 0;
12998 _ACEOF
12999 if ac_fn_c_try_link "$LINENO"; then :
13000 ac_cv_lib_xml2_xmlReadMemory=yes
13001 else
13002 ac_cv_lib_xml2_xmlReadMemory=no
13004 rm -f core conftest.err conftest.$ac_objext \
13005 conftest$ac_exeext conftest.$ac_ext
13006 LIBS=$ac_check_lib_save_LIBS
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13009 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13010 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13012 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13017 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13018 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13019 $as_echo_n "(cached) " >&6
13020 else
13021 ac_check_lib_save_LIBS=$LIBS
13022 LIBS="-lxml2 $XML2_LIBS $LIBS"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13029 #ifdef __cplusplus
13030 extern "C"
13031 #endif
13032 char xmlNewDocPI ();
13034 main ()
13036 return xmlNewDocPI ();
13038 return 0;
13040 _ACEOF
13041 if ac_fn_c_try_link "$LINENO"; then :
13042 ac_cv_lib_xml2_xmlNewDocPI=yes
13043 else
13044 ac_cv_lib_xml2_xmlNewDocPI=no
13046 rm -f core conftest.err conftest.$ac_objext \
13047 conftest$ac_exeext conftest.$ac_ext
13048 LIBS=$ac_check_lib_save_LIBS
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13051 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13052 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13054 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13059 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13060 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13061 $as_echo_n "(cached) " >&6
13062 else
13063 ac_check_lib_save_LIBS=$LIBS
13064 LIBS="-lxml2 $XML2_LIBS $LIBS"
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13068 /* Override any GCC internal prototype to avoid an error.
13069 Use char because int might match the return type of a GCC
13070 builtin and then its argument prototype would still apply. */
13071 #ifdef __cplusplus
13072 extern "C"
13073 #endif
13074 char xmlSchemaSetParserStructuredErrors ();
13076 main ()
13078 return xmlSchemaSetParserStructuredErrors ();
13080 return 0;
13082 _ACEOF
13083 if ac_fn_c_try_link "$LINENO"; then :
13084 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13085 else
13086 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13088 rm -f core conftest.err conftest.$ac_objext \
13089 conftest$ac_exeext conftest.$ac_ext
13090 LIBS=$ac_check_lib_save_LIBS
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13093 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13094 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13096 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13101 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13102 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13103 $as_echo_n "(cached) " >&6
13104 else
13105 ac_check_lib_save_LIBS=$LIBS
13106 LIBS="-lxml2 $XML2_LIBS $LIBS"
13107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13110 /* Override any GCC internal prototype to avoid an error.
13111 Use char because int might match the return type of a GCC
13112 builtin and then its argument prototype would still apply. */
13113 #ifdef __cplusplus
13114 extern "C"
13115 #endif
13116 char xmlSchemaSetValidStructuredErrors ();
13118 main ()
13120 return xmlSchemaSetValidStructuredErrors ();
13122 return 0;
13124 _ACEOF
13125 if ac_fn_c_try_link "$LINENO"; then :
13126 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13127 else
13128 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13130 rm -f core conftest.err conftest.$ac_objext \
13131 conftest$ac_exeext conftest.$ac_ext
13132 LIBS=$ac_check_lib_save_LIBS
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13135 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13136 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13138 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13143 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13144 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13145 $as_echo_n "(cached) " >&6
13146 else
13147 ac_check_lib_save_LIBS=$LIBS
13148 LIBS="-lxml2 $XML2_LIBS $LIBS"
13149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13150 /* end confdefs.h. */
13152 /* Override any GCC internal prototype to avoid an error.
13153 Use char because int might match the return type of a GCC
13154 builtin and then its argument prototype would still apply. */
13155 #ifdef __cplusplus
13156 extern "C"
13157 #endif
13158 char xmlFirstElementChild ();
13160 main ()
13162 return xmlFirstElementChild ();
13164 return 0;
13166 _ACEOF
13167 if ac_fn_c_try_link "$LINENO"; then :
13168 ac_cv_lib_xml2_xmlFirstElementChild=yes
13169 else
13170 ac_cv_lib_xml2_xmlFirstElementChild=no
13172 rm -f core conftest.err conftest.$ac_objext \
13173 conftest$ac_exeext conftest.$ac_ext
13174 LIBS=$ac_check_lib_save_LIBS
13176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13177 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13178 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13180 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13184 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13186 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13188 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13192 else
13193 XML2_CFLAGS=""
13194 XML2_LIBS=""
13196 CPPFLAGS=$ac_save_CPPFLAGS
13199 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13200 case "x$with_xml" in
13201 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13202 xno) ;;
13203 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13204 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13205 esac
13209 if test "x$with_xslt" != "xno"
13210 then
13211 if ${XSLT_CFLAGS:+false} :; then :
13212 if ${PKG_CONFIG+:} false; then :
13213 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13216 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13217 if ${XSLT_LIBS:+false} :; then :
13218 if ${PKG_CONFIG+:} false; then :
13219 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13222 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13223 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13224 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13225 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13226 ac_save_CPPFLAGS=$CPPFLAGS
13227 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13228 for ac_header in libxslt/pattern.h libxslt/transform.h
13229 do :
13230 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13231 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13232 # include <libxslt/pattern.h>
13233 #endif
13235 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13236 cat >>confdefs.h <<_ACEOF
13237 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13238 _ACEOF
13242 done
13244 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13245 then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13247 $as_echo_n "checking for -lxslt... " >&6; }
13248 if ${ac_cv_lib_soname_xslt+:} false; then :
13249 $as_echo_n "(cached) " >&6
13250 else
13251 ac_check_soname_save_LIBS=$LIBS
13252 LIBS="-lxslt $XSLT_LIBS $LIBS"
13253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13256 /* Override any GCC internal prototype to avoid an error.
13257 Use char because int might match the return type of a GCC
13258 builtin and then its argument prototype would still apply. */
13259 #ifdef __cplusplus
13260 extern "C"
13261 #endif
13262 char xsltCompilePattern ();
13264 main ()
13266 return xsltCompilePattern ();
13268 return 0;
13270 _ACEOF
13271 if ac_fn_c_try_link "$LINENO"; then :
13272 case "$LIBEXT" in
13273 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13274 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'` ;;
13275 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13276 if ${ac_cv_lib_soname_xslt:+false} :; then :
13277 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13278 fi ;;
13279 esac
13280 else
13281 ac_cv_lib_soname_xslt=
13283 rm -f core conftest.err conftest.$ac_objext \
13284 conftest$ac_exeext conftest.$ac_ext
13285 LIBS=$ac_check_soname_save_LIBS
13287 if ${ac_cv_lib_soname_xslt:+false} :; then :
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13289 $as_echo "not found" >&6; }
13291 else
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13293 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13295 cat >>confdefs.h <<_ACEOF
13296 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13297 _ACEOF
13301 else
13302 XSLT_CFLAGS=""
13304 CPPFLAGS=$ac_save_CPPFLAGS
13307 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13308 case "x$with_xslt" in
13309 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13310 xno) ;;
13311 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13312 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13313 esac
13317 if test "x$with_inotify" != "xno"
13318 then
13319 if ${INOTIFY_CFLAGS:+false} :; then :
13320 if ${PKG_CONFIG+:} false; then :
13321 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13325 if ${INOTIFY_LIBS:+false} :; then :
13326 if ${PKG_CONFIG+:} false; then :
13327 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13332 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13333 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13334 ac_save_CPPFLAGS=$CPPFLAGS
13335 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13336 for ac_header in sys/inotify.h
13337 do :
13338 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13339 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13340 cat >>confdefs.h <<_ACEOF
13341 #define HAVE_SYS_INOTIFY_H 1
13342 _ACEOF
13346 done
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13349 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13350 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13351 $as_echo_n "(cached) " >&6
13352 else
13353 ac_check_lib_save_LIBS=$LIBS
13354 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 /* end confdefs.h. */
13358 /* Override any GCC internal prototype to avoid an error.
13359 Use char because int might match the return type of a GCC
13360 builtin and then its argument prototype would still apply. */
13361 #ifdef __cplusplus
13362 extern "C"
13363 #endif
13364 char inotify_add_watch ();
13366 main ()
13368 return inotify_add_watch ();
13370 return 0;
13372 _ACEOF
13373 if ac_fn_c_try_link "$LINENO"; then :
13374 ac_cv_lib_inotify_inotify_add_watch=yes
13375 else
13376 ac_cv_lib_inotify_inotify_add_watch=no
13378 rm -f core conftest.err conftest.$ac_objext \
13379 conftest$ac_exeext conftest.$ac_ext
13380 LIBS=$ac_check_lib_save_LIBS
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13383 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13384 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13386 else
13387 INOTIFY_LIBS=""
13390 CPPFLAGS=$ac_save_CPPFLAGS
13393 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13394 case "x$with_inotify" in
13395 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13396 xno) ;;
13397 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13398 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13399 esac
13403 if test "x$with_dbus" != "xno"
13404 then
13405 if ${DBUS_CFLAGS:+false} :; then :
13406 if ${PKG_CONFIG+:} false; then :
13407 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13411 if ${DBUS_LIBS:+false} :; then :
13412 if ${PKG_CONFIG+:} false; then :
13413 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13418 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13419 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13420 ac_save_CPPFLAGS=$CPPFLAGS
13421 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13422 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13423 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13425 $as_echo_n "checking for -ldbus-1... " >&6; }
13426 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13427 $as_echo_n "(cached) " >&6
13428 else
13429 ac_check_soname_save_LIBS=$LIBS
13430 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13432 /* end confdefs.h. */
13434 /* Override any GCC internal prototype to avoid an error.
13435 Use char because int might match the return type of a GCC
13436 builtin and then its argument prototype would still apply. */
13437 #ifdef __cplusplus
13438 extern "C"
13439 #endif
13440 char dbus_connection_close ();
13442 main ()
13444 return dbus_connection_close ();
13446 return 0;
13448 _ACEOF
13449 if ac_fn_c_try_link "$LINENO"; then :
13450 case "$LIBEXT" in
13451 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13452 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'` ;;
13453 *) 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'`
13454 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13455 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13456 fi ;;
13457 esac
13458 else
13459 ac_cv_lib_soname_dbus_1=
13461 rm -f core conftest.err conftest.$ac_objext \
13462 conftest$ac_exeext conftest.$ac_ext
13463 LIBS=$ac_check_soname_save_LIBS
13465 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13467 $as_echo "not found" >&6; }
13468 DBUS_CFLAGS=""
13469 else
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13471 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13473 cat >>confdefs.h <<_ACEOF
13474 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13475 _ACEOF
13479 else
13480 DBUS_CFLAGS=""
13484 CPPFLAGS=$ac_save_CPPFLAGS
13487 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13488 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13489 case "x$with_dbus" in
13490 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13491 xno) ;;
13492 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13493 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13494 esac
13498 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13499 then
13500 if ${HAL_CFLAGS:+false} :; then :
13501 if ${PKG_CONFIG+:} false; then :
13502 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13506 if ${HAL_LIBS:+false} :; then :
13507 if ${PKG_CONFIG+:} false; then :
13508 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13512 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13513 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13514 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13515 ac_save_CPPFLAGS=$CPPFLAGS
13516 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13517 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13518 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13520 $as_echo_n "checking for -lhal... " >&6; }
13521 if ${ac_cv_lib_soname_hal+:} false; then :
13522 $as_echo_n "(cached) " >&6
13523 else
13524 ac_check_soname_save_LIBS=$LIBS
13525 LIBS="-lhal $HAL_LIBS $LIBS"
13526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13527 /* end confdefs.h. */
13529 /* Override any GCC internal prototype to avoid an error.
13530 Use char because int might match the return type of a GCC
13531 builtin and then its argument prototype would still apply. */
13532 #ifdef __cplusplus
13533 extern "C"
13534 #endif
13535 char libhal_ctx_new ();
13537 main ()
13539 return libhal_ctx_new ();
13541 return 0;
13543 _ACEOF
13544 if ac_fn_c_try_link "$LINENO"; then :
13545 case "$LIBEXT" in
13546 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13547 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'` ;;
13548 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13549 if ${ac_cv_lib_soname_hal:+false} :; then :
13550 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13551 fi ;;
13552 esac
13553 else
13554 ac_cv_lib_soname_hal=
13556 rm -f core conftest.err conftest.$ac_objext \
13557 conftest$ac_exeext conftest.$ac_ext
13558 LIBS=$ac_check_soname_save_LIBS
13560 if ${ac_cv_lib_soname_hal:+false} :; then :
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13562 $as_echo "not found" >&6; }
13563 HAL_CFLAGS=""
13564 else
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13566 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13568 cat >>confdefs.h <<_ACEOF
13569 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13570 _ACEOF
13574 else
13575 HAL_CFLAGS=""
13579 CPPFLAGS=$ac_save_CPPFLAGS
13581 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13582 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13583 case "x$with_hal" in
13584 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13585 xno) ;;
13586 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13587 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13588 esac
13593 if test "x$with_gnutls" != "xno"
13594 then
13595 if ${GNUTLS_CFLAGS:+false} :; then :
13596 if ${PKG_CONFIG+:} false; then :
13597 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13601 if ${GNUTLS_LIBS:+false} :; then :
13602 if ${PKG_CONFIG+:} false; then :
13603 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13607 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13608 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13609 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13610 ac_save_CPPFLAGS=$CPPFLAGS
13611 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13612 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13613 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13616 #include <gnutls/gnutls.h>
13617 #include <gnutls/crypto.h>
13619 main ()
13621 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13623 return 0;
13625 _ACEOF
13626 if ac_fn_c_try_compile "$LINENO"; then :
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13628 $as_echo_n "checking for -lgnutls... " >&6; }
13629 if ${ac_cv_lib_soname_gnutls+:} false; then :
13630 $as_echo_n "(cached) " >&6
13631 else
13632 ac_check_soname_save_LIBS=$LIBS
13633 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13637 /* Override any GCC internal prototype to avoid an error.
13638 Use char because int might match the return type of a GCC
13639 builtin and then its argument prototype would still apply. */
13640 #ifdef __cplusplus
13641 extern "C"
13642 #endif
13643 char gnutls_global_init ();
13645 main ()
13647 return gnutls_global_init ();
13649 return 0;
13651 _ACEOF
13652 if ac_fn_c_try_link "$LINENO"; then :
13653 case "$LIBEXT" in
13654 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13655 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'` ;;
13656 *) 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'`
13657 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13658 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'`
13659 fi ;;
13660 esac
13661 else
13662 ac_cv_lib_soname_gnutls=
13664 rm -f core conftest.err conftest.$ac_objext \
13665 conftest$ac_exeext conftest.$ac_ext
13666 LIBS=$ac_check_soname_save_LIBS
13668 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13670 $as_echo "not found" >&6; }
13671 GNUTLS_CFLAGS=""
13672 else
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13674 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13676 cat >>confdefs.h <<_ACEOF
13677 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13678 _ACEOF
13682 ac_wine_check_funcs_save_LIBS="$LIBS"
13683 LIBS="$LIBS $GNUTLS_LIBS"
13684 for ac_func in gnutls_cipher_init
13685 do :
13686 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13687 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13688 cat >>confdefs.h <<_ACEOF
13689 #define HAVE_GNUTLS_CIPHER_INIT 1
13690 _ACEOF
13692 else
13693 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13695 done
13697 LIBS="$ac_wine_check_funcs_save_LIBS"
13699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13700 else
13701 GNUTLS_CFLAGS=""
13705 CPPFLAGS=$ac_save_CPPFLAGS
13708 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13709 case "x$with_gnutls" in
13710 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13711 xno) ;;
13712 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13713 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13714 esac
13718 if test "x$with_sane" != "xno"
13719 then
13720 if ${SANE_CFLAGS:+false} :; then :
13721 if ${PKG_CONFIG+:} false; then :
13722 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13725 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13726 if ${SANE_LIBS:+false} :; then :
13727 if ${PKG_CONFIG+:} false; then :
13728 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13731 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13733 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13734 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13735 ac_save_CPPFLAGS=$CPPFLAGS
13736 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13737 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13738 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13740 $as_echo_n "checking for -lsane... " >&6; }
13741 if ${ac_cv_lib_soname_sane+:} false; then :
13742 $as_echo_n "(cached) " >&6
13743 else
13744 ac_check_soname_save_LIBS=$LIBS
13745 LIBS="-lsane $SANE_LIBS $LIBS"
13746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13747 /* end confdefs.h. */
13749 /* Override any GCC internal prototype to avoid an error.
13750 Use char because int might match the return type of a GCC
13751 builtin and then its argument prototype would still apply. */
13752 #ifdef __cplusplus
13753 extern "C"
13754 #endif
13755 char sane_init ();
13757 main ()
13759 return sane_init ();
13761 return 0;
13763 _ACEOF
13764 if ac_fn_c_try_link "$LINENO"; then :
13765 case "$LIBEXT" in
13766 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13767 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'` ;;
13768 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13769 if ${ac_cv_lib_soname_sane:+false} :; then :
13770 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13771 fi ;;
13772 esac
13773 else
13774 ac_cv_lib_soname_sane=
13776 rm -f core conftest.err conftest.$ac_objext \
13777 conftest$ac_exeext conftest.$ac_ext
13778 LIBS=$ac_check_soname_save_LIBS
13780 if ${ac_cv_lib_soname_sane:+false} :; then :
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13782 $as_echo "not found" >&6; }
13783 SANE_CFLAGS=""
13784 else
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13786 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13788 cat >>confdefs.h <<_ACEOF
13789 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13790 _ACEOF
13794 else
13795 SANE_CFLAGS=""
13799 CPPFLAGS=$ac_save_CPPFLAGS
13802 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13803 case "x$with_sane" in
13804 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13805 xno) ;;
13806 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13807 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13808 esac
13812 if test "x$with_usb" != "xno"
13813 then
13814 if ${USB_CFLAGS:+false} :; then :
13815 if ${PKG_CONFIG+:} false; then :
13816 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13820 if ${USB_LIBS:+false} :; then :
13821 if ${PKG_CONFIG+:} false; then :
13822 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13826 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13827 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13828 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13829 ac_save_CPPFLAGS=$CPPFLAGS
13830 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13831 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13832 if test "x$ac_cv_header_libusb_h" = xyes; then :
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13834 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13835 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13836 $as_echo_n "(cached) " >&6
13837 else
13838 ac_check_lib_save_LIBS=$LIBS
13839 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13846 #ifdef __cplusplus
13847 extern "C"
13848 #endif
13849 char libusb_interrupt_event_handler ();
13851 main ()
13853 return libusb_interrupt_event_handler ();
13855 return 0;
13857 _ACEOF
13858 if ac_fn_c_try_link "$LINENO"; then :
13859 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13860 else
13861 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13863 rm -f core conftest.err conftest.$ac_objext \
13864 conftest$ac_exeext conftest.$ac_ext
13865 LIBS=$ac_check_lib_save_LIBS
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13868 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13869 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13871 else
13872 USB_LIBS=""
13875 else
13876 USB_LIBS=""
13880 CPPFLAGS=$ac_save_CPPFLAGS
13883 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13884 case "x$with_usb" in
13885 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13886 xno) ;;
13887 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13888 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13889 esac
13890 enable_wineusb_sys=${enable_wineusb_sys:-no}
13893 if test "x$with_v4l2" != "xno"
13894 then
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13896 $as_echo_n "checking for -lv4l2... " >&6; }
13897 if ${ac_cv_lib_soname_v4l2+:} false; then :
13898 $as_echo_n "(cached) " >&6
13899 else
13900 ac_check_soname_save_LIBS=$LIBS
13901 LIBS="-lv4l2 $LIBS"
13902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13903 /* end confdefs.h. */
13905 /* Override any GCC internal prototype to avoid an error.
13906 Use char because int might match the return type of a GCC
13907 builtin and then its argument prototype would still apply. */
13908 #ifdef __cplusplus
13909 extern "C"
13910 #endif
13911 char v4l2_open ();
13913 main ()
13915 return v4l2_open ();
13917 return 0;
13919 _ACEOF
13920 if ac_fn_c_try_link "$LINENO"; then :
13921 case "$LIBEXT" in
13922 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13923 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'` ;;
13924 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13925 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13926 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13927 fi ;;
13928 esac
13929 else
13930 ac_cv_lib_soname_v4l2=
13932 rm -f core conftest.err conftest.$ac_objext \
13933 conftest$ac_exeext conftest.$ac_ext
13934 LIBS=$ac_check_soname_save_LIBS
13936 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13938 $as_echo "not found" >&6; }
13940 else
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13942 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13944 cat >>confdefs.h <<_ACEOF
13945 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13946 _ACEOF
13951 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13952 case "x$with_v4l2" in
13953 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13954 xno) ;;
13955 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13956 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13957 esac
13961 if test "x$with_gphoto" != "xno"
13962 then
13963 if ${GPHOTO2_CFLAGS:+false} :; then :
13964 if ${PKG_CONFIG+:} false; then :
13965 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13968 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13969 if ${GPHOTO2_LIBS:+false} :; then :
13970 if ${PKG_CONFIG+:} false; then :
13971 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13974 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13975 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13976 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13977 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13978 ac_save_CPPFLAGS=$CPPFLAGS
13979 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13980 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13981 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13983 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13984 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13985 $as_echo_n "(cached) " >&6
13986 else
13987 ac_check_lib_save_LIBS=$LIBS
13988 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13990 /* end confdefs.h. */
13992 /* Override any GCC internal prototype to avoid an error.
13993 Use char because int might match the return type of a GCC
13994 builtin and then its argument prototype would still apply. */
13995 #ifdef __cplusplus
13996 extern "C"
13997 #endif
13998 char gp_camera_new ();
14000 main ()
14002 return gp_camera_new ();
14004 return 0;
14006 _ACEOF
14007 if ac_fn_c_try_link "$LINENO"; then :
14008 ac_cv_lib_gphoto2_gp_camera_new=yes
14009 else
14010 ac_cv_lib_gphoto2_gp_camera_new=no
14012 rm -f core conftest.err conftest.$ac_objext \
14013 conftest$ac_exeext conftest.$ac_ext
14014 LIBS=$ac_check_lib_save_LIBS
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14017 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14018 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14020 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14022 else
14023 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14026 else
14027 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14031 CPPFLAGS=$ac_save_CPPFLAGS
14033 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14034 if ${PKG_CONFIG+:} false; then :
14035 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14038 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14039 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14040 if ${PKG_CONFIG+:} false; then :
14041 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14044 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14045 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14046 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14047 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14048 ac_save_CPPFLAGS=$CPPFLAGS
14049 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14050 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14051 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14053 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14054 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14055 $as_echo_n "(cached) " >&6
14056 else
14057 ac_check_lib_save_LIBS=$LIBS
14058 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14062 /* Override any GCC internal prototype to avoid an error.
14063 Use char because int might match the return type of a GCC
14064 builtin and then its argument prototype would still apply. */
14065 #ifdef __cplusplus
14066 extern "C"
14067 #endif
14068 char gp_port_info_list_new ();
14070 main ()
14072 return gp_port_info_list_new ();
14074 return 0;
14076 _ACEOF
14077 if ac_fn_c_try_link "$LINENO"; then :
14078 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14079 else
14080 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14082 rm -f core conftest.err conftest.$ac_objext \
14083 conftest$ac_exeext conftest.$ac_ext
14084 LIBS=$ac_check_lib_save_LIBS
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14087 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14088 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14090 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14092 else
14093 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14096 else
14097 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14101 CPPFLAGS=$ac_save_CPPFLAGS
14104 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14105 case "x$with_gphoto" in
14106 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14107 xno) ;;
14108 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14109 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14110 esac
14113 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14114 case "x$with_gphoto" in
14115 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14116 xno) ;;
14117 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14118 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14119 esac
14124 if test "$ac_cv_header_resolv_h" = "yes"
14125 then
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14127 $as_echo_n "checking for resolver library... " >&6; }
14128 if ${ac_cv_have_resolv+:} false; then :
14129 $as_echo_n "(cached) " >&6
14130 else
14131 ac_save_LIBS="$LIBS"
14132 for lib in '' -lresolv
14134 LIBS="$lib $ac_save_LIBS"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14137 #ifdef HAVE_NETINET_IN_H
14138 #include <netinet/in.h>
14139 #endif
14140 #include <resolv.h>
14142 main ()
14144 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14146 return 0;
14148 _ACEOF
14149 if ac_fn_c_try_link "$LINENO"; then :
14150 ac_cv_have_resolv=${lib:-"none required"}
14151 else
14152 ac_cv_have_resolv="not found"
14154 rm -f core conftest.err conftest.$ac_objext \
14155 conftest$ac_exeext conftest.$ac_ext
14156 test "x$ac_cv_have_resolv" = "xnot found" || break
14157 done
14158 LIBS="$ac_save_LIBS"
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14161 $as_echo "$ac_cv_have_resolv" >&6; }
14163 case "$ac_cv_have_resolv" in
14164 "not found") ;;
14165 "none required")
14167 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14170 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14172 RESOLV_LIBS=$ac_cv_have_resolv
14174 esac
14176 if test "x$ac_cv_have_resolv" != "xnot found"
14177 then
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14179 $as_echo_n "checking for res_getservers... " >&6; }
14180 if ${ac_cv_have_res_getservers+:} false; then :
14181 $as_echo_n "(cached) " >&6
14182 else
14183 ac_save_LIBS="$LIBS"
14184 LIBS="$RESOLV_LIBS $LIBS"
14185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14186 /* end confdefs.h. */
14187 #include <resolv.h>
14189 main ()
14191 res_getservers(NULL, NULL, 0);
14193 return 0;
14195 _ACEOF
14196 if ac_fn_c_try_link "$LINENO"; then :
14197 ac_cv_have_res_getservers=yes
14198 else
14199 ac_cv_have_res_getservers=no
14201 rm -f core conftest.err conftest.$ac_objext \
14202 conftest$ac_exeext conftest.$ac_ext
14203 LIBS="$ac_save_LIBS"
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14206 $as_echo "$ac_cv_have_res_getservers" >&6; }
14207 if test "$ac_cv_have_res_getservers" = "yes"
14208 then
14210 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14216 if test "x$with_cms" != "xno"
14217 then
14218 if ${LCMS2_CFLAGS:+false} :; then :
14219 if ${PKG_CONFIG+:} false; then :
14220 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14224 if ${LCMS2_LIBS:+false} :; then :
14225 if ${PKG_CONFIG+:} false; then :
14226 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14230 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14231 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14232 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14233 ac_save_CPPFLAGS=$CPPFLAGS
14234 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14235 for ac_header in lcms2.h
14236 do :
14237 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14238 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14239 cat >>confdefs.h <<_ACEOF
14240 #define HAVE_LCMS2_H 1
14241 _ACEOF
14245 done
14247 if test "$ac_cv_header_lcms2_h" = "yes"
14248 then
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14250 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14251 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14252 $as_echo_n "(cached) " >&6
14253 else
14254 ac_check_lib_save_LIBS=$LIBS
14255 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14259 /* Override any GCC internal prototype to avoid an error.
14260 Use char because int might match the return type of a GCC
14261 builtin and then its argument prototype would still apply. */
14262 #ifdef __cplusplus
14263 extern "C"
14264 #endif
14265 char cmsOpenProfileFromFile ();
14267 main ()
14269 return cmsOpenProfileFromFile ();
14271 return 0;
14273 _ACEOF
14274 if ac_fn_c_try_link "$LINENO"; then :
14275 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14276 else
14277 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14279 rm -f core conftest.err conftest.$ac_objext \
14280 conftest$ac_exeext conftest.$ac_ext
14281 LIBS=$ac_check_lib_save_LIBS
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14284 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14285 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14287 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14289 else
14290 LCMS2_LIBS=""
14293 else
14294 LCMS2_CFLAGS=""
14295 LCMS2_LIBS=""
14297 CPPFLAGS=$ac_save_CPPFLAGS
14300 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14301 case "x$with_cms" in
14302 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14303 xno) ;;
14304 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14305 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14306 esac
14310 if test "x$with_freetype" != "xno"
14311 then
14312 if ${FREETYPE_CFLAGS:+false} :; then :
14313 if ${PKG_CONFIG+:} false; then :
14314 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14317 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14318 if ${FREETYPE_LIBS:+false} :; then :
14319 if ${PKG_CONFIG+:} false; then :
14320 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14323 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14324 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14325 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14326 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14327 ac_save_CPPFLAGS=$CPPFLAGS
14328 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14329 for ac_header in ft2build.h
14330 do :
14331 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14332 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14333 cat >>confdefs.h <<_ACEOF
14334 #define HAVE_FT2BUILD_H 1
14335 _ACEOF
14339 done
14341 if test "$ac_cv_header_ft2build_h" = "yes"
14342 then
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14344 $as_echo_n "checking for -lfreetype... " >&6; }
14345 if ${ac_cv_lib_soname_freetype+:} false; then :
14346 $as_echo_n "(cached) " >&6
14347 else
14348 ac_check_soname_save_LIBS=$LIBS
14349 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14351 /* end confdefs.h. */
14353 /* Override any GCC internal prototype to avoid an error.
14354 Use char because int might match the return type of a GCC
14355 builtin and then its argument prototype would still apply. */
14356 #ifdef __cplusplus
14357 extern "C"
14358 #endif
14359 char FT_Init_FreeType ();
14361 main ()
14363 return FT_Init_FreeType ();
14365 return 0;
14367 _ACEOF
14368 if ac_fn_c_try_link "$LINENO"; then :
14369 case "$LIBEXT" in
14370 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14371 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'` ;;
14372 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14373 if ${ac_cv_lib_soname_freetype:+false} :; then :
14374 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14375 fi ;;
14376 esac
14377 else
14378 ac_cv_lib_soname_freetype=
14380 rm -f core conftest.err conftest.$ac_objext \
14381 conftest$ac_exeext conftest.$ac_ext
14382 LIBS=$ac_check_soname_save_LIBS
14384 if ${ac_cv_lib_soname_freetype:+false} :; then :
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14386 $as_echo "not found" >&6; }
14387 FREETYPE_LIBS=""
14388 else
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14390 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14392 cat >>confdefs.h <<_ACEOF
14393 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14394 _ACEOF
14397 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14399 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14400 #include FT_MODULE_H
14402 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14404 cat >>confdefs.h <<_ACEOF
14405 #define HAVE_FT_TRUETYPEENGINETYPE 1
14406 _ACEOF
14412 else
14413 FREETYPE_CFLAGS=""
14414 FREETYPE_LIBS=""
14416 CPPFLAGS=$ac_save_CPPFLAGS
14419 if test "x$ac_cv_lib_soname_freetype" = x; then :
14420 case "x$with_freetype" in
14421 xno) ;;
14422 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14423 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14424 esac
14425 enable_fonts=${enable_fonts:-no}
14428 ac_wine_check_funcs_save_LIBS="$LIBS"
14429 LIBS="$LIBS $PTHREAD_LIBS"
14430 for ac_func in \
14431 pthread_getthreadid_np
14432 do :
14433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14435 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14436 cat >>confdefs.h <<_ACEOF
14437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14438 _ACEOF
14441 done
14443 LIBS="$ac_wine_check_funcs_save_LIBS"
14445 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14446 then
14447 if test "$ac_cv_header_gettext_po_h" = "yes"
14448 then
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14450 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14451 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14452 $as_echo_n "(cached) " >&6
14453 else
14454 ac_check_lib_save_LIBS=$LIBS
14455 LIBS="-lgettextpo $LIBS"
14456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14457 /* end confdefs.h. */
14459 /* Override any GCC internal prototype to avoid an error.
14460 Use char because int might match the return type of a GCC
14461 builtin and then its argument prototype would still apply. */
14462 #ifdef __cplusplus
14463 extern "C"
14464 #endif
14465 char po_message_msgctxt ();
14467 main ()
14469 return po_message_msgctxt ();
14471 return 0;
14473 _ACEOF
14474 if ac_fn_c_try_link "$LINENO"; then :
14475 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14476 else
14477 ac_cv_lib_gettextpo_po_message_msgctxt=no
14479 rm -f core conftest.err conftest.$ac_objext \
14480 conftest$ac_exeext conftest.$ac_ext
14481 LIBS=$ac_check_lib_save_LIBS
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14484 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14485 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14487 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14489 GETTEXTPO_LIBS="-lgettextpo"
14494 if test "x$GETTEXTPO_LIBS" = "x"; then :
14495 case "x$with_gettextpo" in
14496 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14497 xno) ;;
14498 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14499 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14500 esac
14503 if test "$srcdir" != .; then :
14504 case "x$with_gettextpo" in
14505 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14506 xno) ;;
14507 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14508 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14509 esac
14514 if test "x$with_pulse" != "xno";
14515 then
14516 if ${PULSE_CFLAGS:+false} :; then :
14517 if ${PKG_CONFIG+:} false; then :
14518 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14522 if ${PULSE_LIBS:+false} :; then :
14523 if ${PKG_CONFIG+:} false; then :
14524 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14529 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14530 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14531 ac_save_CPPFLAGS=$CPPFLAGS
14532 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14533 for ac_header in pulse/pulseaudio.h
14534 do :
14535 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14536 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14537 cat >>confdefs.h <<_ACEOF
14538 #define HAVE_PULSE_PULSEAUDIO_H 1
14539 _ACEOF
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14541 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14542 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14543 $as_echo_n "(cached) " >&6
14544 else
14545 ac_check_lib_save_LIBS=$LIBS
14546 LIBS="-lpulse $PULSE_LIBS $LIBS"
14547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14548 /* end confdefs.h. */
14550 /* Override any GCC internal prototype to avoid an error.
14551 Use char because int might match the return type of a GCC
14552 builtin and then its argument prototype would still apply. */
14553 #ifdef __cplusplus
14554 extern "C"
14555 #endif
14556 char pa_stream_is_corked ();
14558 main ()
14560 return pa_stream_is_corked ();
14562 return 0;
14564 _ACEOF
14565 if ac_fn_c_try_link "$LINENO"; then :
14566 ac_cv_lib_pulse_pa_stream_is_corked=yes
14567 else
14568 ac_cv_lib_pulse_pa_stream_is_corked=no
14570 rm -f core conftest.err conftest.$ac_objext \
14571 conftest$ac_exeext conftest.$ac_ext
14572 LIBS=$ac_check_lib_save_LIBS
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14575 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14576 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14578 else
14579 PULSE_LIBS=""
14582 else
14583 PULSE_LIBS=""
14586 done
14588 CPPFLAGS=$ac_save_CPPFLAGS
14591 if test -z "$PULSE_LIBS"; then :
14592 case "x$with_pulse" in
14593 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14594 xno) ;;
14595 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14596 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14597 esac
14598 enable_winepulse_drv=${enable_winepulse_drv:-no}
14601 if test "x$with_gstreamer" != "xno"
14602 then
14603 if ${GSTREAMER_CFLAGS:+false} :; then :
14604 if ${PKG_CONFIG+:} false; then :
14605 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14609 if ${GSTREAMER_LIBS:+false} :; then :
14610 if ${PKG_CONFIG+:} false; then :
14611 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14616 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14617 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14618 ac_save_CPPFLAGS=$CPPFLAGS
14619 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14620 ac_gst_incl=""
14621 for i in $GSTREAMER_CFLAGS
14623 case "$i" in
14624 -I*) ac_gst_incl="$ac_gst_incl $i";;
14625 esac
14626 done
14627 GSTREAMER_CFLAGS=$ac_gst_incl
14628 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14629 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14630 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14632 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14635 #include <gst/gst.h>
14637 main ()
14639 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14641 return 0;
14643 _ACEOF
14644 if ac_fn_c_try_compile "$LINENO"; then :
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14646 $as_echo "yes" >&6; }
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14648 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14649 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14650 $as_echo_n "(cached) " >&6
14651 else
14652 ac_check_lib_save_LIBS=$LIBS
14653 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14657 /* Override any GCC internal prototype to avoid an error.
14658 Use char because int might match the return type of a GCC
14659 builtin and then its argument prototype would still apply. */
14660 #ifdef __cplusplus
14661 extern "C"
14662 #endif
14663 char gst_pad_new ();
14665 main ()
14667 return gst_pad_new ();
14669 return 0;
14671 _ACEOF
14672 if ac_fn_c_try_link "$LINENO"; then :
14673 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14674 else
14675 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14677 rm -f core conftest.err conftest.$ac_objext \
14678 conftest$ac_exeext conftest.$ac_ext
14679 LIBS=$ac_check_lib_save_LIBS
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14682 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14683 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14687 else
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14689 $as_echo "no" >&6; }
14690 ac_glib2_broken=yes
14691 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14697 CPPFLAGS=$ac_save_CPPFLAGS
14700 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 :
14701 case "x$with_gstreamer" in
14702 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14703 xno) ;;
14704 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14705 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14706 esac
14709 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14711 ALSA_LIBS=""
14713 if test "x$with_alsa" != "xno"
14714 then
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14716 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14717 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14718 $as_echo_n "(cached) " >&6
14719 else
14720 ac_check_lib_save_LIBS=$LIBS
14721 LIBS="-lasound $LIBS"
14722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14723 /* end confdefs.h. */
14725 /* Override any GCC internal prototype to avoid an error.
14726 Use char because int might match the return type of a GCC
14727 builtin and then its argument prototype would still apply. */
14728 #ifdef __cplusplus
14729 extern "C"
14730 #endif
14731 char snd_pcm_hw_params_get_access_mask ();
14733 main ()
14735 return snd_pcm_hw_params_get_access_mask ();
14737 return 0;
14739 _ACEOF
14740 if ac_fn_c_try_link "$LINENO"; then :
14741 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14742 else
14743 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14745 rm -f core conftest.err conftest.$ac_objext \
14746 conftest$ac_exeext conftest.$ac_ext
14747 LIBS=$ac_check_lib_save_LIBS
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14750 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14751 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 #include <alsa/asoundlib.h>
14756 main ()
14758 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14760 return 0;
14762 _ACEOF
14763 if ac_fn_c_try_compile "$LINENO"; then :
14764 ALSA_LIBS="-lasound"
14766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14770 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14772 if test "x$with_oss" != xno
14773 then
14774 ac_save_CPPFLAGS="$CPPFLAGS"
14775 if test -f /etc/oss.conf
14776 then
14777 . /etc/oss.conf
14779 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14780 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14781 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14782 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14783 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14785 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14787 cat >>confdefs.h <<_ACEOF
14788 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14789 _ACEOF
14791 OSS4_CFLAGS="$ac_oss_incl"
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14794 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14795 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14796 $as_echo_n "(cached) " >&6
14797 else
14798 ac_check_lib_save_LIBS=$LIBS
14799 LIBS="-lossaudio $LIBS"
14800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14803 /* Override any GCC internal prototype to avoid an error.
14804 Use char because int might match the return type of a GCC
14805 builtin and then its argument prototype would still apply. */
14806 #ifdef __cplusplus
14807 extern "C"
14808 #endif
14809 char _oss_ioctl ();
14811 main ()
14813 return _oss_ioctl ();
14815 return 0;
14817 _ACEOF
14818 if ac_fn_c_try_link "$LINENO"; then :
14819 ac_cv_lib_ossaudio__oss_ioctl=yes
14820 else
14821 ac_cv_lib_ossaudio__oss_ioctl=no
14823 rm -f core conftest.err conftest.$ac_objext \
14824 conftest$ac_exeext conftest.$ac_ext
14825 LIBS=$ac_check_lib_save_LIBS
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14828 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14829 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14830 OSS4_LIBS="-lossaudio"
14839 CPPFLAGS="$ac_save_CPPFLAGS"
14841 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14842 case "x$with_oss" in
14843 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14844 xno) ;;
14845 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14846 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14847 esac
14848 enable_wineoss_drv=${enable_wineoss_drv:-no}
14851 if test "x$with_udev" != "xno"
14852 then
14853 if ${UDEV_CFLAGS:+false} :; then :
14854 if ${PKG_CONFIG+:} false; then :
14855 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14859 if ${UDEV_LIBS:+false} :; then :
14860 if ${PKG_CONFIG+:} false; then :
14861 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14865 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14866 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14867 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14868 ac_save_CPPFLAGS=$CPPFLAGS
14869 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14870 for ac_header in libudev.h
14871 do :
14872 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14873 if test "x$ac_cv_header_libudev_h" = xyes; then :
14874 cat >>confdefs.h <<_ACEOF
14875 #define HAVE_LIBUDEV_H 1
14876 _ACEOF
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14878 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14879 if ${ac_cv_lib_udev_udev_new+:} false; then :
14880 $as_echo_n "(cached) " >&6
14881 else
14882 ac_check_lib_save_LIBS=$LIBS
14883 LIBS="-ludev $UDEV_LIBS $LIBS"
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14887 /* Override any GCC internal prototype to avoid an error.
14888 Use char because int might match the return type of a GCC
14889 builtin and then its argument prototype would still apply. */
14890 #ifdef __cplusplus
14891 extern "C"
14892 #endif
14893 char udev_new ();
14895 main ()
14897 return udev_new ();
14899 return 0;
14901 _ACEOF
14902 if ac_fn_c_try_link "$LINENO"; then :
14903 ac_cv_lib_udev_udev_new=yes
14904 else
14905 ac_cv_lib_udev_udev_new=no
14907 rm -f core conftest.err conftest.$ac_objext \
14908 conftest$ac_exeext conftest.$ac_ext
14909 LIBS=$ac_check_lib_save_LIBS
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14912 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14913 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14915 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14917 else
14918 UDEV_LIBS=""
14921 else
14922 UDEV_LIBS=""
14925 done
14927 CPPFLAGS=$ac_save_CPPFLAGS
14930 if test "x$UDEV_LIBS" = "x"; then :
14931 case "x$with_udev" in
14932 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14933 xno) ;;
14934 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14935 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14936 esac
14940 if test "x$with_unwind" != xno
14941 then
14942 if ${UNWIND_CFLAGS:+false} :; then :
14943 if ${PKG_CONFIG+:} false; then :
14944 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14948 if ${UNWIND_LIBS:+false} :; then :
14949 if ${PKG_CONFIG+:} false; then :
14950 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14954 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14955 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14956 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14957 ac_save_CPPFLAGS=$CPPFLAGS
14958 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14960 $as_echo_n "checking for unw_step... " >&6; }
14961 if ${wine_cv_have_unw_step+:} false; then :
14962 $as_echo_n "(cached) " >&6
14963 else
14964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14965 /* end confdefs.h. */
14966 #define UNW_LOCAL_ONLY
14967 #include <libunwind.h>
14969 main ()
14971 unw_cursor_t cursor; unw_step( &cursor );
14973 return 0;
14975 _ACEOF
14976 if ac_fn_c_try_link "$LINENO"; then :
14977 wine_cv_have_unw_step="yes"
14978 else
14979 wine_cv_have_unw_step="no"
14981 rm -f core conftest.err conftest.$ac_objext \
14982 conftest$ac_exeext conftest.$ac_ext
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14985 $as_echo "$wine_cv_have_unw_step" >&6; }
14986 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14987 then
14988 save_libs=$LIBS
14989 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14990 LIBS="$UNWIND_LIBS $LIBS"
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14992 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14993 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14994 $as_echo_n "(cached) " >&6
14995 else
14996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14998 #define UNW_LOCAL_ONLY
14999 #include <libunwind.h>
15001 main ()
15003 unw_cursor_t cursor; unw_step( &cursor );
15005 return 0;
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"; then :
15009 wine_cv_have_libunwind_unw_step="yes"
15010 else
15011 wine_cv_have_libunwind_unw_step="no"
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15017 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15018 LIBS=$save_libs
15020 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15021 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15022 then
15024 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15027 CPPFLAGS=$ac_save_CPPFLAGS
15030 case $host in
15031 aarch64*|*-darwin*)
15032 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15033 case "x$with_unwind" in
15034 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15035 xno) ;;
15036 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15037 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15038 esac
15040 fi ;;
15041 esac
15043 if test "x$with_sdl" != "xno"
15044 then
15045 if ${SDL2_CFLAGS:+false} :; then :
15046 if ${PKG_CONFIG+:} false; then :
15047 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15051 if ${SDL2_LIBS:+false} :; then :
15052 if ${PKG_CONFIG+:} false; then :
15053 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15057 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15058 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15059 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15060 ac_save_CPPFLAGS=$CPPFLAGS
15061 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15062 for ac_header in SDL.h
15063 do :
15064 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15065 if test "x$ac_cv_header_SDL_h" = xyes; then :
15066 cat >>confdefs.h <<_ACEOF
15067 #define HAVE_SDL_H 1
15068 _ACEOF
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15070 $as_echo_n "checking for -lSDL2... " >&6; }
15071 if ${ac_cv_lib_soname_SDL2+:} false; then :
15072 $as_echo_n "(cached) " >&6
15073 else
15074 ac_check_soname_save_LIBS=$LIBS
15075 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15077 /* end confdefs.h. */
15079 /* Override any GCC internal prototype to avoid an error.
15080 Use char because int might match the return type of a GCC
15081 builtin and then its argument prototype would still apply. */
15082 #ifdef __cplusplus
15083 extern "C"
15084 #endif
15085 char SDL_Init ();
15087 main ()
15089 return SDL_Init ();
15091 return 0;
15093 _ACEOF
15094 if ac_fn_c_try_link "$LINENO"; then :
15095 case "$LIBEXT" in
15096 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15097 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'` ;;
15098 *) 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'`
15099 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15100 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15101 fi ;;
15102 esac
15103 else
15104 ac_cv_lib_soname_SDL2=
15106 rm -f core conftest.err conftest.$ac_objext \
15107 conftest$ac_exeext conftest.$ac_ext
15108 LIBS=$ac_check_soname_save_LIBS
15110 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15112 $as_echo "not found" >&6; }
15114 else
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15116 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15118 cat >>confdefs.h <<_ACEOF
15119 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15120 _ACEOF
15126 done
15128 CPPFLAGS=$ac_save_CPPFLAGS
15131 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15132 case "x$with_sdl" in
15133 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15134 xno) ;;
15135 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15136 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15137 esac
15141 if test "x$with_faudio" != "xno"
15142 then
15143 if ${FAUDIO_CFLAGS:+false} :; then :
15144 if ${PKG_CONFIG+:} false; then :
15145 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15149 if ${FAUDIO_LIBS:+false} :; then :
15150 if ${PKG_CONFIG+:} false; then :
15151 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15155 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15156 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15157 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15158 ac_save_CPPFLAGS=$CPPFLAGS
15159 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15160 for ac_header in FAudio.h
15161 do :
15162 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15163 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15164 cat >>confdefs.h <<_ACEOF
15165 #define HAVE_FAUDIO_H 1
15166 _ACEOF
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15168 $as_echo_n "checking for -lFAudio... " >&6; }
15169 if ${ac_cv_lib_soname_FAudio+:} false; then :
15170 $as_echo_n "(cached) " >&6
15171 else
15172 ac_check_soname_save_LIBS=$LIBS
15173 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15175 /* end confdefs.h. */
15177 /* Override any GCC internal prototype to avoid an error.
15178 Use char because int might match the return type of a GCC
15179 builtin and then its argument prototype would still apply. */
15180 #ifdef __cplusplus
15181 extern "C"
15182 #endif
15183 char FAudioCreate ();
15185 main ()
15187 return FAudioCreate ();
15189 return 0;
15191 _ACEOF
15192 if ac_fn_c_try_link "$LINENO"; then :
15193 case "$LIBEXT" in
15194 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15195 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'` ;;
15196 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15197 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15198 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15199 fi ;;
15200 esac
15201 else
15202 ac_cv_lib_soname_FAudio=
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15206 LIBS=$ac_check_soname_save_LIBS
15208 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15210 $as_echo "not found" >&6; }
15212 else
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15214 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15216 cat >>confdefs.h <<_ACEOF
15217 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15218 _ACEOF
15224 done
15226 ac_wine_check_funcs_save_LIBS="$LIBS"
15227 LIBS="$LIBS $FAUDIO_LIBS"
15228 for ac_func in FAudio_CommitOperationSet \
15229 F3DAudioInitialize8 \
15230 FAudioLinkedVersion \
15231 FAudioCreateReverb9WithCustomAllocatorEXT
15232 do :
15233 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15235 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15236 cat >>confdefs.h <<_ACEOF
15237 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15238 _ACEOF
15241 done
15243 LIBS="$ac_wine_check_funcs_save_LIBS"
15245 CPPFLAGS=$ac_save_CPPFLAGS
15248 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15249 case "x$with_faudio" in
15250 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15251 xno) ;;
15252 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15253 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15254 esac
15258 if test "x$with_capi" != "xno"
15259 then
15260 if ${CAPI20_CFLAGS:+false} :; then :
15261 if ${PKG_CONFIG+:} false; then :
15262 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15266 if ${CAPI20_LIBS:+false} :; then :
15267 if ${PKG_CONFIG+:} false; then :
15268 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15273 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15274 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15275 ac_save_CPPFLAGS=$CPPFLAGS
15276 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15277 for ac_header in capi20.h linux/capi.h
15278 do :
15279 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15280 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15282 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15283 cat >>confdefs.h <<_ACEOF
15284 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15285 _ACEOF
15289 done
15291 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15292 then
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15294 $as_echo_n "checking for -lcapi20... " >&6; }
15295 if ${ac_cv_lib_soname_capi20+:} false; then :
15296 $as_echo_n "(cached) " >&6
15297 else
15298 ac_check_soname_save_LIBS=$LIBS
15299 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15303 /* Override any GCC internal prototype to avoid an error.
15304 Use char because int might match the return type of a GCC
15305 builtin and then its argument prototype would still apply. */
15306 #ifdef __cplusplus
15307 extern "C"
15308 #endif
15309 char capi20_register ();
15311 main ()
15313 return capi20_register ();
15315 return 0;
15317 _ACEOF
15318 if ac_fn_c_try_link "$LINENO"; then :
15319 case "$LIBEXT" in
15320 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15321 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'` ;;
15322 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15323 if ${ac_cv_lib_soname_capi20:+false} :; then :
15324 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15325 fi ;;
15326 esac
15327 else
15328 ac_cv_lib_soname_capi20=
15330 rm -f core conftest.err conftest.$ac_objext \
15331 conftest$ac_exeext conftest.$ac_ext
15332 LIBS=$ac_check_soname_save_LIBS
15334 if ${ac_cv_lib_soname_capi20:+false} :; then :
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15336 $as_echo "not found" >&6; }
15338 else
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15340 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15342 cat >>confdefs.h <<_ACEOF
15343 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15344 _ACEOF
15349 CPPFLAGS=$ac_save_CPPFLAGS
15352 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15353 case "x$with_capi" in
15354 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15355 xno) ;;
15356 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15357 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15358 esac
15362 if test "x$with_cups" != "xno"
15363 then
15364 if ${CUPS_CFLAGS:+false} :; then :
15365 if ${PKG_CONFIG+:} false; then :
15366 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15369 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15370 if ${CUPS_LIBS:+false} :; then :
15371 if ${PKG_CONFIG+:} false; then :
15372 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15375 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15376 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15377 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15378 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15379 ac_save_CPPFLAGS=$CPPFLAGS
15380 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15381 for ac_header in cups/cups.h cups/ppd.h
15382 do :
15383 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15384 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15385 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15386 cat >>confdefs.h <<_ACEOF
15387 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15388 _ACEOF
15392 done
15394 if test "$ac_cv_header_cups_cups_h" = "yes"
15395 then
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15397 $as_echo_n "checking for -lcups... " >&6; }
15398 if ${ac_cv_lib_soname_cups+:} false; then :
15399 $as_echo_n "(cached) " >&6
15400 else
15401 ac_check_soname_save_LIBS=$LIBS
15402 LIBS="-lcups $CUPS_LIBS $LIBS"
15403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15404 /* end confdefs.h. */
15406 /* Override any GCC internal prototype to avoid an error.
15407 Use char because int might match the return type of a GCC
15408 builtin and then its argument prototype would still apply. */
15409 #ifdef __cplusplus
15410 extern "C"
15411 #endif
15412 char cupsGetDefault ();
15414 main ()
15416 return cupsGetDefault ();
15418 return 0;
15420 _ACEOF
15421 if ac_fn_c_try_link "$LINENO"; then :
15422 case "$LIBEXT" in
15423 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15424 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'` ;;
15425 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15426 if ${ac_cv_lib_soname_cups:+false} :; then :
15427 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15428 fi ;;
15429 esac
15430 else
15431 ac_cv_lib_soname_cups=
15433 rm -f core conftest.err conftest.$ac_objext \
15434 conftest$ac_exeext conftest.$ac_ext
15435 LIBS=$ac_check_soname_save_LIBS
15437 if ${ac_cv_lib_soname_cups:+false} :; then :
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15439 $as_echo "not found" >&6; }
15440 CUPS_LIBS=""
15441 else
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15443 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15445 cat >>confdefs.h <<_ACEOF
15446 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15447 _ACEOF
15451 else
15452 CUPS_CFLAGS=""
15453 CUPS_LIBS=""
15455 CPPFLAGS=$ac_save_CPPFLAGS
15458 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15459 case "x$with_cups" in
15460 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15461 xno) ;;
15462 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15463 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15464 esac
15468 if test "x$with_fontconfig" != "xno"
15469 then
15470 if ${FONTCONFIG_CFLAGS:+false} :; then :
15471 if ${PKG_CONFIG+:} false; then :
15472 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15475 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15476 if ${FONTCONFIG_LIBS:+false} :; then :
15477 if ${PKG_CONFIG+:} false; then :
15478 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15481 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15483 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15484 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15485 ac_save_CPPFLAGS=$CPPFLAGS
15486 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15487 for ac_header in fontconfig/fontconfig.h
15488 do :
15489 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15490 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15491 cat >>confdefs.h <<_ACEOF
15492 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15493 _ACEOF
15497 done
15499 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15500 then
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15502 $as_echo_n "checking for -lfontconfig... " >&6; }
15503 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15504 $as_echo_n "(cached) " >&6
15505 else
15506 ac_check_soname_save_LIBS=$LIBS
15507 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15509 /* end confdefs.h. */
15511 /* Override any GCC internal prototype to avoid an error.
15512 Use char because int might match the return type of a GCC
15513 builtin and then its argument prototype would still apply. */
15514 #ifdef __cplusplus
15515 extern "C"
15516 #endif
15517 char FcInit ();
15519 main ()
15521 return FcInit ();
15523 return 0;
15525 _ACEOF
15526 if ac_fn_c_try_link "$LINENO"; then :
15527 case "$LIBEXT" in
15528 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15529 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'` ;;
15530 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15531 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15532 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15533 fi ;;
15534 esac
15535 else
15536 ac_cv_lib_soname_fontconfig=
15538 rm -f core conftest.err conftest.$ac_objext \
15539 conftest$ac_exeext conftest.$ac_ext
15540 LIBS=$ac_check_soname_save_LIBS
15542 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15544 $as_echo "not found" >&6; }
15545 FONTCONFIG_CFLAGS=""
15546 else
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15548 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15550 cat >>confdefs.h <<_ACEOF
15551 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15552 _ACEOF
15556 else
15557 FONTCONFIG_CFLAGS=""
15559 CPPFLAGS=$ac_save_CPPFLAGS
15562 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15563 case "x$with_fontconfig" in
15564 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15565 xno) ;;
15566 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15567 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15568 esac
15572 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15573 then
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15575 $as_echo_n "checking for -lgsm... " >&6; }
15576 if ${ac_cv_lib_soname_gsm+:} false; then :
15577 $as_echo_n "(cached) " >&6
15578 else
15579 ac_check_soname_save_LIBS=$LIBS
15580 LIBS="-lgsm $LIBS"
15581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15582 /* end confdefs.h. */
15584 /* Override any GCC internal prototype to avoid an error.
15585 Use char because int might match the return type of a GCC
15586 builtin and then its argument prototype would still apply. */
15587 #ifdef __cplusplus
15588 extern "C"
15589 #endif
15590 char gsm_create ();
15592 main ()
15594 return gsm_create ();
15596 return 0;
15598 _ACEOF
15599 if ac_fn_c_try_link "$LINENO"; then :
15600 case "$LIBEXT" in
15601 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15602 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'` ;;
15603 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15604 if ${ac_cv_lib_soname_gsm:+false} :; then :
15605 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15606 fi ;;
15607 esac
15608 else
15609 ac_cv_lib_soname_gsm=
15611 rm -f core conftest.err conftest.$ac_objext \
15612 conftest$ac_exeext conftest.$ac_ext
15613 LIBS=$ac_check_soname_save_LIBS
15615 if ${ac_cv_lib_soname_gsm:+false} :; then :
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15617 $as_echo "not found" >&6; }
15619 else
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15621 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15623 cat >>confdefs.h <<_ACEOF
15624 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15625 _ACEOF
15630 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15631 case "x$with_gsm" in
15632 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15633 xno) ;;
15634 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15635 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15636 esac
15640 if test "x$with_krb5" != "xno"
15641 then
15642 if ${KRB5_CFLAGS:+false} :; then :
15643 if ${PKG_CONFIG+:} false; then :
15644 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15647 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15648 if ${KRB5_LIBS:+false} :; then :
15649 if ${PKG_CONFIG+:} false; then :
15650 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15653 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15655 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15656 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15657 ac_save_CPPFLAGS=$CPPFLAGS
15658 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15659 for ac_header in krb5/krb5.h
15660 do :
15661 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15662 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15663 cat >>confdefs.h <<_ACEOF
15664 #define HAVE_KRB5_KRB5_H 1
15665 _ACEOF
15669 done
15671 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15672 then
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15674 $as_echo_n "checking for -lkrb5... " >&6; }
15675 if ${ac_cv_lib_soname_krb5+:} false; then :
15676 $as_echo_n "(cached) " >&6
15677 else
15678 ac_check_soname_save_LIBS=$LIBS
15679 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15683 /* Override any GCC internal prototype to avoid an error.
15684 Use char because int might match the return type of a GCC
15685 builtin and then its argument prototype would still apply. */
15686 #ifdef __cplusplus
15687 extern "C"
15688 #endif
15689 char krb5_is_config_principal ();
15691 main ()
15693 return krb5_is_config_principal ();
15695 return 0;
15697 _ACEOF
15698 if ac_fn_c_try_link "$LINENO"; then :
15699 case "$LIBEXT" in
15700 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15701 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'` ;;
15702 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15703 if ${ac_cv_lib_soname_krb5:+false} :; then :
15704 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15705 fi ;;
15706 esac
15707 else
15708 ac_cv_lib_soname_krb5=
15710 rm -f core conftest.err conftest.$ac_objext \
15711 conftest$ac_exeext conftest.$ac_ext
15712 LIBS=$ac_check_soname_save_LIBS
15714 if ${ac_cv_lib_soname_krb5:+false} :; then :
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15716 $as_echo "not found" >&6; }
15717 KRB5_CFLAGS=""
15718 else
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15720 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15722 cat >>confdefs.h <<_ACEOF
15723 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15724 _ACEOF
15728 else
15729 KRB5_CFLAGS=""
15731 CPPFLAGS=$ac_save_CPPFLAGS
15734 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15735 case "x$with_krb5" in
15736 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15737 xno) ;;
15738 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15739 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15740 esac
15743 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15745 if test "x$with_gssapi" != "xno"
15746 then
15747 if ${GSSAPI_CFLAGS:+false} :; then :
15748 if ${PKG_CONFIG+:} false; then :
15749 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15752 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15753 if ${GSSAPI_LIBS:+false} :; then :
15754 if ${PKG_CONFIG+:} false; then :
15755 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15758 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15760 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15761 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15762 ac_save_CPPFLAGS=$CPPFLAGS
15763 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15764 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15765 do :
15766 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15767 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15768 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15769 cat >>confdefs.h <<_ACEOF
15770 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15771 _ACEOF
15775 done
15777 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15778 then
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15780 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15781 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15782 $as_echo_n "(cached) " >&6
15783 else
15784 ac_check_soname_save_LIBS=$LIBS
15785 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15787 /* end confdefs.h. */
15789 /* Override any GCC internal prototype to avoid an error.
15790 Use char because int might match the return type of a GCC
15791 builtin and then its argument prototype would still apply. */
15792 #ifdef __cplusplus
15793 extern "C"
15794 #endif
15795 char gss_init_sec_context ();
15797 main ()
15799 return gss_init_sec_context ();
15801 return 0;
15803 _ACEOF
15804 if ac_fn_c_try_link "$LINENO"; then :
15805 case "$LIBEXT" in
15806 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15807 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'` ;;
15808 *) 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'`
15809 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15810 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15811 fi ;;
15812 esac
15813 else
15814 ac_cv_lib_soname_gssapi_krb5=
15816 rm -f core conftest.err conftest.$ac_objext \
15817 conftest$ac_exeext conftest.$ac_ext
15818 LIBS=$ac_check_soname_save_LIBS
15820 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15822 $as_echo "not found" >&6; }
15823 GSSAPI_CFLAGS=""
15824 else
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15826 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15828 cat >>confdefs.h <<_ACEOF
15829 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15830 _ACEOF
15834 else
15835 GSSAPI_CFLAGS=""
15837 CPPFLAGS=$ac_save_CPPFLAGS
15840 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15841 case "x$with_gssapi" in
15842 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15843 xno) ;;
15844 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15845 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15846 esac
15850 if test "x$with_jpeg" != "xno"
15851 then
15852 if ${JPEG_CFLAGS:+false} :; then :
15853 if ${PKG_CONFIG+:} false; then :
15854 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15858 if ${JPEG_LIBS:+false} :; then :
15859 if ${PKG_CONFIG+:} false; then :
15860 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15865 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15866 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15867 ac_save_CPPFLAGS=$CPPFLAGS
15868 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15869 for ac_header in jpeglib.h
15870 do :
15871 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15872 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15873 cat >>confdefs.h <<_ACEOF
15874 #define HAVE_JPEGLIB_H 1
15875 _ACEOF
15879 done
15881 if test "$ac_cv_header_jpeglib_h" = "yes"
15882 then
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15884 $as_echo_n "checking for -ljpeg... " >&6; }
15885 if ${ac_cv_lib_soname_jpeg+:} false; then :
15886 $as_echo_n "(cached) " >&6
15887 else
15888 ac_check_soname_save_LIBS=$LIBS
15889 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15893 /* Override any GCC internal prototype to avoid an error.
15894 Use char because int might match the return type of a GCC
15895 builtin and then its argument prototype would still apply. */
15896 #ifdef __cplusplus
15897 extern "C"
15898 #endif
15899 char jpeg_start_decompress ();
15901 main ()
15903 return jpeg_start_decompress ();
15905 return 0;
15907 _ACEOF
15908 if ac_fn_c_try_link "$LINENO"; then :
15909 case "$LIBEXT" in
15910 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15911 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'` ;;
15912 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15913 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15914 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15915 fi ;;
15916 esac
15917 else
15918 ac_cv_lib_soname_jpeg=
15920 rm -f core conftest.err conftest.$ac_objext \
15921 conftest$ac_exeext conftest.$ac_ext
15922 LIBS=$ac_check_soname_save_LIBS
15924 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15926 $as_echo "not found" >&6; }
15927 JPEG_CFLAGS=""
15928 else
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15930 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15932 cat >>confdefs.h <<_ACEOF
15933 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15934 _ACEOF
15938 else
15939 JPEG_CFLAGS=""
15941 CPPFLAGS=$ac_save_CPPFLAGS
15944 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15945 case "x$with_jpeg" in
15946 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15947 xno) ;;
15948 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15949 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15950 esac
15954 if test "x$with_jxrlib" != "xno"
15955 then
15956 if ${JXRLIB_CFLAGS:+false} :; then :
15957 if ${PKG_CONFIG+:} false; then :
15958 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15961 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15962 if ${JXRLIB_LIBS:+false} :; then :
15963 if ${PKG_CONFIG+:} false; then :
15964 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15969 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15970 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15971 ac_save_CPPFLAGS=$CPPFLAGS
15972 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15973 for ac_header in JXRGlue.h
15974 do :
15975 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15977 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15978 cat >>confdefs.h <<_ACEOF
15979 #define HAVE_JXRGLUE_H 1
15980 _ACEOF
15984 done
15986 if test "$ac_cv_header_JXRGlue_h" = "yes"
15987 then
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15989 $as_echo_n "checking for -ljxrglue... " >&6; }
15990 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 ac_check_soname_save_LIBS=$LIBS
15994 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15996 /* end confdefs.h. */
15998 /* Override any GCC internal prototype to avoid an error.
15999 Use char because int might match the return type of a GCC
16000 builtin and then its argument prototype would still apply. */
16001 #ifdef __cplusplus
16002 extern "C"
16003 #endif
16004 char PKImageDecode_Create_WMP ();
16006 main ()
16008 return PKImageDecode_Create_WMP ();
16010 return 0;
16012 _ACEOF
16013 if ac_fn_c_try_link "$LINENO"; then :
16014 case "$LIBEXT" in
16015 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16016 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'` ;;
16017 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16018 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16019 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16020 fi ;;
16021 esac
16022 else
16023 ac_cv_lib_soname_jxrglue=
16025 rm -f core conftest.err conftest.$ac_objext \
16026 conftest$ac_exeext conftest.$ac_ext
16027 LIBS=$ac_check_soname_save_LIBS
16029 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16031 $as_echo "not found" >&6; }
16032 JXRLIB_CFLAGS=""
16033 else
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16035 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16037 cat >>confdefs.h <<_ACEOF
16038 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16039 _ACEOF
16043 else
16044 JXRLIB_CFLAGS=""
16046 CPPFLAGS=$ac_save_CPPFLAGS
16049 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16050 case "x$with_jxrlib" in
16051 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16052 xno) ;;
16053 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16054 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16055 esac
16059 if test "x$with_png" != "xno"
16060 then
16061 if ${PNG_CFLAGS:+false} :; then :
16062 if ${PKG_CONFIG+:} false; then :
16063 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16066 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16067 if ${PNG_LIBS:+false} :; then :
16068 if ${PKG_CONFIG+:} false; then :
16069 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16072 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16074 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16075 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16076 ac_save_CPPFLAGS=$CPPFLAGS
16077 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16078 for ac_header in png.h
16079 do :
16080 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16081 if test "x$ac_cv_header_png_h" = xyes; then :
16082 cat >>confdefs.h <<_ACEOF
16083 #define HAVE_PNG_H 1
16084 _ACEOF
16088 done
16090 if test "$ac_cv_header_png_h" = "yes"
16091 then
16092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16093 $as_echo_n "checking for -lpng... " >&6; }
16094 if ${ac_cv_lib_soname_png+:} false; then :
16095 $as_echo_n "(cached) " >&6
16096 else
16097 ac_check_soname_save_LIBS=$LIBS
16098 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16100 /* end confdefs.h. */
16102 /* Override any GCC internal prototype to avoid an error.
16103 Use char because int might match the return type of a GCC
16104 builtin and then its argument prototype would still apply. */
16105 #ifdef __cplusplus
16106 extern "C"
16107 #endif
16108 char png_create_read_struct ();
16110 main ()
16112 return png_create_read_struct ();
16114 return 0;
16116 _ACEOF
16117 if ac_fn_c_try_link "$LINENO"; then :
16118 case "$LIBEXT" in
16119 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16120 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'` ;;
16121 *) 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'`
16122 if ${ac_cv_lib_soname_png:+false} :; then :
16123 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16124 fi ;;
16125 esac
16126 else
16127 ac_cv_lib_soname_png=
16129 rm -f core conftest.err conftest.$ac_objext \
16130 conftest$ac_exeext conftest.$ac_ext
16131 LIBS=$ac_check_soname_save_LIBS
16133 if ${ac_cv_lib_soname_png:+false} :; then :
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16135 $as_echo "not found" >&6; }
16136 PNG_CFLAGS=""
16137 else
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16139 $as_echo "$ac_cv_lib_soname_png" >&6; }
16141 cat >>confdefs.h <<_ACEOF
16142 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16143 _ACEOF
16147 else
16148 PNG_CFLAGS=""
16150 CPPFLAGS=$ac_save_CPPFLAGS
16153 if test "x$ac_cv_lib_soname_png" = "x"; then :
16154 case "x$with_png" in
16155 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16156 xno) ;;
16157 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16158 This is an error since --with-png was requested." "$LINENO" 5 ;;
16159 esac
16163 if test "x$with_tiff" != "xno"
16164 then
16165 if ${TIFF_CFLAGS:+false} :; then :
16166 if ${PKG_CONFIG+:} false; then :
16167 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16171 if ${TIFF_LIBS:+false} :; then :
16172 if ${PKG_CONFIG+:} false; then :
16173 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16178 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16179 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16180 ac_save_CPPFLAGS=$CPPFLAGS
16181 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16182 for ac_header in tiffio.h
16183 do :
16184 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16185 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16186 cat >>confdefs.h <<_ACEOF
16187 #define HAVE_TIFFIO_H 1
16188 _ACEOF
16192 done
16194 if test "$ac_cv_header_tiffio_h" = "yes"
16195 then
16196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16197 $as_echo_n "checking for -ltiff... " >&6; }
16198 if ${ac_cv_lib_soname_tiff+:} false; then :
16199 $as_echo_n "(cached) " >&6
16200 else
16201 ac_check_soname_save_LIBS=$LIBS
16202 LIBS="-ltiff $TIFF_LIBS $LIBS"
16203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16204 /* end confdefs.h. */
16206 /* Override any GCC internal prototype to avoid an error.
16207 Use char because int might match the return type of a GCC
16208 builtin and then its argument prototype would still apply. */
16209 #ifdef __cplusplus
16210 extern "C"
16211 #endif
16212 char TIFFClientOpen ();
16214 main ()
16216 return TIFFClientOpen ();
16218 return 0;
16220 _ACEOF
16221 if ac_fn_c_try_link "$LINENO"; then :
16222 case "$LIBEXT" in
16223 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16224 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'` ;;
16225 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16226 if ${ac_cv_lib_soname_tiff:+false} :; then :
16227 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16228 fi ;;
16229 esac
16230 else
16231 ac_cv_lib_soname_tiff=
16233 rm -f core conftest.err conftest.$ac_objext \
16234 conftest$ac_exeext conftest.$ac_ext
16235 LIBS=$ac_check_soname_save_LIBS
16237 if ${ac_cv_lib_soname_tiff:+false} :; then :
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16239 $as_echo "not found" >&6; }
16241 else
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16243 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16245 cat >>confdefs.h <<_ACEOF
16246 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16247 _ACEOF
16252 CPPFLAGS=$ac_save_CPPFLAGS
16255 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16256 case "x$with_tiff" in
16257 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16258 xno) ;;
16259 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16260 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16261 esac
16265 if test "x$with_mpg123" != "xno"
16266 then
16267 if ${MPG123_CFLAGS:+false} :; then :
16268 if ${PKG_CONFIG+:} false; then :
16269 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16273 if ${MPG123_LIBS:+false} :; then :
16274 if ${PKG_CONFIG+:} false; then :
16275 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16279 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16280 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16281 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16282 ac_save_CPPFLAGS=$CPPFLAGS
16283 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16284 for ac_header in mpg123.h
16285 do :
16286 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16287 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16288 cat >>confdefs.h <<_ACEOF
16289 #define HAVE_MPG123_H 1
16290 _ACEOF
16294 done
16296 if test "$ac_cv_header_mpg123_h" = "yes"
16297 then
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16299 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16300 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16301 $as_echo_n "(cached) " >&6
16302 else
16303 ac_check_lib_save_LIBS=$LIBS
16304 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16306 /* end confdefs.h. */
16308 /* Override any GCC internal prototype to avoid an error.
16309 Use char because int might match the return type of a GCC
16310 builtin and then its argument prototype would still apply. */
16311 #ifdef __cplusplus
16312 extern "C"
16313 #endif
16314 char mpg123_feed ();
16316 main ()
16318 return mpg123_feed ();
16320 return 0;
16322 _ACEOF
16323 if ac_fn_c_try_link "$LINENO"; then :
16324 ac_cv_lib_mpg123_mpg123_feed=yes
16325 else
16326 ac_cv_lib_mpg123_mpg123_feed=no
16328 rm -f core conftest.err conftest.$ac_objext \
16329 conftest$ac_exeext conftest.$ac_ext
16330 LIBS=$ac_check_lib_save_LIBS
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16333 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16334 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16336 else
16337 MPG123_LIBS=""
16340 else
16341 MPG123_CFLAGS=""
16342 MPG123_LIBS=""
16344 CPPFLAGS=$ac_save_CPPFLAGS
16347 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16348 case "x$with_mpg123" in
16349 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16350 xno) ;;
16351 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16352 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16353 esac
16354 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16356 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16358 if test "$ac_cv_header_AL_al_h" = "yes"
16359 then
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16361 $as_echo_n "checking for -lopenal... " >&6; }
16362 if ${ac_cv_lib_soname_openal+:} false; then :
16363 $as_echo_n "(cached) " >&6
16364 else
16365 ac_check_soname_save_LIBS=$LIBS
16366 LIBS="-lopenal $LIBS"
16367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16368 /* end confdefs.h. */
16370 /* Override any GCC internal prototype to avoid an error.
16371 Use char because int might match the return type of a GCC
16372 builtin and then its argument prototype would still apply. */
16373 #ifdef __cplusplus
16374 extern "C"
16375 #endif
16376 char alGetSource3i ();
16378 main ()
16380 return alGetSource3i ();
16382 return 0;
16384 _ACEOF
16385 if ac_fn_c_try_link "$LINENO"; then :
16386 case "$LIBEXT" in
16387 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16388 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'` ;;
16389 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16390 if ${ac_cv_lib_soname_openal:+false} :; then :
16391 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16392 fi ;;
16393 esac
16394 else
16395 ac_cv_lib_soname_openal=
16397 rm -f core conftest.err conftest.$ac_objext \
16398 conftest$ac_exeext conftest.$ac_ext
16399 LIBS=$ac_check_soname_save_LIBS
16401 if ${ac_cv_lib_soname_openal:+false} :; then :
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16403 $as_echo "not found" >&6; }
16405 else
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16407 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16409 cat >>confdefs.h <<_ACEOF
16410 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16411 _ACEOF
16413 OPENAL_LIBS="-lopenal"
16415 ac_cv_lib_openal=yes
16417 cat >>confdefs.h <<_ACEOF
16418 #define HAVE_OPENAL 1
16419 _ACEOF
16423 if test "x$ac_cv_lib_openal" != xyes; then :
16424 case "x$with_openal" in
16425 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16426 xno) ;;
16427 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16428 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16429 esac
16430 enable_openal32=${enable_openal32:-no}
16433 if test "x$ac_cv_lib_soname_FAudio" = "x"
16434 then
16435 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16436 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16437 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16438 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16439 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16440 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16441 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16442 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16443 enable_xactengine3_0=${enable_xactengine3_0:-no}
16444 enable_xactengine3_1=${enable_xactengine3_1:-no}
16445 enable_xactengine3_2=${enable_xactengine3_2:-no}
16446 enable_xactengine3_3=${enable_xactengine3_3:-no}
16447 enable_xactengine3_4=${enable_xactengine3_4:-no}
16448 enable_xactengine3_5=${enable_xactengine3_5:-no}
16449 enable_xactengine3_6=${enable_xactengine3_6:-no}
16450 enable_xactengine3_7=${enable_xactengine3_7:-no}
16451 enable_xapofx1_1=${enable_xapofx1_1:-no}
16452 enable_xapofx1_2=${enable_xapofx1_2:-no}
16453 enable_xapofx1_3=${enable_xapofx1_3:-no}
16454 enable_xapofx1_4=${enable_xapofx1_4:-no}
16455 enable_xapofx1_5=${enable_xapofx1_5:-no}
16456 enable_xaudio2_0=${enable_xaudio2_0:-no}
16457 enable_xaudio2_1=${enable_xaudio2_1:-no}
16458 enable_xaudio2_2=${enable_xaudio2_2:-no}
16459 enable_xaudio2_3=${enable_xaudio2_3:-no}
16460 enable_xaudio2_4=${enable_xaudio2_4:-no}
16461 enable_xaudio2_5=${enable_xaudio2_5:-no}
16462 enable_xaudio2_6=${enable_xaudio2_6:-no}
16463 enable_xaudio2_7=${enable_xaudio2_7:-no}
16464 enable_xaudio2_8=${enable_xaudio2_8:-no}
16465 enable_xaudio2_9=${enable_xaudio2_9:-no}
16468 if test "$ac_cv_header_kstat_h" = "yes"
16469 then
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16471 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16472 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16473 $as_echo_n "(cached) " >&6
16474 else
16475 ac_check_lib_save_LIBS=$LIBS
16476 LIBS="-lkstat $LIBS"
16477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16478 /* end confdefs.h. */
16480 /* Override any GCC internal prototype to avoid an error.
16481 Use char because int might match the return type of a GCC
16482 builtin and then its argument prototype would still apply. */
16483 #ifdef __cplusplus
16484 extern "C"
16485 #endif
16486 char kstat_open ();
16488 main ()
16490 return kstat_open ();
16492 return 0;
16494 _ACEOF
16495 if ac_fn_c_try_link "$LINENO"; then :
16496 ac_cv_lib_kstat_kstat_open=yes
16497 else
16498 ac_cv_lib_kstat_kstat_open=no
16500 rm -f core conftest.err conftest.$ac_objext \
16501 conftest$ac_exeext conftest.$ac_ext
16502 LIBS=$ac_check_lib_save_LIBS
16504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16505 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16506 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16508 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16510 KSTAT_LIBS="-lkstat"
16516 if test "$ac_cv_header_libprocstat_h" = "yes"
16517 then
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16519 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16520 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16521 $as_echo_n "(cached) " >&6
16522 else
16523 ac_check_lib_save_LIBS=$LIBS
16524 LIBS="-lprocstat $LIBS"
16525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16526 /* end confdefs.h. */
16528 /* Override any GCC internal prototype to avoid an error.
16529 Use char because int might match the return type of a GCC
16530 builtin and then its argument prototype would still apply. */
16531 #ifdef __cplusplus
16532 extern "C"
16533 #endif
16534 char procstat_open_sysctl ();
16536 main ()
16538 return procstat_open_sysctl ();
16540 return 0;
16542 _ACEOF
16543 if ac_fn_c_try_link "$LINENO"; then :
16544 ac_cv_lib_procstat_procstat_open_sysctl=yes
16545 else
16546 ac_cv_lib_procstat_procstat_open_sysctl=no
16548 rm -f core conftest.err conftest.$ac_objext \
16549 conftest$ac_exeext conftest.$ac_ext
16550 LIBS=$ac_check_lib_save_LIBS
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16553 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16554 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16556 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16558 PROCSTAT_LIBS="-lprocstat"
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16565 $as_echo_n "checking for -lodbc... " >&6; }
16566 if ${ac_cv_lib_soname_odbc+:} false; then :
16567 $as_echo_n "(cached) " >&6
16568 else
16569 ac_check_soname_save_LIBS=$LIBS
16570 LIBS="-lodbc $LIBS"
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16574 /* Override any GCC internal prototype to avoid an error.
16575 Use char because int might match the return type of a GCC
16576 builtin and then its argument prototype would still apply. */
16577 #ifdef __cplusplus
16578 extern "C"
16579 #endif
16580 char SQLConnect ();
16582 main ()
16584 return SQLConnect ();
16586 return 0;
16588 _ACEOF
16589 if ac_fn_c_try_link "$LINENO"; then :
16590 case "$LIBEXT" in
16591 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16592 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'` ;;
16593 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16594 if ${ac_cv_lib_soname_odbc:+false} :; then :
16595 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16596 fi ;;
16597 esac
16598 else
16599 ac_cv_lib_soname_odbc=
16601 rm -f core conftest.err conftest.$ac_objext \
16602 conftest$ac_exeext conftest.$ac_ext
16603 LIBS=$ac_check_soname_save_LIBS
16605 if ${ac_cv_lib_soname_odbc:+false} :; then :
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16607 $as_echo "not found" >&6; }
16608 cat >>confdefs.h <<_ACEOF
16609 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16610 _ACEOF
16612 else
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16614 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16616 cat >>confdefs.h <<_ACEOF
16617 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16618 _ACEOF
16623 if test "x$with_netapi" != "xno"
16624 then
16625 if ${NETAPI_CFLAGS:+false} :; then :
16626 if ${PKG_CONFIG+:} false; then :
16627 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16631 if ${NETAPI_LIBS:+false} :; then :
16632 if ${PKG_CONFIG+:} false; then :
16633 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16638 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16639 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16640 ac_save_CPPFLAGS=$CPPFLAGS
16641 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16643 $as_echo_n "checking for -lnetapi... " >&6; }
16644 if ${ac_cv_lib_soname_netapi+:} false; then :
16645 $as_echo_n "(cached) " >&6
16646 else
16647 ac_check_soname_save_LIBS=$LIBS
16648 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16652 /* Override any GCC internal prototype to avoid an error.
16653 Use char because int might match the return type of a GCC
16654 builtin and then its argument prototype would still apply. */
16655 #ifdef __cplusplus
16656 extern "C"
16657 #endif
16658 char libnetapi_init ();
16660 main ()
16662 return libnetapi_init ();
16664 return 0;
16666 _ACEOF
16667 if ac_fn_c_try_link "$LINENO"; then :
16668 case "$LIBEXT" in
16669 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16670 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'` ;;
16671 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16672 if ${ac_cv_lib_soname_netapi:+false} :; then :
16673 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16674 fi ;;
16675 esac
16676 else
16677 ac_cv_lib_soname_netapi=
16679 rm -f core conftest.err conftest.$ac_objext \
16680 conftest$ac_exeext conftest.$ac_ext
16681 LIBS=$ac_check_soname_save_LIBS
16683 if ${ac_cv_lib_soname_netapi:+false} :; then :
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16685 $as_echo "not found" >&6; }
16686 cat >>confdefs.h <<_ACEOF
16687 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16688 _ACEOF
16690 else
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16692 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16694 cat >>confdefs.h <<_ACEOF
16695 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16696 _ACEOF
16700 CPPFLAGS=$ac_save_CPPFLAGS
16704 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16705 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16706 then
16707 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16710 if test "x$with_vulkan" != "xno"
16711 then
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16713 $as_echo_n "checking for -lvulkan... " >&6; }
16714 if ${ac_cv_lib_soname_vulkan+:} false; then :
16715 $as_echo_n "(cached) " >&6
16716 else
16717 ac_check_soname_save_LIBS=$LIBS
16718 LIBS="-lvulkan $LIBS"
16719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16720 /* end confdefs.h. */
16722 /* Override any GCC internal prototype to avoid an error.
16723 Use char because int might match the return type of a GCC
16724 builtin and then its argument prototype would still apply. */
16725 #ifdef __cplusplus
16726 extern "C"
16727 #endif
16728 char vkGetInstanceProcAddr ();
16730 main ()
16732 return vkGetInstanceProcAddr ();
16734 return 0;
16736 _ACEOF
16737 if ac_fn_c_try_link "$LINENO"; then :
16738 case "$LIBEXT" in
16739 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16740 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'` ;;
16741 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16742 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16743 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16744 fi ;;
16745 esac
16746 else
16747 ac_cv_lib_soname_vulkan=
16749 rm -f core conftest.err conftest.$ac_objext \
16750 conftest$ac_exeext conftest.$ac_ext
16751 LIBS=$ac_check_soname_save_LIBS
16753 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16755 $as_echo "not found" >&6; }
16757 else
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16759 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16761 cat >>confdefs.h <<_ACEOF
16762 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16763 _ACEOF
16767 if test "x$ac_cv_lib_soname_vulkan" = "x"
16768 then
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16770 $as_echo_n "checking for -lMoltenVK... " >&6; }
16771 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16772 $as_echo_n "(cached) " >&6
16773 else
16774 ac_check_soname_save_LIBS=$LIBS
16775 LIBS="-lMoltenVK $LIBS"
16776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16777 /* end confdefs.h. */
16779 /* Override any GCC internal prototype to avoid an error.
16780 Use char because int might match the return type of a GCC
16781 builtin and then its argument prototype would still apply. */
16782 #ifdef __cplusplus
16783 extern "C"
16784 #endif
16785 char vkGetInstanceProcAddr ();
16787 main ()
16789 return vkGetInstanceProcAddr ();
16791 return 0;
16793 _ACEOF
16794 if ac_fn_c_try_link "$LINENO"; then :
16795 case "$LIBEXT" in
16796 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16797 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'` ;;
16798 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16799 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16800 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16801 fi ;;
16802 esac
16803 else
16804 ac_cv_lib_soname_MoltenVK=
16806 rm -f core conftest.err conftest.$ac_objext \
16807 conftest$ac_exeext conftest.$ac_ext
16808 LIBS=$ac_check_soname_save_LIBS
16810 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16812 $as_echo "not found" >&6; }
16814 else
16815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16816 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16818 cat >>confdefs.h <<_ACEOF
16819 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16820 _ACEOF
16826 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16827 case "x$with_vulkan" in
16828 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16829 xno) ;;
16830 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16831 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16832 esac
16836 if test "x$with_vkd3d" != "xno"
16837 then
16838 if ${VKD3D_CFLAGS:+false} :; then :
16839 if ${PKG_CONFIG+:} false; then :
16840 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16844 if ${VKD3D_LIBS:+false} :; then :
16845 if ${PKG_CONFIG+:} false; then :
16846 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16851 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16852 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16853 ac_save_CPPFLAGS=$CPPFLAGS
16854 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16856 $as_echo_n "checking for -lvkd3d... " >&6; }
16857 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16858 $as_echo_n "(cached) " >&6
16859 else
16860 ac_check_soname_save_LIBS=$LIBS
16861 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h. */
16865 /* Override any GCC internal prototype to avoid an error.
16866 Use char because int might match the return type of a GCC
16867 builtin and then its argument prototype would still apply. */
16868 #ifdef __cplusplus
16869 extern "C"
16870 #endif
16871 char vkd3d_serialize_versioned_root_signature ();
16873 main ()
16875 return vkd3d_serialize_versioned_root_signature ();
16877 return 0;
16879 _ACEOF
16880 if ac_fn_c_try_link "$LINENO"; then :
16881 case "$LIBEXT" in
16882 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16883 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'` ;;
16884 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16885 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16886 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16887 fi ;;
16888 esac
16889 else
16890 ac_cv_lib_soname_vkd3d=
16892 rm -f core conftest.err conftest.$ac_objext \
16893 conftest$ac_exeext conftest.$ac_ext
16894 LIBS=$ac_check_soname_save_LIBS
16896 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16898 $as_echo "not found" >&6; }
16900 else
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16902 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16904 cat >>confdefs.h <<_ACEOF
16905 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16906 _ACEOF
16910 CPPFLAGS=$ac_save_CPPFLAGS
16912 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16913 if ${PKG_CONFIG+:} false; then :
16914 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16918 if ${VKD3D_SHADER_LIBS:+false} :; then :
16919 if ${PKG_CONFIG+:} false; then :
16920 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16925 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16926 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16927 ac_save_CPPFLAGS=$CPPFLAGS
16928 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16930 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16931 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16932 $as_echo_n "(cached) " >&6
16933 else
16934 ac_check_soname_save_LIBS=$LIBS
16935 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16939 /* Override any GCC internal prototype to avoid an error.
16940 Use char because int might match the return type of a GCC
16941 builtin and then its argument prototype would still apply. */
16942 #ifdef __cplusplus
16943 extern "C"
16944 #endif
16945 char vkd3d_shader_compile ();
16947 main ()
16949 return vkd3d_shader_compile ();
16951 return 0;
16953 _ACEOF
16954 if ac_fn_c_try_link "$LINENO"; then :
16955 case "$LIBEXT" in
16956 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16957 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'` ;;
16958 *) 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'`
16959 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16960 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16961 fi ;;
16962 esac
16963 else
16964 ac_cv_lib_soname_vkd3d_shader=
16966 rm -f core conftest.err conftest.$ac_objext \
16967 conftest$ac_exeext conftest.$ac_ext
16968 LIBS=$ac_check_soname_save_LIBS
16970 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16972 $as_echo "not found" >&6; }
16974 else
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16976 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16978 cat >>confdefs.h <<_ACEOF
16979 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16980 _ACEOF
16984 CPPFLAGS=$ac_save_CPPFLAGS
16987 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16988 case "x$with_vkd3d" in
16989 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16990 xno) ;;
16991 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16992 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16993 esac
16996 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16999 EXTRACFLAGS=""
17001 if test "x${GCC}" = "xyes"
17002 then
17003 EXTRACFLAGS="-Wall -pipe"
17005 saved_CFLAGS=$CFLAGS
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17007 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17008 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17009 $as_echo_n "(cached) " >&6
17010 else
17011 ac_wine_try_cflags_saved=$CFLAGS
17012 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17014 /* end confdefs.h. */
17015 int main(int argc, char **argv) { return 0; }
17016 _ACEOF
17017 if ac_fn_c_try_link "$LINENO"; then :
17018 ac_cv_cflags__Werror_unknown_warning_option=yes
17019 else
17020 ac_cv_cflags__Werror_unknown_warning_option=no
17022 rm -f core conftest.err conftest.$ac_objext \
17023 conftest$ac_exeext conftest.$ac_ext
17024 CFLAGS=$ac_wine_try_cflags_saved
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17027 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17028 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17029 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17032 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17033 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17034 $as_echo_n "(cached) " >&6
17035 else
17036 ac_wine_try_cflags_saved=$CFLAGS
17037 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039 /* end confdefs.h. */
17040 int main(int argc, char **argv) { return 0; }
17041 _ACEOF
17042 if ac_fn_c_try_link "$LINENO"; then :
17043 ac_cv_cflags__Werror_unused_command_line_argument=yes
17044 else
17045 ac_cv_cflags__Werror_unused_command_line_argument=no
17047 rm -f core conftest.err conftest.$ac_objext \
17048 conftest$ac_exeext conftest.$ac_ext
17049 CFLAGS=$ac_wine_try_cflags_saved
17051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17052 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17053 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17054 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17057 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17058 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17059 $as_echo_n "(cached) " >&6
17060 else
17061 ac_wine_try_cflags_saved=$CFLAGS
17062 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17064 /* end confdefs.h. */
17065 int main(int argc, char **argv) { return 0; }
17066 _ACEOF
17067 if ac_fn_c_try_link "$LINENO"; then :
17068 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17069 else
17070 ac_cv_cflags__Werror_ignored_optimization_argument=no
17072 rm -f core conftest.err conftest.$ac_objext \
17073 conftest$ac_exeext conftest.$ac_ext
17074 CFLAGS=$ac_wine_try_cflags_saved
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17077 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17078 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17079 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17082 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17083 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 ac_wine_try_cflags_saved=$CFLAGS
17087 CFLAGS="$CFLAGS -fcf-protection=none"
17088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17089 /* end confdefs.h. */
17090 int main(int argc, char **argv) { return 0; }
17091 _ACEOF
17092 if ac_fn_c_try_link "$LINENO"; then :
17093 ac_cv_cflags__fcf_protection_none=yes
17094 else
17095 ac_cv_cflags__fcf_protection_none=no
17097 rm -f core conftest.err conftest.$ac_objext \
17098 conftest$ac_exeext conftest.$ac_ext
17099 CFLAGS=$ac_wine_try_cflags_saved
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17102 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17103 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17104 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17107 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17108 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17109 $as_echo_n "(cached) " >&6
17110 else
17111 ac_wine_try_cflags_saved=$CFLAGS
17112 CFLAGS="$CFLAGS -fno-stack-protector"
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 int main(int argc, char **argv) { return 0; }
17116 _ACEOF
17117 if ac_fn_c_try_link "$LINENO"; then :
17118 ac_cv_cflags__fno_stack_protector=yes
17119 else
17120 ac_cv_cflags__fno_stack_protector=no
17122 rm -f core conftest.err conftest.$ac_objext \
17123 conftest$ac_exeext conftest.$ac_ext
17124 CFLAGS=$ac_wine_try_cflags_saved
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17127 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17128 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17129 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17132 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17133 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17134 $as_echo_n "(cached) " >&6
17135 else
17136 ac_wine_try_cflags_saved=$CFLAGS
17137 CFLAGS="$CFLAGS -fno-strict-aliasing"
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h. */
17140 int main(int argc, char **argv) { return 0; }
17141 _ACEOF
17142 if ac_fn_c_try_link "$LINENO"; then :
17143 ac_cv_cflags__fno_strict_aliasing=yes
17144 else
17145 ac_cv_cflags__fno_strict_aliasing=no
17147 rm -f core conftest.err conftest.$ac_objext \
17148 conftest$ac_exeext conftest.$ac_ext
17149 CFLAGS=$ac_wine_try_cflags_saved
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17152 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17153 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17154 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17157 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17158 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17159 $as_echo_n "(cached) " >&6
17160 else
17161 ac_wine_try_cflags_saved=$CFLAGS
17162 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 int main(int argc, char **argv) { return 0; }
17166 _ACEOF
17167 if ac_fn_c_try_link "$LINENO"; then :
17168 ac_cv_cflags__Wdeclaration_after_statement=yes
17169 else
17170 ac_cv_cflags__Wdeclaration_after_statement=no
17172 rm -f core conftest.err conftest.$ac_objext \
17173 conftest$ac_exeext conftest.$ac_ext
17174 CFLAGS=$ac_wine_try_cflags_saved
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17177 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17178 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17179 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17182 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17183 if ${ac_cv_cflags__Wempty_body+:} false; then :
17184 $as_echo_n "(cached) " >&6
17185 else
17186 ac_wine_try_cflags_saved=$CFLAGS
17187 CFLAGS="$CFLAGS -Wempty-body"
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17190 int main(int argc, char **argv) { return 0; }
17191 _ACEOF
17192 if ac_fn_c_try_link "$LINENO"; then :
17193 ac_cv_cflags__Wempty_body=yes
17194 else
17195 ac_cv_cflags__Wempty_body=no
17197 rm -f core conftest.err conftest.$ac_objext \
17198 conftest$ac_exeext conftest.$ac_ext
17199 CFLAGS=$ac_wine_try_cflags_saved
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17202 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17203 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17204 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17207 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17208 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17209 $as_echo_n "(cached) " >&6
17210 else
17211 ac_wine_try_cflags_saved=$CFLAGS
17212 CFLAGS="$CFLAGS -Wignored-qualifiers"
17213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17214 /* end confdefs.h. */
17215 int main(int argc, char **argv) { return 0; }
17216 _ACEOF
17217 if ac_fn_c_try_link "$LINENO"; then :
17218 ac_cv_cflags__Wignored_qualifiers=yes
17219 else
17220 ac_cv_cflags__Wignored_qualifiers=no
17222 rm -f core conftest.err conftest.$ac_objext \
17223 conftest$ac_exeext conftest.$ac_ext
17224 CFLAGS=$ac_wine_try_cflags_saved
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17227 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17228 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17229 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17232 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17233 if ${ac_cv_cflags__Winit_self+:} false; then :
17234 $as_echo_n "(cached) " >&6
17235 else
17236 ac_wine_try_cflags_saved=$CFLAGS
17237 CFLAGS="$CFLAGS -Winit-self"
17238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17240 int main(int argc, char **argv) { return 0; }
17241 _ACEOF
17242 if ac_fn_c_try_link "$LINENO"; then :
17243 ac_cv_cflags__Winit_self=yes
17244 else
17245 ac_cv_cflags__Winit_self=no
17247 rm -f core conftest.err conftest.$ac_objext \
17248 conftest$ac_exeext conftest.$ac_ext
17249 CFLAGS=$ac_wine_try_cflags_saved
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17252 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17253 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17254 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17257 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17258 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17259 $as_echo_n "(cached) " >&6
17260 else
17261 ac_wine_try_cflags_saved=$CFLAGS
17262 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17265 int main(int argc, char **argv) { return 0; }
17266 _ACEOF
17267 if ac_fn_c_try_link "$LINENO"; then :
17268 ac_cv_cflags__Wpacked_not_aligned=yes
17269 else
17270 ac_cv_cflags__Wpacked_not_aligned=no
17272 rm -f core conftest.err conftest.$ac_objext \
17273 conftest$ac_exeext conftest.$ac_ext
17274 CFLAGS=$ac_wine_try_cflags_saved
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17277 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17278 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17279 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17282 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17283 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17284 $as_echo_n "(cached) " >&6
17285 else
17286 ac_wine_try_cflags_saved=$CFLAGS
17287 CFLAGS="$CFLAGS -Wpragma-pack"
17288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17289 /* end confdefs.h. */
17290 int main(int argc, char **argv) { return 0; }
17291 _ACEOF
17292 if ac_fn_c_try_link "$LINENO"; then :
17293 ac_cv_cflags__Wpragma_pack=yes
17294 else
17295 ac_cv_cflags__Wpragma_pack=no
17297 rm -f core conftest.err conftest.$ac_objext \
17298 conftest$ac_exeext conftest.$ac_ext
17299 CFLAGS=$ac_wine_try_cflags_saved
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17302 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17303 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17304 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17307 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17308 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17309 $as_echo_n "(cached) " >&6
17310 else
17311 ac_wine_try_cflags_saved=$CFLAGS
17312 CFLAGS="$CFLAGS -Wshift-overflow=2"
17313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17314 /* end confdefs.h. */
17315 int main(int argc, char **argv) { return 0; }
17316 _ACEOF
17317 if ac_fn_c_try_link "$LINENO"; then :
17318 ac_cv_cflags__Wshift_overflow_2=yes
17319 else
17320 ac_cv_cflags__Wshift_overflow_2=no
17322 rm -f core conftest.err conftest.$ac_objext \
17323 conftest$ac_exeext conftest.$ac_ext
17324 CFLAGS=$ac_wine_try_cflags_saved
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17327 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17328 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17329 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17332 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17333 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17334 $as_echo_n "(cached) " >&6
17335 else
17336 ac_wine_try_cflags_saved=$CFLAGS
17337 CFLAGS="$CFLAGS -Wstrict-prototypes"
17338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17339 /* end confdefs.h. */
17340 int main(int argc, char **argv) { return 0; }
17341 _ACEOF
17342 if ac_fn_c_try_link "$LINENO"; then :
17343 ac_cv_cflags__Wstrict_prototypes=yes
17344 else
17345 ac_cv_cflags__Wstrict_prototypes=no
17347 rm -f core conftest.err conftest.$ac_objext \
17348 conftest$ac_exeext conftest.$ac_ext
17349 CFLAGS=$ac_wine_try_cflags_saved
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17352 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17353 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17354 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17357 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17358 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17359 $as_echo_n "(cached) " >&6
17360 else
17361 ac_wine_try_cflags_saved=$CFLAGS
17362 CFLAGS="$CFLAGS -Wtype-limits"
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17365 int main(int argc, char **argv) { return 0; }
17366 _ACEOF
17367 if ac_fn_c_try_link "$LINENO"; then :
17368 ac_cv_cflags__Wtype_limits=yes
17369 else
17370 ac_cv_cflags__Wtype_limits=no
17372 rm -f core conftest.err conftest.$ac_objext \
17373 conftest$ac_exeext conftest.$ac_ext
17374 CFLAGS=$ac_wine_try_cflags_saved
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17377 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17378 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17379 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17382 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17383 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17384 $as_echo_n "(cached) " >&6
17385 else
17386 ac_wine_try_cflags_saved=$CFLAGS
17387 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17389 /* end confdefs.h. */
17390 int main(int argc, char **argv) { return 0; }
17391 _ACEOF
17392 if ac_fn_c_try_link "$LINENO"; then :
17393 ac_cv_cflags__Wunused_but_set_parameter=yes
17394 else
17395 ac_cv_cflags__Wunused_but_set_parameter=no
17397 rm -f core conftest.err conftest.$ac_objext \
17398 conftest$ac_exeext conftest.$ac_ext
17399 CFLAGS=$ac_wine_try_cflags_saved
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17402 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17403 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17404 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17407 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17408 if ${ac_cv_cflags__Wvla+:} false; then :
17409 $as_echo_n "(cached) " >&6
17410 else
17411 ac_wine_try_cflags_saved=$CFLAGS
17412 CFLAGS="$CFLAGS -Wvla"
17413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h. */
17415 int main(int argc, char **argv) { return 0; }
17416 _ACEOF
17417 if ac_fn_c_try_link "$LINENO"; then :
17418 ac_cv_cflags__Wvla=yes
17419 else
17420 ac_cv_cflags__Wvla=no
17422 rm -f core conftest.err conftest.$ac_objext \
17423 conftest$ac_exeext conftest.$ac_ext
17424 CFLAGS=$ac_wine_try_cflags_saved
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17427 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17428 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17429 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17432 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17433 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17434 $as_echo_n "(cached) " >&6
17435 else
17436 ac_wine_try_cflags_saved=$CFLAGS
17437 CFLAGS="$CFLAGS -Wwrite-strings"
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17440 int main(int argc, char **argv) { return 0; }
17441 _ACEOF
17442 if ac_fn_c_try_link "$LINENO"; then :
17443 ac_cv_cflags__Wwrite_strings=yes
17444 else
17445 ac_cv_cflags__Wwrite_strings=no
17447 rm -f core conftest.err conftest.$ac_objext \
17448 conftest$ac_exeext conftest.$ac_ext
17449 CFLAGS=$ac_wine_try_cflags_saved
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17452 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17453 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17454 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17457 if test -z "$CROSSTARGET"
17458 then
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17460 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17461 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17462 $as_echo_n "(cached) " >&6
17463 else
17464 ac_wine_try_cflags_saved=$CFLAGS
17465 CFLAGS="$CFLAGS -fexcess-precision=standard"
17466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17467 /* end confdefs.h. */
17468 int main(int argc, char **argv) { return 0; }
17469 _ACEOF
17470 if ac_fn_c_try_link "$LINENO"; then :
17471 ac_cv_cflags__fexcess_precision_standard=yes
17472 else
17473 ac_cv_cflags__fexcess_precision_standard=no
17475 rm -f core conftest.err conftest.$ac_objext \
17476 conftest$ac_exeext conftest.$ac_ext
17477 CFLAGS=$ac_wine_try_cflags_saved
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17480 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17481 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17482 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17488 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17489 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17490 $as_echo_n "(cached) " >&6
17491 else
17492 ac_wine_try_cflags_saved=$CFLAGS
17493 CFLAGS="$CFLAGS -Wpointer-arith"
17494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17495 /* end confdefs.h. */
17496 int main(int argc, char **argv) { return 0; }
17497 _ACEOF
17498 if ac_fn_c_try_link "$LINENO"; then :
17499 ac_cv_cflags__Wpointer_arith=yes
17500 else
17501 ac_cv_cflags__Wpointer_arith=no
17503 rm -f core conftest.err conftest.$ac_objext \
17504 conftest$ac_exeext conftest.$ac_ext
17505 CFLAGS=$ac_wine_try_cflags_saved
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17508 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17509 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17510 saved_string_h_CFLAGS=$CFLAGS
17511 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17513 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17514 if ${ac_cv_c_string_h_warnings+:} false; then :
17515 $as_echo_n "(cached) " >&6
17516 else
17517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h. */
17519 #include <string.h>
17521 main ()
17525 return 0;
17527 _ACEOF
17528 if ac_fn_c_try_compile "$LINENO"; then :
17529 ac_cv_c_string_h_warnings=no
17530 else
17531 ac_cv_c_string_h_warnings=yes
17533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17536 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17537 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17538 CFLAGS=$saved_string_h_CFLAGS
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17542 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17543 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17544 $as_echo_n "(cached) " >&6
17545 else
17546 ac_wine_try_cflags_saved=$CFLAGS
17547 CFLAGS="$CFLAGS -Wlogical-op"
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h. */
17550 int main(int argc, char **argv) { return 0; }
17551 _ACEOF
17552 if ac_fn_c_try_link "$LINENO"; then :
17553 ac_cv_cflags__Wlogical_op=yes
17554 else
17555 ac_cv_cflags__Wlogical_op=no
17557 rm -f core conftest.err conftest.$ac_objext \
17558 conftest$ac_exeext conftest.$ac_ext
17559 CFLAGS=$ac_wine_try_cflags_saved
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17562 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17563 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17564 saved_string_h_CFLAGS=$CFLAGS
17565 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17567 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17568 if ${ac_cv_c_logicalop_noisy+:} false; then :
17569 $as_echo_n "(cached) " >&6
17570 else
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17573 #include <string.h>
17574 char*f(const char *h,char n) {return strchr(h,n);}
17576 main ()
17580 return 0;
17582 _ACEOF
17583 if ac_fn_c_try_compile "$LINENO"; then :
17584 ac_cv_c_logicalop_noisy=no
17585 else
17586 ac_cv_c_logicalop_noisy=yes
17588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17591 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17592 CFLAGS=$saved_string_h_CFLAGS
17593 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17597 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17598 if ${wine_cv_64bit_compare_swap+:} false; then :
17599 $as_echo_n "(cached) " >&6
17600 else
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17603 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17604 #error no
17605 #endif
17607 main ()
17611 return 0;
17613 _ACEOF
17614 if ac_fn_c_try_compile "$LINENO"; then :
17615 wine_cv_64bit_compare_swap="none needed"
17616 else
17617 case $host_cpu in
17618 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17619 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17620 *) wine_cv_64bit_compare_swap="unknown" ;;
17621 esac
17622 if test "x$wine_cv_64bit_compare_swap" != xunknown
17623 then
17624 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17627 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17628 #error no
17629 #endif
17631 main ()
17635 return 0;
17637 _ACEOF
17638 if ac_fn_c_try_compile "$LINENO"; then :
17640 else
17641 wine_cv_64bit_compare_swap="unknown"
17643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17644 CFLAGS=$saved_CFLAGS
17647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17650 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17651 case "$wine_cv_64bit_compare_swap" in
17652 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17653 "none needed") ;;
17654 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17655 esac
17657 for ac_flag in $CFLAGS; do
17658 case $ac_flag in
17659 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17660 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17661 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17662 $as_echo_n "(cached) " >&6
17663 else
17664 ac_wine_try_cflags_saved=$CFLAGS
17665 CFLAGS="$CFLAGS -gdwarf-2"
17666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17668 int main(int argc, char **argv) { return 0; }
17669 _ACEOF
17670 if ac_fn_c_try_link "$LINENO"; then :
17671 ac_cv_cflags__gdwarf_2=yes
17672 else
17673 ac_cv_cflags__gdwarf_2=no
17675 rm -f core conftest.err conftest.$ac_objext \
17676 conftest$ac_exeext conftest.$ac_ext
17677 CFLAGS=$ac_wine_try_cflags_saved
17679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17680 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17681 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17682 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17685 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17686 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17687 $as_echo_n "(cached) " >&6
17688 else
17689 ac_wine_try_cflags_saved=$CFLAGS
17690 CFLAGS="$CFLAGS -gstrict-dwarf"
17691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17692 /* end confdefs.h. */
17693 int main(int argc, char **argv) { return 0; }
17694 _ACEOF
17695 if ac_fn_c_try_link "$LINENO"; then :
17696 ac_cv_cflags__gstrict_dwarf=yes
17697 else
17698 ac_cv_cflags__gstrict_dwarf=no
17700 rm -f core conftest.err conftest.$ac_objext \
17701 conftest$ac_exeext conftest.$ac_ext
17702 CFLAGS=$ac_wine_try_cflags_saved
17704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17705 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17706 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17707 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17708 fi ;;
17709 esac
17710 done
17712 MSVCRTFLAGS=""
17714 case $host_os in
17715 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17716 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17717 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17718 $as_echo_n "(cached) " >&6
17719 else
17720 ac_wine_try_cflags_saved=$CFLAGS
17721 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723 /* end confdefs.h. */
17724 int main(int argc, char **argv) { return 0; }
17725 _ACEOF
17726 if ac_fn_c_try_link "$LINENO"; then :
17727 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17728 else
17729 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17731 rm -f core conftest.err conftest.$ac_objext \
17732 conftest$ac_exeext conftest.$ac_ext
17733 CFLAGS=$ac_wine_try_cflags_saved
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17736 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17737 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17738 DELAYLOADFLAG="-Wl,-delayload,"
17740 fi ;;
17741 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17742 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17743 if ${ac_cv_cflags__fno_builtin+:} false; then :
17744 $as_echo_n "(cached) " >&6
17745 else
17746 ac_wine_try_cflags_saved=$CFLAGS
17747 CFLAGS="$CFLAGS -fno-builtin"
17748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17749 /* end confdefs.h. */
17750 int main(int argc, char **argv) { return 0; }
17751 _ACEOF
17752 if ac_fn_c_try_link "$LINENO"; then :
17753 ac_cv_cflags__fno_builtin=yes
17754 else
17755 ac_cv_cflags__fno_builtin=no
17757 rm -f core conftest.err conftest.$ac_objext \
17758 conftest$ac_exeext conftest.$ac_ext
17759 CFLAGS=$ac_wine_try_cflags_saved
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17762 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17763 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17764 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17767 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17768 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17769 $as_echo_n "(cached) " >&6
17770 else
17771 ac_wine_try_cflags_saved=$CFLAGS
17772 CFLAGS="$CFLAGS -fshort-wchar"
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17775 int main(int argc, char **argv) { return 0; }
17776 _ACEOF
17777 if ac_fn_c_try_link "$LINENO"; then :
17778 ac_cv_cflags__fshort_wchar=yes
17779 else
17780 ac_cv_cflags__fshort_wchar=no
17782 rm -f core conftest.err conftest.$ac_objext \
17783 conftest$ac_exeext conftest.$ac_ext
17784 CFLAGS=$ac_wine_try_cflags_saved
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17787 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17788 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17789 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17790 fi ;;
17791 esac
17793 case $host_cpu in
17794 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17795 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17796 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17797 $as_echo_n "(cached) " >&6
17798 else
17799 ac_wine_try_cflags_saved=$CFLAGS
17800 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17803 int main(int argc, char **argv) { return 0; }
17804 _ACEOF
17805 if ac_fn_c_try_link "$LINENO"; then :
17806 ac_cv_cflags__fno_omit_frame_pointer=yes
17807 else
17808 ac_cv_cflags__fno_omit_frame_pointer=no
17810 rm -f core conftest.err conftest.$ac_objext \
17811 conftest$ac_exeext conftest.$ac_ext
17812 CFLAGS=$ac_wine_try_cflags_saved
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17815 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17816 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17817 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17818 fi ;;
17819 *x86_64*)
17820 case $host_os in
17821 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17822 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17823 if ${ac_cv_cflags__Wno_format+:} false; then :
17824 $as_echo_n "(cached) " >&6
17825 else
17826 ac_wine_try_cflags_saved=$CFLAGS
17827 CFLAGS="$CFLAGS -Wno-format"
17828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17829 /* end confdefs.h. */
17830 int main(int argc, char **argv) { return 0; }
17831 _ACEOF
17832 if ac_fn_c_try_link "$LINENO"; then :
17833 ac_cv_cflags__Wno_format=yes
17834 else
17835 ac_cv_cflags__Wno_format=no
17837 rm -f core conftest.err conftest.$ac_objext \
17838 conftest$ac_exeext conftest.$ac_ext
17839 CFLAGS=$ac_wine_try_cflags_saved
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17842 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17843 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17844 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17845 fi ;;
17846 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17847 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17848 if ${ac_cv_cflags__mabi_ms+:} false; then :
17849 $as_echo_n "(cached) " >&6
17850 else
17851 ac_wine_try_cflags_saved=$CFLAGS
17852 CFLAGS="$CFLAGS -mabi=ms"
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 int main(int argc, char **argv) { return 0; }
17856 _ACEOF
17857 if ac_fn_c_try_link "$LINENO"; then :
17858 ac_cv_cflags__mabi_ms=yes
17859 else
17860 ac_cv_cflags__mabi_ms=no
17862 rm -f core conftest.err conftest.$ac_objext \
17863 conftest$ac_exeext conftest.$ac_ext
17864 CFLAGS=$ac_wine_try_cflags_saved
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17867 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17868 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17869 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17870 fi ;;
17871 esac ;;
17872 esac
17874 CFLAGS=$saved_CFLAGS
17876 if test "x$enable_werror" = "xyes"
17877 then
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17879 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17880 if ${ac_cv_cflags__Werror+:} false; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17883 ac_wine_try_cflags_saved=$CFLAGS
17884 CFLAGS="$CFLAGS -Werror"
17885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17886 /* end confdefs.h. */
17887 int main(int argc, char **argv) { return 0; }
17888 _ACEOF
17889 if ac_fn_c_try_link "$LINENO"; then :
17890 ac_cv_cflags__Werror=yes
17891 else
17892 ac_cv_cflags__Werror=no
17894 rm -f core conftest.err conftest.$ac_objext \
17895 conftest$ac_exeext conftest.$ac_ext
17896 CFLAGS=$ac_wine_try_cflags_saved
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17899 $as_echo "$ac_cv_cflags__Werror" >&6; }
17900 if test "x$ac_cv_cflags__Werror" = xyes; then :
17901 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17904 if test "x$enable_build_id" = "xyes"
17905 then
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17907 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17908 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17909 $as_echo_n "(cached) " >&6
17910 else
17911 ac_wine_try_cflags_saved=$CFLAGS
17912 CFLAGS="$CFLAGS -Wl,--build-id"
17913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17914 /* end confdefs.h. */
17915 int main(int argc, char **argv) { return 0; }
17916 _ACEOF
17917 if ac_fn_c_try_link "$LINENO"; then :
17918 ac_cv_cflags__Wl___build_id=yes
17919 else
17920 ac_cv_cflags__Wl___build_id=no
17922 rm -f core conftest.err conftest.$ac_objext \
17923 conftest$ac_exeext conftest.$ac_ext
17924 CFLAGS=$ac_wine_try_cflags_saved
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17927 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17928 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17929 CFLAGS="$CFLAGS -Wl,--build-id"
17930 LDFLAGS="$LDFLAGS -Wl,--build-id"
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17937 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17938 if ${ac_cv_c_fortify_enabled+:} false; then :
17939 $as_echo_n "(cached) " >&6
17940 else
17941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17942 /* end confdefs.h. */
17943 #include <string.h>
17945 main ()
17947 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17948 #error Fortify enabled
17949 #endif
17951 return 0;
17953 _ACEOF
17954 if ac_fn_c_try_compile "$LINENO"; then :
17955 ac_cv_c_fortify_enabled=no
17956 else
17957 ac_cv_c_fortify_enabled=yes
17959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17962 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17963 if test "$ac_cv_c_fortify_enabled" = yes
17964 then
17965 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17970 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17971 if ${ac_cv_c_cfi_support+:} false; then :
17972 $as_echo_n "(cached) " >&6
17973 else
17974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17975 /* end confdefs.h. */
17976 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17978 main ()
17982 return 0;
17984 _ACEOF
17985 if ac_fn_c_try_compile "$LINENO"; then :
17986 ac_cv_c_cfi_support="yes"
17987 else
17988 ac_cv_c_cfi_support="no"
17990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17993 $as_echo "$ac_cv_c_cfi_support" >&6; }
17994 if test "$ac_cv_c_cfi_support" = "yes"
17995 then
17996 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17997 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17998 else
17999 if test "x$enable_win64" = "xyes"
18000 then
18001 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18006 case $build_os in
18007 cygwin*|mingw32*) TOOLSEXT=".exe"
18009 esac
18011 case $host_os in
18012 linux*)
18013 case $host_cpu in
18014 *i[3456789]86*|x86_64*|*aarch64*)
18015 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18016 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18018 esac
18020 esac
18023 ac_save_CFLAGS="$CFLAGS"
18024 CFLAGS="$CFLAGS $BUILTINFLAG"
18025 for ac_func in \
18026 __res_get_state \
18027 __res_getservers \
18028 _spawnvp \
18029 epoll_create \
18030 fnmatch \
18031 fork \
18032 fstatfs \
18033 futimens \
18034 futimes \
18035 futimesat \
18036 getattrlist \
18037 getauxval \
18038 getifaddrs \
18039 getopt_long_only \
18040 getrandom \
18041 kqueue \
18042 lstat \
18043 mach_continuous_time \
18044 pipe2 \
18045 poll \
18046 port_create \
18047 prctl \
18048 pread \
18049 proc_pidinfo \
18050 pwrite \
18051 readlink \
18052 sched_yield \
18053 setproctitle \
18054 setprogname \
18055 sigprocmask \
18056 symlink \
18057 tcdrain \
18058 thr_kill2
18060 do :
18061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18063 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18064 cat >>confdefs.h <<_ACEOF
18065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18066 _ACEOF
18069 done
18071 CFLAGS="$ac_save_CFLAGS"
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18074 $as_echo_n "checking for library containing dlopen... " >&6; }
18075 if ${ac_cv_search_dlopen+:} false; then :
18076 $as_echo_n "(cached) " >&6
18077 else
18078 ac_func_search_save_LIBS=$LIBS
18079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18080 /* end confdefs.h. */
18082 /* Override any GCC internal prototype to avoid an error.
18083 Use char because int might match the return type of a GCC
18084 builtin and then its argument prototype would still apply. */
18085 #ifdef __cplusplus
18086 extern "C"
18087 #endif
18088 char dlopen ();
18090 main ()
18092 return dlopen ();
18094 return 0;
18096 _ACEOF
18097 for ac_lib in '' dl; do
18098 if test -z "$ac_lib"; then
18099 ac_res="none required"
18100 else
18101 ac_res=-l$ac_lib
18102 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18104 if ac_fn_c_try_link "$LINENO"; then :
18105 ac_cv_search_dlopen=$ac_res
18107 rm -f core conftest.err conftest.$ac_objext \
18108 conftest$ac_exeext
18109 if ${ac_cv_search_dlopen+:} false; then :
18110 break
18112 done
18113 if ${ac_cv_search_dlopen+:} false; then :
18115 else
18116 ac_cv_search_dlopen=no
18118 rm conftest.$ac_ext
18119 LIBS=$ac_func_search_save_LIBS
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18122 $as_echo "$ac_cv_search_dlopen" >&6; }
18123 ac_res=$ac_cv_search_dlopen
18124 if test "$ac_res" != no; then :
18125 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18129 ac_wine_check_funcs_save_LIBS="$LIBS"
18130 LIBS="$LIBS $DL_LIBS"
18131 for ac_func in dladdr dlinfo
18132 do :
18133 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18134 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18135 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18136 cat >>confdefs.h <<_ACEOF
18137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18138 _ACEOF
18141 done
18143 LIBS="$ac_wine_check_funcs_save_LIBS"
18145 if test "$ac_cv_func_poll" = no
18146 then
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18148 $as_echo_n "checking for poll in -lpoll... " >&6; }
18149 if ${ac_cv_lib_poll_poll+:} false; then :
18150 $as_echo_n "(cached) " >&6
18151 else
18152 ac_check_lib_save_LIBS=$LIBS
18153 LIBS="-lpoll $LIBS"
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18157 /* Override any GCC internal prototype to avoid an error.
18158 Use char because int might match the return type of a GCC
18159 builtin and then its argument prototype would still apply. */
18160 #ifdef __cplusplus
18161 extern "C"
18162 #endif
18163 char poll ();
18165 main ()
18167 return poll ();
18169 return 0;
18171 _ACEOF
18172 if ac_fn_c_try_link "$LINENO"; then :
18173 ac_cv_lib_poll_poll=yes
18174 else
18175 ac_cv_lib_poll_poll=no
18177 rm -f core conftest.err conftest.$ac_objext \
18178 conftest$ac_exeext conftest.$ac_ext
18179 LIBS=$ac_check_lib_save_LIBS
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18182 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18183 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18184 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18185 POLL_LIBS="-lpoll"
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18192 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18193 if ${ac_cv_search_gethostbyname+:} false; then :
18194 $as_echo_n "(cached) " >&6
18195 else
18196 ac_func_search_save_LIBS=$LIBS
18197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18198 /* end confdefs.h. */
18200 /* Override any GCC internal prototype to avoid an error.
18201 Use char because int might match the return type of a GCC
18202 builtin and then its argument prototype would still apply. */
18203 #ifdef __cplusplus
18204 extern "C"
18205 #endif
18206 char gethostbyname ();
18208 main ()
18210 return gethostbyname ();
18212 return 0;
18214 _ACEOF
18215 for ac_lib in '' nsl; do
18216 if test -z "$ac_lib"; then
18217 ac_res="none required"
18218 else
18219 ac_res=-l$ac_lib
18220 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18222 if ac_fn_c_try_link "$LINENO"; then :
18223 ac_cv_search_gethostbyname=$ac_res
18225 rm -f core conftest.err conftest.$ac_objext \
18226 conftest$ac_exeext
18227 if ${ac_cv_search_gethostbyname+:} false; then :
18228 break
18230 done
18231 if ${ac_cv_search_gethostbyname+:} false; then :
18233 else
18234 ac_cv_search_gethostbyname=no
18236 rm conftest.$ac_ext
18237 LIBS=$ac_func_search_save_LIBS
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18240 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18241 ac_res=$ac_cv_search_gethostbyname
18242 if test "$ac_res" != no; then :
18243 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18249 $as_echo_n "checking for library containing connect... " >&6; }
18250 if ${ac_cv_search_connect+:} false; then :
18251 $as_echo_n "(cached) " >&6
18252 else
18253 ac_func_search_save_LIBS=$LIBS
18254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18255 /* end confdefs.h. */
18257 /* Override any GCC internal prototype to avoid an error.
18258 Use char because int might match the return type of a GCC
18259 builtin and then its argument prototype would still apply. */
18260 #ifdef __cplusplus
18261 extern "C"
18262 #endif
18263 char connect ();
18265 main ()
18267 return connect ();
18269 return 0;
18271 _ACEOF
18272 for ac_lib in '' socket; do
18273 if test -z "$ac_lib"; then
18274 ac_res="none required"
18275 else
18276 ac_res=-l$ac_lib
18277 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18279 if ac_fn_c_try_link "$LINENO"; then :
18280 ac_cv_search_connect=$ac_res
18282 rm -f core conftest.err conftest.$ac_objext \
18283 conftest$ac_exeext
18284 if ${ac_cv_search_connect+:} false; then :
18285 break
18287 done
18288 if ${ac_cv_search_connect+:} false; then :
18290 else
18291 ac_cv_search_connect=no
18293 rm conftest.$ac_ext
18294 LIBS=$ac_func_search_save_LIBS
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18297 $as_echo "$ac_cv_search_connect" >&6; }
18298 ac_res=$ac_cv_search_connect
18299 if test "$ac_res" != no; then :
18300 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18306 $as_echo_n "checking for library containing inet_aton... " >&6; }
18307 if ${ac_cv_search_inet_aton+:} false; then :
18308 $as_echo_n "(cached) " >&6
18309 else
18310 ac_func_search_save_LIBS=$LIBS
18311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18312 /* end confdefs.h. */
18314 /* Override any GCC internal prototype to avoid an error.
18315 Use char because int might match the return type of a GCC
18316 builtin and then its argument prototype would still apply. */
18317 #ifdef __cplusplus
18318 extern "C"
18319 #endif
18320 char inet_aton ();
18322 main ()
18324 return inet_aton ();
18326 return 0;
18328 _ACEOF
18329 for ac_lib in '' resolv; do
18330 if test -z "$ac_lib"; then
18331 ac_res="none required"
18332 else
18333 ac_res=-l$ac_lib
18334 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18336 if ac_fn_c_try_link "$LINENO"; then :
18337 ac_cv_search_inet_aton=$ac_res
18339 rm -f core conftest.err conftest.$ac_objext \
18340 conftest$ac_exeext
18341 if ${ac_cv_search_inet_aton+:} false; then :
18342 break
18344 done
18345 if ${ac_cv_search_inet_aton+:} false; then :
18347 else
18348 ac_cv_search_inet_aton=no
18350 rm conftest.$ac_ext
18351 LIBS=$ac_func_search_save_LIBS
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18354 $as_echo "$ac_cv_search_inet_aton" >&6; }
18355 ac_res=$ac_cv_search_inet_aton
18356 if test "$ac_res" != no; then :
18357 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18362 for ac_func in \
18363 getaddrinfo \
18364 getnameinfo \
18365 getservbyport \
18367 do :
18368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18370 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18371 cat >>confdefs.h <<_ACEOF
18372 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18373 _ACEOF
18376 done
18379 case $host_os in
18380 darwin*|macosx*) ;;
18381 *) ac_save_LIBS=$LIBS
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18383 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18384 if ${ac_cv_search_clock_gettime+:} false; then :
18385 $as_echo_n "(cached) " >&6
18386 else
18387 ac_func_search_save_LIBS=$LIBS
18388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18389 /* end confdefs.h. */
18391 /* Override any GCC internal prototype to avoid an error.
18392 Use char because int might match the return type of a GCC
18393 builtin and then its argument prototype would still apply. */
18394 #ifdef __cplusplus
18395 extern "C"
18396 #endif
18397 char clock_gettime ();
18399 main ()
18401 return clock_gettime ();
18403 return 0;
18405 _ACEOF
18406 for ac_lib in '' rt; do
18407 if test -z "$ac_lib"; then
18408 ac_res="none required"
18409 else
18410 ac_res=-l$ac_lib
18411 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18413 if ac_fn_c_try_link "$LINENO"; then :
18414 ac_cv_search_clock_gettime=$ac_res
18416 rm -f core conftest.err conftest.$ac_objext \
18417 conftest$ac_exeext
18418 if ${ac_cv_search_clock_gettime+:} false; then :
18419 break
18421 done
18422 if ${ac_cv_search_clock_gettime+:} false; then :
18424 else
18425 ac_cv_search_clock_gettime=no
18427 rm conftest.$ac_ext
18428 LIBS=$ac_func_search_save_LIBS
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18431 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18432 ac_res=$ac_cv_search_clock_gettime
18433 if test "$ac_res" != no; then :
18434 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18436 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18438 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18442 LIBS=$ac_save_LIBS
18444 esac
18446 if test "x$with_ldap" != "xno"
18447 then
18448 if ${LDAP_CFLAGS:+false} :; then :
18449 if ${PKG_CONFIG+:} false; then :
18450 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18454 if ${LDAP_LIBS:+false} :; then :
18455 if ${PKG_CONFIG+:} false; then :
18456 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18460 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18461 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18462 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18463 ac_save_CPPFLAGS=$CPPFLAGS
18464 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18465 for ac_header in ldap.h lber.h
18466 do :
18467 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18468 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18469 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18470 cat >>confdefs.h <<_ACEOF
18471 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18472 _ACEOF
18476 done
18478 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18479 then
18480 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18482 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18484 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18485 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18486 $as_echo_n "(cached) " >&6
18487 else
18488 ac_check_lib_save_LIBS=$LIBS
18489 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18493 /* Override any GCC internal prototype to avoid an error.
18494 Use char because int might match the return type of a GCC
18495 builtin and then its argument prototype would still apply. */
18496 #ifdef __cplusplus
18497 extern "C"
18498 #endif
18499 char ldap_initialize ();
18501 main ()
18503 return ldap_initialize ();
18505 return 0;
18507 _ACEOF
18508 if ac_fn_c_try_link "$LINENO"; then :
18509 ac_cv_lib_ldap_r_ldap_initialize=yes
18510 else
18511 ac_cv_lib_ldap_r_ldap_initialize=no
18513 rm -f core conftest.err conftest.$ac_objext \
18514 conftest$ac_exeext conftest.$ac_ext
18515 LIBS=$ac_check_lib_save_LIBS
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18518 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18519 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18521 $as_echo_n "checking for ber_init in -llber... " >&6; }
18522 if ${ac_cv_lib_lber_ber_init+:} false; then :
18523 $as_echo_n "(cached) " >&6
18524 else
18525 ac_check_lib_save_LIBS=$LIBS
18526 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18530 /* Override any GCC internal prototype to avoid an error.
18531 Use char because int might match the return type of a GCC
18532 builtin and then its argument prototype would still apply. */
18533 #ifdef __cplusplus
18534 extern "C"
18535 #endif
18536 char ber_init ();
18538 main ()
18540 return ber_init ();
18542 return 0;
18544 _ACEOF
18545 if ac_fn_c_try_link "$LINENO"; then :
18546 ac_cv_lib_lber_ber_init=yes
18547 else
18548 ac_cv_lib_lber_ber_init=no
18550 rm -f core conftest.err conftest.$ac_objext \
18551 conftest$ac_exeext conftest.$ac_ext
18552 LIBS=$ac_check_lib_save_LIBS
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18555 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18556 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18558 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18560 else
18561 LDAP_LIBS=""
18564 else
18565 LDAP_LIBS=""
18568 else
18569 LDAP_LIBS=""
18572 ac_wine_check_funcs_save_LIBS="$LIBS"
18573 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18574 for ac_func in \
18575 ldap_count_references \
18576 ldap_first_reference \
18577 ldap_next_reference \
18578 ldap_parse_reference \
18579 ldap_parse_sort_control \
18580 ldap_parse_sortresponse_control \
18581 ldap_parse_vlv_control \
18582 ldap_parse_vlvresponse_control
18583 do :
18584 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18585 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18586 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18587 cat >>confdefs.h <<_ACEOF
18588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18589 _ACEOF
18592 done
18594 LIBS="$ac_wine_check_funcs_save_LIBS"
18595 else
18596 LDAP_LIBS=""
18598 CPPFLAGS=$ac_save_CPPFLAGS
18601 if test "x$LDAP_LIBS" = "x"; then :
18602 case "x$with_ldap" in
18603 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18604 xno) ;;
18605 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18606 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18607 esac
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18612 $as_echo_n "checking for sched_setaffinity... " >&6; }
18613 if ${wine_cv_have_sched_setaffinity+:} false; then :
18614 $as_echo_n "(cached) " >&6
18615 else
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18618 #define _GNU_SOURCE
18619 #include <sched.h>
18621 main ()
18623 sched_setaffinity(0, 0, 0);
18625 return 0;
18627 _ACEOF
18628 if ac_fn_c_try_link "$LINENO"; then :
18629 wine_cv_have_sched_setaffinity=yes
18630 else
18631 wine_cv_have_sched_setaffinity=no
18633 rm -f core conftest.err conftest.$ac_objext \
18634 conftest$ac_exeext conftest.$ac_ext
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18637 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18638 if test "$wine_cv_have_sched_setaffinity" = "yes"
18639 then
18641 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18646 $as_echo_n "checking for fallocate... " >&6; }
18647 if ${wine_cv_have_fallocate+:} false; then :
18648 $as_echo_n "(cached) " >&6
18649 else
18650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18651 /* end confdefs.h. */
18652 #define _GNU_SOURCE
18653 #include <fcntl.h>
18655 main ()
18657 fallocate(-1, 0, 0, 0);
18659 return 0;
18661 _ACEOF
18662 if ac_fn_c_try_link "$LINENO"; then :
18663 wine_cv_have_fallocate=yes
18664 else
18665 wine_cv_have_fallocate=no
18667 rm -f core conftest.err conftest.$ac_objext \
18668 conftest$ac_exeext conftest.$ac_ext
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18671 $as_echo "$wine_cv_have_fallocate" >&6; }
18672 if test "$wine_cv_have_fallocate" = "yes"
18673 then
18675 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18681 $as_echo_n "checking for inline... " >&6; }
18682 if ${ac_cv_c_inline+:} false; then :
18683 $as_echo_n "(cached) " >&6
18684 else
18685 ac_cv_c_inline=no
18686 for ac_kw in inline __inline__ __inline; do
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689 #ifndef __cplusplus
18690 typedef int foo_t;
18691 static $ac_kw foo_t static_foo () {return 0; }
18692 $ac_kw foo_t foo () {return 0; }
18693 #endif
18695 _ACEOF
18696 if ac_fn_c_try_compile "$LINENO"; then :
18697 ac_cv_c_inline=$ac_kw
18699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18700 test "$ac_cv_c_inline" != no && break
18701 done
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18705 $as_echo "$ac_cv_c_inline" >&6; }
18707 case $ac_cv_c_inline in
18708 inline | yes) ;;
18710 case $ac_cv_c_inline in
18711 no) ac_val=;;
18712 *) ac_val=$ac_cv_c_inline;;
18713 esac
18714 cat >>confdefs.h <<_ACEOF
18715 #ifndef __cplusplus
18716 #define inline $ac_val
18717 #endif
18718 _ACEOF
18720 esac
18722 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18723 #include <signal.h>
18725 if test "x$ac_cv_type_sigset_t" = xyes; then :
18727 cat >>confdefs.h <<_ACEOF
18728 #define HAVE_SIGSET_T 1
18729 _ACEOF
18734 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18736 if test "x$ac_cv_type_request_sense" = xyes; then :
18738 cat >>confdefs.h <<_ACEOF
18739 #define HAVE_REQUEST_SENSE 1
18740 _ACEOF
18746 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18747 #ifdef HAVE_SYS_SOCKET_H
18748 #include <sys/socket.h>
18749 #endif
18750 #ifdef HAVE_SYS_SOCKETVAR_H
18751 #include <sys/socketvar.h>
18752 #endif
18753 #ifdef HAVE_NET_ROUTE_H
18754 #include <net/route.h>
18755 #endif
18756 #ifdef HAVE_NETINET_IN_H
18757 #include <netinet/in.h>
18758 #endif
18759 #ifdef HAVE_NETINET_IN_SYSTM_H
18760 #include <netinet/in_systm.h>
18761 #endif
18762 #ifdef HAVE_NETINET_IP_H
18763 #include <netinet/ip.h>
18764 #endif
18765 #ifdef HAVE_NETINET_IN_PCB_H
18766 #include <netinet/in_pcb.h>
18767 #endif
18769 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18771 cat >>confdefs.h <<_ACEOF
18772 #define HAVE_STRUCT_XINPGEN 1
18773 _ACEOF
18779 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18780 #include <linux/input.h>
18781 #endif
18783 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18785 cat >>confdefs.h <<_ACEOF
18786 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18787 _ACEOF
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18794 $as_echo_n "checking for if_nameindex... " >&6; }
18795 if ${wine_cv_have_if_nameindex+:} false; then :
18796 $as_echo_n "(cached) " >&6
18797 else
18798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18799 /* end confdefs.h. */
18800 #ifdef HAVE_SYS_TYPES_H
18801 #include <sys/types.h>
18802 #endif
18803 #ifdef HAVE_SYS_SOCKET_H
18804 #include <sys/socket.h>
18805 #endif
18806 #ifdef HAVE_NET_IF_H
18807 # include <net/if.h>
18808 #endif
18810 main ()
18812 struct if_nameindex *p = if_nameindex(); return p->if_index;
18814 return 0;
18816 _ACEOF
18817 if ac_fn_c_try_link "$LINENO"; then :
18818 wine_cv_have_if_nameindex=yes
18819 else
18820 wine_cv_have_if_nameindex=no
18822 rm -f core conftest.err conftest.$ac_objext \
18823 conftest$ac_exeext conftest.$ac_ext
18825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18826 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18827 if test "$wine_cv_have_if_nameindex" = "yes"
18828 then
18830 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18835 $as_echo_n "checking for sigaddset... " >&6; }
18836 if ${wine_cv_have_sigaddset+:} false; then :
18837 $as_echo_n "(cached) " >&6
18838 else
18839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h. */
18841 #include <signal.h>
18843 main ()
18845 sigset_t set; sigaddset(&set,SIGTERM);
18847 return 0;
18849 _ACEOF
18850 if ac_fn_c_try_link "$LINENO"; then :
18851 wine_cv_have_sigaddset=yes
18852 else
18853 wine_cv_have_sigaddset=no
18855 rm -f core conftest.err conftest.$ac_objext \
18856 conftest$ac_exeext conftest.$ac_ext
18858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18859 $as_echo "$wine_cv_have_sigaddset" >&6; }
18860 if test "$wine_cv_have_sigaddset" = "yes"
18861 then
18863 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18869 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18870 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18871 $as_echo_n "(cached) " >&6
18872 else
18873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18874 /* end confdefs.h. */
18875 #include <netdb.h>
18877 main ()
18880 char *name=0;
18881 struct hostent he;
18882 struct hostent *result;
18883 char *buf=0;
18884 int bufsize=0;
18885 int errnr;
18886 char *addr=0;
18887 int addrlen=0;
18888 int addrtype=0;
18889 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18890 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18893 return 0;
18895 _ACEOF
18896 if ac_fn_c_try_link "$LINENO"; then :
18897 wine_cv_linux_gethostbyname_r_6=yes
18898 else
18899 wine_cv_linux_gethostbyname_r_6=no
18902 rm -f core conftest.err conftest.$ac_objext \
18903 conftest$ac_exeext conftest.$ac_ext
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18907 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18908 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18909 then
18911 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18915 if test "$ac_cv_header_linux_joystick_h" = "yes"
18916 then
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18918 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18919 if ${wine_cv_linux_joystick_22_api+:} false; then :
18920 $as_echo_n "(cached) " >&6
18921 else
18922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18923 /* end confdefs.h. */
18925 #include <sys/ioctl.h>
18926 #include <sys/types.h>
18927 #include <linux/joystick.h>
18929 struct js_event blub;
18930 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18931 #error "no 2.2 header"
18932 #endif
18935 main ()
18937 /*empty*/
18939 return 0;
18941 _ACEOF
18942 if ac_fn_c_try_compile "$LINENO"; then :
18943 wine_cv_linux_joystick_22_api=yes
18944 else
18945 wine_cv_linux_joystick_22_api=no
18947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18951 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18952 if test "$wine_cv_linux_joystick_22_api" = "yes"
18953 then
18955 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18960 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18961 #ifdef HAVE_SYS_SOCKET_H
18962 # include <sys/socket.h>
18963 #endif
18964 #ifdef HAVE_SYS_UN_H
18965 # include <sys/un.h>
18966 #endif
18968 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18970 cat >>confdefs.h <<_ACEOF
18971 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18972 _ACEOF
18976 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18977 #ifdef HAVE_SYS_SOCKET_H
18978 # include <sys/socket.h>
18979 #endif
18980 #ifdef HAVE_SYS_UN_H
18981 # include <sys/un.h>
18982 #endif
18984 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18986 cat >>confdefs.h <<_ACEOF
18987 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18988 _ACEOF
18992 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18993 #ifdef HAVE_SYS_SOCKET_H
18994 # include <sys/socket.h>
18995 #endif
18996 #ifdef HAVE_SYS_UN_H
18997 # include <sys/un.h>
18998 #endif
19000 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19002 cat >>confdefs.h <<_ACEOF
19003 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19004 _ACEOF
19010 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19011 #ifdef HAVE_SCSI_SG_H
19012 #include <scsi/sg.h>
19013 #endif
19015 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19017 cat >>confdefs.h <<_ACEOF
19018 #define HAVE_SCSIREQ_T_CMD 1
19019 _ACEOF
19023 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>
19024 #ifdef HAVE_SCSI_SG_H
19025 #include <scsi/sg.h>
19026 #endif
19028 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19030 cat >>confdefs.h <<_ACEOF
19031 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19032 _ACEOF
19038 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19040 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_SIGINFO_T_SI_FD 1
19044 _ACEOF
19050 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19051 #ifdef HAVE_SYS_MTIO_H
19052 #include <sys/mtio.h>
19053 #endif
19055 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19057 cat >>confdefs.h <<_ACEOF
19058 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19059 _ACEOF
19063 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19064 #ifdef HAVE_SYS_MTIO_H
19065 #include <sys/mtio.h>
19066 #endif
19068 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19072 _ACEOF
19076 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19077 #ifdef HAVE_SYS_MTIO_H
19078 #include <sys/mtio.h>
19079 #endif
19081 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19083 cat >>confdefs.h <<_ACEOF
19084 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19085 _ACEOF
19091 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19092 #include <getopt.h>
19093 #endif
19095 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19097 cat >>confdefs.h <<_ACEOF
19098 #define HAVE_STRUCT_OPTION_NAME 1
19099 _ACEOF
19105 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19106 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19108 cat >>confdefs.h <<_ACEOF
19109 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19110 _ACEOF
19114 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19115 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19117 cat >>confdefs.h <<_ACEOF
19118 #define HAVE_STRUCT_STAT_ST_MTIM 1
19119 _ACEOF
19123 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19124 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19126 cat >>confdefs.h <<_ACEOF
19127 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19128 _ACEOF
19132 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19133 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19135 cat >>confdefs.h <<_ACEOF
19136 #define HAVE_STRUCT_STAT_ST_CTIM 1
19137 _ACEOF
19141 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19142 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19144 cat >>confdefs.h <<_ACEOF
19145 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19146 _ACEOF
19150 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19151 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19153 cat >>confdefs.h <<_ACEOF
19154 #define HAVE_STRUCT_STAT_ST_ATIM 1
19155 _ACEOF
19159 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19160 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19162 cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19164 _ACEOF
19168 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19169 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19171 cat >>confdefs.h <<_ACEOF
19172 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19173 _ACEOF
19177 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19178 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19180 cat >>confdefs.h <<_ACEOF
19181 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19182 _ACEOF
19186 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19187 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19189 cat >>confdefs.h <<_ACEOF
19190 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19191 _ACEOF
19195 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19196 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19198 cat >>confdefs.h <<_ACEOF
19199 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19200 _ACEOF
19204 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19205 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19207 cat >>confdefs.h <<_ACEOF
19208 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19209 _ACEOF
19215 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
19216 #include <sys/types.h>
19217 #endif
19218 #ifdef HAVE_NETINET_IN_H
19219 #include <netinet/in.h>
19220 #endif
19222 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19224 cat >>confdefs.h <<_ACEOF
19225 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19226 _ACEOF
19232 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19233 #include <sys/types.h>
19234 #endif
19235 #ifdef HAVE_NETINET_IN_H
19236 #include <netinet/in.h>
19237 #endif
19238 #ifdef HAVE_RESOLV_H
19239 #include <resolv.h>
19240 #endif
19242 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19244 cat >>confdefs.h <<_ACEOF
19245 #define HAVE_STRUCT___RES_STATE 1
19246 _ACEOF
19252 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
19253 #include <resolv.h>
19254 #endif
19256 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19258 cat >>confdefs.h <<_ACEOF
19259 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19260 _ACEOF
19266 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19267 #include <sys/types.h>
19268 #endif
19269 #ifdef HAVE_NETINET_IN_H
19270 # include <netinet/in.h>
19271 #endif
19272 #ifdef HAVE_ARPA_NAMESER_H
19273 # include <arpa/nameser.h>
19274 #endif
19276 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19278 cat >>confdefs.h <<_ACEOF
19279 #define HAVE_NS_MSG__MSG_PTR 1
19280 _ACEOF
19286 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19287 #include <sys/types.h>
19288 #endif
19289 #ifdef HAVE_NETINET_IN_H
19290 #include <netinet/in.h>
19291 #endif
19292 #ifdef HAVE_NETINET_IP_H
19293 #include <netinet/ip.h>
19294 #endif
19295 #ifdef HAVE_NETINET_IP_ICMP_H
19296 #include <netinet/ip_icmp.h>
19297 #endif
19298 #ifdef HAVE_NETINET_ICMP_VAR_H
19299 #include <netinet/icmp_var.h>
19300 #endif
19302 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19304 cat >>confdefs.h <<_ACEOF
19305 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19306 _ACEOF
19312 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19313 #include <sys/types.h>
19314 #endif
19315 #ifdef HAVE_ALIAS_H
19316 #include <alias.h>
19317 #endif
19318 #ifdef HAVE_SYS_SOCKET_H
19319 #include <sys/socket.h>
19320 #endif
19321 #ifdef HAVE_SYS_SOCKETVAR_H
19322 #include <sys/socketvar.h>
19323 #endif
19324 #ifdef HAVE_SYS_TIMEOUT_H
19325 #include <sys/timeout.h>
19326 #endif
19327 #ifdef HAVE_NETINET_IN_H
19328 #include <netinet/in.h>
19329 #endif
19330 #ifdef HAVE_NETINET_IN_SYSTM_H
19331 #include <netinet/in_systm.h>
19332 #endif
19333 #ifdef HAVE_NETINET_IP_H
19334 #include <netinet/ip.h>
19335 #endif
19336 #ifdef HAVE_NETINET_IP_VAR_H
19337 #include <netinet/ip_var.h>
19338 #endif
19339 #ifdef HAVE_NETINET_IP_ICMP_H
19340 #include <netinet/ip_icmp.h>
19341 #endif
19342 #ifdef HAVE_NETINET_ICMP_VAR_H
19343 #include <netinet/icmp_var.h>
19344 #endif
19346 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19348 cat >>confdefs.h <<_ACEOF
19349 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19350 _ACEOF
19356 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19357 #include <sys/types.h>
19358 #endif
19359 #ifdef HAVE_SYS_SOCKETVAR_H
19360 #include <sys/socketvar.h>
19361 #endif
19362 #ifdef HAVE_NETINET_IN_H
19363 #include <netinet/in.h>
19364 #endif
19365 #ifdef HAVE_NETINET_IP_VAR_H
19366 #include <netinet/ip_var.h>
19367 #endif
19369 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19371 cat >>confdefs.h <<_ACEOF
19372 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19373 _ACEOF
19379 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
19380 #include <netinet/ip_var.h>
19381 #endif
19383 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19385 cat >>confdefs.h <<_ACEOF
19386 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19387 _ACEOF
19393 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19394 #include <sys/types.h>
19395 #endif
19396 #ifdef HAVE_SYS_SOCKETVAR_H
19397 #include <sys/socketvar.h>
19398 #endif
19399 #ifdef HAVE_NETINET_IN_H
19400 #include <netinet/in.h>
19401 #endif
19402 #ifdef HAVE_NETINET_TCP_H
19403 #include <netinet/tcp.h>
19404 #endif
19405 #ifdef HAVE_NETINET_TCP_VAR_H
19406 #include <netinet/tcp_var.h>
19407 #endif
19409 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19411 cat >>confdefs.h <<_ACEOF
19412 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19413 _ACEOF
19419 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
19420 #include <netinet/tcp_var.h>
19421 #endif
19423 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19425 cat >>confdefs.h <<_ACEOF
19426 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19427 _ACEOF
19433 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19434 #include <sys/types.h>
19435 #endif
19436 #ifdef HAVE_NETINET_IN_H
19437 #include <netinet/in.h>
19438 #endif
19439 #ifdef HAVE_NETINET_IP_VAR_H
19440 #include <netinet/ip_var.h>
19441 #endif
19442 #ifdef HAVE_NETINET_UDP_H
19443 #include <netinet/udp.h>
19444 #endif
19445 #ifdef HAVE_NETINET_UDP_VAR_H
19446 #include <netinet/udp_var.h>
19447 #endif
19449 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19451 cat >>confdefs.h <<_ACEOF
19452 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19453 _ACEOF
19459 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19460 #include <sys/types.h>
19461 #endif
19462 #ifdef HAVE_NET_IF_H
19463 # include <net/if.h>
19464 #endif
19466 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19468 cat >>confdefs.h <<_ACEOF
19469 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19470 _ACEOF
19476 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19477 # include <sys/sysinfo.h>
19478 #endif
19480 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19482 cat >>confdefs.h <<_ACEOF
19483 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19484 _ACEOF
19488 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19489 # include <sys/sysinfo.h>
19490 #endif
19492 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19494 cat >>confdefs.h <<_ACEOF
19495 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19496 _ACEOF
19502 ac_save_LIBS="$LIBS"
19503 LIBS="$LIBS -lm"
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19505 $as_echo_n "checking for isfinite... " >&6; }
19506 if ${ac_cv_have_isfinite+:} false; then :
19507 $as_echo_n "(cached) " >&6
19508 else
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19511 #define _GNU_SOURCE
19512 #include <math.h>
19514 main ()
19516 float f = 0.0; return isfinite(f)
19518 return 0;
19520 _ACEOF
19521 if ac_fn_c_try_link "$LINENO"; then :
19522 ac_cv_have_isfinite="yes"
19523 else
19524 ac_cv_have_isfinite="no"
19526 rm -f core conftest.err conftest.$ac_objext \
19527 conftest$ac_exeext conftest.$ac_ext
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19530 $as_echo "$ac_cv_have_isfinite" >&6; }
19531 if test "$ac_cv_have_isfinite" = "yes"
19532 then
19534 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19539 $as_echo_n "checking for isinf... " >&6; }
19540 if ${ac_cv_have_isinf+:} false; then :
19541 $as_echo_n "(cached) " >&6
19542 else
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19545 #include <math.h>
19547 main ()
19549 float f = 0.0; return isinf(f)
19551 return 0;
19553 _ACEOF
19554 if ac_fn_c_try_link "$LINENO"; then :
19555 ac_cv_have_isinf="yes"
19556 else
19557 ac_cv_have_isinf="no"
19559 rm -f core conftest.err conftest.$ac_objext \
19560 conftest$ac_exeext conftest.$ac_ext
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19563 $as_echo "$ac_cv_have_isinf" >&6; }
19564 if test "$ac_cv_have_isinf" = "yes"
19565 then
19567 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19572 $as_echo_n "checking for isnan... " >&6; }
19573 if ${ac_cv_have_isnan+:} false; then :
19574 $as_echo_n "(cached) " >&6
19575 else
19576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19577 /* end confdefs.h. */
19578 #include <math.h>
19580 main ()
19582 float f = 0.0; return isnan(f)
19584 return 0;
19586 _ACEOF
19587 if ac_fn_c_try_link "$LINENO"; then :
19588 ac_cv_have_isnan="yes"
19589 else
19590 ac_cv_have_isnan="no"
19592 rm -f core conftest.err conftest.$ac_objext \
19593 conftest$ac_exeext conftest.$ac_ext
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19596 $as_echo "$ac_cv_have_isnan" >&6; }
19597 if test "$ac_cv_have_isnan" = "yes"
19598 then
19600 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19604 for ac_func in \
19605 acosh \
19606 acoshf \
19607 asinh \
19608 asinhf \
19609 atanh \
19610 atanhf \
19611 cbrt \
19612 cbrtf \
19613 erf \
19614 erfc \
19615 erfcf \
19616 erff \
19617 exp2 \
19618 exp2f \
19619 expm1 \
19620 expm1f \
19621 fma \
19622 fmaf \
19623 j0 \
19624 j1 \
19625 jn \
19626 lgamma \
19627 lgammaf \
19628 llrint \
19629 llrintf \
19630 llround \
19631 llroundf \
19632 log1p \
19633 log1pf \
19634 log2 \
19635 log2f \
19636 lrint \
19637 lrintf \
19638 lround \
19639 lroundf \
19640 nearbyint \
19641 nearbyintf \
19642 nexttoward \
19643 nexttowardf \
19644 remainder \
19645 remainderf \
19646 remquo \
19647 remquof \
19648 rint \
19649 rintf \
19650 round \
19651 roundf \
19652 tgamma \
19653 tgammaf \
19654 trunc \
19655 truncf \
19656 y0 \
19657 y1 \
19660 do :
19661 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19662 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19663 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19664 cat >>confdefs.h <<_ACEOF
19665 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19666 _ACEOF
19669 done
19671 LIBS="$ac_save_LIBS"
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19674 $as_echo_n "checking for __builtin_popcount... " >&6; }
19675 if ${ac_cv_have___builtin_popcount+:} false; then :
19676 $as_echo_n "(cached) " >&6
19677 else
19678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19679 /* end confdefs.h. */
19682 main ()
19684 return __builtin_popcount(1)
19686 return 0;
19688 _ACEOF
19689 if ac_fn_c_try_link "$LINENO"; then :
19690 ac_cv_have___builtin_popcount="yes"
19691 else
19692 ac_cv_have___builtin_popcount="no"
19694 rm -f core conftest.err conftest.$ac_objext \
19695 conftest$ac_exeext conftest.$ac_ext
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19698 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19699 if test "$ac_cv_have___builtin_popcount" = "yes"
19700 then
19702 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19707 $as_echo_n "checking for __clear_cache... " >&6; }
19708 if ${ac_cv_have___clear_cache+:} false; then :
19709 $as_echo_n "(cached) " >&6
19710 else
19711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19712 /* end confdefs.h. */
19715 main ()
19717 __clear_cache((void*)0, (void*)0); return 0;
19719 return 0;
19721 _ACEOF
19722 if ac_fn_c_try_link "$LINENO"; then :
19723 ac_cv_have___clear_cache="yes"
19724 else
19725 ac_cv_have___clear_cache="no"
19727 rm -f core conftest.err conftest.$ac_objext \
19728 conftest$ac_exeext conftest.$ac_ext
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19731 $as_echo "$ac_cv_have___clear_cache" >&6; }
19732 if test "$ac_cv_have___clear_cache" = "yes"
19733 then
19735 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19740 case $host_cpu in
19741 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19742 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19743 if ${ac_cv_cpp_def___i386__+:} false; then :
19744 $as_echo_n "(cached) " >&6
19745 else
19746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19747 /* end confdefs.h. */
19748 #ifndef __i386__
19750 #endif
19751 _ACEOF
19752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19753 $EGREP "yes" >/dev/null 2>&1; then :
19754 ac_cv_cpp_def___i386__=yes
19755 else
19756 ac_cv_cpp_def___i386__=no
19758 rm -f conftest*
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19762 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19763 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19764 CFLAGS="$CFLAGS -D__i386__"
19765 LINTFLAGS="$LINTFLAGS -D__i386__"
19766 fi ;;
19767 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19768 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19769 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19770 $as_echo_n "(cached) " >&6
19771 else
19772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19773 /* end confdefs.h. */
19774 #ifndef __x86_64__
19776 #endif
19777 _ACEOF
19778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19779 $EGREP "yes" >/dev/null 2>&1; then :
19780 ac_cv_cpp_def___x86_64__=yes
19781 else
19782 ac_cv_cpp_def___x86_64__=no
19784 rm -f conftest*
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19788 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19789 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19790 CFLAGS="$CFLAGS -D__x86_64__"
19791 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19792 fi ;;
19793 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19794 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19795 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19796 $as_echo_n "(cached) " >&6
19797 else
19798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19800 #ifndef __sparc64__
19802 #endif
19803 _ACEOF
19804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19805 $EGREP "yes" >/dev/null 2>&1; then :
19806 ac_cv_cpp_def___sparc64__=yes
19807 else
19808 ac_cv_cpp_def___sparc64__=no
19810 rm -f conftest*
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19814 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19815 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19816 CFLAGS="$CFLAGS -D__sparc64__"
19817 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19818 fi ;;
19819 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19820 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19821 if ${ac_cv_cpp_def___sparc__+:} false; then :
19822 $as_echo_n "(cached) " >&6
19823 else
19824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19825 /* end confdefs.h. */
19826 #ifndef __sparc__
19828 #endif
19829 _ACEOF
19830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19831 $EGREP "yes" >/dev/null 2>&1; then :
19832 ac_cv_cpp_def___sparc__=yes
19833 else
19834 ac_cv_cpp_def___sparc__=no
19836 rm -f conftest*
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19840 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19841 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19842 CFLAGS="$CFLAGS -D__sparc__"
19843 LINTFLAGS="$LINTFLAGS -D__sparc__"
19844 fi ;;
19845 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19846 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19847 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19848 $as_echo_n "(cached) " >&6
19849 else
19850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h. */
19852 #ifndef __powerpc64__
19854 #endif
19855 _ACEOF
19856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19857 $EGREP "yes" >/dev/null 2>&1; then :
19858 ac_cv_cpp_def___powerpc64__=yes
19859 else
19860 ac_cv_cpp_def___powerpc64__=no
19862 rm -f conftest*
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19866 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19867 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19868 CFLAGS="$CFLAGS -D__powerpc64__"
19869 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19870 fi ;;
19871 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19872 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19873 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19874 $as_echo_n "(cached) " >&6
19875 else
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19878 #ifndef __powerpc__
19880 #endif
19881 _ACEOF
19882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19883 $EGREP "yes" >/dev/null 2>&1; then :
19884 ac_cv_cpp_def___powerpc__=yes
19885 else
19886 ac_cv_cpp_def___powerpc__=no
19888 rm -f conftest*
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19892 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19893 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19894 CFLAGS="$CFLAGS -D__powerpc__"
19895 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19896 fi ;;
19897 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19898 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19899 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19900 $as_echo_n "(cached) " >&6
19901 else
19902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19903 /* end confdefs.h. */
19904 #ifndef __aarch64__
19906 #endif
19907 _ACEOF
19908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19909 $EGREP "yes" >/dev/null 2>&1; then :
19910 ac_cv_cpp_def___aarch64__=yes
19911 else
19912 ac_cv_cpp_def___aarch64__=no
19914 rm -f conftest*
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19918 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19919 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19920 CFLAGS="$CFLAGS -D__aarch64__"
19921 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19922 fi ;;
19923 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19924 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19925 if ${ac_cv_cpp_def___arm__+:} false; then :
19926 $as_echo_n "(cached) " >&6
19927 else
19928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h. */
19930 #ifndef __arm__
19932 #endif
19933 _ACEOF
19934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19935 $EGREP "yes" >/dev/null 2>&1; then :
19936 ac_cv_cpp_def___arm__=yes
19937 else
19938 ac_cv_cpp_def___arm__=no
19940 rm -f conftest*
19943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19944 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19945 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19946 CFLAGS="$CFLAGS -D__arm__"
19947 LINTFLAGS="$LINTFLAGS -D__arm__"
19948 fi ;;
19949 esac
19951 case $host_vendor in
19952 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19953 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19954 if ${ac_cv_cpp_def___sun__+:} false; then :
19955 $as_echo_n "(cached) " >&6
19956 else
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19959 #ifndef __sun__
19961 #endif
19962 _ACEOF
19963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19964 $EGREP "yes" >/dev/null 2>&1; then :
19965 ac_cv_cpp_def___sun__=yes
19966 else
19967 ac_cv_cpp_def___sun__=no
19969 rm -f conftest*
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19973 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19974 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19975 CFLAGS="$CFLAGS -D__sun__"
19976 LINTFLAGS="$LINTFLAGS -D__sun__"
19977 fi ;;
19978 esac
19984 ac_config_commands="$ac_config_commands include/stamp-h"
19986 $as_echo_n "creating Makefile rules..." >&6
19988 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19989 OPENGL_LIBS = $OPENGL_LIBS
19990 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19991 IOKIT_LIBS = $IOKIT_LIBS
19992 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19993 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19994 CORESERVICES_LIBS = $CORESERVICES_LIBS
19995 APPKIT_LIBS = $APPKIT_LIBS
19996 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19997 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19998 SECURITY_LIBS = $SECURITY_LIBS
19999 COREAUDIO_LIBS = $COREAUDIO_LIBS
20000 OPENAL_LIBS = $OPENAL_LIBS
20001 OPENCL_LIBS = $OPENCL_LIBS
20002 QUICKTIME_LIBS = $QUICKTIME_LIBS
20003 CARBON_LIBS = $CARBON_LIBS
20004 METAL_LIBS = $METAL_LIBS
20005 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20006 PTHREAD_LIBS = $PTHREAD_LIBS
20007 X_CFLAGS = $X_CFLAGS
20008 X_PRE_LIBS = $X_PRE_LIBS
20009 X_LIBS = $X_LIBS
20010 X_EXTRA_LIBS = $X_EXTRA_LIBS
20011 PCAP_LIBS = $PCAP_LIBS
20012 XML2_CFLAGS = $XML2_CFLAGS
20013 XML2_LIBS = $XML2_LIBS
20014 XSLT_CFLAGS = $XSLT_CFLAGS
20015 XSLT_LIBS = $XSLT_LIBS
20016 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20017 INOTIFY_LIBS = $INOTIFY_LIBS
20018 DBUS_CFLAGS = $DBUS_CFLAGS
20019 DBUS_LIBS = $DBUS_LIBS
20020 HAL_CFLAGS = $HAL_CFLAGS
20021 HAL_LIBS = $HAL_LIBS
20022 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20023 GNUTLS_LIBS = $GNUTLS_LIBS
20024 SANE_CFLAGS = $SANE_CFLAGS
20025 SANE_LIBS = $SANE_LIBS
20026 USB_CFLAGS = $USB_CFLAGS
20027 USB_LIBS = $USB_LIBS
20028 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20029 GPHOTO2_LIBS = $GPHOTO2_LIBS
20030 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20031 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20032 RESOLV_LIBS = $RESOLV_LIBS
20033 LCMS2_CFLAGS = $LCMS2_CFLAGS
20034 LCMS2_LIBS = $LCMS2_LIBS
20035 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20036 FREETYPE_LIBS = $FREETYPE_LIBS
20037 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20038 PULSE_CFLAGS = $PULSE_CFLAGS
20039 PULSE_LIBS = $PULSE_LIBS
20040 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20041 GSTREAMER_LIBS = $GSTREAMER_LIBS
20042 ALSA_LIBS = $ALSA_LIBS
20043 OSS4_CFLAGS = $OSS4_CFLAGS
20044 OSS4_LIBS = $OSS4_LIBS
20045 UDEV_CFLAGS = $UDEV_CFLAGS
20046 UDEV_LIBS = $UDEV_LIBS
20047 UNWIND_CFLAGS = $UNWIND_CFLAGS
20048 UNWIND_LIBS = $UNWIND_LIBS
20049 SDL2_CFLAGS = $SDL2_CFLAGS
20050 SDL2_LIBS = $SDL2_LIBS
20051 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20052 FAUDIO_LIBS = $FAUDIO_LIBS
20053 CAPI20_CFLAGS = $CAPI20_CFLAGS
20054 CAPI20_LIBS = $CAPI20_LIBS
20055 CUPS_CFLAGS = $CUPS_CFLAGS
20056 CUPS_LIBS = $CUPS_LIBS
20057 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20058 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20059 KRB5_CFLAGS = $KRB5_CFLAGS
20060 KRB5_LIBS = $KRB5_LIBS
20061 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20062 GSSAPI_LIBS = $GSSAPI_LIBS
20063 JPEG_CFLAGS = $JPEG_CFLAGS
20064 JPEG_LIBS = $JPEG_LIBS
20065 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20066 JXRLIB_LIBS = $JXRLIB_LIBS
20067 PNG_CFLAGS = $PNG_CFLAGS
20068 PNG_LIBS = $PNG_LIBS
20069 TIFF_CFLAGS = $TIFF_CFLAGS
20070 TIFF_LIBS = $TIFF_LIBS
20071 MPG123_CFLAGS = $MPG123_CFLAGS
20072 MPG123_LIBS = $MPG123_LIBS
20073 KSTAT_LIBS = $KSTAT_LIBS
20074 PROCSTAT_LIBS = $PROCSTAT_LIBS
20075 NETAPI_CFLAGS = $NETAPI_CFLAGS
20076 NETAPI_LIBS = $NETAPI_LIBS
20077 VKD3D_CFLAGS = $VKD3D_CFLAGS
20078 VKD3D_LIBS = $VKD3D_LIBS
20079 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20080 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20081 POLL_LIBS = $POLL_LIBS
20082 RT_LIBS = $RT_LIBS
20083 LDAP_CFLAGS = $LDAP_CFLAGS
20084 LDAP_LIBS = $LDAP_LIBS
20088 makedep_flags=""
20089 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20092 wine_fn_append_rule "
20093 # Rules automatically generated by configure
20095 .INIT: Makefile
20096 .MAKEFILEDEPS:
20097 all: Makefile
20098 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20099 @./config.status Make.tmp Makefile
20100 depend: \$(MAKEDEP)
20101 \$(MAKEDEP)$makedep_flags
20102 dummy:
20103 .PHONY: depend dummy"
20105 ac_config_links="$ac_config_links wine:tools/winewrapper"
20106 wine_fn_config_symlink wine
20107 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20108 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20109 wine_fn_config_symlink wine64
20112 wine_fn_config_makefile dlls/acledit enable_acledit
20113 wine_fn_config_makefile dlls/aclui enable_aclui
20114 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20115 wine_fn_config_makefile dlls/activeds enable_activeds
20116 wine_fn_config_makefile dlls/activeds/tests enable_tests
20117 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20118 wine_fn_config_makefile dlls/adsiid enable_adsiid
20119 wine_fn_config_makefile dlls/adsldp enable_adsldp
20120 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20121 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20122 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20123 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20124 wine_fn_config_makefile dlls/advpack enable_advpack
20125 wine_fn_config_makefile dlls/advpack/tests enable_tests
20126 wine_fn_config_makefile dlls/amsi enable_amsi
20127 wine_fn_config_makefile dlls/amstream enable_amstream
20128 wine_fn_config_makefile dlls/amstream/tests enable_tests
20129 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20131 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20132 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20134 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20139 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20149 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20151 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20153 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20154 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20155 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20157 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20162 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20163 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20165 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20166 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20175 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20179 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20180 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20184 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20185 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20186 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20187 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20191 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20192 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20200 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20201 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20202 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20203 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20211 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20215 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20216 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20217 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20240 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20241 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20244 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20247 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20258 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20263 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20264 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20265 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20269 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20271 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20290 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20291 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20311 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20322 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20324 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20326 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20328 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20330 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20331 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20332 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20336 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20338 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20344 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20346 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20347 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20349 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20351 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20354 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20355 wine_fn_config_makefile dlls/apphelp enable_apphelp
20356 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20357 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20358 wine_fn_config_makefile dlls/atl enable_atl
20359 wine_fn_config_makefile dlls/atl/tests enable_tests
20360 wine_fn_config_makefile dlls/atl100 enable_atl100
20361 wine_fn_config_makefile dlls/atl100/tests enable_tests
20362 wine_fn_config_makefile dlls/atl110 enable_atl110
20363 wine_fn_config_makefile dlls/atl80 enable_atl80
20364 wine_fn_config_makefile dlls/atl80/tests enable_tests
20365 wine_fn_config_makefile dlls/atl90 enable_atl90
20366 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20367 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20368 wine_fn_config_makefile dlls/atmlib enable_atmlib
20369 wine_fn_config_makefile dlls/authz enable_authz
20370 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20371 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20372 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20373 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20374 wine_fn_config_makefile dlls/avrt enable_avrt
20375 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20376 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20377 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20378 wine_fn_config_makefile dlls/browseui enable_browseui
20379 wine_fn_config_makefile dlls/browseui/tests enable_tests
20380 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20381 wine_fn_config_makefile dlls/cabinet enable_cabinet
20382 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20383 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20384 wine_fn_config_makefile dlls/cards enable_cards
20385 wine_fn_config_makefile dlls/cdosys enable_cdosys
20386 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20387 wine_fn_config_makefile dlls/clusapi enable_clusapi
20388 wine_fn_config_makefile dlls/combase enable_combase
20389 wine_fn_config_makefile dlls/combase/tests enable_tests
20390 wine_fn_config_makefile dlls/comcat enable_comcat
20391 wine_fn_config_makefile dlls/comcat/tests enable_tests
20392 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20393 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20394 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20395 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20396 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20397 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20398 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20399 wine_fn_config_makefile dlls/compstui enable_compstui
20400 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20401 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20402 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20403 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20404 wine_fn_config_makefile dlls/connect enable_connect
20405 wine_fn_config_makefile dlls/credui enable_credui
20406 wine_fn_config_makefile dlls/credui/tests enable_tests
20407 wine_fn_config_makefile dlls/crtdll enable_crtdll
20408 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20409 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20410 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20411 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20412 wine_fn_config_makefile dlls/cryptext enable_cryptext
20413 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20414 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20415 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20416 wine_fn_config_makefile dlls/cryptui enable_cryptui
20417 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20418 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20419 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20420 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20421 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20422 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20423 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20424 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20425 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20426 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20427 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20428 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20429 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20430 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20431 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20432 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20433 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20434 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20435 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20436 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20437 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20438 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20439 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20440 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20441 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20442 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20443 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20444 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20445 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20446 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20447 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20448 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20449 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20450 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20451 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20452 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20453 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20454 wine_fn_config_makefile dlls/d3dim enable_d3dim
20455 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20456 wine_fn_config_makefile dlls/d3drm enable_d3drm
20457 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20458 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20459 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20460 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20461 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20462 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20463 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20464 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20465 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20466 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20467 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20468 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20469 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20470 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20471 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20472 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20473 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20474 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20475 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20476 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20477 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20478 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20479 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20480 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20481 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20482 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20483 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20484 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20485 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20486 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20487 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20488 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20489 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20490 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20491 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20492 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20493 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20494 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20495 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20496 wine_fn_config_makefile dlls/davclnt enable_davclnt
20497 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20498 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20499 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20500 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20501 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20502 wine_fn_config_makefile dlls/dcomp enable_dcomp
20503 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20504 wine_fn_config_makefile dlls/ddraw enable_ddraw
20505 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20506 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20507 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20508 wine_fn_config_makefile dlls/devenum enable_devenum
20509 wine_fn_config_makefile dlls/devenum/tests enable_tests
20510 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20511 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20512 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20513 wine_fn_config_makefile dlls/difxapi enable_difxapi
20514 wine_fn_config_makefile dlls/dinput enable_dinput
20515 wine_fn_config_makefile dlls/dinput/tests enable_tests
20516 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20517 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20518 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20519 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20520 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20521 wine_fn_config_makefile dlls/dispex enable_dispex
20522 wine_fn_config_makefile dlls/dispex/tests enable_tests
20523 wine_fn_config_makefile dlls/display.drv16 enable_win16
20524 wine_fn_config_makefile dlls/dmband enable_dmband
20525 wine_fn_config_makefile dlls/dmband/tests enable_tests
20526 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20527 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20528 wine_fn_config_makefile dlls/dmime enable_dmime
20529 wine_fn_config_makefile dlls/dmime/tests enable_tests
20530 wine_fn_config_makefile dlls/dmloader enable_dmloader
20531 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20532 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20533 wine_fn_config_makefile dlls/dmscript enable_dmscript
20534 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20535 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20536 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20537 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20538 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20539 wine_fn_config_makefile dlls/dmusic enable_dmusic
20540 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20541 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20542 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20543 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20544 wine_fn_config_makefile dlls/dplay enable_dplay
20545 wine_fn_config_makefile dlls/dplayx enable_dplayx
20546 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20547 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20548 wine_fn_config_makefile dlls/dpnet enable_dpnet
20549 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20550 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20551 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20552 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20553 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20554 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20555 wine_fn_config_makefile dlls/drmclien enable_drmclien
20556 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20557 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20558 wine_fn_config_makefile dlls/dsound enable_dsound
20559 wine_fn_config_makefile dlls/dsound/tests enable_tests
20560 wine_fn_config_makefile dlls/dsquery enable_dsquery
20561 wine_fn_config_makefile dlls/dssenh enable_dssenh
20562 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20563 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20564 wine_fn_config_makefile dlls/dswave enable_dswave
20565 wine_fn_config_makefile dlls/dswave/tests enable_tests
20566 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20567 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20568 wine_fn_config_makefile dlls/dwrite enable_dwrite
20569 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20570 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20571 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20572 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20573 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20574 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20575 wine_fn_config_makefile dlls/dxgi enable_dxgi
20576 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20577 wine_fn_config_makefile dlls/dxguid enable_dxguid
20578 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20579 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20580 wine_fn_config_makefile dlls/esent enable_esent
20581 wine_fn_config_makefile dlls/evr enable_evr
20582 wine_fn_config_makefile dlls/evr/tests enable_tests
20583 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20584 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20585 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20586 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20587 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20590 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20591 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20594 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20595 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20596 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20597 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20599 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20600 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20602 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20614 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20615 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20616 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20617 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20618 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20619 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20620 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20621 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20622 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20623 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20624 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20625 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
20626 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20627 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20628 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20629 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20630 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20631 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20632 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20633 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20634 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20635 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20636 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20637 wine_fn_config_makefile dlls/faultrep enable_faultrep
20638 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20639 wine_fn_config_makefile dlls/feclient enable_feclient
20640 wine_fn_config_makefile dlls/fltlib enable_fltlib
20641 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20642 wine_fn_config_makefile dlls/fntcache enable_fntcache
20643 wine_fn_config_makefile dlls/fontsub enable_fontsub
20644 wine_fn_config_makefile dlls/fusion enable_fusion
20645 wine_fn_config_makefile dlls/fusion/tests enable_tests
20646 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20647 wine_fn_config_makefile dlls/gameux enable_gameux
20648 wine_fn_config_makefile dlls/gameux/tests enable_tests
20649 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20650 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20651 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20652 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20653 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20654 wine_fn_config_makefile dlls/glu32 enable_glu32
20655 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20656 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20657 wine_fn_config_makefile dlls/hal enable_hal
20658 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20659 wine_fn_config_makefile dlls/hid enable_hid
20660 wine_fn_config_makefile dlls/hid/tests enable_tests
20661 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20662 wine_fn_config_makefile dlls/hlink enable_hlink
20663 wine_fn_config_makefile dlls/hlink/tests enable_tests
20664 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20665 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20666 wine_fn_config_makefile dlls/http.sys enable_http_sys
20667 wine_fn_config_makefile dlls/httpapi enable_httpapi
20668 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20669 wine_fn_config_makefile dlls/iccvid enable_iccvid
20670 wine_fn_config_makefile dlls/icmp enable_icmp
20671 wine_fn_config_makefile dlls/ieframe enable_ieframe
20672 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20673 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20674 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20675 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20676 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20677 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20678 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20679 wine_fn_config_makefile dlls/imm32 enable_imm32
20680 wine_fn_config_makefile dlls/imm32/tests enable_tests
20681 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20682 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20683 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20684 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20685 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20686 wine_fn_config_makefile dlls/infosoft enable_infosoft
20687 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20688 wine_fn_config_makefile dlls/initpki enable_initpki
20689 wine_fn_config_makefile dlls/inkobj enable_inkobj
20690 wine_fn_config_makefile dlls/inseng enable_inseng
20691 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20692 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20693 wine_fn_config_makefile dlls/iprop enable_iprop
20694 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20695 wine_fn_config_makefile dlls/itircl enable_itircl
20696 wine_fn_config_makefile dlls/itss enable_itss
20697 wine_fn_config_makefile dlls/itss/tests enable_tests
20698 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20699 wine_fn_config_makefile dlls/jscript enable_jscript
20700 wine_fn_config_makefile dlls/jscript/tests enable_tests
20701 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20702 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20703 wine_fn_config_makefile dlls/kerberos enable_kerberos
20704 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20705 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20706 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20707 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20708 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20709 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20710 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20711 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20712 wine_fn_config_makefile dlls/ksuser enable_ksuser
20713 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20714 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20715 wine_fn_config_makefile dlls/loadperf enable_loadperf
20716 wine_fn_config_makefile dlls/localspl enable_localspl
20717 wine_fn_config_makefile dlls/localspl/tests enable_tests
20718 wine_fn_config_makefile dlls/localui enable_localui
20719 wine_fn_config_makefile dlls/localui/tests enable_tests
20720 wine_fn_config_makefile dlls/lz32 enable_lz32
20721 wine_fn_config_makefile dlls/lz32/tests enable_tests
20722 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20723 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20724 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20725 wine_fn_config_makefile dlls/mapistub enable_mapistub
20726 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20727 wine_fn_config_makefile dlls/mcicda enable_mcicda
20728 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20729 wine_fn_config_makefile dlls/mciseq enable_mciseq
20730 wine_fn_config_makefile dlls/mciwave enable_mciwave
20731 wine_fn_config_makefile dlls/mf enable_mf
20732 wine_fn_config_makefile dlls/mf/tests enable_tests
20733 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20734 wine_fn_config_makefile dlls/mferror enable_mferror
20735 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20736 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20737 wine_fn_config_makefile dlls/mfplat enable_mfplat
20738 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20739 wine_fn_config_makefile dlls/mfplay enable_mfplay
20740 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20741 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20742 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20743 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20744 wine_fn_config_makefile dlls/midimap enable_midimap
20745 wine_fn_config_makefile dlls/mlang enable_mlang
20746 wine_fn_config_makefile dlls/mlang/tests enable_tests
20747 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20748 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20749 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20750 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20751 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20752 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20753 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20754 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20755 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20756 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20757 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20758 wine_fn_config_makefile dlls/mpr enable_mpr
20759 wine_fn_config_makefile dlls/mpr/tests enable_tests
20760 wine_fn_config_makefile dlls/mprapi enable_mprapi
20761 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20762 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20763 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20764 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20765 wine_fn_config_makefile dlls/msado15 enable_msado15
20766 wine_fn_config_makefile dlls/msado15/tests enable_tests
20767 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20768 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20769 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20770 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20771 wine_fn_config_makefile dlls/mscms enable_mscms
20772 wine_fn_config_makefile dlls/mscms/tests enable_tests
20773 wine_fn_config_makefile dlls/mscoree enable_mscoree
20774 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20775 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20776 wine_fn_config_makefile dlls/msctf enable_msctf
20777 wine_fn_config_makefile dlls/msctf/tests enable_tests
20778 wine_fn_config_makefile dlls/msctfp enable_msctfp
20779 wine_fn_config_makefile dlls/msdaps enable_msdaps
20780 wine_fn_config_makefile dlls/msdelta enable_msdelta
20781 wine_fn_config_makefile dlls/msdmo enable_msdmo
20782 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20783 wine_fn_config_makefile dlls/msdrm enable_msdrm
20784 wine_fn_config_makefile dlls/msftedit enable_msftedit
20785 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20786 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20787 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20788 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20789 wine_fn_config_makefile dlls/mshtml enable_mshtml
20790 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20791 wine_fn_config_makefile dlls/msi enable_msi
20792 wine_fn_config_makefile dlls/msi/tests enable_tests
20793 wine_fn_config_makefile dlls/msident enable_msident
20794 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20795 wine_fn_config_makefile dlls/msimsg enable_msimsg
20796 wine_fn_config_makefile dlls/msimtf enable_msimtf
20797 wine_fn_config_makefile dlls/msisip enable_msisip
20798 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20799 wine_fn_config_makefile dlls/msls31 enable_msls31
20800 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20801 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20802 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20803 wine_fn_config_makefile dlls/msports enable_msports
20804 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20805 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20806 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20807 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20808 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20809 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20810 wine_fn_config_makefile dlls/mstask enable_mstask
20811 wine_fn_config_makefile dlls/mstask/tests enable_tests
20812 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20813 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20814 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20815 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20816 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20817 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20818 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20819 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20820 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20821 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20822 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20823 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20824 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20825 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20826 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20827 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20828 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20829 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20830 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20831 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20832 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20833 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20834 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20835 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20836 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20837 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20838 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20839 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20840 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20841 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20842 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20843 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20844 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20845 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20846 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20847 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20848 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20849 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20850 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20851 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20852 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20853 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20854 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20855 wine_fn_config_makefile dlls/mswsock enable_mswsock
20856 wine_fn_config_makefile dlls/msxml enable_msxml
20857 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20858 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20859 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20860 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20861 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20862 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20863 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20864 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20865 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20866 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20867 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20868 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20869 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20870 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20871 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20872 wine_fn_config_makefile dlls/netprofm enable_netprofm
20873 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20874 wine_fn_config_makefile dlls/netutils enable_netutils
20875 wine_fn_config_makefile dlls/newdev enable_newdev
20876 wine_fn_config_makefile dlls/ninput enable_ninput
20877 wine_fn_config_makefile dlls/ninput/tests enable_tests
20878 wine_fn_config_makefile dlls/normaliz enable_normaliz
20879 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20880 wine_fn_config_makefile dlls/npptools enable_npptools
20881 wine_fn_config_makefile dlls/ntdll enable_ntdll
20882 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20883 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20884 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20885 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20886 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20887 wine_fn_config_makefile dlls/ntprint enable_ntprint
20888 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20889 wine_fn_config_makefile dlls/objsel enable_objsel
20890 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20891 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20892 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20893 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20894 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20895 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20896 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20897 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20898 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20899 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20900 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20901 wine_fn_config_makefile dlls/ole32 enable_ole32
20902 wine_fn_config_makefile dlls/ole32/tests enable_tests
20903 wine_fn_config_makefile dlls/oleacc enable_oleacc
20904 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20905 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20906 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20907 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20908 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20909 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20910 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20911 wine_fn_config_makefile dlls/oledlg enable_oledlg
20912 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20913 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20914 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20915 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20916 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20917 wine_fn_config_makefile dlls/opcservices enable_opcservices
20918 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20919 wine_fn_config_makefile dlls/openal32 enable_openal32
20920 wine_fn_config_makefile dlls/opencl enable_opencl
20921 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20922 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20923 wine_fn_config_makefile dlls/packager enable_packager
20924 wine_fn_config_makefile dlls/packager/tests enable_tests
20925 wine_fn_config_makefile dlls/pdh enable_pdh
20926 wine_fn_config_makefile dlls/pdh/tests enable_tests
20927 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20928 wine_fn_config_makefile dlls/pidgen enable_pidgen
20929 wine_fn_config_makefile dlls/powrprof enable_powrprof
20930 wine_fn_config_makefile dlls/printui enable_printui
20931 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20932 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20933 wine_fn_config_makefile dlls/propsys enable_propsys
20934 wine_fn_config_makefile dlls/propsys/tests enable_tests
20935 wine_fn_config_makefile dlls/psapi enable_psapi
20936 wine_fn_config_makefile dlls/psapi/tests enable_tests
20937 wine_fn_config_makefile dlls/pstorec enable_pstorec
20938 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20939 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20940 wine_fn_config_makefile dlls/qasf enable_qasf
20941 wine_fn_config_makefile dlls/qasf/tests enable_tests
20942 wine_fn_config_makefile dlls/qcap enable_qcap
20943 wine_fn_config_makefile dlls/qcap/tests enable_tests
20944 wine_fn_config_makefile dlls/qdvd enable_qdvd
20945 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20946 wine_fn_config_makefile dlls/qedit enable_qedit
20947 wine_fn_config_makefile dlls/qedit/tests enable_tests
20948 wine_fn_config_makefile dlls/qmgr enable_qmgr
20949 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20950 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20951 wine_fn_config_makefile dlls/quartz enable_quartz
20952 wine_fn_config_makefile dlls/quartz/tests enable_tests
20953 wine_fn_config_makefile dlls/query enable_query
20954 wine_fn_config_makefile dlls/qwave enable_qwave
20955 wine_fn_config_makefile dlls/qwave/tests enable_tests
20956 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20957 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20958 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20959 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20960 wine_fn_config_makefile dlls/regapi enable_regapi
20961 wine_fn_config_makefile dlls/resutils enable_resutils
20962 wine_fn_config_makefile dlls/riched20 enable_riched20
20963 wine_fn_config_makefile dlls/riched20/tests enable_tests
20964 wine_fn_config_makefile dlls/riched32 enable_riched32
20965 wine_fn_config_makefile dlls/riched32/tests enable_tests
20966 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20967 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20968 wine_fn_config_makefile dlls/rsabase enable_rsabase
20969 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20970 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20971 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20972 wine_fn_config_makefile dlls/rtutils enable_rtutils
20973 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20974 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20975 wine_fn_config_makefile dlls/samlib enable_samlib
20976 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20977 wine_fn_config_makefile dlls/sapi enable_sapi
20978 wine_fn_config_makefile dlls/sapi/tests enable_tests
20979 wine_fn_config_makefile dlls/sas enable_sas
20980 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20981 wine_fn_config_makefile dlls/sccbase enable_sccbase
20982 wine_fn_config_makefile dlls/schannel enable_schannel
20983 wine_fn_config_makefile dlls/schannel/tests enable_tests
20984 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20985 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20986 wine_fn_config_makefile dlls/scrobj enable_scrobj
20987 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20988 wine_fn_config_makefile dlls/scrrun enable_scrrun
20989 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20990 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20991 wine_fn_config_makefile dlls/sechost enable_sechost
20992 wine_fn_config_makefile dlls/secur32 enable_secur32
20993 wine_fn_config_makefile dlls/secur32/tests enable_tests
20994 wine_fn_config_makefile dlls/security enable_security
20995 wine_fn_config_makefile dlls/sensapi enable_sensapi
20996 wine_fn_config_makefile dlls/serialui enable_serialui
20997 wine_fn_config_makefile dlls/serialui/tests enable_tests
20998 wine_fn_config_makefile dlls/setupapi enable_setupapi
20999 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21000 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21001 wine_fn_config_makefile dlls/sfc enable_sfc
21002 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21003 wine_fn_config_makefile dlls/shcore enable_shcore
21004 wine_fn_config_makefile dlls/shcore/tests enable_tests
21005 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21006 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21007 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21008 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21009 wine_fn_config_makefile dlls/shell32 enable_shell32
21010 wine_fn_config_makefile dlls/shell32/tests enable_tests
21011 wine_fn_config_makefile dlls/shfolder enable_shfolder
21012 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21013 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21014 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21015 wine_fn_config_makefile dlls/slc enable_slc
21016 wine_fn_config_makefile dlls/slc/tests enable_tests
21017 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21018 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21019 wine_fn_config_makefile dlls/softpub enable_softpub
21020 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21021 wine_fn_config_makefile dlls/spoolss enable_spoolss
21022 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21023 wine_fn_config_makefile dlls/srclient enable_srclient
21024 wine_fn_config_makefile dlls/srvcli enable_srvcli
21025 wine_fn_config_makefile dlls/sspicli enable_sspicli
21026 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21027 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21028 wine_fn_config_makefile dlls/sti enable_sti
21029 wine_fn_config_makefile dlls/sti/tests enable_tests
21030 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21031 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21032 wine_fn_config_makefile dlls/strmbase enable_strmbase
21033 wine_fn_config_makefile dlls/strmdll enable_strmdll
21034 wine_fn_config_makefile dlls/strmiids enable_strmiids
21035 wine_fn_config_makefile dlls/svrapi enable_svrapi
21036 wine_fn_config_makefile dlls/sxs enable_sxs
21037 wine_fn_config_makefile dlls/sxs/tests enable_tests
21038 wine_fn_config_makefile dlls/system.drv16 enable_win16
21039 wine_fn_config_makefile dlls/t2embed enable_t2embed
21040 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21041 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21042 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21043 wine_fn_config_makefile dlls/taskschd enable_taskschd
21044 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21045 wine_fn_config_makefile dlls/tdh enable_tdh
21046 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21047 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21048 wine_fn_config_makefile dlls/traffic enable_traffic
21049 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21050 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21051 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21052 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21053 wine_fn_config_makefile dlls/tzres enable_tzres
21054 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21055 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21056 wine_fn_config_makefile dlls/uianimation enable_uianimation
21057 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21058 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21059 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21060 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21061 wine_fn_config_makefile dlls/unicows enable_unicows
21062 wine_fn_config_makefile dlls/updspapi enable_updspapi
21063 wine_fn_config_makefile dlls/url enable_url
21064 wine_fn_config_makefile dlls/urlmon enable_urlmon
21065 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21066 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21067 wine_fn_config_makefile dlls/user.exe16 enable_win16
21068 wine_fn_config_makefile dlls/user32 enable_user32
21069 wine_fn_config_makefile dlls/user32/tests enable_tests
21070 wine_fn_config_makefile dlls/userenv enable_userenv
21071 wine_fn_config_makefile dlls/userenv/tests enable_tests
21072 wine_fn_config_makefile dlls/usp10 enable_usp10
21073 wine_fn_config_makefile dlls/usp10/tests enable_tests
21074 wine_fn_config_makefile dlls/utildll enable_utildll
21075 wine_fn_config_makefile dlls/uuid enable_uuid
21076 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21077 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21078 wine_fn_config_makefile dlls/vbscript enable_vbscript
21079 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21080 wine_fn_config_makefile dlls/vcomp enable_vcomp
21081 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21082 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21083 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21084 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21085 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21086 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21087 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21088 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21089 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21090 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21091 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21092 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21093 wine_fn_config_makefile dlls/version enable_version
21094 wine_fn_config_makefile dlls/version/tests enable_tests
21095 wine_fn_config_makefile dlls/vga enable_vga
21096 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21097 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21098 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21099 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21100 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21101 wine_fn_config_makefile dlls/vssapi enable_vssapi
21102 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21103 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21104 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21105 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21106 wine_fn_config_makefile dlls/w32skrnl enable_win16
21107 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21108 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21109 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21110 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21111 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21112 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21113 wine_fn_config_makefile dlls/wdscore enable_wdscore
21114 wine_fn_config_makefile dlls/webservices enable_webservices
21115 wine_fn_config_makefile dlls/webservices/tests enable_tests
21116 wine_fn_config_makefile dlls/wer enable_wer
21117 wine_fn_config_makefile dlls/wer/tests enable_tests
21118 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21119 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21120 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21121 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21122 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21123 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21124 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21125 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21126 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21127 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21128 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21129 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21130 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21131 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21132 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21133 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21134 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21135 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21136 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21137 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21138 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21139 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21140 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21141 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21142 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21143 wine_fn_config_makefile dlls/wined3d enable_wined3d
21144 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21145 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21146 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21147 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21148 wine_fn_config_makefile dlls/winemapi enable_winemapi
21149 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21150 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21151 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21152 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21153 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21154 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21155 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21156 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21157 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21158 wine_fn_config_makefile dlls/wing32 enable_wing32
21159 wine_fn_config_makefile dlls/winhttp enable_winhttp
21160 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21161 wine_fn_config_makefile dlls/wininet enable_wininet
21162 wine_fn_config_makefile dlls/wininet/tests enable_tests
21163 wine_fn_config_makefile dlls/winmm enable_winmm
21164 wine_fn_config_makefile dlls/winmm/tests enable_tests
21165 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21166 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21167 wine_fn_config_makefile dlls/winscard enable_winscard
21168 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21169 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21170 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21171 wine_fn_config_makefile dlls/winsta enable_winsta
21172 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21173 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21174 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21175 wine_fn_config_makefile dlls/wintrust enable_wintrust
21176 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21177 wine_fn_config_makefile dlls/winusb enable_winusb
21178 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21179 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21180 wine_fn_config_makefile dlls/wlanui enable_wlanui
21181 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21182 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21183 wine_fn_config_makefile dlls/wmasf enable_wmasf
21184 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21185 wine_fn_config_makefile dlls/wmi enable_wmi
21186 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21187 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21188 wine_fn_config_makefile dlls/wmp enable_wmp
21189 wine_fn_config_makefile dlls/wmp/tests enable_tests
21190 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21191 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21192 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21193 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21194 wine_fn_config_makefile dlls/wow32 enable_win16
21195 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21196 wine_fn_config_makefile dlls/wpc enable_wpc
21197 wine_fn_config_makefile dlls/wpc/tests enable_tests
21198 wine_fn_config_makefile dlls/wpcap enable_wpcap
21199 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21200 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21201 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21202 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21203 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21204 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21205 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21206 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21207 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21208 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21209 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21210 wine_fn_config_makefile dlls/wuapi enable_wuapi
21211 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21212 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21213 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21214 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21215 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21216 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21217 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21218 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21219 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21220 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21221 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21222 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21223 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21224 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21225 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21226 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21227 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21228 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21229 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21230 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21231 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21232 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21233 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21234 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21235 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21236 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21237 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21238 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21239 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21240 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21241 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21242 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21243 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21244 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21245 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21246 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21247 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21248 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21249 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21250 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21251 wine_fn_config_makefile dlls/xmllite enable_xmllite
21252 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21253 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21254 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21255 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21256 wine_fn_config_makefile fonts enable_fonts
21257 wine_fn_config_makefile include enable_include
21258 wine_fn_config_makefile libs/port enable_port
21259 wine_fn_config_makefile libs/wine enable_wine
21260 wine_fn_config_makefile libs/wpp enable_wpp
21261 wine_fn_config_makefile loader enable_loader
21262 wine_fn_config_makefile nls enable_nls
21263 wine_fn_config_makefile po enable_po
21264 wine_fn_config_makefile programs/arp enable_arp
21265 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21266 wine_fn_config_makefile programs/attrib enable_attrib
21267 wine_fn_config_makefile programs/cabarc enable_cabarc
21268 wine_fn_config_makefile programs/cacls enable_cacls
21269 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21270 wine_fn_config_makefile programs/clock enable_clock
21271 wine_fn_config_makefile programs/cmd enable_cmd
21272 wine_fn_config_makefile programs/cmd/tests enable_tests
21273 wine_fn_config_makefile programs/conhost enable_conhost
21274 wine_fn_config_makefile programs/conhost/tests enable_tests
21275 wine_fn_config_makefile programs/control enable_control
21276 wine_fn_config_makefile programs/cscript enable_cscript
21277 wine_fn_config_makefile programs/dism enable_dism
21278 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21279 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21280 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21281 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21282 wine_fn_config_makefile programs/eject enable_eject
21283 wine_fn_config_makefile programs/expand enable_expand
21284 wine_fn_config_makefile programs/explorer enable_explorer
21285 wine_fn_config_makefile programs/extrac32 enable_extrac32
21286 wine_fn_config_makefile programs/fc enable_fc
21287 wine_fn_config_makefile programs/find enable_find
21288 wine_fn_config_makefile programs/find/tests enable_tests
21289 wine_fn_config_makefile programs/findstr enable_findstr
21290 wine_fn_config_makefile programs/fsutil enable_fsutil
21291 wine_fn_config_makefile programs/fsutil/tests enable_tests
21292 wine_fn_config_makefile programs/hh enable_hh
21293 wine_fn_config_makefile programs/hostname enable_hostname
21294 wine_fn_config_makefile programs/icacls enable_icacls
21295 wine_fn_config_makefile programs/icinfo enable_icinfo
21296 wine_fn_config_makefile programs/iexplore enable_iexplore
21297 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21298 wine_fn_config_makefile programs/lodctr enable_lodctr
21299 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21300 wine_fn_config_makefile programs/mshta enable_mshta
21301 wine_fn_config_makefile programs/msidb enable_msidb
21302 wine_fn_config_makefile programs/msiexec enable_msiexec
21303 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21304 wine_fn_config_makefile programs/net enable_net
21305 wine_fn_config_makefile programs/netsh enable_netsh
21306 wine_fn_config_makefile programs/netstat enable_netstat
21307 wine_fn_config_makefile programs/ngen enable_ngen
21308 wine_fn_config_makefile programs/notepad enable_notepad
21309 wine_fn_config_makefile programs/oleview enable_oleview
21310 wine_fn_config_makefile programs/ping enable_ping
21311 wine_fn_config_makefile programs/plugplay enable_plugplay
21312 wine_fn_config_makefile programs/powershell enable_powershell
21313 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21314 wine_fn_config_makefile programs/progman enable_progman
21315 wine_fn_config_makefile programs/reg enable_reg
21316 wine_fn_config_makefile programs/reg/tests enable_tests
21317 wine_fn_config_makefile programs/regasm enable_regasm
21318 wine_fn_config_makefile programs/regedit enable_regedit
21319 wine_fn_config_makefile programs/regedit/tests enable_tests
21320 wine_fn_config_makefile programs/regini enable_regini
21321 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21322 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21323 wine_fn_config_makefile programs/rpcss enable_rpcss
21324 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21325 wine_fn_config_makefile programs/rundll32 enable_rundll32
21326 wine_fn_config_makefile programs/sc enable_sc
21327 wine_fn_config_makefile programs/schtasks enable_schtasks
21328 wine_fn_config_makefile programs/schtasks/tests enable_tests
21329 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21330 wine_fn_config_makefile programs/secedit enable_secedit
21331 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21332 wine_fn_config_makefile programs/services enable_services
21333 wine_fn_config_makefile programs/services/tests enable_tests
21334 wine_fn_config_makefile programs/shutdown enable_shutdown
21335 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21336 wine_fn_config_makefile programs/start enable_start
21337 wine_fn_config_makefile programs/subst enable_subst
21338 wine_fn_config_makefile programs/svchost enable_svchost
21339 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21340 wine_fn_config_makefile programs/taskkill enable_taskkill
21341 wine_fn_config_makefile programs/tasklist enable_tasklist
21342 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21343 wine_fn_config_makefile programs/termsv enable_termsv
21344 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21345 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21346 wine_fn_config_makefile programs/view enable_view
21347 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21348 wine_fn_config_makefile programs/where enable_where
21349 wine_fn_config_makefile programs/whoami enable_whoami
21350 wine_fn_config_makefile programs/wineboot enable_wineboot
21351 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21352 wine_fn_config_makefile programs/winecfg enable_winecfg
21353 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21354 wine_fn_config_makefile programs/winedbg enable_winedbg
21355 wine_fn_config_makefile programs/winedevice enable_winedevice
21356 wine_fn_config_makefile programs/winefile enable_winefile
21357 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21358 wine_fn_config_makefile programs/winemine enable_winemine
21359 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21360 wine_fn_config_makefile programs/winepath enable_winepath
21361 wine_fn_config_makefile programs/winetest enable_winetest
21362 wine_fn_config_makefile programs/winevdm enable_win16
21363 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21364 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21365 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21366 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21367 wine_fn_config_makefile programs/winver enable_winver
21368 wine_fn_config_makefile programs/wmic enable_wmic
21369 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21370 wine_fn_config_makefile programs/wordpad enable_wordpad
21371 wine_fn_config_makefile programs/write enable_write
21372 wine_fn_config_makefile programs/wscript enable_wscript
21373 wine_fn_config_makefile programs/wscript/tests enable_tests
21374 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21375 wine_fn_config_makefile programs/wusa enable_wusa
21376 wine_fn_config_makefile programs/xcopy enable_xcopy
21377 wine_fn_config_makefile programs/xcopy/tests enable_tests
21378 wine_fn_config_makefile server enable_server
21379 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21380 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21381 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21382 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21383 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21384 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21385 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21386 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21387 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21390 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21391 wine_fn_append_file CONFIGURE_TARGETS "tags"
21392 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21393 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21394 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21395 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21396 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21397 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21399 if test "x$enable_tools" != xno
21400 then
21401 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21402 ac_config_commands="$ac_config_commands tools/makedep"
21406 ac_config_commands="$ac_config_commands Makefile"
21409 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21413 if test "x$enable_maintainer_mode" = xyes
21414 then
21415 wine_fn_append_rule "configure: configure.ac aclocal.m4
21416 autoconf --warnings=all
21417 include/config.h.in: include/stamp-h.in
21418 include/stamp-h.in: configure.ac aclocal.m4
21419 autoheader --warnings=all
21420 @echo timestamp > \$@"
21423 if test "x$enable_tools" != xno
21424 then
21425 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21426 @./config.status tools/makedep
21427 Makefile: tools/makedep$ac_exeext"
21428 else
21429 wine_fn_append_rule "\$(MAKEDEP):
21430 @echo \"You need to run make in $TOOLSDIR first\" && false"
21433 if test -n "$with_wine64"
21434 then
21435 case "$with_wine64" in
21436 /*) reldir="" ;;
21437 *) reldir="../" ;;
21438 esac
21439 rm -f fonts server 2>/dev/null
21440 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21441 loader/wine64 loader/wine64-preloader:
21442 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21443 $with_wine64/loader/wine:
21444 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21445 $with_wine64/loader/wine-preloader:
21446 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21447 clean::
21448 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21449 else
21450 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21451 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21452 fonts \
21453 loader/wine.inf \
21454 nls \
21455 programs/msidb/msidb \
21456 programs/msiexec/msiexec \
21457 programs/notepad/notepad \
21458 programs/regedit/regedit \
21459 programs/regsvr32/regsvr32 \
21460 programs/wineboot/wineboot \
21461 programs/winecfg/winecfg \
21462 programs/wineconsole/wineconsole \
21463 programs/winedbg/winedbg \
21464 programs/winefile/winefile \
21465 programs/winemine/winemine \
21466 programs/winepath/winepath \
21467 server/wineserver"
21469 case $host_os in
21470 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21471 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21472 esac
21475 $as_echo " done" >&6
21476 cat >confcache <<\_ACEOF
21477 # This file is a shell script that caches the results of configure
21478 # tests run on this system so they can be shared between configure
21479 # scripts and configure runs, see configure's option --config-cache.
21480 # It is not useful on other systems. If it contains results you don't
21481 # want to keep, you may remove or edit it.
21483 # config.status only pays attention to the cache file if you give it
21484 # the --recheck option to rerun configure.
21486 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21487 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21488 # following values.
21490 _ACEOF
21492 # The following way of writing the cache mishandles newlines in values,
21493 # but we know of no workaround that is simple, portable, and efficient.
21494 # So, we kill variables containing newlines.
21495 # Ultrix sh set writes to stderr and can't be redirected directly,
21496 # and sets the high bit in the cache file unless we assign to the vars.
21498 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21499 eval ac_val=\$$ac_var
21500 case $ac_val in #(
21501 *${as_nl}*)
21502 case $ac_var in #(
21503 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21504 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21505 esac
21506 case $ac_var in #(
21507 _ | IFS | as_nl) ;; #(
21508 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21509 *) { eval $ac_var=; unset $ac_var;} ;;
21510 esac ;;
21511 esac
21512 done
21514 (set) 2>&1 |
21515 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21516 *${as_nl}ac_space=\ *)
21517 # `set' does not quote correctly, so add quotes: double-quote
21518 # substitution turns \\\\ into \\, and sed turns \\ into \.
21519 sed -n \
21520 "s/'/'\\\\''/g;
21521 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21522 ;; #(
21524 # `set' quotes correctly as required by POSIX, so do not add quotes.
21525 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21527 esac |
21528 sort
21530 sed '
21531 /^ac_cv_env_/b end
21532 t clear
21533 :clear
21534 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21535 t end
21536 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21537 :end' >>confcache
21538 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21539 if test -w "$cache_file"; then
21540 if test "x$cache_file" != "x/dev/null"; then
21541 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21542 $as_echo "$as_me: updating cache $cache_file" >&6;}
21543 if test ! -f "$cache_file" || test -h "$cache_file"; then
21544 cat confcache >"$cache_file"
21545 else
21546 case $cache_file in #(
21547 */* | ?:*)
21548 mv -f confcache "$cache_file"$$ &&
21549 mv -f "$cache_file"$$ "$cache_file" ;; #(
21551 mv -f confcache "$cache_file" ;;
21552 esac
21555 else
21556 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21557 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21560 rm -f confcache
21562 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21563 # Let make expand exec_prefix.
21564 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21566 DEFS=-DHAVE_CONFIG_H
21568 ac_libobjs=
21569 ac_ltlibobjs=
21571 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21572 # 1. Remove the extension, and $U if already installed.
21573 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21574 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21575 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21576 # will be set to the directory where LIBOBJS objects are built.
21577 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21578 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21579 done
21580 LIBOBJS=$ac_libobjs
21582 LTLIBOBJS=$ac_ltlibobjs
21586 : "${CONFIG_STATUS=./config.status}"
21587 ac_write_fail=0
21588 ac_clean_files_save=$ac_clean_files
21589 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21591 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21592 as_write_fail=0
21593 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21594 #! $SHELL
21595 # Generated by $as_me.
21596 # Run this file to recreate the current configuration.
21597 # Compiler output produced by configure, useful for debugging
21598 # configure, is in config.log if it exists.
21600 debug=false
21601 ac_cs_recheck=false
21602 ac_cs_silent=false
21604 SHELL=\${CONFIG_SHELL-$SHELL}
21605 export SHELL
21606 _ASEOF
21607 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21608 ## -------------------- ##
21609 ## M4sh Initialization. ##
21610 ## -------------------- ##
21612 # Be more Bourne compatible
21613 DUALCASE=1; export DUALCASE # for MKS sh
21614 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21615 emulate sh
21616 NULLCMD=:
21617 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21618 # is contrary to our usage. Disable this feature.
21619 alias -g '${1+"$@"}'='"$@"'
21620 setopt NO_GLOB_SUBST
21621 else
21622 case `(set -o) 2>/dev/null` in #(
21623 *posix*) :
21624 set -o posix ;; #(
21625 *) :
21627 esac
21631 as_nl='
21633 export as_nl
21634 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21635 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21636 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21637 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21638 # Prefer a ksh shell builtin over an external printf program on Solaris,
21639 # but without wasting forks for bash or zsh.
21640 if test -z "$BASH_VERSION$ZSH_VERSION" \
21641 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21642 as_echo='print -r --'
21643 as_echo_n='print -rn --'
21644 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21645 as_echo='printf %s\n'
21646 as_echo_n='printf %s'
21647 else
21648 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21649 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21650 as_echo_n='/usr/ucb/echo -n'
21651 else
21652 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21653 as_echo_n_body='eval
21654 arg=$1;
21655 case $arg in #(
21656 *"$as_nl"*)
21657 expr "X$arg" : "X\\(.*\\)$as_nl";
21658 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21659 esac;
21660 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21662 export as_echo_n_body
21663 as_echo_n='sh -c $as_echo_n_body as_echo'
21665 export as_echo_body
21666 as_echo='sh -c $as_echo_body as_echo'
21669 # The user is always right.
21670 if test "${PATH_SEPARATOR+set}" != set; then
21671 PATH_SEPARATOR=:
21672 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21673 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21674 PATH_SEPARATOR=';'
21679 # IFS
21680 # We need space, tab and new line, in precisely that order. Quoting is
21681 # there to prevent editors from complaining about space-tab.
21682 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21683 # splitting by setting IFS to empty value.)
21684 IFS=" "" $as_nl"
21686 # Find who we are. Look in the path if we contain no directory separator.
21687 as_myself=
21688 case $0 in #((
21689 *[\\/]* ) as_myself=$0 ;;
21690 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21691 for as_dir in $PATH
21693 IFS=$as_save_IFS
21694 test -z "$as_dir" && as_dir=.
21695 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21696 done
21697 IFS=$as_save_IFS
21700 esac
21701 # We did not find ourselves, most probably we were run as `sh COMMAND'
21702 # in which case we are not to be found in the path.
21703 if test "x$as_myself" = x; then
21704 as_myself=$0
21706 if test ! -f "$as_myself"; then
21707 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21708 exit 1
21711 # Unset variables that we do not need and which cause bugs (e.g. in
21712 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21713 # suppresses any "Segmentation fault" message there. '((' could
21714 # trigger a bug in pdksh 5.2.14.
21715 for as_var in BASH_ENV ENV MAIL MAILPATH
21716 do eval test x\${$as_var+set} = xset \
21717 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21718 done
21719 PS1='$ '
21720 PS2='> '
21721 PS4='+ '
21723 # NLS nuisances.
21724 LC_ALL=C
21725 export LC_ALL
21726 LANGUAGE=C
21727 export LANGUAGE
21729 # CDPATH.
21730 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21733 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21734 # ----------------------------------------
21735 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21736 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21737 # script with STATUS, using 1 if that was 0.
21738 as_fn_error ()
21740 as_status=$1; test $as_status -eq 0 && as_status=1
21741 if test "$4"; then
21742 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21743 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21745 $as_echo "$as_me: error: $2" >&2
21746 as_fn_exit $as_status
21747 } # as_fn_error
21750 # as_fn_set_status STATUS
21751 # -----------------------
21752 # Set $? to STATUS, without forking.
21753 as_fn_set_status ()
21755 return $1
21756 } # as_fn_set_status
21758 # as_fn_exit STATUS
21759 # -----------------
21760 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21761 as_fn_exit ()
21763 set +e
21764 as_fn_set_status $1
21765 exit $1
21766 } # as_fn_exit
21768 # as_fn_unset VAR
21769 # ---------------
21770 # Portably unset VAR.
21771 as_fn_unset ()
21773 { eval $1=; unset $1;}
21775 as_unset=as_fn_unset
21776 # as_fn_append VAR VALUE
21777 # ----------------------
21778 # Append the text in VALUE to the end of the definition contained in VAR. Take
21779 # advantage of any shell optimizations that allow amortized linear growth over
21780 # repeated appends, instead of the typical quadratic growth present in naive
21781 # implementations.
21782 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21783 eval 'as_fn_append ()
21785 eval $1+=\$2
21787 else
21788 as_fn_append ()
21790 eval $1=\$$1\$2
21792 fi # as_fn_append
21794 # as_fn_arith ARG...
21795 # ------------------
21796 # Perform arithmetic evaluation on the ARGs, and store the result in the
21797 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21798 # must be portable across $(()) and expr.
21799 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21800 eval 'as_fn_arith ()
21802 as_val=$(( $* ))
21804 else
21805 as_fn_arith ()
21807 as_val=`expr "$@" || test $? -eq 1`
21809 fi # as_fn_arith
21812 if expr a : '\(a\)' >/dev/null 2>&1 &&
21813 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21814 as_expr=expr
21815 else
21816 as_expr=false
21819 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21820 as_basename=basename
21821 else
21822 as_basename=false
21825 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21826 as_dirname=dirname
21827 else
21828 as_dirname=false
21831 as_me=`$as_basename -- "$0" ||
21832 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21833 X"$0" : 'X\(//\)$' \| \
21834 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21835 $as_echo X/"$0" |
21836 sed '/^.*\/\([^/][^/]*\)\/*$/{
21837 s//\1/
21840 /^X\/\(\/\/\)$/{
21841 s//\1/
21844 /^X\/\(\/\).*/{
21845 s//\1/
21848 s/.*/./; q'`
21850 # Avoid depending upon Character Ranges.
21851 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21852 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21853 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21854 as_cr_digits='0123456789'
21855 as_cr_alnum=$as_cr_Letters$as_cr_digits
21857 ECHO_C= ECHO_N= ECHO_T=
21858 case `echo -n x` in #(((((
21859 -n*)
21860 case `echo 'xy\c'` in
21861 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21862 xy) ECHO_C='\c';;
21863 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21864 ECHO_T=' ';;
21865 esac;;
21867 ECHO_N='-n';;
21868 esac
21870 rm -f conf$$ conf$$.exe conf$$.file
21871 if test -d conf$$.dir; then
21872 rm -f conf$$.dir/conf$$.file
21873 else
21874 rm -f conf$$.dir
21875 mkdir conf$$.dir 2>/dev/null
21877 if (echo >conf$$.file) 2>/dev/null; then
21878 if ln -s conf$$.file conf$$ 2>/dev/null; then
21879 as_ln_s='ln -s'
21880 # ... but there are two gotchas:
21881 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21882 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21883 # In both cases, we have to default to `cp -pR'.
21884 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21885 as_ln_s='cp -pR'
21886 elif ln conf$$.file conf$$ 2>/dev/null; then
21887 as_ln_s=ln
21888 else
21889 as_ln_s='cp -pR'
21891 else
21892 as_ln_s='cp -pR'
21894 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21895 rmdir conf$$.dir 2>/dev/null
21898 # as_fn_mkdir_p
21899 # -------------
21900 # Create "$as_dir" as a directory, including parents if necessary.
21901 as_fn_mkdir_p ()
21904 case $as_dir in #(
21905 -*) as_dir=./$as_dir;;
21906 esac
21907 test -d "$as_dir" || eval $as_mkdir_p || {
21908 as_dirs=
21909 while :; do
21910 case $as_dir in #(
21911 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21912 *) as_qdir=$as_dir;;
21913 esac
21914 as_dirs="'$as_qdir' $as_dirs"
21915 as_dir=`$as_dirname -- "$as_dir" ||
21916 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21917 X"$as_dir" : 'X\(//\)[^/]' \| \
21918 X"$as_dir" : 'X\(//\)$' \| \
21919 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21920 $as_echo X"$as_dir" |
21921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21922 s//\1/
21925 /^X\(\/\/\)[^/].*/{
21926 s//\1/
21929 /^X\(\/\/\)$/{
21930 s//\1/
21933 /^X\(\/\).*/{
21934 s//\1/
21937 s/.*/./; q'`
21938 test -d "$as_dir" && break
21939 done
21940 test -z "$as_dirs" || eval "mkdir $as_dirs"
21941 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21944 } # as_fn_mkdir_p
21945 if mkdir -p . 2>/dev/null; then
21946 as_mkdir_p='mkdir -p "$as_dir"'
21947 else
21948 test -d ./-p && rmdir ./-p
21949 as_mkdir_p=false
21953 # as_fn_executable_p FILE
21954 # -----------------------
21955 # Test if FILE is an executable regular file.
21956 as_fn_executable_p ()
21958 test -f "$1" && test -x "$1"
21959 } # as_fn_executable_p
21960 as_test_x='test -x'
21961 as_executable_p=as_fn_executable_p
21963 # Sed expression to map a string onto a valid CPP name.
21964 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21966 # Sed expression to map a string onto a valid variable name.
21967 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21970 exec 6>&1
21971 ## ----------------------------------- ##
21972 ## Main body of $CONFIG_STATUS script. ##
21973 ## ----------------------------------- ##
21974 _ASEOF
21975 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21978 # Save the log message, to keep $0 and so on meaningful, and to
21979 # report actual input values of CONFIG_FILES etc. instead of their
21980 # values after options handling.
21981 ac_log="
21982 This file was extended by Wine $as_me 6.4, which was
21983 generated by GNU Autoconf 2.69. Invocation command line was
21985 CONFIG_FILES = $CONFIG_FILES
21986 CONFIG_HEADERS = $CONFIG_HEADERS
21987 CONFIG_LINKS = $CONFIG_LINKS
21988 CONFIG_COMMANDS = $CONFIG_COMMANDS
21989 $ $0 $@
21991 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21994 _ACEOF
21996 case $ac_config_files in *"
21997 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21998 esac
22000 case $ac_config_headers in *"
22001 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22002 esac
22005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22006 # Files that config.status was made for.
22007 config_files="$ac_config_files"
22008 config_headers="$ac_config_headers"
22009 config_links="$ac_config_links"
22010 config_commands="$ac_config_commands"
22012 _ACEOF
22014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22015 ac_cs_usage="\
22016 \`$as_me' instantiates files and other configuration actions
22017 from templates according to the current configuration. Unless the files
22018 and actions are specified as TAGs, all are instantiated by default.
22020 Usage: $0 [OPTION]... [TAG]...
22022 -h, --help print this help, then exit
22023 -V, --version print version number and configuration settings, then exit
22024 --config print configuration, then exit
22025 -q, --quiet, --silent
22026 do not print progress messages
22027 -d, --debug don't remove temporary files
22028 --recheck update $as_me by reconfiguring in the same conditions
22029 --file=FILE[:TEMPLATE]
22030 instantiate the configuration file FILE
22031 --header=FILE[:TEMPLATE]
22032 instantiate the configuration header FILE
22034 Configuration files:
22035 $config_files
22037 Configuration headers:
22038 $config_headers
22040 Configuration links:
22041 $config_links
22043 Configuration commands:
22044 $config_commands
22046 Report bugs to <wine-devel@winehq.org>.
22047 Wine home page: <https://www.winehq.org>."
22049 _ACEOF
22050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22051 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22052 ac_cs_version="\\
22053 Wine config.status 6.4
22054 configured by $0, generated by GNU Autoconf 2.69,
22055 with options \\"\$ac_cs_config\\"
22057 Copyright (C) 2012 Free Software Foundation, Inc.
22058 This config.status script is free software; the Free Software Foundation
22059 gives unlimited permission to copy, distribute and modify it."
22061 ac_pwd='$ac_pwd'
22062 srcdir='$srcdir'
22063 test -n "\$AWK" || AWK=awk
22064 _ACEOF
22066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22067 # The default lists apply if the user does not specify any file.
22068 ac_need_defaults=:
22069 while test $# != 0
22071 case $1 in
22072 --*=?*)
22073 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22074 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22075 ac_shift=:
22077 --*=)
22078 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22079 ac_optarg=
22080 ac_shift=:
22083 ac_option=$1
22084 ac_optarg=$2
22085 ac_shift=shift
22087 esac
22089 case $ac_option in
22090 # Handling of the options.
22091 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22092 ac_cs_recheck=: ;;
22093 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22094 $as_echo "$ac_cs_version"; exit ;;
22095 --config | --confi | --conf | --con | --co | --c )
22096 $as_echo "$ac_cs_config"; exit ;;
22097 --debug | --debu | --deb | --de | --d | -d )
22098 debug=: ;;
22099 --file | --fil | --fi | --f )
22100 $ac_shift
22101 case $ac_optarg in
22102 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22103 '') as_fn_error $? "missing file argument" ;;
22104 esac
22105 as_fn_append CONFIG_FILES " '$ac_optarg'"
22106 ac_need_defaults=false;;
22107 --header | --heade | --head | --hea )
22108 $ac_shift
22109 case $ac_optarg in
22110 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22111 esac
22112 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22113 ac_need_defaults=false;;
22114 --he | --h)
22115 # Conflict between --help and --header
22116 as_fn_error $? "ambiguous option: \`$1'
22117 Try \`$0 --help' for more information.";;
22118 --help | --hel | -h )
22119 $as_echo "$ac_cs_usage"; exit ;;
22120 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22121 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22122 ac_cs_silent=: ;;
22124 # This is an error.
22125 -*) as_fn_error $? "unrecognized option: \`$1'
22126 Try \`$0 --help' for more information." ;;
22128 *) as_fn_append ac_config_targets " $1"
22129 ac_need_defaults=false ;;
22131 esac
22132 shift
22133 done
22135 ac_configure_extra_args=
22137 if $ac_cs_silent; then
22138 exec 6>/dev/null
22139 ac_configure_extra_args="$ac_configure_extra_args --silent"
22142 _ACEOF
22143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22144 if \$ac_cs_recheck; then
22145 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22146 shift
22147 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22148 CONFIG_SHELL='$SHELL'
22149 export CONFIG_SHELL
22150 exec "\$@"
22153 _ACEOF
22154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22155 exec 5>>config.log
22157 echo
22158 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22159 ## Running $as_me. ##
22160 _ASBOX
22161 $as_echo "$ac_log"
22162 } >&5
22164 _ACEOF
22165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22167 # INIT-COMMANDS
22169 wine_fn_output_makedep ()
22171 as_dir=tools; as_fn_mkdir_p
22172 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22174 wine_fn_output_makefile ()
22176 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22177 `cat $wine_rules_file`
22178 _WINE_EOF
22179 as_fn_error $? "could not create Makefile" "$LINENO" 5
22182 _ACEOF
22184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22186 # Handling of arguments.
22187 for ac_config_target in $ac_config_targets
22189 case $ac_config_target in
22190 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22191 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22192 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22193 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22194 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22195 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22196 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22198 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22199 esac
22200 done
22203 # If the user did not use the arguments to specify the items to instantiate,
22204 # then the envvar interface is used. Set only those that are not.
22205 # We use the long form for the default assignment because of an extremely
22206 # bizarre bug on SunOS 4.1.3.
22207 if $ac_need_defaults; then
22208 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22209 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22210 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22211 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22214 # Have a temporary directory for convenience. Make it in the build tree
22215 # simply because there is no reason against having it here, and in addition,
22216 # creating and moving files from /tmp can sometimes cause problems.
22217 # Hook for its removal unless debugging.
22218 # Note that there is a small window in which the directory will not be cleaned:
22219 # after its creation but before its name has been assigned to `$tmp'.
22220 $debug ||
22222 tmp= ac_tmp=
22223 trap 'exit_status=$?
22224 : "${ac_tmp:=$tmp}"
22225 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22227 trap 'as_fn_exit 1' 1 2 13 15
22229 # Create a (secure) tmp directory for tmp files.
22232 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22233 test -d "$tmp"
22234 } ||
22236 tmp=./conf$$-$RANDOM
22237 (umask 077 && mkdir "$tmp")
22238 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22239 ac_tmp=$tmp
22241 # Set up the scripts for CONFIG_FILES section.
22242 # No need to generate them if there are no CONFIG_FILES.
22243 # This happens for instance with `./config.status config.h'.
22244 if test -n "$CONFIG_FILES"; then
22247 ac_cr=`echo X | tr X '\015'`
22248 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22249 # But we know of no other shell where ac_cr would be empty at this
22250 # point, so we can use a bashism as a fallback.
22251 if test "x$ac_cr" = x; then
22252 eval ac_cr=\$\'\\r\'
22254 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22255 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22256 ac_cs_awk_cr='\\r'
22257 else
22258 ac_cs_awk_cr=$ac_cr
22261 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22262 _ACEOF
22266 echo "cat >conf$$subs.awk <<_ACEOF" &&
22267 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22268 echo "_ACEOF"
22269 } >conf$$subs.sh ||
22270 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22271 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22272 ac_delim='%!_!# '
22273 for ac_last_try in false false false false false :; do
22274 . ./conf$$subs.sh ||
22275 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22277 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22278 if test $ac_delim_n = $ac_delim_num; then
22279 break
22280 elif $ac_last_try; then
22281 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22282 else
22283 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22285 done
22286 rm -f conf$$subs.sh
22288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22289 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22290 _ACEOF
22291 sed -n '
22293 s/^/S["/; s/!.*/"]=/
22296 s/^[^!]*!//
22297 :repl
22298 t repl
22299 s/'"$ac_delim"'$//
22300 t delim
22303 s/\(.\{148\}\)..*/\1/
22304 t more1
22305 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22308 b repl
22309 :more1
22310 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22313 s/.\{148\}//
22314 t nl
22315 :delim
22317 s/\(.\{148\}\)..*/\1/
22318 t more2
22319 s/["\\]/\\&/g; s/^/"/; s/$/"/
22322 :more2
22323 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22326 s/.\{148\}//
22327 t delim
22328 ' <conf$$subs.awk | sed '
22329 /^[^""]/{
22331 s/\n//
22333 ' >>$CONFIG_STATUS || ac_write_fail=1
22334 rm -f conf$$subs.awk
22335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22336 _ACAWK
22337 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22338 for (key in S) S_is_set[key] = 1
22339 FS = "\a"
22343 line = $ 0
22344 nfields = split(line, field, "@")
22345 substed = 0
22346 len = length(field[1])
22347 for (i = 2; i < nfields; i++) {
22348 key = field[i]
22349 keylen = length(key)
22350 if (S_is_set[key]) {
22351 value = S[key]
22352 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22353 len += length(value) + length(field[++i])
22354 substed = 1
22355 } else
22356 len += 1 + keylen
22359 print line
22362 _ACAWK
22363 _ACEOF
22364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22365 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22366 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22367 else
22369 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22370 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22371 _ACEOF
22373 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22374 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22375 # trailing colons and then remove the whole line if VPATH becomes empty
22376 # (actually we leave an empty line to preserve line numbers).
22377 if test "x$srcdir" = x.; then
22378 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22380 s///
22381 s/^/:/
22382 s/[ ]*$/:/
22383 s/:\$(srcdir):/:/g
22384 s/:\${srcdir}:/:/g
22385 s/:@srcdir@:/:/g
22386 s/^:*//
22387 s/:*$//
22389 s/\(=[ ]*\).*/\1/
22391 s/\n//
22392 s/^[^=]*=[ ]*$//
22396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22397 fi # test -n "$CONFIG_FILES"
22399 # Set up the scripts for CONFIG_HEADERS section.
22400 # No need to generate them if there are no CONFIG_HEADERS.
22401 # This happens for instance with `./config.status Makefile'.
22402 if test -n "$CONFIG_HEADERS"; then
22403 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22404 BEGIN {
22405 _ACEOF
22407 # Transform confdefs.h into an awk script `defines.awk', embedded as
22408 # here-document in config.status, that substitutes the proper values into
22409 # config.h.in to produce config.h.
22411 # Create a delimiter string that does not exist in confdefs.h, to ease
22412 # handling of long lines.
22413 ac_delim='%!_!# '
22414 for ac_last_try in false false :; do
22415 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22416 if test -z "$ac_tt"; then
22417 break
22418 elif $ac_last_try; then
22419 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22420 else
22421 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22423 done
22425 # For the awk script, D is an array of macro values keyed by name,
22426 # likewise P contains macro parameters if any. Preserve backslash
22427 # newline sequences.
22429 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22430 sed -n '
22431 s/.\{148\}/&'"$ac_delim"'/g
22432 t rset
22433 :rset
22434 s/^[ ]*#[ ]*define[ ][ ]*/ /
22435 t def
22437 :def
22438 s/\\$//
22439 t bsnl
22440 s/["\\]/\\&/g
22441 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22442 D["\1"]=" \3"/p
22443 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22445 :bsnl
22446 s/["\\]/\\&/g
22447 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22448 D["\1"]=" \3\\\\\\n"\\/p
22449 t cont
22450 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22451 t cont
22453 :cont
22455 s/.\{148\}/&'"$ac_delim"'/g
22456 t clear
22457 :clear
22458 s/\\$//
22459 t bsnlc
22460 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22462 :bsnlc
22463 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22464 b cont
22465 ' <confdefs.h | sed '
22466 s/'"$ac_delim"'/"\\\
22467 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22469 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22470 for (key in D) D_is_set[key] = 1
22471 FS = "\a"
22473 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22474 line = \$ 0
22475 split(line, arg, " ")
22476 if (arg[1] == "#") {
22477 defundef = arg[2]
22478 mac1 = arg[3]
22479 } else {
22480 defundef = substr(arg[1], 2)
22481 mac1 = arg[2]
22483 split(mac1, mac2, "(") #)
22484 macro = mac2[1]
22485 prefix = substr(line, 1, index(line, defundef) - 1)
22486 if (D_is_set[macro]) {
22487 # Preserve the white space surrounding the "#".
22488 print prefix "define", macro P[macro] D[macro]
22489 next
22490 } else {
22491 # Replace #undef with comments. This is necessary, for example,
22492 # in the case of _POSIX_SOURCE, which is predefined and required
22493 # on some systems where configure will not decide to define it.
22494 if (defundef == "undef") {
22495 print "/*", prefix defundef, macro, "*/"
22496 next
22500 { print }
22501 _ACAWK
22502 _ACEOF
22503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22504 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22505 fi # test -n "$CONFIG_HEADERS"
22508 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22509 shift
22510 for ac_tag
22512 case $ac_tag in
22513 :[FHLC]) ac_mode=$ac_tag; continue;;
22514 esac
22515 case $ac_mode$ac_tag in
22516 :[FHL]*:*);;
22517 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22518 :[FH]-) ac_tag=-:-;;
22519 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22520 esac
22521 ac_save_IFS=$IFS
22522 IFS=:
22523 set x $ac_tag
22524 IFS=$ac_save_IFS
22525 shift
22526 ac_file=$1
22527 shift
22529 case $ac_mode in
22530 :L) ac_source=$1;;
22531 :[FH])
22532 ac_file_inputs=
22533 for ac_f
22535 case $ac_f in
22536 -) ac_f="$ac_tmp/stdin";;
22537 *) # Look for the file first in the build tree, then in the source tree
22538 # (if the path is not absolute). The absolute path cannot be DOS-style,
22539 # because $ac_f cannot contain `:'.
22540 test -f "$ac_f" ||
22541 case $ac_f in
22542 [\\/$]*) false;;
22543 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22544 esac ||
22545 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22546 esac
22547 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22548 as_fn_append ac_file_inputs " '$ac_f'"
22549 done
22551 # Let's still pretend it is `configure' which instantiates (i.e., don't
22552 # use $as_me), people would be surprised to read:
22553 # /* config.h. Generated by config.status. */
22554 configure_input='Generated from '`
22555 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22556 `' by configure.'
22557 if test x"$ac_file" != x-; then
22558 configure_input="$ac_file. $configure_input"
22559 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22560 $as_echo "$as_me: creating $ac_file" >&6;}
22562 # Neutralize special characters interpreted by sed in replacement strings.
22563 case $configure_input in #(
22564 *\&* | *\|* | *\\* )
22565 ac_sed_conf_input=`$as_echo "$configure_input" |
22566 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22567 *) ac_sed_conf_input=$configure_input;;
22568 esac
22570 case $ac_tag in
22571 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22572 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22573 esac
22575 esac
22577 ac_dir=`$as_dirname -- "$ac_file" ||
22578 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22579 X"$ac_file" : 'X\(//\)[^/]' \| \
22580 X"$ac_file" : 'X\(//\)$' \| \
22581 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22582 $as_echo X"$ac_file" |
22583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22584 s//\1/
22587 /^X\(\/\/\)[^/].*/{
22588 s//\1/
22591 /^X\(\/\/\)$/{
22592 s//\1/
22595 /^X\(\/\).*/{
22596 s//\1/
22599 s/.*/./; q'`
22600 as_dir="$ac_dir"; as_fn_mkdir_p
22601 ac_builddir=.
22603 case "$ac_dir" in
22604 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22606 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22607 # A ".." for each directory in $ac_dir_suffix.
22608 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22609 case $ac_top_builddir_sub in
22610 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22611 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22612 esac ;;
22613 esac
22614 ac_abs_top_builddir=$ac_pwd
22615 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22616 # for backward compatibility:
22617 ac_top_builddir=$ac_top_build_prefix
22619 case $srcdir in
22620 .) # We are building in place.
22621 ac_srcdir=.
22622 ac_top_srcdir=$ac_top_builddir_sub
22623 ac_abs_top_srcdir=$ac_pwd ;;
22624 [\\/]* | ?:[\\/]* ) # Absolute name.
22625 ac_srcdir=$srcdir$ac_dir_suffix;
22626 ac_top_srcdir=$srcdir
22627 ac_abs_top_srcdir=$srcdir ;;
22628 *) # Relative name.
22629 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22630 ac_top_srcdir=$ac_top_build_prefix$srcdir
22631 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22632 esac
22633 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22636 case $ac_mode in
22639 # CONFIG_FILE
22642 _ACEOF
22644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22645 # If the template does not know about datarootdir, expand it.
22646 # FIXME: This hack should be removed a few years after 2.60.
22647 ac_datarootdir_hack=; ac_datarootdir_seen=
22648 ac_sed_dataroot='
22649 /datarootdir/ {
22653 /@datadir@/p
22654 /@docdir@/p
22655 /@infodir@/p
22656 /@localedir@/p
22657 /@mandir@/p'
22658 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22659 *datarootdir*) ac_datarootdir_seen=yes;;
22660 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22662 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22663 _ACEOF
22664 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22665 ac_datarootdir_hack='
22666 s&@datadir@&$datadir&g
22667 s&@docdir@&$docdir&g
22668 s&@infodir@&$infodir&g
22669 s&@localedir@&$localedir&g
22670 s&@mandir@&$mandir&g
22671 s&\\\${datarootdir}&$datarootdir&g' ;;
22672 esac
22673 _ACEOF
22675 # Neutralize VPATH when `$srcdir' = `.'.
22676 # Shell code in configure.ac might set extrasub.
22677 # FIXME: do we really want to maintain this feature?
22678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22679 ac_sed_extra="$ac_vpsub
22680 $extrasub
22681 _ACEOF
22682 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22684 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22685 s|@configure_input@|$ac_sed_conf_input|;t t
22686 s&@top_builddir@&$ac_top_builddir_sub&;t t
22687 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22688 s&@srcdir@&$ac_srcdir&;t t
22689 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22690 s&@top_srcdir@&$ac_top_srcdir&;t t
22691 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22692 s&@builddir@&$ac_builddir&;t t
22693 s&@abs_builddir@&$ac_abs_builddir&;t t
22694 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22695 $ac_datarootdir_hack
22697 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22698 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22700 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22701 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22702 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22703 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22705 which seems to be undefined. Please make sure it is defined" >&5
22706 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22707 which seems to be undefined. Please make sure it is defined" >&2;}
22709 rm -f "$ac_tmp/stdin"
22710 case $ac_file in
22711 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22712 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22713 esac \
22714 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22718 # CONFIG_HEADER
22720 if test x"$ac_file" != x-; then
22722 $as_echo "/* $configure_input */" \
22723 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22724 } >"$ac_tmp/config.h" \
22725 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22726 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22728 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22729 else
22730 rm -f "$ac_file"
22731 mv "$ac_tmp/config.h" "$ac_file" \
22732 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22734 else
22735 $as_echo "/* $configure_input */" \
22736 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22737 || as_fn_error $? "could not create -" "$LINENO" 5
22742 # CONFIG_LINK
22745 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22747 else
22748 # Prefer the file from the source tree if names are identical.
22749 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22750 ac_source=$srcdir/$ac_source
22753 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22754 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22756 if test ! -r "$ac_source"; then
22757 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22759 rm -f "$ac_file"
22761 # Try a relative symlink, then a hard link, then a copy.
22762 case $ac_source in
22763 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22764 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22765 esac
22766 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22767 ln "$ac_source" "$ac_file" 2>/dev/null ||
22768 cp -p "$ac_source" "$ac_file" ||
22769 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22772 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22773 $as_echo "$as_me: executing $ac_file commands" >&6;}
22775 esac
22778 case $ac_file$ac_mode in
22779 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22780 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22781 "Makefile":C) wine_fn_output_makefile Makefile ;;
22783 esac
22784 done # for ac_tag
22787 as_fn_exit 0
22788 _ACEOF
22789 ac_clean_files=$ac_clean_files_save
22791 test $ac_write_fail = 0 ||
22792 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22795 # configure is writing to config.log, and then calls config.status.
22796 # config.status does its own redirection, appending to config.log.
22797 # Unfortunately, on DOS this fails, as config.log is still kept open
22798 # by configure, so config.status won't be able to write to it; its
22799 # output is simply discarded. So we exec the FD to /dev/null,
22800 # effectively closing config.log, so it can be properly (re)opened and
22801 # appended to by config.status. When coming back to configure, we
22802 # need to make the FD available again.
22803 if test "$no_create" != yes; then
22804 ac_cs_success=:
22805 ac_config_status_args=
22806 test "$silent" = yes &&
22807 ac_config_status_args="$ac_config_status_args --quiet"
22808 exec 5>/dev/null
22809 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22810 exec 5>>config.log
22811 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22812 # would make configure fail if this is the last instruction.
22813 $ac_cs_success || as_fn_exit 1
22815 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22817 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22821 if test "$no_create" = "yes"
22822 then
22823 exit 0
22826 ac_save_IFS="$IFS"
22827 if test "x$wine_notices" != x; then
22828 echo >&6
22829 IFS="|"
22830 for msg in $wine_notices; do
22831 IFS="$ac_save_IFS"
22832 if ${msg:+false} :; then :
22834 else
22835 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22836 $as_echo "$as_me: $msg" >&6;}
22838 done
22840 IFS="|"
22841 for msg in $wine_warnings; do
22842 IFS="$ac_save_IFS"
22843 if ${msg:+false} :; then :
22845 else
22846 echo >&2
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22848 $as_echo "$as_me: WARNING: $msg" >&2;}
22850 done
22851 IFS="$ac_save_IFS"
22853 $as_echo "
22854 $as_me: Finished. Do '${ac_make}' to compile Wine.
22855 " >&6