setupapi: Fix use after free in trace message (Coverity).
[wine.git] / configure
blob9add96280dd7b6528811188f6143df0855adc573
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.6.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='6.6'
584 PACKAGE_STRING='Wine 6.6'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 TOOLSEXT
633 MSVCRTFLAGS
634 EXTRACFLAGS
635 VKD3D_SHADER_LIBS
636 VKD3D_SHADER_CFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JXRLIB_LIBS
650 JXRLIB_CFLAGS
651 JPEG_LIBS
652 JPEG_CFLAGS
653 GSSAPI_LIBS
654 GSSAPI_CFLAGS
655 KRB5_LIBS
656 KRB5_CFLAGS
657 FONTCONFIG_LIBS
658 FONTCONFIG_CFLAGS
659 CUPS_LIBS
660 CUPS_CFLAGS
661 CAPI20_LIBS
662 CAPI20_CFLAGS
663 FAUDIO_LIBS
664 FAUDIO_CFLAGS
665 SDL2_LIBS
666 SDL2_CFLAGS
667 UNWIND_LIBS
668 UNWIND_CFLAGS
669 UDEV_LIBS
670 UDEV_CFLAGS
671 OSS4_LIBS
672 OSS4_CFLAGS
673 ALSA_LIBS
674 GSTREAMER_LIBS
675 GSTREAMER_CFLAGS
676 PULSE_LIBS
677 PULSE_CFLAGS
678 GETTEXTPO_LIBS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 USB_LIBS
689 USB_CFLAGS
690 SANE_LIBS
691 SANE_CFLAGS
692 GNUTLS_LIBS
693 GNUTLS_CFLAGS
694 HAL_LIBS
695 HAL_CFLAGS
696 DBUS_LIBS
697 DBUS_CFLAGS
698 INOTIFY_LIBS
699 INOTIFY_CFLAGS
700 XSLT_LIBS
701 XSLT_CFLAGS
702 XML2_LIBS
703 XML2_CFLAGS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 EXCESS_PRECISION_CFLAGS
712 CROSSDEBUG
713 DELAYLOADFLAG
714 CROSSLDFLAGS
715 EXTRACROSSCFLAGS
716 CROSSCFLAGS
717 CROSSCC
718 CROSSTARGET
719 LIBWINE_DEPENDS
720 PRELINK
721 WINELOADER_DEPENDS
722 LIBWINE_LDFLAGS
723 LIBWINE_SHAREDLIB
724 METAL_LIBS
725 CARBON_LIBS
726 QUICKTIME_LIBS
727 OPENCL_LIBS
728 OPENAL_LIBS
729 COREAUDIO_LIBS
730 SECURITY_LIBS
731 DISKARBITRATION_LIBS
732 SYSTEMCONFIGURATION_LIBS
733 APPKIT_LIBS
734 CORESERVICES_LIBS
735 APPLICATIONSERVICES_LIBS
736 FORCEFEEDBACK_LIBS
737 IOKIT_LIBS
738 COREFOUNDATION_LIBS
739 OBJCPP
740 ac_ct_OBJC
741 OBJCFLAGS
742 OBJC
743 DLLTOOL
744 WINELOADER_PROGRAMS
745 CONFIGURE_TARGETS
746 DISABLED_SUBDIRS
747 SUBDIRS
748 READELF
749 OTOOL
751 WINEPRELOADER_LDFLAGS
752 WINELOADER_LDFLAGS
753 TOP_INSTALL_DEV
754 TOP_INSTALL_LIB
755 LDEXECFLAGS
756 LDDLLFLAGS
757 DLLFLAGS
759 OPENGL_LIBS
760 I386_LIBS
761 ICOTOOL
762 CONVERT
763 RSVG
764 FONTFORGE
765 PKG_CONFIG
766 MSGFMT
767 LDCONFIG
768 EGREP
769 GREP
770 LN_S
771 RANLIB
772 STRIP
773 ac_ct_AR
775 BISON
776 FLEX
777 TOOLSDIR
778 TARGETFLAGS
780 CPPBIN
781 ac_ct_CXX
782 CXXFLAGS
784 OBJEXT
785 EXEEXT
786 ac_ct_CC
787 CPPFLAGS
788 LDFLAGS
789 CFLAGS
791 SET_MAKE
792 host_os
793 host_vendor
794 host_cpu
795 host
796 build_os
797 build_vendor
798 build_cpu
799 build
800 target_alias
801 host_alias
802 build_alias
803 LIBS
804 ECHO_T
805 ECHO_N
806 ECHO_C
807 DEFS
808 mandir
809 localedir
810 libdir
811 psdir
812 pdfdir
813 dvidir
814 htmldir
815 infodir
816 docdir
817 oldincludedir
818 includedir
819 runstatedir
820 localstatedir
821 sharedstatedir
822 sysconfdir
823 datadir
824 datarootdir
825 libexecdir
826 sbindir
827 bindir
828 program_transform_name
829 prefix
830 exec_prefix
831 PACKAGE_URL
832 PACKAGE_BUGREPORT
833 PACKAGE_STRING
834 PACKAGE_VERSION
835 PACKAGE_TARNAME
836 PACKAGE_NAME
837 PATH_SEPARATOR
838 SHELL'
839 ac_subst_files=''
840 ac_user_opts='
841 enable_option_checking
842 enable_win16
843 enable_win64
844 enable_tests
845 enable_build_id
846 enable_maintainer_mode
847 enable_silent_rules
848 enable_werror
849 with_alsa
850 with_capi
851 with_cms
852 with_coreaudio
853 with_cups
854 with_dbus
855 with_faudio
856 with_float_abi
857 with_fontconfig
858 with_freetype
859 with_gettext
860 with_gettextpo
861 with_gphoto
862 with_gnutls
863 with_gsm
864 with_gssapi
865 with_gstreamer
866 with_hal
867 with_inotify
868 with_jpeg
869 with_jxrlib
870 with_krb5
871 with_ldap
872 with_mingw
873 with_mpg123
874 with_netapi
875 with_openal
876 with_opencl
877 with_opengl
878 with_osmesa
879 with_oss
880 with_pcap
881 with_png
882 with_pthread
883 with_pulse
884 with_quicktime
885 with_sane
886 with_sdl
887 with_tiff
888 with_udev
889 with_unwind
890 with_usb
891 with_v4l2
892 with_vkd3d
893 with_vulkan
894 with_xcomposite
895 with_xcursor
896 with_xfixes
897 with_xinerama
898 with_xinput
899 with_xinput2
900 with_xml
901 with_xrandr
902 with_xrender
903 with_xshape
904 with_xshm
905 with_xslt
906 with_xxf86vm
907 with_wine_tools
908 with_wine64
909 enable_largefile
910 with_x
911 enable_acledit
912 enable_aclui
913 enable_activeds_tlb
914 enable_activeds
915 enable_actxprxy
916 enable_adsiid
917 enable_adsldp
918 enable_adsldpc
919 enable_advapi32
920 enable_advpack
921 enable_amsi
922 enable_amstream
923 enable_api_ms_win_appmodel_identity_l1_1_0
924 enable_api_ms_win_appmodel_runtime_l1_1_1
925 enable_api_ms_win_appmodel_runtime_l1_1_2
926 enable_api_ms_win_core_apiquery_l1_1_0
927 enable_api_ms_win_core_appcompat_l1_1_1
928 enable_api_ms_win_core_appinit_l1_1_0
929 enable_api_ms_win_core_atoms_l1_1_0
930 enable_api_ms_win_core_bem_l1_1_0
931 enable_api_ms_win_core_com_l1_1_0
932 enable_api_ms_win_core_com_l1_1_1
933 enable_api_ms_win_core_com_private_l1_1_0
934 enable_api_ms_win_core_comm_l1_1_0
935 enable_api_ms_win_core_console_l1_1_0
936 enable_api_ms_win_core_console_l2_1_0
937 enable_api_ms_win_core_crt_l1_1_0
938 enable_api_ms_win_core_crt_l2_1_0
939 enable_api_ms_win_core_datetime_l1_1_0
940 enable_api_ms_win_core_datetime_l1_1_1
941 enable_api_ms_win_core_debug_l1_1_0
942 enable_api_ms_win_core_debug_l1_1_1
943 enable_api_ms_win_core_delayload_l1_1_0
944 enable_api_ms_win_core_delayload_l1_1_1
945 enable_api_ms_win_core_errorhandling_l1_1_0
946 enable_api_ms_win_core_errorhandling_l1_1_1
947 enable_api_ms_win_core_errorhandling_l1_1_2
948 enable_api_ms_win_core_errorhandling_l1_1_3
949 enable_api_ms_win_core_fibers_l1_1_0
950 enable_api_ms_win_core_fibers_l1_1_1
951 enable_api_ms_win_core_file_ansi_l2_1_0
952 enable_api_ms_win_core_file_fromapp_l1_1_0
953 enable_api_ms_win_core_file_l1_1_0
954 enable_api_ms_win_core_file_l1_2_0
955 enable_api_ms_win_core_file_l1_2_1
956 enable_api_ms_win_core_file_l1_2_2
957 enable_api_ms_win_core_file_l2_1_0
958 enable_api_ms_win_core_file_l2_1_1
959 enable_api_ms_win_core_file_l2_1_2
960 enable_api_ms_win_core_handle_l1_1_0
961 enable_api_ms_win_core_heap_l1_1_0
962 enable_api_ms_win_core_heap_l1_2_0
963 enable_api_ms_win_core_heap_l2_1_0
964 enable_api_ms_win_core_heap_obsolete_l1_1_0
965 enable_api_ms_win_core_interlocked_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_2_0
967 enable_api_ms_win_core_io_l1_1_0
968 enable_api_ms_win_core_io_l1_1_1
969 enable_api_ms_win_core_job_l1_1_0
970 enable_api_ms_win_core_job_l2_1_0
971 enable_api_ms_win_core_kernel32_legacy_l1_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_1
973 enable_api_ms_win_core_kernel32_legacy_l1_1_2
974 enable_api_ms_win_core_kernel32_private_l1_1_1
975 enable_api_ms_win_core_largeinteger_l1_1_0
976 enable_api_ms_win_core_libraryloader_l1_1_0
977 enable_api_ms_win_core_libraryloader_l1_1_1
978 enable_api_ms_win_core_libraryloader_l1_2_0
979 enable_api_ms_win_core_libraryloader_l1_2_1
980 enable_api_ms_win_core_libraryloader_l1_2_2
981 enable_api_ms_win_core_libraryloader_l2_1_0
982 enable_api_ms_win_core_localization_l1_1_0
983 enable_api_ms_win_core_localization_l1_2_0
984 enable_api_ms_win_core_localization_l1_2_1
985 enable_api_ms_win_core_localization_l1_2_2
986 enable_api_ms_win_core_localization_l2_1_0
987 enable_api_ms_win_core_localization_obsolete_l1_1_0
988 enable_api_ms_win_core_localization_obsolete_l1_2_0
989 enable_api_ms_win_core_localization_obsolete_l1_3_0
990 enable_api_ms_win_core_localization_private_l1_1_0
991 enable_api_ms_win_core_localregistry_l1_1_0
992 enable_api_ms_win_core_memory_l1_1_0
993 enable_api_ms_win_core_memory_l1_1_1
994 enable_api_ms_win_core_memory_l1_1_2
995 enable_api_ms_win_core_memory_l1_1_3
996 enable_api_ms_win_core_memory_l1_1_4
997 enable_api_ms_win_core_misc_l1_1_0
998 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
999 enable_api_ms_win_core_namedpipe_l1_1_0
1000 enable_api_ms_win_core_namedpipe_l1_2_0
1001 enable_api_ms_win_core_namespace_l1_1_0
1002 enable_api_ms_win_core_normalization_l1_1_0
1003 enable_api_ms_win_core_path_l1_1_0
1004 enable_api_ms_win_core_privateprofile_l1_1_1
1005 enable_api_ms_win_core_processenvironment_l1_1_0
1006 enable_api_ms_win_core_processenvironment_l1_2_0
1007 enable_api_ms_win_core_processthreads_l1_1_0
1008 enable_api_ms_win_core_processthreads_l1_1_1
1009 enable_api_ms_win_core_processthreads_l1_1_2
1010 enable_api_ms_win_core_processthreads_l1_1_3
1011 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1012 enable_api_ms_win_core_profile_l1_1_0
1013 enable_api_ms_win_core_psapi_ansi_l1_1_0
1014 enable_api_ms_win_core_psapi_l1_1_0
1015 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1016 enable_api_ms_win_core_quirks_l1_1_0
1017 enable_api_ms_win_core_realtime_l1_1_0
1018 enable_api_ms_win_core_registry_l1_1_0
1019 enable_api_ms_win_core_registry_l2_1_0
1020 enable_api_ms_win_core_registry_l2_2_0
1021 enable_api_ms_win_core_registryuserspecific_l1_1_0
1022 enable_api_ms_win_core_rtlsupport_l1_1_0
1023 enable_api_ms_win_core_rtlsupport_l1_2_0
1024 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1025 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1026 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1027 enable_api_ms_win_core_shutdown_l1_1_0
1028 enable_api_ms_win_core_sidebyside_l1_1_0
1029 enable_api_ms_win_core_string_l1_1_0
1030 enable_api_ms_win_core_string_l2_1_0
1031 enable_api_ms_win_core_string_obsolete_l1_1_0
1032 enable_api_ms_win_core_stringansi_l1_1_0
1033 enable_api_ms_win_core_stringloader_l1_1_1
1034 enable_api_ms_win_core_synch_ansi_l1_1_0
1035 enable_api_ms_win_core_synch_l1_1_0
1036 enable_api_ms_win_core_synch_l1_2_0
1037 enable_api_ms_win_core_synch_l1_2_1
1038 enable_api_ms_win_core_sysinfo_l1_1_0
1039 enable_api_ms_win_core_sysinfo_l1_2_0
1040 enable_api_ms_win_core_sysinfo_l1_2_1
1041 enable_api_ms_win_core_systemtopology_l1_1_0
1042 enable_api_ms_win_core_threadpool_l1_1_0
1043 enable_api_ms_win_core_threadpool_l1_2_0
1044 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1045 enable_api_ms_win_core_threadpool_private_l1_1_0
1046 enable_api_ms_win_core_timezone_l1_1_0
1047 enable_api_ms_win_core_toolhelp_l1_1_0
1048 enable_api_ms_win_core_url_l1_1_0
1049 enable_api_ms_win_core_util_l1_1_0
1050 enable_api_ms_win_core_version_l1_1_0
1051 enable_api_ms_win_core_version_l1_1_1
1052 enable_api_ms_win_core_version_private_l1_1_0
1053 enable_api_ms_win_core_versionansi_l1_1_0
1054 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1055 enable_api_ms_win_core_winrt_error_l1_1_0
1056 enable_api_ms_win_core_winrt_error_l1_1_1
1057 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1058 enable_api_ms_win_core_winrt_l1_1_0
1059 enable_api_ms_win_core_winrt_registration_l1_1_0
1060 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1061 enable_api_ms_win_core_winrt_string_l1_1_0
1062 enable_api_ms_win_core_winrt_string_l1_1_1
1063 enable_api_ms_win_core_wow64_l1_1_0
1064 enable_api_ms_win_core_wow64_l1_1_1
1065 enable_api_ms_win_core_xstate_l1_1_0
1066 enable_api_ms_win_core_xstate_l2_1_0
1067 enable_api_ms_win_crt_conio_l1_1_0
1068 enable_api_ms_win_crt_convert_l1_1_0
1069 enable_api_ms_win_crt_environment_l1_1_0
1070 enable_api_ms_win_crt_filesystem_l1_1_0
1071 enable_api_ms_win_crt_heap_l1_1_0
1072 enable_api_ms_win_crt_locale_l1_1_0
1073 enable_api_ms_win_crt_math_l1_1_0
1074 enable_api_ms_win_crt_multibyte_l1_1_0
1075 enable_api_ms_win_crt_private_l1_1_0
1076 enable_api_ms_win_crt_process_l1_1_0
1077 enable_api_ms_win_crt_runtime_l1_1_0
1078 enable_api_ms_win_crt_stdio_l1_1_0
1079 enable_api_ms_win_crt_string_l1_1_0
1080 enable_api_ms_win_crt_time_l1_1_0
1081 enable_api_ms_win_crt_utility_l1_1_0
1082 enable_api_ms_win_devices_config_l1_1_0
1083 enable_api_ms_win_devices_config_l1_1_1
1084 enable_api_ms_win_devices_query_l1_1_1
1085 enable_api_ms_win_downlevel_advapi32_l1_1_0
1086 enable_api_ms_win_downlevel_advapi32_l2_1_0
1087 enable_api_ms_win_downlevel_kernel32_l2_1_0
1088 enable_api_ms_win_downlevel_normaliz_l1_1_0
1089 enable_api_ms_win_downlevel_ole32_l1_1_0
1090 enable_api_ms_win_downlevel_shell32_l1_1_0
1091 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1092 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1093 enable_api_ms_win_downlevel_user32_l1_1_0
1094 enable_api_ms_win_downlevel_version_l1_1_0
1095 enable_api_ms_win_dx_d3dkmt_l1_1_0
1096 enable_api_ms_win_eventing_classicprovider_l1_1_0
1097 enable_api_ms_win_eventing_consumer_l1_1_0
1098 enable_api_ms_win_eventing_controller_l1_1_0
1099 enable_api_ms_win_eventing_legacy_l1_1_0
1100 enable_api_ms_win_eventing_provider_l1_1_0
1101 enable_api_ms_win_eventlog_legacy_l1_1_0
1102 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1103 enable_api_ms_win_mm_joystick_l1_1_0
1104 enable_api_ms_win_mm_misc_l1_1_1
1105 enable_api_ms_win_mm_mme_l1_1_0
1106 enable_api_ms_win_mm_time_l1_1_0
1107 enable_api_ms_win_ntuser_dc_access_l1_1_0
1108 enable_api_ms_win_ntuser_rectangle_l1_1_0
1109 enable_api_ms_win_ntuser_sysparams_l1_1_0
1110 enable_api_ms_win_perf_legacy_l1_1_0
1111 enable_api_ms_win_power_base_l1_1_0
1112 enable_api_ms_win_power_setting_l1_1_0
1113 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1114 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1116 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1118 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1120 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1121 enable_api_ms_win_security_audit_l1_1_1
1122 enable_api_ms_win_security_base_l1_1_0
1123 enable_api_ms_win_security_base_l1_2_0
1124 enable_api_ms_win_security_base_private_l1_1_1
1125 enable_api_ms_win_security_credentials_l1_1_0
1126 enable_api_ms_win_security_cryptoapi_l1_1_0
1127 enable_api_ms_win_security_grouppolicy_l1_1_0
1128 enable_api_ms_win_security_lsalookup_l1_1_0
1129 enable_api_ms_win_security_lsalookup_l1_1_1
1130 enable_api_ms_win_security_lsalookup_l2_1_0
1131 enable_api_ms_win_security_lsalookup_l2_1_1
1132 enable_api_ms_win_security_lsapolicy_l1_1_0
1133 enable_api_ms_win_security_provider_l1_1_0
1134 enable_api_ms_win_security_sddl_l1_1_0
1135 enable_api_ms_win_security_systemfunctions_l1_1_0
1136 enable_api_ms_win_service_core_l1_1_0
1137 enable_api_ms_win_service_core_l1_1_1
1138 enable_api_ms_win_service_management_l1_1_0
1139 enable_api_ms_win_service_management_l2_1_0
1140 enable_api_ms_win_service_private_l1_1_1
1141 enable_api_ms_win_service_winsvc_l1_1_0
1142 enable_api_ms_win_service_winsvc_l1_2_0
1143 enable_api_ms_win_shcore_obsolete_l1_1_0
1144 enable_api_ms_win_shcore_scaling_l1_1_0
1145 enable_api_ms_win_shcore_scaling_l1_1_1
1146 enable_api_ms_win_shcore_stream_l1_1_0
1147 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1148 enable_api_ms_win_shcore_thread_l1_1_0
1149 enable_api_ms_win_shell_shellcom_l1_1_0
1150 enable_api_ms_win_shell_shellfolders_l1_1_0
1151 enable_apphelp
1152 enable_appwiz_cpl
1153 enable_atl
1154 enable_atl100
1155 enable_atl110
1156 enable_atl80
1157 enable_atl90
1158 enable_atlthunk
1159 enable_atmlib
1160 enable_authz
1161 enable_avicap32
1162 enable_avifil32
1163 enable_avrt
1164 enable_bcrypt
1165 enable_bluetoothapis
1166 enable_browseui
1167 enable_bthprops_cpl
1168 enable_cabinet
1169 enable_capi2032
1170 enable_cards
1171 enable_cdosys
1172 enable_cfgmgr32
1173 enable_clusapi
1174 enable_combase
1175 enable_comcat
1176 enable_comctl32
1177 enable_comdlg32
1178 enable_compstui
1179 enable_comsvcs
1180 enable_concrt140
1181 enable_connect
1182 enable_credui
1183 enable_crtdll
1184 enable_crypt32
1185 enable_cryptdlg
1186 enable_cryptdll
1187 enable_cryptext
1188 enable_cryptnet
1189 enable_cryptsp
1190 enable_cryptui
1191 enable_ctapi32
1192 enable_ctl3d32
1193 enable_d2d1
1194 enable_d3d10
1195 enable_d3d10_1
1196 enable_d3d10core
1197 enable_d3d11
1198 enable_d3d12
1199 enable_d3d8
1200 enable_d3d8thk
1201 enable_d3d9
1202 enable_d3dcompiler_33
1203 enable_d3dcompiler_34
1204 enable_d3dcompiler_35
1205 enable_d3dcompiler_36
1206 enable_d3dcompiler_37
1207 enable_d3dcompiler_38
1208 enable_d3dcompiler_39
1209 enable_d3dcompiler_40
1210 enable_d3dcompiler_41
1211 enable_d3dcompiler_42
1212 enable_d3dcompiler_43
1213 enable_d3dcompiler_46
1214 enable_d3dcompiler_47
1215 enable_d3dim
1216 enable_d3dim700
1217 enable_d3drm
1218 enable_d3dx10_33
1219 enable_d3dx10_34
1220 enable_d3dx10_35
1221 enable_d3dx10_36
1222 enable_d3dx10_37
1223 enable_d3dx10_38
1224 enable_d3dx10_39
1225 enable_d3dx10_40
1226 enable_d3dx10_41
1227 enable_d3dx10_42
1228 enable_d3dx10_43
1229 enable_d3dx11_42
1230 enable_d3dx11_43
1231 enable_d3dx9_24
1232 enable_d3dx9_25
1233 enable_d3dx9_26
1234 enable_d3dx9_27
1235 enable_d3dx9_28
1236 enable_d3dx9_29
1237 enable_d3dx9_30
1238 enable_d3dx9_31
1239 enable_d3dx9_32
1240 enable_d3dx9_33
1241 enable_d3dx9_34
1242 enable_d3dx9_35
1243 enable_d3dx9_36
1244 enable_d3dx9_37
1245 enable_d3dx9_38
1246 enable_d3dx9_39
1247 enable_d3dx9_40
1248 enable_d3dx9_41
1249 enable_d3dx9_42
1250 enable_d3dx9_43
1251 enable_d3dxof
1252 enable_davclnt
1253 enable_dbgeng
1254 enable_dbghelp
1255 enable_dciman32
1256 enable_dcomp
1257 enable_ddraw
1258 enable_ddrawex
1259 enable_devenum
1260 enable_dhcpcsvc
1261 enable_dhtmled_ocx
1262 enable_difxapi
1263 enable_dinput
1264 enable_dinput8
1265 enable_directmanipulation
1266 enable_dispex
1267 enable_dmband
1268 enable_dmcompos
1269 enable_dmime
1270 enable_dmloader
1271 enable_dmoguids
1272 enable_dmscript
1273 enable_dmstyle
1274 enable_dmsynth
1275 enable_dmusic
1276 enable_dmusic32
1277 enable_dnsapi
1278 enable_dplay
1279 enable_dplayx
1280 enable_dpnaddr
1281 enable_dpnet
1282 enable_dpnhpast
1283 enable_dpnlobby
1284 enable_dpvoice
1285 enable_dpwsockx
1286 enable_drmclien
1287 enable_dsdmo
1288 enable_dsound
1289 enable_dsquery
1290 enable_dssenh
1291 enable_dsuiext
1292 enable_dswave
1293 enable_dwmapi
1294 enable_dwrite
1295 enable_dx8vb
1296 enable_dxdiagn
1297 enable_dxerr8
1298 enable_dxerr9
1299 enable_dxgi
1300 enable_dxguid
1301 enable_dxva2
1302 enable_esent
1303 enable_evr
1304 enable_explorerframe
1305 enable_ext_ms_win_authz_context_l1_1_0
1306 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1307 enable_ext_ms_win_dwmapi_ext_l1_1_0
1308 enable_ext_ms_win_gdi_dc_create_l1_1_0
1309 enable_ext_ms_win_gdi_dc_create_l1_1_1
1310 enable_ext_ms_win_gdi_dc_l1_2_0
1311 enable_ext_ms_win_gdi_devcaps_l1_1_0
1312 enable_ext_ms_win_gdi_draw_l1_1_0
1313 enable_ext_ms_win_gdi_draw_l1_1_1
1314 enable_ext_ms_win_gdi_font_l1_1_0
1315 enable_ext_ms_win_gdi_font_l1_1_1
1316 enable_ext_ms_win_gdi_render_l1_1_0
1317 enable_ext_ms_win_kernel32_package_current_l1_1_0
1318 enable_ext_ms_win_kernel32_package_l1_1_1
1319 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1320 enable_ext_ms_win_ntuser_draw_l1_1_0
1321 enable_ext_ms_win_ntuser_gui_l1_1_0
1322 enable_ext_ms_win_ntuser_gui_l1_3_0
1323 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1324 enable_ext_ms_win_ntuser_message_l1_1_0
1325 enable_ext_ms_win_ntuser_message_l1_1_1
1326 enable_ext_ms_win_ntuser_misc_l1_1_0
1327 enable_ext_ms_win_ntuser_misc_l1_2_0
1328 enable_ext_ms_win_ntuser_misc_l1_5_1
1329 enable_ext_ms_win_ntuser_mouse_l1_1_0
1330 enable_ext_ms_win_ntuser_private_l1_1_1
1331 enable_ext_ms_win_ntuser_private_l1_3_1
1332 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1333 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1334 enable_ext_ms_win_ntuser_window_l1_1_0
1335 enable_ext_ms_win_ntuser_window_l1_1_1
1336 enable_ext_ms_win_ntuser_window_l1_1_4
1337 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1338 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1339 enable_ext_ms_win_oleacc_l1_1_0
1340 enable_ext_ms_win_ras_rasapi32_l1_1_0
1341 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1342 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1343 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1344 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1345 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1346 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1348 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1350 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1351 enable_ext_ms_win_security_credui_l1_1_0
1352 enable_ext_ms_win_security_cryptui_l1_1_0
1353 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1354 enable_ext_ms_win_shell_comdlg32_l1_1_0
1355 enable_ext_ms_win_shell_shell32_l1_2_0
1356 enable_ext_ms_win_uxtheme_themes_l1_1_0
1357 enable_faultrep
1358 enable_feclient
1359 enable_fltlib
1360 enable_fltmgr_sys
1361 enable_fntcache
1362 enable_fontsub
1363 enable_fusion
1364 enable_fwpuclnt
1365 enable_gameux
1366 enable_gdi32
1367 enable_gdiplus
1368 enable_glu32
1369 enable_gphoto2_ds
1370 enable_gpkcsp
1371 enable_hal
1372 enable_hhctrl_ocx
1373 enable_hid
1374 enable_hidclass_sys
1375 enable_hlink
1376 enable_hnetcfg
1377 enable_http_sys
1378 enable_httpapi
1379 enable_iccvid
1380 enable_icmp
1381 enable_ieframe
1382 enable_ieproxy
1383 enable_imaadp32_acm
1384 enable_imagehlp
1385 enable_imm32
1386 enable_inetcomm
1387 enable_inetcpl_cpl
1388 enable_inetmib1
1389 enable_infosoft
1390 enable_initpki
1391 enable_inkobj
1392 enable_inseng
1393 enable_iphlpapi
1394 enable_iprop
1395 enable_irprops_cpl
1396 enable_itircl
1397 enable_itss
1398 enable_joy_cpl
1399 enable_jscript
1400 enable_jsproxy
1401 enable_kerberos
1402 enable_kernel32
1403 enable_kernelbase
1404 enable_ksecdd_sys
1405 enable_ksproxy_ax
1406 enable_ksuser
1407 enable_ktmw32
1408 enable_l3codeca_acm
1409 enable_loadperf
1410 enable_localspl
1411 enable_localui
1412 enable_lz32
1413 enable_mapi32
1414 enable_mapistub
1415 enable_mciavi32
1416 enable_mcicda
1417 enable_mciqtz32
1418 enable_mciseq
1419 enable_mciwave
1420 enable_mf
1421 enable_mf3216
1422 enable_mferror
1423 enable_mfmediaengine
1424 enable_mfplat
1425 enable_mfplay
1426 enable_mfreadwrite
1427 enable_mfuuid
1428 enable_mgmtapi
1429 enable_midimap
1430 enable_mlang
1431 enable_mmcndmgr
1432 enable_mmdevapi
1433 enable_mountmgr_sys
1434 enable_mp3dmod
1435 enable_mpr
1436 enable_mprapi
1437 enable_msacm32_drv
1438 enable_msacm32
1439 enable_msado15
1440 enable_msadp32_acm
1441 enable_msasn1
1442 enable_mscat32
1443 enable_mscms
1444 enable_mscoree
1445 enable_mscorwks
1446 enable_msctf
1447 enable_msctfp
1448 enable_msdaps
1449 enable_msdelta
1450 enable_msdmo
1451 enable_msdrm
1452 enable_msftedit
1453 enable_msg711_acm
1454 enable_msgsm32_acm
1455 enable_mshtml_tlb
1456 enable_mshtml
1457 enable_msi
1458 enable_msident
1459 enable_msimg32
1460 enable_msimsg
1461 enable_msimtf
1462 enable_msisip
1463 enable_msisys_ocx
1464 enable_msls31
1465 enable_msnet32
1466 enable_mspatcha
1467 enable_msports
1468 enable_msrle32
1469 enable_msscript_ocx
1470 enable_mssign32
1471 enable_mssip32
1472 enable_mstask
1473 enable_msvcirt
1474 enable_msvcm80
1475 enable_msvcm90
1476 enable_msvcp100
1477 enable_msvcp110
1478 enable_msvcp120
1479 enable_msvcp120_app
1480 enable_msvcp140
1481 enable_msvcp140_1
1482 enable_msvcp60
1483 enable_msvcp70
1484 enable_msvcp71
1485 enable_msvcp80
1486 enable_msvcp90
1487 enable_msvcr100
1488 enable_msvcr110
1489 enable_msvcr120
1490 enable_msvcr120_app
1491 enable_msvcr70
1492 enable_msvcr71
1493 enable_msvcr80
1494 enable_msvcr90
1495 enable_msvcrt
1496 enable_msvcrt20
1497 enable_msvcrt40
1498 enable_msvcrtd
1499 enable_msvfw32
1500 enable_msvidc32
1501 enable_mswsock
1502 enable_msxml
1503 enable_msxml2
1504 enable_msxml3
1505 enable_msxml4
1506 enable_msxml6
1507 enable_mtxdm
1508 enable_ncrypt
1509 enable_nddeapi
1510 enable_ndis_sys
1511 enable_netapi32
1512 enable_netcfgx
1513 enable_netio_sys
1514 enable_netprofm
1515 enable_netutils
1516 enable_newdev
1517 enable_ninput
1518 enable_normaliz
1519 enable_npmshtml
1520 enable_npptools
1521 enable_ntdll
1522 enable_ntdsapi
1523 enable_ntoskrnl_exe
1524 enable_ntprint
1525 enable_objsel
1526 enable_odbc32
1527 enable_odbcbcp
1528 enable_odbccp32
1529 enable_odbccu32
1530 enable_ole32
1531 enable_oleacc
1532 enable_oleaut32
1533 enable_olecli32
1534 enable_oledb32
1535 enable_oledlg
1536 enable_olepro32
1537 enable_olesvr32
1538 enable_olethk32
1539 enable_opcservices
1540 enable_openal32
1541 enable_opencl
1542 enable_opengl32
1543 enable_packager
1544 enable_pdh
1545 enable_photometadatahandler
1546 enable_pidgen
1547 enable_powrprof
1548 enable_printui
1549 enable_prntvpt
1550 enable_propsys
1551 enable_psapi
1552 enable_pstorec
1553 enable_pwrshplugin
1554 enable_qasf
1555 enable_qcap
1556 enable_qdvd
1557 enable_qedit
1558 enable_qmgr
1559 enable_qmgrprxy
1560 enable_quartz
1561 enable_query
1562 enable_qwave
1563 enable_rasapi32
1564 enable_rasdlg
1565 enable_regapi
1566 enable_resutils
1567 enable_riched20
1568 enable_riched32
1569 enable_rpcrt4
1570 enable_rsabase
1571 enable_rsaenh
1572 enable_rstrtmgr
1573 enable_rtutils
1574 enable_rtworkq
1575 enable_samlib
1576 enable_sane_ds
1577 enable_sapi
1578 enable_sas
1579 enable_scarddlg
1580 enable_sccbase
1581 enable_schannel
1582 enable_schedsvc
1583 enable_scrobj
1584 enable_scrrun
1585 enable_scsiport_sys
1586 enable_sechost
1587 enable_secur32
1588 enable_security
1589 enable_sensapi
1590 enable_serialui
1591 enable_setupapi
1592 enable_sfc
1593 enable_sfc_os
1594 enable_shcore
1595 enable_shdoclc
1596 enable_shdocvw
1597 enable_shell32
1598 enable_shfolder
1599 enable_shlwapi
1600 enable_slbcsp
1601 enable_slc
1602 enable_snmpapi
1603 enable_softpub
1604 enable_spoolss
1605 enable_srclient
1606 enable_srvcli
1607 enable_sspicli
1608 enable_stdole2_tlb
1609 enable_stdole32_tlb
1610 enable_sti
1611 enable_strmbase
1612 enable_strmdll
1613 enable_strmiids
1614 enable_svrapi
1615 enable_sxs
1616 enable_t2embed
1617 enable_tapi32
1618 enable_taskschd
1619 enable_tdh
1620 enable_tdi_sys
1621 enable_traffic
1622 enable_twain_32
1623 enable_tzres
1624 enable_ucrtbase
1625 enable_uianimation
1626 enable_uiautomationcore
1627 enable_uiribbon
1628 enable_unicows
1629 enable_updspapi
1630 enable_url
1631 enable_urlmon
1632 enable_usbd_sys
1633 enable_user32
1634 enable_userenv
1635 enable_usp10
1636 enable_utildll
1637 enable_uuid
1638 enable_uxtheme
1639 enable_vbscript
1640 enable_vcomp
1641 enable_vcomp100
1642 enable_vcomp110
1643 enable_vcomp120
1644 enable_vcomp140
1645 enable_vcomp90
1646 enable_vcruntime140
1647 enable_vcruntime140_1
1648 enable_vdmdbg
1649 enable_version
1650 enable_vga
1651 enable_virtdisk
1652 enable_vssapi
1653 enable_vulkan_1
1654 enable_wbemdisp
1655 enable_wbemprox
1656 enable_wbemuuid
1657 enable_wdscore
1658 enable_webservices
1659 enable_websocket
1660 enable_wer
1661 enable_wevtapi
1662 enable_wevtsvc
1663 enable_wiaservc
1664 enable_wimgapi
1665 enable_windows_gaming_input
1666 enable_windows_globalization
1667 enable_windows_media_speech
1668 enable_windowscodecs
1669 enable_windowscodecsext
1670 enable_winealsa_drv
1671 enable_wineandroid_drv
1672 enable_winebus_sys
1673 enable_winecoreaudio_drv
1674 enable_winecrt0
1675 enable_wined3d
1676 enable_winegstreamer
1677 enable_winehid_sys
1678 enable_winejoystick_drv
1679 enable_winemac_drv
1680 enable_winemapi
1681 enable_wineoss_drv
1682 enable_wineps_drv
1683 enable_winepulse_drv
1684 enable_wineqtdecoder
1685 enable_wineusb_sys
1686 enable_winevulkan
1687 enable_winex11_drv
1688 enable_wing32
1689 enable_winhttp
1690 enable_wininet
1691 enable_winmm
1692 enable_winnls32
1693 enable_winscard
1694 enable_winspool_drv
1695 enable_winsta
1696 enable_wintab32
1697 enable_wintrust
1698 enable_winusb
1699 enable_wlanapi
1700 enable_wlanui
1701 enable_wldap32
1702 enable_wmasf
1703 enable_wmcodecdspuuid
1704 enable_wmi
1705 enable_wmiutils
1706 enable_wmp
1707 enable_wmphoto
1708 enable_wmvcore
1709 enable_wnaspi32
1710 enable_wow64cpu
1711 enable_wpc
1712 enable_wpcap
1713 enable_ws2_32
1714 enable_wsdapi
1715 enable_wshom_ocx
1716 enable_wsnmp32
1717 enable_wsock32
1718 enable_wtsapi32
1719 enable_wuapi
1720 enable_wuaueng
1721 enable_x3daudio1_0
1722 enable_x3daudio1_1
1723 enable_x3daudio1_2
1724 enable_x3daudio1_3
1725 enable_x3daudio1_4
1726 enable_x3daudio1_5
1727 enable_x3daudio1_6
1728 enable_x3daudio1_7
1729 enable_xactengine3_0
1730 enable_xactengine3_1
1731 enable_xactengine3_2
1732 enable_xactengine3_3
1733 enable_xactengine3_4
1734 enable_xactengine3_5
1735 enable_xactengine3_6
1736 enable_xactengine3_7
1737 enable_xapofx1_1
1738 enable_xapofx1_2
1739 enable_xapofx1_3
1740 enable_xapofx1_4
1741 enable_xapofx1_5
1742 enable_xaudio2_0
1743 enable_xaudio2_1
1744 enable_xaudio2_2
1745 enable_xaudio2_3
1746 enable_xaudio2_4
1747 enable_xaudio2_5
1748 enable_xaudio2_6
1749 enable_xaudio2_7
1750 enable_xaudio2_8
1751 enable_xaudio2_9
1752 enable_xinput1_1
1753 enable_xinput1_2
1754 enable_xinput1_3
1755 enable_xinput1_4
1756 enable_xinput9_1_0
1757 enable_xmllite
1758 enable_xolehlp
1759 enable_xpsprint
1760 enable_xpssvcs
1761 enable_fonts
1762 enable_include
1763 enable_port
1764 enable_wine
1765 enable_wpp
1766 enable_loader
1767 enable_nls
1768 enable_po
1769 enable_arp
1770 enable_aspnet_regiis
1771 enable_attrib
1772 enable_cabarc
1773 enable_cacls
1774 enable_chcp_com
1775 enable_clock
1776 enable_cmd
1777 enable_conhost
1778 enable_control
1779 enable_cscript
1780 enable_dism
1781 enable_dplaysvr
1782 enable_dpnsvr
1783 enable_dpvsetup
1784 enable_dxdiag
1785 enable_eject
1786 enable_expand
1787 enable_explorer
1788 enable_extrac32
1789 enable_fc
1790 enable_find
1791 enable_findstr
1792 enable_fsutil
1793 enable_hh
1794 enable_hostname
1795 enable_icacls
1796 enable_icinfo
1797 enable_iexplore
1798 enable_ipconfig
1799 enable_lodctr
1800 enable_mofcomp
1801 enable_mshta
1802 enable_msidb
1803 enable_msiexec
1804 enable_msinfo32
1805 enable_net
1806 enable_netsh
1807 enable_netstat
1808 enable_ngen
1809 enable_notepad
1810 enable_oleview
1811 enable_ping
1812 enable_plugplay
1813 enable_powershell
1814 enable_presentationfontcache
1815 enable_progman
1816 enable_reg
1817 enable_regasm
1818 enable_regedit
1819 enable_regini
1820 enable_regsvcs
1821 enable_regsvr32
1822 enable_rpcss
1823 enable_rundll32
1824 enable_sc
1825 enable_schtasks
1826 enable_sdbinst
1827 enable_secedit
1828 enable_servicemodelreg
1829 enable_services
1830 enable_shutdown
1831 enable_spoolsv
1832 enable_start
1833 enable_subst
1834 enable_svchost
1835 enable_systeminfo
1836 enable_taskkill
1837 enable_tasklist
1838 enable_taskmgr
1839 enable_termsv
1840 enable_uninstaller
1841 enable_unlodctr
1842 enable_view
1843 enable_wevtutil
1844 enable_where
1845 enable_whoami
1846 enable_wineboot
1847 enable_winebrowser
1848 enable_winecfg
1849 enable_wineconsole
1850 enable_winedbg
1851 enable_winedevice
1852 enable_winefile
1853 enable_winemenubuilder
1854 enable_winemine
1855 enable_winemsibuilder
1856 enable_winepath
1857 enable_winetest
1858 enable_winhlp32
1859 enable_winmgmt
1860 enable_winver
1861 enable_wmic
1862 enable_wmplayer
1863 enable_wordpad
1864 enable_write
1865 enable_wscript
1866 enable_wuauserv
1867 enable_wusa
1868 enable_xcopy
1869 enable_server
1870 enable_tools
1871 enable_sfnt2fon
1872 enable_widl
1873 enable_winebuild
1874 enable_winedump
1875 enable_winegcc
1876 enable_winemaker
1877 enable_wmc
1878 enable_wrc
1880 ac_precious_vars='build_alias
1881 host_alias
1882 target_alias
1884 CFLAGS
1885 LDFLAGS
1886 LIBS
1887 CPPFLAGS
1889 CXXFLAGS
1892 OBJC
1893 OBJCFLAGS
1894 OBJCPP
1895 XMKMF
1896 XML2_CFLAGS
1897 XML2_LIBS
1898 XSLT_CFLAGS
1899 XSLT_LIBS
1900 INOTIFY_CFLAGS
1901 INOTIFY_LIBS
1902 DBUS_CFLAGS
1903 DBUS_LIBS
1904 HAL_CFLAGS
1905 HAL_LIBS
1906 GNUTLS_CFLAGS
1907 GNUTLS_LIBS
1908 SANE_CFLAGS
1909 SANE_LIBS
1910 USB_CFLAGS
1911 USB_LIBS
1912 GPHOTO2_CFLAGS
1913 GPHOTO2_LIBS
1914 GPHOTO2_PORT_CFLAGS
1915 GPHOTO2_PORT_LIBS
1916 LCMS2_CFLAGS
1917 LCMS2_LIBS
1918 FREETYPE_CFLAGS
1919 FREETYPE_LIBS
1920 PULSE_CFLAGS
1921 PULSE_LIBS
1922 GSTREAMER_CFLAGS
1923 GSTREAMER_LIBS
1924 UDEV_CFLAGS
1925 UDEV_LIBS
1926 UNWIND_CFLAGS
1927 UNWIND_LIBS
1928 SDL2_CFLAGS
1929 SDL2_LIBS
1930 FAUDIO_CFLAGS
1931 FAUDIO_LIBS
1932 CAPI20_CFLAGS
1933 CAPI20_LIBS
1934 CUPS_CFLAGS
1935 CUPS_LIBS
1936 FONTCONFIG_CFLAGS
1937 FONTCONFIG_LIBS
1938 KRB5_CFLAGS
1939 KRB5_LIBS
1940 GSSAPI_CFLAGS
1941 GSSAPI_LIBS
1942 JPEG_CFLAGS
1943 JPEG_LIBS
1944 JXRLIB_CFLAGS
1945 JXRLIB_LIBS
1946 PNG_CFLAGS
1947 PNG_LIBS
1948 TIFF_CFLAGS
1949 TIFF_LIBS
1950 MPG123_CFLAGS
1951 MPG123_LIBS
1952 NETAPI_CFLAGS
1953 NETAPI_LIBS
1954 VKD3D_CFLAGS
1955 VKD3D_LIBS
1956 VKD3D_SHADER_CFLAGS
1957 VKD3D_SHADER_LIBS
1958 LDAP_CFLAGS
1959 LDAP_LIBS'
1962 # Initialize some variables set by options.
1963 ac_init_help=
1964 ac_init_version=false
1965 ac_unrecognized_opts=
1966 ac_unrecognized_sep=
1967 # The variables have the same names as the options, with
1968 # dashes changed to underlines.
1969 cache_file=/dev/null
1970 exec_prefix=NONE
1971 no_create=
1972 no_recursion=
1973 prefix=NONE
1974 program_prefix=NONE
1975 program_suffix=NONE
1976 program_transform_name=s,x,x,
1977 silent=
1978 site=
1979 srcdir=
1980 verbose=
1981 x_includes=NONE
1982 x_libraries=NONE
1984 # Installation directory options.
1985 # These are left unexpanded so users can "make install exec_prefix=/foo"
1986 # and all the variables that are supposed to be based on exec_prefix
1987 # by default will actually change.
1988 # Use braces instead of parens because sh, perl, etc. also accept them.
1989 # (The list follows the same order as the GNU Coding Standards.)
1990 bindir='${exec_prefix}/bin'
1991 sbindir='${exec_prefix}/sbin'
1992 libexecdir='${exec_prefix}/libexec'
1993 datarootdir='${prefix}/share'
1994 datadir='${datarootdir}'
1995 sysconfdir='${prefix}/etc'
1996 sharedstatedir='${prefix}/com'
1997 localstatedir='${prefix}/var'
1998 runstatedir='${localstatedir}/run'
1999 includedir='${prefix}/include'
2000 oldincludedir='/usr/include'
2001 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2002 infodir='${datarootdir}/info'
2003 htmldir='${docdir}'
2004 dvidir='${docdir}'
2005 pdfdir='${docdir}'
2006 psdir='${docdir}'
2007 libdir='${exec_prefix}/lib'
2008 localedir='${datarootdir}/locale'
2009 mandir='${datarootdir}/man'
2011 ac_prev=
2012 ac_dashdash=
2013 for ac_option
2015 # If the previous option needs an argument, assign it.
2016 if test -n "$ac_prev"; then
2017 eval $ac_prev=\$ac_option
2018 ac_prev=
2019 continue
2022 case $ac_option in
2023 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2024 *=) ac_optarg= ;;
2025 *) ac_optarg=yes ;;
2026 esac
2028 # Accept the important Cygnus configure options, so we can diagnose typos.
2030 case $ac_dashdash$ac_option in
2032 ac_dashdash=yes ;;
2034 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2035 ac_prev=bindir ;;
2036 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2037 bindir=$ac_optarg ;;
2039 -build | --build | --buil | --bui | --bu)
2040 ac_prev=build_alias ;;
2041 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2042 build_alias=$ac_optarg ;;
2044 -cache-file | --cache-file | --cache-fil | --cache-fi \
2045 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2046 ac_prev=cache_file ;;
2047 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2048 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2049 cache_file=$ac_optarg ;;
2051 --config-cache | -C)
2052 cache_file=config.cache ;;
2054 -datadir | --datadir | --datadi | --datad)
2055 ac_prev=datadir ;;
2056 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2057 datadir=$ac_optarg ;;
2059 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2060 | --dataroo | --dataro | --datar)
2061 ac_prev=datarootdir ;;
2062 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2063 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2064 datarootdir=$ac_optarg ;;
2066 -disable-* | --disable-*)
2067 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2068 # Reject names that are not valid shell variable names.
2069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2070 as_fn_error $? "invalid feature name: $ac_useropt"
2071 ac_useropt_orig=$ac_useropt
2072 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2073 case $ac_user_opts in
2075 "enable_$ac_useropt"
2076 "*) ;;
2077 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2078 ac_unrecognized_sep=', ';;
2079 esac
2080 eval enable_$ac_useropt=no ;;
2082 -docdir | --docdir | --docdi | --doc | --do)
2083 ac_prev=docdir ;;
2084 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2085 docdir=$ac_optarg ;;
2087 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2088 ac_prev=dvidir ;;
2089 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2090 dvidir=$ac_optarg ;;
2092 -enable-* | --enable-*)
2093 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2094 # Reject names that are not valid shell variable names.
2095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2096 as_fn_error $? "invalid feature name: $ac_useropt"
2097 ac_useropt_orig=$ac_useropt
2098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2099 case $ac_user_opts in
2101 "enable_$ac_useropt"
2102 "*) ;;
2103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2104 ac_unrecognized_sep=', ';;
2105 esac
2106 eval enable_$ac_useropt=\$ac_optarg ;;
2108 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2109 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2110 | --exec | --exe | --ex)
2111 ac_prev=exec_prefix ;;
2112 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2113 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2114 | --exec=* | --exe=* | --ex=*)
2115 exec_prefix=$ac_optarg ;;
2117 -gas | --gas | --ga | --g)
2118 # Obsolete; use --with-gas.
2119 with_gas=yes ;;
2121 -help | --help | --hel | --he | -h)
2122 ac_init_help=long ;;
2123 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2124 ac_init_help=recursive ;;
2125 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2126 ac_init_help=short ;;
2128 -host | --host | --hos | --ho)
2129 ac_prev=host_alias ;;
2130 -host=* | --host=* | --hos=* | --ho=*)
2131 host_alias=$ac_optarg ;;
2133 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2134 ac_prev=htmldir ;;
2135 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2136 | --ht=*)
2137 htmldir=$ac_optarg ;;
2139 -includedir | --includedir | --includedi | --included | --include \
2140 | --includ | --inclu | --incl | --inc)
2141 ac_prev=includedir ;;
2142 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2143 | --includ=* | --inclu=* | --incl=* | --inc=*)
2144 includedir=$ac_optarg ;;
2146 -infodir | --infodir | --infodi | --infod | --info | --inf)
2147 ac_prev=infodir ;;
2148 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2149 infodir=$ac_optarg ;;
2151 -libdir | --libdir | --libdi | --libd)
2152 ac_prev=libdir ;;
2153 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2154 libdir=$ac_optarg ;;
2156 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2157 | --libexe | --libex | --libe)
2158 ac_prev=libexecdir ;;
2159 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2160 | --libexe=* | --libex=* | --libe=*)
2161 libexecdir=$ac_optarg ;;
2163 -localedir | --localedir | --localedi | --localed | --locale)
2164 ac_prev=localedir ;;
2165 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2166 localedir=$ac_optarg ;;
2168 -localstatedir | --localstatedir | --localstatedi | --localstated \
2169 | --localstate | --localstat | --localsta | --localst | --locals)
2170 ac_prev=localstatedir ;;
2171 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2172 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2173 localstatedir=$ac_optarg ;;
2175 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2176 ac_prev=mandir ;;
2177 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2178 mandir=$ac_optarg ;;
2180 -nfp | --nfp | --nf)
2181 # Obsolete; use --without-fp.
2182 with_fp=no ;;
2184 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2185 | --no-cr | --no-c | -n)
2186 no_create=yes ;;
2188 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2189 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2190 no_recursion=yes ;;
2192 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2193 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2194 | --oldin | --oldi | --old | --ol | --o)
2195 ac_prev=oldincludedir ;;
2196 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2197 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2198 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2199 oldincludedir=$ac_optarg ;;
2201 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2202 ac_prev=prefix ;;
2203 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2204 prefix=$ac_optarg ;;
2206 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2207 | --program-pre | --program-pr | --program-p)
2208 ac_prev=program_prefix ;;
2209 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2210 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2211 program_prefix=$ac_optarg ;;
2213 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2214 | --program-suf | --program-su | --program-s)
2215 ac_prev=program_suffix ;;
2216 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2217 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2218 program_suffix=$ac_optarg ;;
2220 -program-transform-name | --program-transform-name \
2221 | --program-transform-nam | --program-transform-na \
2222 | --program-transform-n | --program-transform- \
2223 | --program-transform | --program-transfor \
2224 | --program-transfo | --program-transf \
2225 | --program-trans | --program-tran \
2226 | --progr-tra | --program-tr | --program-t)
2227 ac_prev=program_transform_name ;;
2228 -program-transform-name=* | --program-transform-name=* \
2229 | --program-transform-nam=* | --program-transform-na=* \
2230 | --program-transform-n=* | --program-transform-=* \
2231 | --program-transform=* | --program-transfor=* \
2232 | --program-transfo=* | --program-transf=* \
2233 | --program-trans=* | --program-tran=* \
2234 | --progr-tra=* | --program-tr=* | --program-t=*)
2235 program_transform_name=$ac_optarg ;;
2237 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2238 ac_prev=pdfdir ;;
2239 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2240 pdfdir=$ac_optarg ;;
2242 -psdir | --psdir | --psdi | --psd | --ps)
2243 ac_prev=psdir ;;
2244 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2245 psdir=$ac_optarg ;;
2247 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2248 | -silent | --silent | --silen | --sile | --sil)
2249 silent=yes ;;
2251 -runstatedir | --runstatedir | --runstatedi | --runstated \
2252 | --runstate | --runstat | --runsta | --runst | --runs \
2253 | --run | --ru | --r)
2254 ac_prev=runstatedir ;;
2255 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2256 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2257 | --run=* | --ru=* | --r=*)
2258 runstatedir=$ac_optarg ;;
2260 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2261 ac_prev=sbindir ;;
2262 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2263 | --sbi=* | --sb=*)
2264 sbindir=$ac_optarg ;;
2266 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2267 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2268 | --sharedst | --shareds | --shared | --share | --shar \
2269 | --sha | --sh)
2270 ac_prev=sharedstatedir ;;
2271 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2272 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2273 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2274 | --sha=* | --sh=*)
2275 sharedstatedir=$ac_optarg ;;
2277 -site | --site | --sit)
2278 ac_prev=site ;;
2279 -site=* | --site=* | --sit=*)
2280 site=$ac_optarg ;;
2282 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2283 ac_prev=srcdir ;;
2284 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2285 srcdir=$ac_optarg ;;
2287 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2288 | --syscon | --sysco | --sysc | --sys | --sy)
2289 ac_prev=sysconfdir ;;
2290 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2291 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2292 sysconfdir=$ac_optarg ;;
2294 -target | --target | --targe | --targ | --tar | --ta | --t)
2295 ac_prev=target_alias ;;
2296 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2297 target_alias=$ac_optarg ;;
2299 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2300 verbose=yes ;;
2302 -version | --version | --versio | --versi | --vers | -V)
2303 ac_init_version=: ;;
2305 -with-* | --with-*)
2306 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2307 # Reject names that are not valid shell variable names.
2308 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2309 as_fn_error $? "invalid package name: $ac_useropt"
2310 ac_useropt_orig=$ac_useropt
2311 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2312 case $ac_user_opts in
2314 "with_$ac_useropt"
2315 "*) ;;
2316 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2317 ac_unrecognized_sep=', ';;
2318 esac
2319 eval with_$ac_useropt=\$ac_optarg ;;
2321 -without-* | --without-*)
2322 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2323 # Reject names that are not valid shell variable names.
2324 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2325 as_fn_error $? "invalid package name: $ac_useropt"
2326 ac_useropt_orig=$ac_useropt
2327 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2328 case $ac_user_opts in
2330 "with_$ac_useropt"
2331 "*) ;;
2332 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2333 ac_unrecognized_sep=', ';;
2334 esac
2335 eval with_$ac_useropt=no ;;
2337 --x)
2338 # Obsolete; use --with-x.
2339 with_x=yes ;;
2341 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2342 | --x-incl | --x-inc | --x-in | --x-i)
2343 ac_prev=x_includes ;;
2344 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2345 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2346 x_includes=$ac_optarg ;;
2348 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2349 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2350 ac_prev=x_libraries ;;
2351 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2352 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2353 x_libraries=$ac_optarg ;;
2355 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2356 Try \`$0 --help' for more information"
2359 *=*)
2360 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2361 # Reject names that are not valid shell variable names.
2362 case $ac_envvar in #(
2363 '' | [0-9]* | *[!_$as_cr_alnum]* )
2364 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2365 esac
2366 eval $ac_envvar=\$ac_optarg
2367 export $ac_envvar ;;
2370 # FIXME: should be removed in autoconf 3.0.
2371 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2372 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2373 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2374 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2377 esac
2378 done
2380 if test -n "$ac_prev"; then
2381 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2382 as_fn_error $? "missing argument to $ac_option"
2385 if test -n "$ac_unrecognized_opts"; then
2386 case $enable_option_checking in
2387 no) ;;
2388 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2389 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2390 esac
2393 # Check all directory arguments for consistency.
2394 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2395 datadir sysconfdir sharedstatedir localstatedir includedir \
2396 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2397 libdir localedir mandir runstatedir
2399 eval ac_val=\$$ac_var
2400 # Remove trailing slashes.
2401 case $ac_val in
2402 */ )
2403 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2404 eval $ac_var=\$ac_val;;
2405 esac
2406 # Be sure to have absolute directory names.
2407 case $ac_val in
2408 [\\/$]* | ?:[\\/]* ) continue;;
2409 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2410 esac
2411 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2412 done
2414 # There might be people who depend on the old broken behavior: `$host'
2415 # used to hold the argument of --host etc.
2416 # FIXME: To remove some day.
2417 build=$build_alias
2418 host=$host_alias
2419 target=$target_alias
2421 # FIXME: To remove some day.
2422 if test "x$host_alias" != x; then
2423 if test "x$build_alias" = x; then
2424 cross_compiling=maybe
2425 elif test "x$build_alias" != "x$host_alias"; then
2426 cross_compiling=yes
2430 ac_tool_prefix=
2431 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2433 test "$silent" = yes && exec 6>/dev/null
2436 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2437 ac_ls_di=`ls -di .` &&
2438 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2439 as_fn_error $? "working directory cannot be determined"
2440 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2441 as_fn_error $? "pwd does not report name of working directory"
2444 # Find the source files, if location was not specified.
2445 if test -z "$srcdir"; then
2446 ac_srcdir_defaulted=yes
2447 # Try the directory containing this script, then the parent directory.
2448 ac_confdir=`$as_dirname -- "$as_myself" ||
2449 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2450 X"$as_myself" : 'X\(//\)[^/]' \| \
2451 X"$as_myself" : 'X\(//\)$' \| \
2452 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2453 $as_echo X"$as_myself" |
2454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2455 s//\1/
2458 /^X\(\/\/\)[^/].*/{
2459 s//\1/
2462 /^X\(\/\/\)$/{
2463 s//\1/
2466 /^X\(\/\).*/{
2467 s//\1/
2470 s/.*/./; q'`
2471 srcdir=$ac_confdir
2472 if test ! -r "$srcdir/$ac_unique_file"; then
2473 srcdir=..
2475 else
2476 ac_srcdir_defaulted=no
2478 if test ! -r "$srcdir/$ac_unique_file"; then
2479 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2480 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2482 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2483 ac_abs_confdir=`(
2484 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2485 pwd)`
2486 # When building in place, set srcdir=.
2487 if test "$ac_abs_confdir" = "$ac_pwd"; then
2488 srcdir=.
2490 # Remove unnecessary trailing slashes from srcdir.
2491 # Double slashes in file names in object file debugging info
2492 # mess up M-x gdb in Emacs.
2493 case $srcdir in
2494 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2495 esac
2496 for ac_var in $ac_precious_vars; do
2497 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2498 eval ac_env_${ac_var}_value=\$${ac_var}
2499 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2500 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2501 done
2504 # Report the --help message.
2506 if test "$ac_init_help" = "long"; then
2507 # Omit some internal or obsolete options to make the list less imposing.
2508 # This message is too long to be a string in the A/UX 3.1 sh.
2509 cat <<_ACEOF
2510 \`configure' configures Wine 6.6 to adapt to many kinds of systems.
2512 Usage: $0 [OPTION]... [VAR=VALUE]...
2514 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2515 VAR=VALUE. See below for descriptions of some of the useful variables.
2517 Defaults for the options are specified in brackets.
2519 Configuration:
2520 -h, --help display this help and exit
2521 --help=short display options specific to this package
2522 --help=recursive display the short help of all the included packages
2523 -V, --version display version information and exit
2524 -q, --quiet, --silent do not print \`checking ...' messages
2525 --cache-file=FILE cache test results in FILE [disabled]
2526 -C, --config-cache alias for \`--cache-file=config.cache'
2527 -n, --no-create do not create output files
2528 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2530 Installation directories:
2531 --prefix=PREFIX install architecture-independent files in PREFIX
2532 [$ac_default_prefix]
2533 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2534 [PREFIX]
2536 By default, \`make install' will install all the files in
2537 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2538 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2539 for instance \`--prefix=\$HOME'.
2541 For better control, use the options below.
2543 Fine tuning of the installation directories:
2544 --bindir=DIR user executables [EPREFIX/bin]
2545 --sbindir=DIR system admin executables [EPREFIX/sbin]
2546 --libexecdir=DIR program executables [EPREFIX/libexec]
2547 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2548 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2549 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2550 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2551 --libdir=DIR object code libraries [EPREFIX/lib]
2552 --includedir=DIR C header files [PREFIX/include]
2553 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2554 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2555 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2556 --infodir=DIR info documentation [DATAROOTDIR/info]
2557 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2558 --mandir=DIR man documentation [DATAROOTDIR/man]
2559 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2560 --htmldir=DIR html documentation [DOCDIR]
2561 --dvidir=DIR dvi documentation [DOCDIR]
2562 --pdfdir=DIR pdf documentation [DOCDIR]
2563 --psdir=DIR ps documentation [DOCDIR]
2564 _ACEOF
2566 cat <<\_ACEOF
2568 X features:
2569 --x-includes=DIR X include files are in DIR
2570 --x-libraries=DIR X library files are in DIR
2572 System types:
2573 --build=BUILD configure for building on BUILD [guessed]
2574 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2575 _ACEOF
2578 if test -n "$ac_init_help"; then
2579 case $ac_init_help in
2580 short | recursive ) echo "Configuration of Wine 6.6:";;
2581 esac
2582 cat <<\_ACEOF
2584 Optional Features:
2585 --disable-option-checking ignore unrecognized --enable/--with options
2586 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2587 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2588 --disable-win16 do not include Win16 support
2589 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2590 binaries)
2591 --disable-tests do not build the regression tests
2592 --enable-build-id include .buildid section in output objects
2593 --enable-maintainer-mode
2594 enable maintainer-specific build rules
2595 --enable-silent-rules use silent build rules (override: "make V=1")
2596 --enable-werror treat compilation warnings as errors
2597 --disable-largefile omit support for large files
2599 Optional Packages:
2600 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2601 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2602 --without-alsa do not use the Alsa sound support
2603 --without-capi do not use CAPI (ISDN support)
2604 --without-cms do not use CMS (color management support)
2605 --without-coreaudio do not use the CoreAudio sound support
2606 --without-cups do not use CUPS
2607 --without-dbus do not use DBus (dynamic device support)
2608 --without-faudio do not use FAudio (XAudio2 support)
2609 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2610 --without-fontconfig do not use fontconfig
2611 --without-freetype do not use the FreeType library
2612 --without-gettext do not use gettext
2613 --with-gettextpo use the GetTextPO library to rebuild po files
2614 --without-gphoto do not use gphoto (Digital Camera support)
2615 --without-gnutls do not use GnuTLS (schannel support)
2616 --without-gsm do not use libgsm (GSM 06.10 codec support)
2617 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2618 --without-gstreamer do not use GStreamer (codecs support)
2619 --without-hal do not use HAL (dynamic device support)
2620 --without-inotify do not use inotify (filesystem change notifications)
2621 --without-jpeg do not use JPEG
2622 --without-jxrlib do not use JPEG-XR
2623 --without-krb5 do not use krb5 (Kerberos)
2624 --without-ldap do not use LDAP
2625 --without-mingw do not use the MinGW cross-compiler
2626 --without-mpg123 do not use the mpg123 library
2627 --without-netapi do not use the Samba NetAPI library
2628 --without-openal do not use OpenAL
2629 --without-opencl do not use OpenCL
2630 --without-opengl do not use OpenGL
2631 --without-osmesa do not use the OSMesa library
2632 --without-oss do not use the OSS sound support
2633 --without-pcap do not use the Packet Capture library
2634 --without-png do not use PNG
2635 --without-pthread do not use the pthread library
2636 --without-pulse do not use PulseAudio sound support
2637 --without-quicktime do not use QuickTime support
2638 --without-sane do not use SANE (scanner support)
2639 --without-sdl do not use SDL
2640 --without-tiff do not use TIFF
2641 --without-udev do not use udev (plug and play support)
2642 --without-unwind do not use the libunwind library (exception
2643 handling)
2644 --without-usb do not use the libusb library
2645 --without-v4l2 do not use v4l2 (video capture)
2646 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2647 --without-vulkan do not use Vulkan
2648 --without-xcomposite do not use the Xcomposite extension
2649 --without-xcursor do not use the Xcursor extension
2650 --without-xfixes do not use Xfixes for clipboard change notifications
2651 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2652 --without-xinput do not use the Xinput extension
2653 --without-xinput2 do not use the Xinput 2 extension
2654 --without-xml do not use XML
2655 --without-xrandr do not use Xrandr (multi-monitor support)
2656 --without-xrender do not use the Xrender extension
2657 --without-xshape do not use the Xshape extension
2658 --without-xshm do not use XShm (shared memory extension)
2659 --without-xslt do not use XSLT
2660 --without-xxf86vm do not use XFree video mode extension
2661 --with-wine-tools=DIR use Wine tools from directory DIR
2662 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2663 --with-x use the X Window System
2665 Some influential environment variables:
2666 CC C compiler command
2667 CFLAGS C compiler flags
2668 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2669 nonstandard directory <lib dir>
2670 LIBS libraries to pass to the linker, e.g. -l<library>
2671 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2672 you have headers in a nonstandard directory <include dir>
2673 CXX C++ compiler command
2674 CXXFLAGS C++ compiler flags
2675 CPP C preprocessor
2676 OBJC Objective C compiler command
2677 OBJCFLAGS Objective C compiler flags
2678 OBJCPP Objective C preprocessor
2679 XMKMF Path to xmkmf, Makefile generator for X Window System
2680 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2681 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2682 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2683 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2684 INOTIFY_CFLAGS
2685 C compiler flags for libinotify, overriding pkg-config
2686 INOTIFY_LIBS
2687 Linker flags for libinotify, overriding pkg-config
2688 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2689 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2690 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2691 HAL_LIBS Linker flags for hal, overriding pkg-config
2692 GNUTLS_CFLAGS
2693 C compiler flags for gnutls, overriding pkg-config
2694 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2695 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2696 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2697 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2698 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2699 GPHOTO2_CFLAGS
2700 C compiler flags for libgphoto2, overriding pkg-config
2701 GPHOTO2_LIBS
2702 Linker flags for libgphoto2, overriding pkg-config
2703 GPHOTO2_PORT_CFLAGS
2704 C compiler flags for libgphoto2_port, overriding pkg-config
2705 GPHOTO2_PORT_LIBS
2706 Linker flags for libgphoto2_port, overriding pkg-config
2707 LCMS2_CFLAGS
2708 C compiler flags for lcms2, overriding pkg-config
2709 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2710 FREETYPE_CFLAGS
2711 C compiler flags for freetype2, overriding pkg-config
2712 FREETYPE_LIBS
2713 Linker flags for freetype2, overriding pkg-config
2714 PULSE_CFLAGS
2715 C compiler flags for libpulse, overriding pkg-config
2716 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2717 GSTREAMER_CFLAGS
2718 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2719 gstreamer-audio-1.0, overriding pkg-config
2720 GSTREAMER_LIBS
2721 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2722 gstreamer-audio-1.0, overriding pkg-config
2723 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2724 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2725 UNWIND_CFLAGS
2726 C compiler flags for libunwind, overriding pkg-config
2727 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2728 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2729 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2730 FAUDIO_CFLAGS
2731 C compiler flags for FAudio, overriding pkg-config
2732 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2733 CAPI20_CFLAGS
2734 C compiler flags for capi20, overriding pkg-config
2735 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2736 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2737 CUPS_LIBS Linker flags for cups, overriding pkg-config
2738 FONTCONFIG_CFLAGS
2739 C compiler flags for fontconfig, overriding pkg-config
2740 FONTCONFIG_LIBS
2741 Linker flags for fontconfig, overriding pkg-config
2742 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2743 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2744 GSSAPI_CFLAGS
2745 C compiler flags for krb5-gssapi, overriding pkg-config
2746 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2747 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2748 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2749 JXRLIB_CFLAGS
2750 C compiler flags for jxrlib, overriding pkg-config
2751 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2752 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2753 PNG_LIBS Linker flags for libpng, overriding pkg-config
2754 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2755 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2756 MPG123_CFLAGS
2757 C compiler flags for libmpg123, overriding pkg-config
2758 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2759 NETAPI_CFLAGS
2760 C compiler flags for netapi, overriding pkg-config
2761 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2762 VKD3D_CFLAGS
2763 C compiler flags for libvkd3d, overriding pkg-config
2764 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2765 VKD3D_SHADER_CFLAGS
2766 C compiler flags for libvkd3d-shader, overriding pkg-config
2767 VKD3D_SHADER_LIBS
2768 Linker flags for libvkd3d-shader, overriding pkg-config
2769 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2770 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2772 Use these variables to override the choices made by `configure' or to help
2773 it to find libraries and programs with nonstandard names/locations.
2775 Report bugs to <wine-devel@winehq.org>.
2776 Wine home page: <https://www.winehq.org>.
2777 _ACEOF
2778 ac_status=$?
2781 if test "$ac_init_help" = "recursive"; then
2782 # If there are subdirs, report their specific --help.
2783 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2784 test -d "$ac_dir" ||
2785 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2786 continue
2787 ac_builddir=.
2789 case "$ac_dir" in
2790 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2792 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2793 # A ".." for each directory in $ac_dir_suffix.
2794 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2795 case $ac_top_builddir_sub in
2796 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2797 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2798 esac ;;
2799 esac
2800 ac_abs_top_builddir=$ac_pwd
2801 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2802 # for backward compatibility:
2803 ac_top_builddir=$ac_top_build_prefix
2805 case $srcdir in
2806 .) # We are building in place.
2807 ac_srcdir=.
2808 ac_top_srcdir=$ac_top_builddir_sub
2809 ac_abs_top_srcdir=$ac_pwd ;;
2810 [\\/]* | ?:[\\/]* ) # Absolute name.
2811 ac_srcdir=$srcdir$ac_dir_suffix;
2812 ac_top_srcdir=$srcdir
2813 ac_abs_top_srcdir=$srcdir ;;
2814 *) # Relative name.
2815 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2816 ac_top_srcdir=$ac_top_build_prefix$srcdir
2817 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2818 esac
2819 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2821 cd "$ac_dir" || { ac_status=$?; continue; }
2822 # Check for guested configure.
2823 if test -f "$ac_srcdir/configure.gnu"; then
2824 echo &&
2825 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2826 elif test -f "$ac_srcdir/configure"; then
2827 echo &&
2828 $SHELL "$ac_srcdir/configure" --help=recursive
2829 else
2830 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2831 fi || ac_status=$?
2832 cd "$ac_pwd" || { ac_status=$?; break; }
2833 done
2836 test -n "$ac_init_help" && exit $ac_status
2837 if $ac_init_version; then
2838 cat <<\_ACEOF
2839 Wine configure 6.6
2840 generated by GNU Autoconf 2.69
2842 Copyright (C) 2012 Free Software Foundation, Inc.
2843 This configure script is free software; the Free Software Foundation
2844 gives unlimited permission to copy, distribute and modify it.
2845 _ACEOF
2846 exit
2849 ## ------------------------ ##
2850 ## Autoconf initialization. ##
2851 ## ------------------------ ##
2853 # ac_fn_c_try_compile LINENO
2854 # --------------------------
2855 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2856 ac_fn_c_try_compile ()
2858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2859 rm -f conftest.$ac_objext
2860 if { { ac_try="$ac_compile"
2861 case "(($ac_try" in
2862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2864 esac
2865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2866 $as_echo "$ac_try_echo"; } >&5
2867 (eval "$ac_compile") 2>conftest.err
2868 ac_status=$?
2869 if test -s conftest.err; then
2870 grep -v '^ *+' conftest.err >conftest.er1
2871 cat conftest.er1 >&5
2872 mv -f conftest.er1 conftest.err
2874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2875 test $ac_status = 0; } && {
2876 test -z "$ac_c_werror_flag" ||
2877 test ! -s conftest.err
2878 } && test -s conftest.$ac_objext; then :
2879 ac_retval=0
2880 else
2881 $as_echo "$as_me: failed program was:" >&5
2882 sed 's/^/| /' conftest.$ac_ext >&5
2884 ac_retval=1
2886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2887 as_fn_set_status $ac_retval
2889 } # ac_fn_c_try_compile
2891 # ac_fn_cxx_try_compile LINENO
2892 # ----------------------------
2893 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2894 ac_fn_cxx_try_compile ()
2896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2897 rm -f conftest.$ac_objext
2898 if { { ac_try="$ac_compile"
2899 case "(($ac_try" in
2900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2901 *) ac_try_echo=$ac_try;;
2902 esac
2903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2904 $as_echo "$ac_try_echo"; } >&5
2905 (eval "$ac_compile") 2>conftest.err
2906 ac_status=$?
2907 if test -s conftest.err; then
2908 grep -v '^ *+' conftest.err >conftest.er1
2909 cat conftest.er1 >&5
2910 mv -f conftest.er1 conftest.err
2912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2913 test $ac_status = 0; } && {
2914 test -z "$ac_cxx_werror_flag" ||
2915 test ! -s conftest.err
2916 } && test -s conftest.$ac_objext; then :
2917 ac_retval=0
2918 else
2919 $as_echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.$ac_ext >&5
2922 ac_retval=1
2924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2925 as_fn_set_status $ac_retval
2927 } # ac_fn_cxx_try_compile
2929 # ac_fn_c_try_link LINENO
2930 # -----------------------
2931 # Try to link conftest.$ac_ext, and return whether this succeeded.
2932 ac_fn_c_try_link ()
2934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2935 rm -f conftest.$ac_objext conftest$ac_exeext
2936 if { { ac_try="$ac_link"
2937 case "(($ac_try" in
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2940 esac
2941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2942 $as_echo "$ac_try_echo"; } >&5
2943 (eval "$ac_link") 2>conftest.err
2944 ac_status=$?
2945 if test -s conftest.err; then
2946 grep -v '^ *+' conftest.err >conftest.er1
2947 cat conftest.er1 >&5
2948 mv -f conftest.er1 conftest.err
2950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2951 test $ac_status = 0; } && {
2952 test -z "$ac_c_werror_flag" ||
2953 test ! -s conftest.err
2954 } && test -s conftest$ac_exeext && {
2955 test "$cross_compiling" = yes ||
2956 test -x conftest$ac_exeext
2957 }; then :
2958 ac_retval=0
2959 else
2960 $as_echo "$as_me: failed program was:" >&5
2961 sed 's/^/| /' conftest.$ac_ext >&5
2963 ac_retval=1
2965 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2966 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2967 # interfere with the next link command; also delete a directory that is
2968 # left behind by Apple's compiler. We do this before executing the actions.
2969 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2971 as_fn_set_status $ac_retval
2973 } # ac_fn_c_try_link
2975 # ac_fn_c_try_cpp LINENO
2976 # ----------------------
2977 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2978 ac_fn_c_try_cpp ()
2980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2981 if { { ac_try="$ac_cpp conftest.$ac_ext"
2982 case "(($ac_try" in
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2985 esac
2986 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2987 $as_echo "$ac_try_echo"; } >&5
2988 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2989 ac_status=$?
2990 if test -s conftest.err; then
2991 grep -v '^ *+' conftest.err >conftest.er1
2992 cat conftest.er1 >&5
2993 mv -f conftest.er1 conftest.err
2995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2996 test $ac_status = 0; } > conftest.i && {
2997 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2998 test ! -s conftest.err
2999 }; then :
3000 ac_retval=0
3001 else
3002 $as_echo "$as_me: failed program was:" >&5
3003 sed 's/^/| /' conftest.$ac_ext >&5
3005 ac_retval=1
3007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3008 as_fn_set_status $ac_retval
3010 } # ac_fn_c_try_cpp
3012 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3013 # -------------------------------------------------------
3014 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3015 # the include files in INCLUDES and setting the cache variable VAR
3016 # accordingly.
3017 ac_fn_c_check_header_mongrel ()
3019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3020 if eval \${$3+:} false; then :
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3022 $as_echo_n "checking for $2... " >&6; }
3023 if eval \${$3+:} false; then :
3024 $as_echo_n "(cached) " >&6
3026 eval ac_res=\$$3
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3028 $as_echo "$ac_res" >&6; }
3029 else
3030 # Is the header compilable?
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3032 $as_echo_n "checking $2 usability... " >&6; }
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3036 #include <$2>
3037 _ACEOF
3038 if ac_fn_c_try_compile "$LINENO"; then :
3039 ac_header_compiler=yes
3040 else
3041 ac_header_compiler=no
3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3045 $as_echo "$ac_header_compiler" >&6; }
3047 # Is the header present?
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3049 $as_echo_n "checking $2 presence... " >&6; }
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3052 #include <$2>
3053 _ACEOF
3054 if ac_fn_c_try_cpp "$LINENO"; then :
3055 ac_header_preproc=yes
3056 else
3057 ac_header_preproc=no
3059 rm -f conftest.err conftest.i conftest.$ac_ext
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3061 $as_echo "$ac_header_preproc" >&6; }
3063 # So? What about this header?
3064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3065 yes:no: )
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3067 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3069 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3071 no:yes:* )
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3073 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3075 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3077 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3079 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3081 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3082 ( $as_echo "## ------------------------------------ ##
3083 ## Report this to wine-devel@winehq.org ##
3084 ## ------------------------------------ ##"
3085 ) | sed "s/^/$as_me: WARNING: /" >&2
3087 esac
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3089 $as_echo_n "checking for $2... " >&6; }
3090 if eval \${$3+:} false; then :
3091 $as_echo_n "(cached) " >&6
3092 else
3093 eval "$3=\$ac_header_compiler"
3095 eval ac_res=\$$3
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3097 $as_echo "$ac_res" >&6; }
3099 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3101 } # ac_fn_c_check_header_mongrel
3103 # ac_fn_c_try_run LINENO
3104 # ----------------------
3105 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3106 # that executables *can* be run.
3107 ac_fn_c_try_run ()
3109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3110 if { { ac_try="$ac_link"
3111 case "(($ac_try" in
3112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3114 esac
3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116 $as_echo "$ac_try_echo"; } >&5
3117 (eval "$ac_link") 2>&5
3118 ac_status=$?
3119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3120 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3121 { { case "(($ac_try" in
3122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3123 *) ac_try_echo=$ac_try;;
3124 esac
3125 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3126 $as_echo "$ac_try_echo"; } >&5
3127 (eval "$ac_try") 2>&5
3128 ac_status=$?
3129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3130 test $ac_status = 0; }; }; then :
3131 ac_retval=0
3132 else
3133 $as_echo "$as_me: program exited with status $ac_status" >&5
3134 $as_echo "$as_me: failed program was:" >&5
3135 sed 's/^/| /' conftest.$ac_ext >&5
3137 ac_retval=$ac_status
3139 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3141 as_fn_set_status $ac_retval
3143 } # ac_fn_c_try_run
3145 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3146 # -------------------------------------------------------
3147 # Tests whether HEADER exists and can be compiled using the include files in
3148 # INCLUDES, setting the cache variable VAR accordingly.
3149 ac_fn_c_check_header_compile ()
3151 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3153 $as_echo_n "checking for $2... " >&6; }
3154 if eval \${$3+:} false; then :
3155 $as_echo_n "(cached) " >&6
3156 else
3157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3160 #include <$2>
3161 _ACEOF
3162 if ac_fn_c_try_compile "$LINENO"; then :
3163 eval "$3=yes"
3164 else
3165 eval "$3=no"
3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3169 eval ac_res=\$$3
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3171 $as_echo "$ac_res" >&6; }
3172 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3174 } # ac_fn_c_check_header_compile
3176 # ac_fn_objc_try_compile LINENO
3177 # -----------------------------
3178 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3179 ac_fn_objc_try_compile ()
3181 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3182 rm -f conftest.$ac_objext
3183 if { { ac_try="$ac_compile"
3184 case "(($ac_try" in
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3187 esac
3188 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3189 $as_echo "$ac_try_echo"; } >&5
3190 (eval "$ac_compile") 2>conftest.err
3191 ac_status=$?
3192 if test -s conftest.err; then
3193 grep -v '^ *+' conftest.err >conftest.er1
3194 cat conftest.er1 >&5
3195 mv -f conftest.er1 conftest.err
3197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3198 test $ac_status = 0; } && {
3199 test -z "$ac_objc_werror_flag" ||
3200 test ! -s conftest.err
3201 } && test -s conftest.$ac_objext; then :
3202 ac_retval=0
3203 else
3204 $as_echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3207 ac_retval=1
3209 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3210 as_fn_set_status $ac_retval
3212 } # ac_fn_objc_try_compile
3214 # ac_fn_objc_try_cpp LINENO
3215 # -------------------------
3216 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3217 ac_fn_objc_try_cpp ()
3219 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3220 if { { ac_try="$ac_cpp conftest.$ac_ext"
3221 case "(($ac_try" in
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3224 esac
3225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3226 $as_echo "$ac_try_echo"; } >&5
3227 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3228 ac_status=$?
3229 if test -s conftest.err; then
3230 grep -v '^ *+' conftest.err >conftest.er1
3231 cat conftest.er1 >&5
3232 mv -f conftest.er1 conftest.err
3234 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3235 test $ac_status = 0; } > conftest.i && {
3236 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3237 test ! -s conftest.err
3238 }; then :
3239 ac_retval=0
3240 else
3241 $as_echo "$as_me: failed program was:" >&5
3242 sed 's/^/| /' conftest.$ac_ext >&5
3244 ac_retval=1
3246 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3247 as_fn_set_status $ac_retval
3249 } # ac_fn_objc_try_cpp
3251 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3252 # ----------------------------------------------------------
3253 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3254 # the include files in INCLUDES and setting the cache variable VAR
3255 # accordingly.
3256 ac_fn_objc_check_header_mongrel ()
3258 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3259 if eval \${$3+:} false; then :
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3261 $as_echo_n "checking for $2... " >&6; }
3262 if eval \${$3+:} false; then :
3263 $as_echo_n "(cached) " >&6
3265 eval ac_res=\$$3
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3267 $as_echo "$ac_res" >&6; }
3268 else
3269 # Is the header compilable?
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3271 $as_echo_n "checking $2 usability... " >&6; }
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3275 #include <$2>
3276 _ACEOF
3277 if ac_fn_objc_try_compile "$LINENO"; then :
3278 ac_header_compiler=yes
3279 else
3280 ac_header_compiler=no
3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3284 $as_echo "$ac_header_compiler" >&6; }
3286 # Is the header present?
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3288 $as_echo_n "checking $2 presence... " >&6; }
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3291 #include <$2>
3292 _ACEOF
3293 if ac_fn_objc_try_cpp "$LINENO"; then :
3294 ac_header_preproc=yes
3295 else
3296 ac_header_preproc=no
3298 rm -f conftest.err conftest.i conftest.$ac_ext
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3300 $as_echo "$ac_header_preproc" >&6; }
3302 # So? What about this header?
3303 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3304 yes:no: )
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3306 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3308 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3310 no:yes:* )
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3312 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3314 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3316 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3318 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3320 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3321 ( $as_echo "## ------------------------------------ ##
3322 ## Report this to wine-devel@winehq.org ##
3323 ## ------------------------------------ ##"
3324 ) | sed "s/^/$as_me: WARNING: /" >&2
3326 esac
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3328 $as_echo_n "checking for $2... " >&6; }
3329 if eval \${$3+:} false; then :
3330 $as_echo_n "(cached) " >&6
3331 else
3332 eval "$3=\$ac_header_compiler"
3334 eval ac_res=\$$3
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3336 $as_echo "$ac_res" >&6; }
3338 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3340 } # ac_fn_objc_check_header_mongrel
3342 # ac_fn_c_check_func LINENO FUNC VAR
3343 # ----------------------------------
3344 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3345 ac_fn_c_check_func ()
3347 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3349 $as_echo_n "checking for $2... " >&6; }
3350 if eval \${$3+:} false; then :
3351 $as_echo_n "(cached) " >&6
3352 else
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3355 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3357 #define $2 innocuous_$2
3359 /* System header to define __stub macros and hopefully few prototypes,
3360 which can conflict with char $2 (); below.
3361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3362 <limits.h> exists even on freestanding compilers. */
3364 #ifdef __STDC__
3365 # include <limits.h>
3366 #else
3367 # include <assert.h>
3368 #endif
3370 #undef $2
3372 /* Override any GCC internal prototype to avoid an error.
3373 Use char because int might match the return type of a GCC
3374 builtin and then its argument prototype would still apply. */
3375 #ifdef __cplusplus
3376 extern "C"
3377 #endif
3378 char $2 ();
3379 /* The GNU C library defines this for functions which it implements
3380 to always fail with ENOSYS. Some functions are actually named
3381 something starting with __ and the normal name is an alias. */
3382 #if defined __stub_$2 || defined __stub___$2
3383 choke me
3384 #endif
3387 main ()
3389 return $2 ();
3391 return 0;
3393 _ACEOF
3394 if ac_fn_c_try_link "$LINENO"; then :
3395 eval "$3=yes"
3396 else
3397 eval "$3=no"
3399 rm -f core conftest.err conftest.$ac_objext \
3400 conftest$ac_exeext conftest.$ac_ext
3402 eval ac_res=\$$3
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3404 $as_echo "$ac_res" >&6; }
3405 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3407 } # ac_fn_c_check_func
3409 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3410 # ----------------------------------------------------
3411 # Tries to find if the field MEMBER exists in type AGGR, after including
3412 # INCLUDES, setting cache variable VAR accordingly.
3413 ac_fn_c_check_member ()
3415 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3417 $as_echo_n "checking for $2.$3... " >&6; }
3418 if eval \${$4+:} false; then :
3419 $as_echo_n "(cached) " >&6
3420 else
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3425 main ()
3427 static $2 ac_aggr;
3428 if (ac_aggr.$3)
3429 return 0;
3431 return 0;
3433 _ACEOF
3434 if ac_fn_c_try_compile "$LINENO"; then :
3435 eval "$4=yes"
3436 else
3437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3438 /* end confdefs.h. */
3441 main ()
3443 static $2 ac_aggr;
3444 if (sizeof ac_aggr.$3)
3445 return 0;
3447 return 0;
3449 _ACEOF
3450 if ac_fn_c_try_compile "$LINENO"; then :
3451 eval "$4=yes"
3452 else
3453 eval "$4=no"
3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3459 eval ac_res=\$$4
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3461 $as_echo "$ac_res" >&6; }
3462 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3464 } # ac_fn_c_check_member
3466 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3467 # -------------------------------------------
3468 # Tests whether TYPE exists after having included INCLUDES, setting cache
3469 # variable VAR accordingly.
3470 ac_fn_c_check_type ()
3472 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3474 $as_echo_n "checking for $2... " >&6; }
3475 if eval \${$3+:} false; then :
3476 $as_echo_n "(cached) " >&6
3477 else
3478 eval "$3=no"
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3483 main ()
3485 if (sizeof ($2))
3486 return 0;
3488 return 0;
3490 _ACEOF
3491 if ac_fn_c_try_compile "$LINENO"; then :
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3496 main ()
3498 if (sizeof (($2)))
3499 return 0;
3501 return 0;
3503 _ACEOF
3504 if ac_fn_c_try_compile "$LINENO"; then :
3506 else
3507 eval "$3=yes"
3509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513 eval ac_res=\$$3
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3515 $as_echo "$ac_res" >&6; }
3516 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3518 } # ac_fn_c_check_type
3519 cat >config.log <<_ACEOF
3520 This file contains any messages produced by compilers while
3521 running configure, to aid debugging if configure makes a mistake.
3523 It was created by Wine $as_me 6.6, which was
3524 generated by GNU Autoconf 2.69. Invocation command line was
3526 $ $0 $@
3528 _ACEOF
3529 exec 5>>config.log
3531 cat <<_ASUNAME
3532 ## --------- ##
3533 ## Platform. ##
3534 ## --------- ##
3536 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3537 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3538 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3539 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3540 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3542 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3543 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3545 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3546 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3547 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3548 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3549 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3550 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3551 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3553 _ASUNAME
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556 for as_dir in $PATH
3558 IFS=$as_save_IFS
3559 test -z "$as_dir" && as_dir=.
3560 $as_echo "PATH: $as_dir"
3561 done
3562 IFS=$as_save_IFS
3564 } >&5
3566 cat >&5 <<_ACEOF
3569 ## ----------- ##
3570 ## Core tests. ##
3571 ## ----------- ##
3573 _ACEOF
3576 # Keep a trace of the command line.
3577 # Strip out --no-create and --no-recursion so they do not pile up.
3578 # Strip out --silent because we don't want to record it for future runs.
3579 # Also quote any args containing shell meta-characters.
3580 # Make two passes to allow for proper duplicate-argument suppression.
3581 ac_configure_args=
3582 ac_configure_args0=
3583 ac_configure_args1=
3584 ac_must_keep_next=false
3585 for ac_pass in 1 2
3587 for ac_arg
3589 case $ac_arg in
3590 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3591 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3592 | -silent | --silent | --silen | --sile | --sil)
3593 continue ;;
3594 *\'*)
3595 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3596 esac
3597 case $ac_pass in
3598 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3600 as_fn_append ac_configure_args1 " '$ac_arg'"
3601 if test $ac_must_keep_next = true; then
3602 ac_must_keep_next=false # Got value, back to normal.
3603 else
3604 case $ac_arg in
3605 *=* | --config-cache | -C | -disable-* | --disable-* \
3606 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3607 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3608 | -with-* | --with-* | -without-* | --without-* | --x)
3609 case "$ac_configure_args0 " in
3610 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3611 esac
3613 -* ) ac_must_keep_next=true ;;
3614 esac
3616 as_fn_append ac_configure_args " '$ac_arg'"
3618 esac
3619 done
3620 done
3621 { ac_configure_args0=; unset ac_configure_args0;}
3622 { ac_configure_args1=; unset ac_configure_args1;}
3624 # When interrupted or exit'd, cleanup temporary files, and complete
3625 # config.log. We remove comments because anyway the quotes in there
3626 # would cause problems or look ugly.
3627 # WARNING: Use '\'' to represent an apostrophe within the trap.
3628 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3629 trap 'exit_status=$?
3630 # Save into config.log some information that might help in debugging.
3632 echo
3634 $as_echo "## ---------------- ##
3635 ## Cache variables. ##
3636 ## ---------------- ##"
3637 echo
3638 # The following way of writing the cache mishandles newlines in values,
3640 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3641 eval ac_val=\$$ac_var
3642 case $ac_val in #(
3643 *${as_nl}*)
3644 case $ac_var in #(
3645 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3646 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3647 esac
3648 case $ac_var in #(
3649 _ | IFS | as_nl) ;; #(
3650 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3651 *) { eval $ac_var=; unset $ac_var;} ;;
3652 esac ;;
3653 esac
3654 done
3655 (set) 2>&1 |
3656 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3657 *${as_nl}ac_space=\ *)
3658 sed -n \
3659 "s/'\''/'\''\\\\'\'''\''/g;
3660 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3661 ;; #(
3663 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3665 esac |
3666 sort
3668 echo
3670 $as_echo "## ----------------- ##
3671 ## Output variables. ##
3672 ## ----------------- ##"
3673 echo
3674 for ac_var in $ac_subst_vars
3676 eval ac_val=\$$ac_var
3677 case $ac_val in
3678 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3679 esac
3680 $as_echo "$ac_var='\''$ac_val'\''"
3681 done | sort
3682 echo
3684 if test -n "$ac_subst_files"; then
3685 $as_echo "## ------------------- ##
3686 ## File substitutions. ##
3687 ## ------------------- ##"
3688 echo
3689 for ac_var in $ac_subst_files
3691 eval ac_val=\$$ac_var
3692 case $ac_val in
3693 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3694 esac
3695 $as_echo "$ac_var='\''$ac_val'\''"
3696 done | sort
3697 echo
3700 if test -s confdefs.h; then
3701 $as_echo "## ----------- ##
3702 ## confdefs.h. ##
3703 ## ----------- ##"
3704 echo
3705 cat confdefs.h
3706 echo
3708 test "$ac_signal" != 0 &&
3709 $as_echo "$as_me: caught signal $ac_signal"
3710 $as_echo "$as_me: exit $exit_status"
3711 } >&5
3712 rm -f core *.core core.conftest.* &&
3713 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3714 exit $exit_status
3716 for ac_signal in 1 2 13 15; do
3717 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3718 done
3719 ac_signal=0
3721 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3722 rm -f -r conftest* confdefs.h
3724 $as_echo "/* confdefs.h */" > confdefs.h
3726 # Predefined preprocessor variables.
3728 cat >>confdefs.h <<_ACEOF
3729 #define PACKAGE_NAME "$PACKAGE_NAME"
3730 _ACEOF
3732 cat >>confdefs.h <<_ACEOF
3733 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3734 _ACEOF
3736 cat >>confdefs.h <<_ACEOF
3737 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3738 _ACEOF
3740 cat >>confdefs.h <<_ACEOF
3741 #define PACKAGE_STRING "$PACKAGE_STRING"
3742 _ACEOF
3744 cat >>confdefs.h <<_ACEOF
3745 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3746 _ACEOF
3748 cat >>confdefs.h <<_ACEOF
3749 #define PACKAGE_URL "$PACKAGE_URL"
3750 _ACEOF
3753 # Let the site file select an alternate cache file if it wants to.
3754 # Prefer an explicitly selected file to automatically selected ones.
3755 ac_site_file1=NONE
3756 ac_site_file2=NONE
3757 if test -n "$CONFIG_SITE"; then
3758 # We do not want a PATH search for config.site.
3759 case $CONFIG_SITE in #((
3760 -*) ac_site_file1=./$CONFIG_SITE;;
3761 */*) ac_site_file1=$CONFIG_SITE;;
3762 *) ac_site_file1=./$CONFIG_SITE;;
3763 esac
3764 elif test "x$prefix" != xNONE; then
3765 ac_site_file1=$prefix/share/config.site
3766 ac_site_file2=$prefix/etc/config.site
3767 else
3768 ac_site_file1=$ac_default_prefix/share/config.site
3769 ac_site_file2=$ac_default_prefix/etc/config.site
3771 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3773 test "x$ac_site_file" = xNONE && continue
3774 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3776 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3777 sed 's/^/| /' "$ac_site_file" >&5
3778 . "$ac_site_file" \
3779 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3781 as_fn_error $? "failed to load site script $ac_site_file
3782 See \`config.log' for more details" "$LINENO" 5; }
3784 done
3786 if test -r "$cache_file"; then
3787 # Some versions of bash will fail to source /dev/null (special files
3788 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3789 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3791 $as_echo "$as_me: loading cache $cache_file" >&6;}
3792 case $cache_file in
3793 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3794 *) . "./$cache_file";;
3795 esac
3797 else
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3799 $as_echo "$as_me: creating cache $cache_file" >&6;}
3800 >$cache_file
3803 # Check that the precious variables saved in the cache have kept the same
3804 # value.
3805 ac_cache_corrupted=false
3806 for ac_var in $ac_precious_vars; do
3807 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3808 eval ac_new_set=\$ac_env_${ac_var}_set
3809 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3810 eval ac_new_val=\$ac_env_${ac_var}_value
3811 case $ac_old_set,$ac_new_set in
3812 set,)
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3814 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3815 ac_cache_corrupted=: ;;
3816 ,set)
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3818 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3819 ac_cache_corrupted=: ;;
3820 ,);;
3822 if test "x$ac_old_val" != "x$ac_new_val"; then
3823 # differences in whitespace do not lead to failure.
3824 ac_old_val_w=`echo x $ac_old_val`
3825 ac_new_val_w=`echo x $ac_new_val`
3826 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3828 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3829 ac_cache_corrupted=:
3830 else
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3832 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3833 eval $ac_var=\$ac_old_val
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3836 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3838 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3839 fi;;
3840 esac
3841 # Pass precious variables to config.status.
3842 if test "$ac_new_set" = set; then
3843 case $ac_new_val in
3844 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3845 *) ac_arg=$ac_var=$ac_new_val ;;
3846 esac
3847 case " $ac_configure_args " in
3848 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3849 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3850 esac
3852 done
3853 if $ac_cache_corrupted; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3857 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3858 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3860 ## -------------------- ##
3861 ## Main body of script. ##
3862 ## -------------------- ##
3864 ac_ext=c
3865 ac_cpp='$CPP $CPPFLAGS'
3866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3872 ac_config_headers="$ac_config_headers include/config.h"
3874 ac_aux_dir=
3875 for ac_dir in tools "$srcdir"/tools; do
3876 if test -f "$ac_dir/install-sh"; then
3877 ac_aux_dir=$ac_dir
3878 ac_install_sh="$ac_aux_dir/install-sh -c"
3879 break
3880 elif test -f "$ac_dir/install.sh"; then
3881 ac_aux_dir=$ac_dir
3882 ac_install_sh="$ac_aux_dir/install.sh -c"
3883 break
3884 elif test -f "$ac_dir/shtool"; then
3885 ac_aux_dir=$ac_dir
3886 ac_install_sh="$ac_aux_dir/shtool install -c"
3887 break
3889 done
3890 if test -z "$ac_aux_dir"; then
3891 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3894 # These three variables are undocumented and unsupported,
3895 # and are intended to be withdrawn in a future Autoconf release.
3896 # They can cause serious problems if a builder's source tree is in a directory
3897 # whose full name contains unusual characters.
3898 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3899 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3900 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3904 libwine_version="1.0"
3908 # Check whether --enable-win16 was given.
3909 if test "${enable_win16+set}" = set; then :
3910 enableval=$enable_win16;
3913 # Check whether --enable-win64 was given.
3914 if test "${enable_win64+set}" = set; then :
3915 enableval=$enable_win64;
3918 # Check whether --enable-tests was given.
3919 if test "${enable_tests+set}" = set; then :
3920 enableval=$enable_tests;
3923 # Check whether --enable-build-id was given.
3924 if test "${enable_build_id+set}" = set; then :
3925 enableval=$enable_build_id;
3928 # Check whether --enable-maintainer-mode was given.
3929 if test "${enable_maintainer_mode+set}" = set; then :
3930 enableval=$enable_maintainer_mode;
3933 # Check whether --enable-silent-rules was given.
3934 if test "${enable_silent_rules+set}" = set; then :
3935 enableval=$enable_silent_rules;
3938 # Check whether --enable-werror was given.
3939 if test "${enable_werror+set}" = set; then :
3940 enableval=$enable_werror;
3945 # Check whether --with-alsa was given.
3946 if test "${with_alsa+set}" = set; then :
3947 withval=$with_alsa;
3951 # Check whether --with-capi was given.
3952 if test "${with_capi+set}" = set; then :
3953 withval=$with_capi;
3957 # Check whether --with-cms was given.
3958 if test "${with_cms+set}" = set; then :
3959 withval=$with_cms;
3963 # Check whether --with-coreaudio was given.
3964 if test "${with_coreaudio+set}" = set; then :
3965 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3969 # Check whether --with-cups was given.
3970 if test "${with_cups+set}" = set; then :
3971 withval=$with_cups;
3975 # Check whether --with-dbus was given.
3976 if test "${with_dbus+set}" = set; then :
3977 withval=$with_dbus;
3981 # Check whether --with-faudio was given.
3982 if test "${with_faudio+set}" = set; then :
3983 withval=$with_faudio;
3987 # Check whether --with-float-abi was given.
3988 if test "${with_float_abi+set}" = set; then :
3989 withval=$with_float_abi;
3993 # Check whether --with-fontconfig was given.
3994 if test "${with_fontconfig+set}" = set; then :
3995 withval=$with_fontconfig;
3999 # Check whether --with-freetype was given.
4000 if test "${with_freetype+set}" = set; then :
4001 withval=$with_freetype;
4005 # Check whether --with-gettext was given.
4006 if test "${with_gettext+set}" = set; then :
4007 withval=$with_gettext;
4011 # Check whether --with-gettextpo was given.
4012 if test "${with_gettextpo+set}" = set; then :
4013 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4017 # Check whether --with-gphoto was given.
4018 if test "${with_gphoto+set}" = set; then :
4019 withval=$with_gphoto;
4023 # Check whether --with-gnutls was given.
4024 if test "${with_gnutls+set}" = set; then :
4025 withval=$with_gnutls;
4029 # Check whether --with-gsm was given.
4030 if test "${with_gsm+set}" = set; then :
4031 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4035 # Check whether --with-gssapi was given.
4036 if test "${with_gssapi+set}" = set; then :
4037 withval=$with_gssapi;
4041 # Check whether --with-gstreamer was given.
4042 if test "${with_gstreamer+set}" = set; then :
4043 withval=$with_gstreamer;
4047 # Check whether --with-hal was given.
4048 if test "${with_hal+set}" = set; then :
4049 withval=$with_hal;
4053 # Check whether --with-inotify was given.
4054 if test "${with_inotify+set}" = set; then :
4055 withval=$with_inotify;
4059 # Check whether --with-jpeg was given.
4060 if test "${with_jpeg+set}" = set; then :
4061 withval=$with_jpeg;
4065 # Check whether --with-jxrlib was given.
4066 if test "${with_jxrlib+set}" = set; then :
4067 withval=$with_jxrlib;
4071 # Check whether --with-krb5 was given.
4072 if test "${with_krb5+set}" = set; then :
4073 withval=$with_krb5;
4077 # Check whether --with-ldap was given.
4078 if test "${with_ldap+set}" = set; then :
4079 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4083 # Check whether --with-mingw was given.
4084 if test "${with_mingw+set}" = set; then :
4085 withval=$with_mingw;
4089 # Check whether --with-mpg123 was given.
4090 if test "${with_mpg123+set}" = set; then :
4091 withval=$with_mpg123;
4095 # Check whether --with-netapi was given.
4096 if test "${with_netapi+set}" = set; then :
4097 withval=$with_netapi;
4101 # Check whether --with-openal was given.
4102 if test "${with_openal+set}" = set; then :
4103 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4107 # Check whether --with-opencl was given.
4108 if test "${with_opencl+set}" = set; then :
4109 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4113 # Check whether --with-opengl was given.
4114 if test "${with_opengl+set}" = set; then :
4115 withval=$with_opengl;
4119 # Check whether --with-osmesa was given.
4120 if test "${with_osmesa+set}" = set; then :
4121 withval=$with_osmesa;
4125 # Check whether --with-oss was given.
4126 if test "${with_oss+set}" = set; then :
4127 withval=$with_oss;
4131 # Check whether --with-pcap was given.
4132 if test "${with_pcap+set}" = set; then :
4133 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4137 # Check whether --with-png was given.
4138 if test "${with_png+set}" = set; then :
4139 withval=$with_png;
4143 # Check whether --with-pthread was given.
4144 if test "${with_pthread+set}" = set; then :
4145 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4149 # Check whether --with-pulse was given.
4150 if test "${with_pulse+set}" = set; then :
4151 withval=$with_pulse;
4155 # Check whether --with-quicktime was given.
4156 if test "${with_quicktime+set}" = set; then :
4157 withval=$with_quicktime;
4161 # Check whether --with-sane was given.
4162 if test "${with_sane+set}" = set; then :
4163 withval=$with_sane;
4167 # Check whether --with-sdl was given.
4168 if test "${with_sdl+set}" = set; then :
4169 withval=$with_sdl;
4173 # Check whether --with-tiff was given.
4174 if test "${with_tiff+set}" = set; then :
4175 withval=$with_tiff;
4179 # Check whether --with-udev was given.
4180 if test "${with_udev+set}" = set; then :
4181 withval=$with_udev;
4185 # Check whether --with-unwind was given.
4186 if test "${with_unwind+set}" = set; then :
4187 withval=$with_unwind;
4191 # Check whether --with-usb was given.
4192 if test "${with_usb+set}" = set; then :
4193 withval=$with_usb;
4197 # Check whether --with-v4l2 was given.
4198 if test "${with_v4l2+set}" = set; then :
4199 withval=$with_v4l2;
4203 # Check whether --with-vkd3d was given.
4204 if test "${with_vkd3d+set}" = set; then :
4205 withval=$with_vkd3d;
4209 # Check whether --with-vulkan was given.
4210 if test "${with_vulkan+set}" = set; then :
4211 withval=$with_vulkan;
4215 # Check whether --with-xcomposite was given.
4216 if test "${with_xcomposite+set}" = set; then :
4217 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4221 # Check whether --with-xcursor was given.
4222 if test "${with_xcursor+set}" = set; then :
4223 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4227 # Check whether --with-xfixes was given.
4228 if test "${with_xfixes+set}" = set; then :
4229 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4233 # Check whether --with-xinerama was given.
4234 if test "${with_xinerama+set}" = set; then :
4235 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4239 # Check whether --with-xinput was given.
4240 if test "${with_xinput+set}" = set; then :
4241 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4245 # Check whether --with-xinput2 was given.
4246 if test "${with_xinput2+set}" = set; then :
4247 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4251 # Check whether --with-xml was given.
4252 if test "${with_xml+set}" = set; then :
4253 withval=$with_xml;
4257 # Check whether --with-xrandr was given.
4258 if test "${with_xrandr+set}" = set; then :
4259 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4263 # Check whether --with-xrender was given.
4264 if test "${with_xrender+set}" = set; then :
4265 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4269 # Check whether --with-xshape was given.
4270 if test "${with_xshape+set}" = set; then :
4271 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4275 # Check whether --with-xshm was given.
4276 if test "${with_xshm+set}" = set; then :
4277 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4281 # Check whether --with-xslt was given.
4282 if test "${with_xslt+set}" = set; then :
4283 withval=$with_xslt;
4287 # Check whether --with-xxf86vm was given.
4288 if test "${with_xxf86vm+set}" = set; then :
4289 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
4294 # Check whether --with-wine-tools was given.
4295 if test "${with_wine_tools+set}" = set; then :
4296 withval=$with_wine_tools;
4300 # Check whether --with-wine64 was given.
4301 if test "${with_wine64+set}" = set; then :
4302 withval=$with_wine64;
4306 # Make sure we can run config.sub.
4307 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4308 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4311 $as_echo_n "checking build system type... " >&6; }
4312 if ${ac_cv_build+:} false; then :
4313 $as_echo_n "(cached) " >&6
4314 else
4315 ac_build_alias=$build_alias
4316 test "x$ac_build_alias" = x &&
4317 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4318 test "x$ac_build_alias" = x &&
4319 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4320 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4321 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4325 $as_echo "$ac_cv_build" >&6; }
4326 case $ac_cv_build in
4327 *-*-*) ;;
4328 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4329 esac
4330 build=$ac_cv_build
4331 ac_save_IFS=$IFS; IFS='-'
4332 set x $ac_cv_build
4333 shift
4334 build_cpu=$1
4335 build_vendor=$2
4336 shift; shift
4337 # Remember, the first character of IFS is used to create $*,
4338 # except with old shells:
4339 build_os=$*
4340 IFS=$ac_save_IFS
4341 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4345 $as_echo_n "checking host system type... " >&6; }
4346 if ${ac_cv_host+:} false; then :
4347 $as_echo_n "(cached) " >&6
4348 else
4349 if test "x$host_alias" = x; then
4350 ac_cv_host=$ac_cv_build
4351 else
4352 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4353 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4358 $as_echo "$ac_cv_host" >&6; }
4359 case $ac_cv_host in
4360 *-*-*) ;;
4361 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4362 esac
4363 host=$ac_cv_host
4364 ac_save_IFS=$IFS; IFS='-'
4365 set x $ac_cv_host
4366 shift
4367 host_cpu=$1
4368 host_vendor=$2
4369 shift; shift
4370 # Remember, the first character of IFS is used to create $*,
4371 # except with old shells:
4372 host_os=$*
4373 IFS=$ac_save_IFS
4374 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4380 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4381 set x ${MAKE-make}
4382 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4383 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4384 $as_echo_n "(cached) " >&6
4385 else
4386 cat >conftest.make <<\_ACEOF
4387 SHELL = /bin/sh
4388 all:
4389 @echo '@@@%%%=$(MAKE)=@@@%%%'
4390 _ACEOF
4391 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4392 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4393 *@@@%%%=?*=@@@%%%*)
4394 eval ac_cv_prog_make_${ac_make}_set=yes;;
4396 eval ac_cv_prog_make_${ac_make}_set=no;;
4397 esac
4398 rm -f conftest.make
4400 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4402 $as_echo "yes" >&6; }
4403 SET_MAKE=
4404 else
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4407 SET_MAKE="MAKE=${MAKE-make}"
4410 ac_ext=c
4411 ac_cpp='$CPP $CPPFLAGS'
4412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4415 if test -n "$ac_tool_prefix"; then
4416 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4417 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4419 $as_echo_n "checking for $ac_word... " >&6; }
4420 if ${ac_cv_prog_CC+:} false; then :
4421 $as_echo_n "(cached) " >&6
4422 else
4423 if test -n "$CC"; then
4424 ac_cv_prog_CC="$CC" # Let the user override the test.
4425 else
4426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 for as_dir in $PATH
4429 IFS=$as_save_IFS
4430 test -z "$as_dir" && as_dir=.
4431 for ac_exec_ext in '' $ac_executable_extensions; do
4432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4433 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4435 break 2
4437 done
4438 done
4439 IFS=$as_save_IFS
4443 CC=$ac_cv_prog_CC
4444 if test -n "$CC"; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4446 $as_echo "$CC" >&6; }
4447 else
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4449 $as_echo "no" >&6; }
4454 if test -z "$ac_cv_prog_CC"; then
4455 ac_ct_CC=$CC
4456 # Extract the first word of "gcc", so it can be a program name with args.
4457 set dummy gcc; ac_word=$2
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4459 $as_echo_n "checking for $ac_word... " >&6; }
4460 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4461 $as_echo_n "(cached) " >&6
4462 else
4463 if test -n "$ac_ct_CC"; then
4464 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4465 else
4466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4467 for as_dir in $PATH
4469 IFS=$as_save_IFS
4470 test -z "$as_dir" && as_dir=.
4471 for ac_exec_ext in '' $ac_executable_extensions; do
4472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4473 ac_cv_prog_ac_ct_CC="gcc"
4474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 break 2
4477 done
4478 done
4479 IFS=$as_save_IFS
4483 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4484 if test -n "$ac_ct_CC"; then
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4486 $as_echo "$ac_ct_CC" >&6; }
4487 else
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489 $as_echo "no" >&6; }
4492 if test "x$ac_ct_CC" = x; then
4493 CC=""
4494 else
4495 case $cross_compiling:$ac_tool_warned in
4496 yes:)
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4499 ac_tool_warned=yes ;;
4500 esac
4501 CC=$ac_ct_CC
4503 else
4504 CC="$ac_cv_prog_CC"
4507 if test -z "$CC"; then
4508 if test -n "$ac_tool_prefix"; then
4509 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4510 set dummy ${ac_tool_prefix}cc; ac_word=$2
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4512 $as_echo_n "checking for $ac_word... " >&6; }
4513 if ${ac_cv_prog_CC+:} false; then :
4514 $as_echo_n "(cached) " >&6
4515 else
4516 if test -n "$CC"; then
4517 ac_cv_prog_CC="$CC" # Let the user override the test.
4518 else
4519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4520 for as_dir in $PATH
4522 IFS=$as_save_IFS
4523 test -z "$as_dir" && as_dir=.
4524 for ac_exec_ext in '' $ac_executable_extensions; do
4525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4526 ac_cv_prog_CC="${ac_tool_prefix}cc"
4527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4528 break 2
4530 done
4531 done
4532 IFS=$as_save_IFS
4536 CC=$ac_cv_prog_CC
4537 if test -n "$CC"; then
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4539 $as_echo "$CC" >&6; }
4540 else
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542 $as_echo "no" >&6; }
4548 if test -z "$CC"; then
4549 # Extract the first word of "cc", so it can be a program name with args.
4550 set dummy cc; ac_word=$2
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4552 $as_echo_n "checking for $ac_word... " >&6; }
4553 if ${ac_cv_prog_CC+:} false; then :
4554 $as_echo_n "(cached) " >&6
4555 else
4556 if test -n "$CC"; then
4557 ac_cv_prog_CC="$CC" # Let the user override the test.
4558 else
4559 ac_prog_rejected=no
4560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4561 for as_dir in $PATH
4563 IFS=$as_save_IFS
4564 test -z "$as_dir" && as_dir=.
4565 for ac_exec_ext in '' $ac_executable_extensions; do
4566 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4567 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4568 ac_prog_rejected=yes
4569 continue
4571 ac_cv_prog_CC="cc"
4572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 break 2
4575 done
4576 done
4577 IFS=$as_save_IFS
4579 if test $ac_prog_rejected = yes; then
4580 # We found a bogon in the path, so make sure we never use it.
4581 set dummy $ac_cv_prog_CC
4582 shift
4583 if test $# != 0; then
4584 # We chose a different compiler from the bogus one.
4585 # However, it has the same basename, so the bogon will be chosen
4586 # first if we set CC to just the basename; use the full file name.
4587 shift
4588 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4593 CC=$ac_cv_prog_CC
4594 if test -n "$CC"; then
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4596 $as_echo "$CC" >&6; }
4597 else
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599 $as_echo "no" >&6; }
4604 if test -z "$CC"; then
4605 if test -n "$ac_tool_prefix"; then
4606 for ac_prog in cl.exe
4608 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4609 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 $as_echo_n "checking for $ac_word... " >&6; }
4612 if ${ac_cv_prog_CC+:} false; then :
4613 $as_echo_n "(cached) " >&6
4614 else
4615 if test -n "$CC"; then
4616 ac_cv_prog_CC="$CC" # Let the user override the test.
4617 else
4618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619 for as_dir in $PATH
4621 IFS=$as_save_IFS
4622 test -z "$as_dir" && as_dir=.
4623 for ac_exec_ext in '' $ac_executable_extensions; do
4624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4625 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4627 break 2
4629 done
4630 done
4631 IFS=$as_save_IFS
4635 CC=$ac_cv_prog_CC
4636 if test -n "$CC"; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4638 $as_echo "$CC" >&6; }
4639 else
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 $as_echo "no" >&6; }
4645 test -n "$CC" && break
4646 done
4648 if test -z "$CC"; then
4649 ac_ct_CC=$CC
4650 for ac_prog in cl.exe
4652 # Extract the first word of "$ac_prog", so it can be a program name with args.
4653 set dummy $ac_prog; ac_word=$2
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4655 $as_echo_n "checking for $ac_word... " >&6; }
4656 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4657 $as_echo_n "(cached) " >&6
4658 else
4659 if test -n "$ac_ct_CC"; then
4660 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4661 else
4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 for as_dir in $PATH
4665 IFS=$as_save_IFS
4666 test -z "$as_dir" && as_dir=.
4667 for ac_exec_ext in '' $ac_executable_extensions; do
4668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4669 ac_cv_prog_ac_ct_CC="$ac_prog"
4670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4671 break 2
4673 done
4674 done
4675 IFS=$as_save_IFS
4679 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4680 if test -n "$ac_ct_CC"; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4682 $as_echo "$ac_ct_CC" >&6; }
4683 else
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4685 $as_echo "no" >&6; }
4689 test -n "$ac_ct_CC" && break
4690 done
4692 if test "x$ac_ct_CC" = x; then
4693 CC=""
4694 else
4695 case $cross_compiling:$ac_tool_warned in
4696 yes:)
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4699 ac_tool_warned=yes ;;
4700 esac
4701 CC=$ac_ct_CC
4708 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4710 as_fn_error $? "no acceptable C compiler found in \$PATH
4711 See \`config.log' for more details" "$LINENO" 5; }
4713 # Provide some information about the compiler.
4714 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4715 set X $ac_compile
4716 ac_compiler=$2
4717 for ac_option in --version -v -V -qversion; do
4718 { { ac_try="$ac_compiler $ac_option >&5"
4719 case "(($ac_try" in
4720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4721 *) ac_try_echo=$ac_try;;
4722 esac
4723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4724 $as_echo "$ac_try_echo"; } >&5
4725 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4726 ac_status=$?
4727 if test -s conftest.err; then
4728 sed '10a\
4729 ... rest of stderr output deleted ...
4730 10q' conftest.err >conftest.er1
4731 cat conftest.er1 >&5
4733 rm -f conftest.er1 conftest.err
4734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4735 test $ac_status = 0; }
4736 done
4738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4739 /* end confdefs.h. */
4742 main ()
4746 return 0;
4748 _ACEOF
4749 ac_clean_files_save=$ac_clean_files
4750 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4751 # Try to create an executable without -o first, disregard a.out.
4752 # It will help us diagnose broken compilers, and finding out an intuition
4753 # of exeext.
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4755 $as_echo_n "checking whether the C compiler works... " >&6; }
4756 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4758 # The possible output files:
4759 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4761 ac_rmfiles=
4762 for ac_file in $ac_files
4764 case $ac_file in
4765 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4766 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4767 esac
4768 done
4769 rm -f $ac_rmfiles
4771 if { { ac_try="$ac_link_default"
4772 case "(($ac_try" in
4773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4774 *) ac_try_echo=$ac_try;;
4775 esac
4776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4777 $as_echo "$ac_try_echo"; } >&5
4778 (eval "$ac_link_default") 2>&5
4779 ac_status=$?
4780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4781 test $ac_status = 0; }; then :
4782 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4783 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4784 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4785 # so that the user can short-circuit this test for compilers unknown to
4786 # Autoconf.
4787 for ac_file in $ac_files ''
4789 test -f "$ac_file" || continue
4790 case $ac_file in
4791 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4793 [ab].out )
4794 # We found the default executable, but exeext='' is most
4795 # certainly right.
4796 break;;
4797 *.* )
4798 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4799 then :; else
4800 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4802 # We set ac_cv_exeext here because the later test for it is not
4803 # safe: cross compilers may not add the suffix if given an `-o'
4804 # argument, so we may need to know it at that point already.
4805 # Even if this section looks crufty: it has the advantage of
4806 # actually working.
4807 break;;
4809 break;;
4810 esac
4811 done
4812 test "$ac_cv_exeext" = no && ac_cv_exeext=
4814 else
4815 ac_file=''
4817 if test -z "$ac_file"; then :
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4819 $as_echo "no" >&6; }
4820 $as_echo "$as_me: failed program was:" >&5
4821 sed 's/^/| /' conftest.$ac_ext >&5
4823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4825 as_fn_error 77 "C compiler cannot create executables
4826 See \`config.log' for more details" "$LINENO" 5; }
4827 else
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4829 $as_echo "yes" >&6; }
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4832 $as_echo_n "checking for C compiler default output file name... " >&6; }
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4834 $as_echo "$ac_file" >&6; }
4835 ac_exeext=$ac_cv_exeext
4837 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4838 ac_clean_files=$ac_clean_files_save
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4840 $as_echo_n "checking for suffix of executables... " >&6; }
4841 if { { ac_try="$ac_link"
4842 case "(($ac_try" in
4843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4845 esac
4846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4847 $as_echo "$ac_try_echo"; } >&5
4848 (eval "$ac_link") 2>&5
4849 ac_status=$?
4850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4851 test $ac_status = 0; }; then :
4852 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4853 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4854 # work properly (i.e., refer to `conftest.exe'), while it won't with
4855 # `rm'.
4856 for ac_file in conftest.exe conftest conftest.*; do
4857 test -f "$ac_file" || continue
4858 case $ac_file in
4859 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4860 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4861 break;;
4862 * ) break;;
4863 esac
4864 done
4865 else
4866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4868 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4869 See \`config.log' for more details" "$LINENO" 5; }
4871 rm -f conftest conftest$ac_cv_exeext
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4873 $as_echo "$ac_cv_exeext" >&6; }
4875 rm -f conftest.$ac_ext
4876 EXEEXT=$ac_cv_exeext
4877 ac_exeext=$EXEEXT
4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4880 #include <stdio.h>
4882 main ()
4884 FILE *f = fopen ("conftest.out", "w");
4885 return ferror (f) || fclose (f) != 0;
4888 return 0;
4890 _ACEOF
4891 ac_clean_files="$ac_clean_files conftest.out"
4892 # Check that the compiler produces executables we can run. If not, either
4893 # the compiler is broken, or we cross compile.
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4895 $as_echo_n "checking whether we are cross compiling... " >&6; }
4896 if test "$cross_compiling" != yes; then
4897 { { ac_try="$ac_link"
4898 case "(($ac_try" in
4899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4900 *) ac_try_echo=$ac_try;;
4901 esac
4902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4903 $as_echo "$ac_try_echo"; } >&5
4904 (eval "$ac_link") 2>&5
4905 ac_status=$?
4906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4907 test $ac_status = 0; }
4908 if { ac_try='./conftest$ac_cv_exeext'
4909 { { case "(($ac_try" in
4910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4911 *) ac_try_echo=$ac_try;;
4912 esac
4913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4914 $as_echo "$ac_try_echo"; } >&5
4915 (eval "$ac_try") 2>&5
4916 ac_status=$?
4917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4918 test $ac_status = 0; }; }; then
4919 cross_compiling=no
4920 else
4921 if test "$cross_compiling" = maybe; then
4922 cross_compiling=yes
4923 else
4924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4926 as_fn_error $? "cannot run C compiled programs.
4927 If you meant to cross compile, use \`--host'.
4928 See \`config.log' for more details" "$LINENO" 5; }
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4933 $as_echo "$cross_compiling" >&6; }
4935 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4936 ac_clean_files=$ac_clean_files_save
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4938 $as_echo_n "checking for suffix of object files... " >&6; }
4939 if ${ac_cv_objext+:} false; then :
4940 $as_echo_n "(cached) " >&6
4941 else
4942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4943 /* end confdefs.h. */
4946 main ()
4950 return 0;
4952 _ACEOF
4953 rm -f conftest.o conftest.obj
4954 if { { ac_try="$ac_compile"
4955 case "(($ac_try" in
4956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957 *) ac_try_echo=$ac_try;;
4958 esac
4959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4960 $as_echo "$ac_try_echo"; } >&5
4961 (eval "$ac_compile") 2>&5
4962 ac_status=$?
4963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4964 test $ac_status = 0; }; then :
4965 for ac_file in conftest.o conftest.obj conftest.*; do
4966 test -f "$ac_file" || continue;
4967 case $ac_file in
4968 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4969 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4970 break;;
4971 esac
4972 done
4973 else
4974 $as_echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4979 as_fn_error $? "cannot compute suffix of object files: cannot compile
4980 See \`config.log' for more details" "$LINENO" 5; }
4982 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4985 $as_echo "$ac_cv_objext" >&6; }
4986 OBJEXT=$ac_cv_objext
4987 ac_objext=$OBJEXT
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4989 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4990 if ${ac_cv_c_compiler_gnu+:} false; then :
4991 $as_echo_n "(cached) " >&6
4992 else
4993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4997 main ()
4999 #ifndef __GNUC__
5000 choke me
5001 #endif
5004 return 0;
5006 _ACEOF
5007 if ac_fn_c_try_compile "$LINENO"; then :
5008 ac_compiler_gnu=yes
5009 else
5010 ac_compiler_gnu=no
5012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5013 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5017 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5018 if test $ac_compiler_gnu = yes; then
5019 GCC=yes
5020 else
5021 GCC=
5023 ac_test_CFLAGS=${CFLAGS+set}
5024 ac_save_CFLAGS=$CFLAGS
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5026 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5027 if ${ac_cv_prog_cc_g+:} false; then :
5028 $as_echo_n "(cached) " >&6
5029 else
5030 ac_save_c_werror_flag=$ac_c_werror_flag
5031 ac_c_werror_flag=yes
5032 ac_cv_prog_cc_g=no
5033 CFLAGS="-g"
5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5038 main ()
5042 return 0;
5044 _ACEOF
5045 if ac_fn_c_try_compile "$LINENO"; then :
5046 ac_cv_prog_cc_g=yes
5047 else
5048 CFLAGS=""
5049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5050 /* end confdefs.h. */
5053 main ()
5057 return 0;
5059 _ACEOF
5060 if ac_fn_c_try_compile "$LINENO"; then :
5062 else
5063 ac_c_werror_flag=$ac_save_c_werror_flag
5064 CFLAGS="-g"
5065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5066 /* end confdefs.h. */
5069 main ()
5073 return 0;
5075 _ACEOF
5076 if ac_fn_c_try_compile "$LINENO"; then :
5077 ac_cv_prog_cc_g=yes
5079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5084 ac_c_werror_flag=$ac_save_c_werror_flag
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5087 $as_echo "$ac_cv_prog_cc_g" >&6; }
5088 if test "$ac_test_CFLAGS" = set; then
5089 CFLAGS=$ac_save_CFLAGS
5090 elif test $ac_cv_prog_cc_g = yes; then
5091 if test "$GCC" = yes; then
5092 CFLAGS="-g -O2"
5093 else
5094 CFLAGS="-g"
5096 else
5097 if test "$GCC" = yes; then
5098 CFLAGS="-O2"
5099 else
5100 CFLAGS=
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5104 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5105 if ${ac_cv_prog_cc_c89+:} false; then :
5106 $as_echo_n "(cached) " >&6
5107 else
5108 ac_cv_prog_cc_c89=no
5109 ac_save_CC=$CC
5110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5111 /* end confdefs.h. */
5112 #include <stdarg.h>
5113 #include <stdio.h>
5114 struct stat;
5115 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5116 struct buf { int x; };
5117 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5118 static char *e (p, i)
5119 char **p;
5120 int i;
5122 return p[i];
5124 static char *f (char * (*g) (char **, int), char **p, ...)
5126 char *s;
5127 va_list v;
5128 va_start (v,p);
5129 s = g (p, va_arg (v,int));
5130 va_end (v);
5131 return s;
5134 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5135 function prototypes and stuff, but not '\xHH' hex character constants.
5136 These don't provoke an error unfortunately, instead are silently treated
5137 as 'x'. The following induces an error, until -std is added to get
5138 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5139 array size at least. It's necessary to write '\x00'==0 to get something
5140 that's true only with -std. */
5141 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5143 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5144 inside strings and character constants. */
5145 #define FOO(x) 'x'
5146 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5148 int test (int i, double x);
5149 struct s1 {int (*f) (int a);};
5150 struct s2 {int (*f) (double a);};
5151 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5152 int argc;
5153 char **argv;
5155 main ()
5157 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5159 return 0;
5161 _ACEOF
5162 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5163 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5165 CC="$ac_save_CC $ac_arg"
5166 if ac_fn_c_try_compile "$LINENO"; then :
5167 ac_cv_prog_cc_c89=$ac_arg
5169 rm -f core conftest.err conftest.$ac_objext
5170 test "x$ac_cv_prog_cc_c89" != "xno" && break
5171 done
5172 rm -f conftest.$ac_ext
5173 CC=$ac_save_CC
5176 # AC_CACHE_VAL
5177 case "x$ac_cv_prog_cc_c89" in
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5180 $as_echo "none needed" >&6; } ;;
5181 xno)
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5183 $as_echo "unsupported" >&6; } ;;
5185 CC="$CC $ac_cv_prog_cc_c89"
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5187 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5188 esac
5189 if test "x$ac_cv_prog_cc_c89" != xno; then :
5193 ac_ext=c
5194 ac_cpp='$CPP $CPPFLAGS'
5195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5199 ac_ext=cpp
5200 ac_cpp='$CXXCPP $CPPFLAGS'
5201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5204 if test -z "$CXX"; then
5205 if test -n "$CCC"; then
5206 CXX=$CCC
5207 else
5208 if test -n "$ac_tool_prefix"; then
5209 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5211 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5212 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_CXX+:} false; then :
5216 $as_echo_n "(cached) " >&6
5217 else
5218 if test -n "$CXX"; then
5219 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5220 else
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH
5224 IFS=$as_save_IFS
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 break 2
5232 done
5233 done
5234 IFS=$as_save_IFS
5238 CXX=$ac_cv_prog_CXX
5239 if test -n "$CXX"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5241 $as_echo "$CXX" >&6; }
5242 else
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5248 test -n "$CXX" && break
5249 done
5251 if test -z "$CXX"; then
5252 ac_ct_CXX=$CXX
5253 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5255 # Extract the first word of "$ac_prog", so it can be a program name with args.
5256 set dummy $ac_prog; ac_word=$2
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5258 $as_echo_n "checking for $ac_word... " >&6; }
5259 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5260 $as_echo_n "(cached) " >&6
5261 else
5262 if test -n "$ac_ct_CXX"; then
5263 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5264 else
5265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5266 for as_dir in $PATH
5268 IFS=$as_save_IFS
5269 test -z "$as_dir" && as_dir=.
5270 for ac_exec_ext in '' $ac_executable_extensions; do
5271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5272 ac_cv_prog_ac_ct_CXX="$ac_prog"
5273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5274 break 2
5276 done
5277 done
5278 IFS=$as_save_IFS
5282 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5283 if test -n "$ac_ct_CXX"; then
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5285 $as_echo "$ac_ct_CXX" >&6; }
5286 else
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 $as_echo "no" >&6; }
5292 test -n "$ac_ct_CXX" && break
5293 done
5295 if test "x$ac_ct_CXX" = x; then
5296 CXX="g++"
5297 else
5298 case $cross_compiling:$ac_tool_warned in
5299 yes:)
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5302 ac_tool_warned=yes ;;
5303 esac
5304 CXX=$ac_ct_CXX
5310 # Provide some information about the compiler.
5311 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5312 set X $ac_compile
5313 ac_compiler=$2
5314 for ac_option in --version -v -V -qversion; do
5315 { { ac_try="$ac_compiler $ac_option >&5"
5316 case "(($ac_try" in
5317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5318 *) ac_try_echo=$ac_try;;
5319 esac
5320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5321 $as_echo "$ac_try_echo"; } >&5
5322 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5323 ac_status=$?
5324 if test -s conftest.err; then
5325 sed '10a\
5326 ... rest of stderr output deleted ...
5327 10q' conftest.err >conftest.er1
5328 cat conftest.er1 >&5
5330 rm -f conftest.er1 conftest.err
5331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5332 test $ac_status = 0; }
5333 done
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5336 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5337 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5338 $as_echo_n "(cached) " >&6
5339 else
5340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5341 /* end confdefs.h. */
5344 main ()
5346 #ifndef __GNUC__
5347 choke me
5348 #endif
5351 return 0;
5353 _ACEOF
5354 if ac_fn_cxx_try_compile "$LINENO"; then :
5355 ac_compiler_gnu=yes
5356 else
5357 ac_compiler_gnu=no
5359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5360 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5364 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5365 if test $ac_compiler_gnu = yes; then
5366 GXX=yes
5367 else
5368 GXX=
5370 ac_test_CXXFLAGS=${CXXFLAGS+set}
5371 ac_save_CXXFLAGS=$CXXFLAGS
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5373 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5374 if ${ac_cv_prog_cxx_g+:} false; then :
5375 $as_echo_n "(cached) " >&6
5376 else
5377 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5378 ac_cxx_werror_flag=yes
5379 ac_cv_prog_cxx_g=no
5380 CXXFLAGS="-g"
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5385 main ()
5389 return 0;
5391 _ACEOF
5392 if ac_fn_cxx_try_compile "$LINENO"; then :
5393 ac_cv_prog_cxx_g=yes
5394 else
5395 CXXFLAGS=""
5396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5400 main ()
5404 return 0;
5406 _ACEOF
5407 if ac_fn_cxx_try_compile "$LINENO"; then :
5409 else
5410 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5411 CXXFLAGS="-g"
5412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5413 /* end confdefs.h. */
5416 main ()
5420 return 0;
5422 _ACEOF
5423 if ac_fn_cxx_try_compile "$LINENO"; then :
5424 ac_cv_prog_cxx_g=yes
5426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5431 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5434 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5435 if test "$ac_test_CXXFLAGS" = set; then
5436 CXXFLAGS=$ac_save_CXXFLAGS
5437 elif test $ac_cv_prog_cxx_g = yes; then
5438 if test "$GXX" = yes; then
5439 CXXFLAGS="-g -O2"
5440 else
5441 CXXFLAGS="-g"
5443 else
5444 if test "$GXX" = yes; then
5445 CXXFLAGS="-O2"
5446 else
5447 CXXFLAGS=
5450 ac_ext=c
5451 ac_cpp='$CPP $CPPFLAGS'
5452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5456 if test -n "$ac_tool_prefix"; then
5457 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5458 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5460 $as_echo_n "checking for $ac_word... " >&6; }
5461 if ${ac_cv_prog_CPPBIN+:} false; then :
5462 $as_echo_n "(cached) " >&6
5463 else
5464 if test -n "$CPPBIN"; then
5465 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5466 else
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 for ac_exec_ext in '' $ac_executable_extensions; do
5473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5474 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5476 break 2
5478 done
5479 done
5480 IFS=$as_save_IFS
5484 CPPBIN=$ac_cv_prog_CPPBIN
5485 if test -n "$CPPBIN"; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5487 $as_echo "$CPPBIN" >&6; }
5488 else
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5490 $as_echo "no" >&6; }
5495 if test -z "$ac_cv_prog_CPPBIN"; then
5496 ac_ct_CPPBIN=$CPPBIN
5497 # Extract the first word of "cpp", so it can be a program name with args.
5498 set dummy cpp; ac_word=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5502 $as_echo_n "(cached) " >&6
5503 else
5504 if test -n "$ac_ct_CPPBIN"; then
5505 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5506 else
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 for as_dir in $PATH
5510 IFS=$as_save_IFS
5511 test -z "$as_dir" && as_dir=.
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_ac_ct_CPPBIN="cpp"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 break 2
5518 done
5519 done
5520 IFS=$as_save_IFS
5524 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5525 if test -n "$ac_ct_CPPBIN"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5527 $as_echo "$ac_ct_CPPBIN" >&6; }
5528 else
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5533 if test "x$ac_ct_CPPBIN" = x; then
5534 CPPBIN="cpp"
5535 else
5536 case $cross_compiling:$ac_tool_warned in
5537 yes:)
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5540 ac_tool_warned=yes ;;
5541 esac
5542 CPPBIN=$ac_ct_CPPBIN
5544 else
5545 CPPBIN="$ac_cv_prog_CPPBIN"
5549 cat >>confdefs.h <<_ACEOF
5550 #define EXEEXT "$ac_exeext"
5551 _ACEOF
5553 if test -n "$ac_tool_prefix"; then
5554 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5555 set dummy ${ac_tool_prefix}ld; ac_word=$2
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5557 $as_echo_n "checking for $ac_word... " >&6; }
5558 if ${ac_cv_prog_LD+:} false; then :
5559 $as_echo_n "(cached) " >&6
5560 else
5561 if test -n "$LD"; then
5562 ac_cv_prog_LD="$LD" # Let the user override the test.
5563 else
5564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5565 for as_dir in $PATH
5567 IFS=$as_save_IFS
5568 test -z "$as_dir" && as_dir=.
5569 for ac_exec_ext in '' $ac_executable_extensions; do
5570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5571 ac_cv_prog_LD="${ac_tool_prefix}ld"
5572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 break 2
5575 done
5576 done
5577 IFS=$as_save_IFS
5581 LD=$ac_cv_prog_LD
5582 if test -n "$LD"; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5584 $as_echo "$LD" >&6; }
5585 else
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5587 $as_echo "no" >&6; }
5592 if test -z "$ac_cv_prog_LD"; then
5593 ac_ct_LD=$LD
5594 # Extract the first word of "ld", so it can be a program name with args.
5595 set dummy ld; ac_word=$2
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5597 $as_echo_n "checking for $ac_word... " >&6; }
5598 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5599 $as_echo_n "(cached) " >&6
5600 else
5601 if test -n "$ac_ct_LD"; then
5602 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5603 else
5604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5605 for as_dir in $PATH
5607 IFS=$as_save_IFS
5608 test -z "$as_dir" && as_dir=.
5609 for ac_exec_ext in '' $ac_executable_extensions; do
5610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5611 ac_cv_prog_ac_ct_LD="ld"
5612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5613 break 2
5615 done
5616 done
5617 IFS=$as_save_IFS
5621 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5622 if test -n "$ac_ct_LD"; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5624 $as_echo "$ac_ct_LD" >&6; }
5625 else
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 $as_echo "no" >&6; }
5630 if test "x$ac_ct_LD" = x; then
5631 LD=""
5632 else
5633 case $cross_compiling:$ac_tool_warned in
5634 yes:)
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5637 ac_tool_warned=yes ;;
5638 esac
5639 LD=$ac_ct_LD
5641 else
5642 LD="$ac_cv_prog_LD"
5646 case $host in
5647 *-darwin*)
5648 with_fontconfig=${with_fontconfig:-no}
5650 *-mingw32*|*-cygwin*)
5651 enable_win16=${enable_win16:-no}
5652 with_mingw=${with_mingw:-no}
5653 CFLAGS="$CFLAGS -D_WIN32"
5655 esac
5658 case $host in
5659 x86_64*|amd64*)
5660 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5661 then
5662 CC="$CC -m32"
5663 CXX="$CXX -m32"
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5666 $as_echo_n "checking whether $CC works... " >&6; }
5667 if ${wine_cv_cc_m32+:} false; then :
5668 $as_echo_n "(cached) " >&6
5669 else
5670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5671 /* end confdefs.h. */
5674 main ()
5678 return 0;
5680 _ACEOF
5681 if ac_fn_c_try_link "$LINENO"; then :
5682 wine_cv_cc_m32=yes
5683 else
5684 wine_cv_cc_m32=no
5686 rm -f core conftest.err conftest.$ac_objext \
5687 conftest$ac_exeext conftest.$ac_ext
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5690 $as_echo "$wine_cv_cc_m32" >&6; }
5691 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
5692 host_cpu="i386"
5693 notice_platform="32-bit "
5694 TARGETFLAGS="$TARGETFLAGS -m32"
5695 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5696 export PKG_CONFIG_PATH
5697 enable_win16=${enable_win16:-yes}
5698 with_unwind=${with_unwind:-no}
5699 else
5700 if test "x${GCC}" = "xyes"
5701 then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5703 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5704 if ${wine_cv_builtin_ms_va_list+:} false; then :
5705 $as_echo_n "(cached) " >&6
5706 else
5707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5708 /* end confdefs.h. */
5709 #include <stdarg.h>
5711 main ()
5713 void func(__builtin_ms_va_list *args);
5715 return 0;
5717 _ACEOF
5718 if ac_fn_c_try_compile "$LINENO"; then :
5719 wine_cv_builtin_ms_va_list=yes
5720 else
5721 wine_cv_builtin_ms_va_list=no
5723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5726 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5727 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
5729 CC="$CC -m64"
5730 CXX="$CXX -m64"
5731 host_cpu="x86_64"
5732 notice_platform="64-bit "
5733 TARGETFLAGS="$TARGETFLAGS -m64"
5734 enable_wow64cpu=${enable_wow64cpu:-yes}
5737 arm*)
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5739 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5740 if ${wine_cv_thumb2+:} false; then :
5741 $as_echo_n "(cached) " >&6
5742 else
5743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5744 /* end confdefs.h. */
5747 main ()
5749 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5751 return 0;
5753 _ACEOF
5754 if ac_fn_c_try_link "$LINENO"; then :
5755 wine_cv_thumb2=yes
5756 else
5757 wine_cv_thumb2=no
5759 rm -f core conftest.err conftest.$ac_objext \
5760 conftest$ac_exeext conftest.$ac_ext
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5763 $as_echo "$wine_cv_thumb2" >&6; }
5764 if test x"$wine_cv_thumb2" = xyes
5765 then
5766 CFLAGS="$CFLAGS -mthumb"
5767 TARGETFLAGS="$TARGETFLAGS -mthumb"
5768 else
5769 CFLAGS="$CFLAGS -marm"
5770 TARGETFLAGS="$TARGETFLAGS -marm"
5772 case $with_float_abi in
5773 soft|softfp|hard)
5774 float_abi=$with_float_abi ;;
5776 case $host_os in
5777 *eabihf)
5778 float_abi=hard ;;
5780 float_abi=softfp
5781 saved_CFLAGS=$CFLAGS
5782 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5784 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5785 if ${wine_cv_float_abi+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5789 /* end confdefs.h. */
5792 main ()
5794 asm("vmrs r2,fpscr");
5796 return 0;
5798 _ACEOF
5799 if ac_fn_c_try_link "$LINENO"; then :
5800 wine_cv_float_abi=yes
5801 else
5802 wine_cv_float_abi=no
5804 rm -f core conftest.err conftest.$ac_objext \
5805 conftest$ac_exeext conftest.$ac_ext
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5808 $as_echo "$wine_cv_float_abi" >&6; }
5809 if test $wine_cv_float_abi = no
5810 then
5811 float_abi=soft
5812 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5814 CFLAGS=$saved_CFLAGS
5815 esac
5817 esac
5818 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5819 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5821 aarch64*)
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5823 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5824 if ${wine_cv_builtin_ms_va_list+:} false; then :
5825 $as_echo_n "(cached) " >&6
5826 else
5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5829 #include <stdarg.h>
5831 main ()
5833 void func(__builtin_ms_va_list *args);
5835 return 0;
5837 _ACEOF
5838 if ac_fn_c_try_compile "$LINENO"; then :
5839 wine_cv_builtin_ms_va_list=yes
5840 else
5841 wine_cv_builtin_ms_va_list=no
5843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5846 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5847 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5849 i[3456789]86*)
5850 enable_win16=${enable_win16:-yes}
5851 with_unwind=${with_unwind:-no}
5853 esac
5855 enable_win16=${enable_win16:-no}
5856 enable_win64=${enable_win64:-no}
5857 enable_wow64cpu=${enable_wow64cpu:-no}
5859 enable_winetest=${enable_winetest:-$enable_tests}
5861 if test "x$enable_win64" = "xyes"
5862 then
5863 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5864 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5865 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5869 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5870 if ${wine_cv_toolsdir+:} false; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 wine_cv_toolsdir="$with_wine_tools"
5874 if test -z "$with_wine_tools"; then
5875 if test "$cross_compiling" = "yes"; then
5876 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5877 elif test -n "$with_wine64"; then
5878 wine_cv_toolsdir="$with_wine64"
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5883 $as_echo "$wine_cv_toolsdir" >&6; }
5884 if test -z "$wine_cv_toolsdir"; then
5885 wine_makedep=tools/makedep
5886 TOOLSDIR="."
5888 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5889 wine_makedep=$wine_cv_toolsdir/tools/makedep
5890 TOOLSDIR=$wine_cv_toolsdir
5892 enable_tools=${enable_tools:-no}
5893 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5894 else
5895 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5897 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5898 then
5899 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5902 for ac_prog in flex
5904 # Extract the first word of "$ac_prog", so it can be a program name with args.
5905 set dummy $ac_prog; ac_word=$2
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907 $as_echo_n "checking for $ac_word... " >&6; }
5908 if ${ac_cv_prog_FLEX+:} false; then :
5909 $as_echo_n "(cached) " >&6
5910 else
5911 if test -n "$FLEX"; then
5912 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5913 else
5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915 for as_dir in $PATH
5917 IFS=$as_save_IFS
5918 test -z "$as_dir" && as_dir=.
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5921 ac_cv_prog_FLEX="$ac_prog"
5922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 break 2
5925 done
5926 done
5927 IFS=$as_save_IFS
5931 FLEX=$ac_cv_prog_FLEX
5932 if test -n "$FLEX"; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5934 $as_echo "$FLEX" >&6; }
5935 else
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937 $as_echo "no" >&6; }
5941 test -n "$FLEX" && break
5942 done
5943 test -n "$FLEX" || FLEX="none"
5945 if test "$FLEX" = "none"
5946 then
5947 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5950 $as_echo_n "checking whether flex is recent enough... " >&6; }
5951 if ${wine_cv_recent_flex+:} false; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5954 cat >conftest.l <<EOF
5955 %top{
5956 #include "prediluvian.h"
5960 if $FLEX -t conftest.l >/dev/null 2>&5
5961 then
5962 wine_cv_recent_flex=yes
5963 else
5964 wine_cv_recent_flex=no
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5968 $as_echo "$wine_cv_recent_flex" >&6; }
5969 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
5971 for ac_prog in bison
5973 # Extract the first word of "$ac_prog", so it can be a program name with args.
5974 set dummy $ac_prog; ac_word=$2
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5976 $as_echo_n "checking for $ac_word... " >&6; }
5977 if ${ac_cv_prog_BISON+:} false; then :
5978 $as_echo_n "(cached) " >&6
5979 else
5980 if test -n "$BISON"; then
5981 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5982 else
5983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5984 for as_dir in $PATH
5986 IFS=$as_save_IFS
5987 test -z "$as_dir" && as_dir=.
5988 for ac_exec_ext in '' $ac_executable_extensions; do
5989 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5990 ac_cv_prog_BISON="$ac_prog"
5991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5992 break 2
5994 done
5995 done
5996 IFS=$as_save_IFS
6000 BISON=$ac_cv_prog_BISON
6001 if test -n "$BISON"; then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6003 $as_echo "$BISON" >&6; }
6004 else
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6006 $as_echo "no" >&6; }
6010 test -n "$BISON" && break
6011 done
6012 test -n "$BISON" || BISON="none"
6014 if test "$BISON" = "none"
6015 then
6016 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6019 $as_echo_n "checking whether bison is recent enough... " >&6; }
6020 if ${wine_cv_recent_bison+:} false; then :
6021 $as_echo_n "(cached) " >&6
6022 else
6023 cat >conftest.y <<EOF
6024 %define parse.error verbose
6026 empty: ;
6028 if $BISON conftest.y >/dev/null 2>&5
6029 then
6030 wine_cv_recent_bison=yes
6031 else
6032 wine_cv_recent_bison=no
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6036 $as_echo "$wine_cv_recent_bison" >&6; }
6037 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
6039 if test -n "$ac_tool_prefix"; then
6040 for ac_prog in ar gar
6042 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6043 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045 $as_echo_n "checking for $ac_word... " >&6; }
6046 if ${ac_cv_prog_AR+:} false; then :
6047 $as_echo_n "(cached) " >&6
6048 else
6049 if test -n "$AR"; then
6050 ac_cv_prog_AR="$AR" # Let the user override the test.
6051 else
6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 for as_dir in $PATH
6055 IFS=$as_save_IFS
6056 test -z "$as_dir" && as_dir=.
6057 for ac_exec_ext in '' $ac_executable_extensions; do
6058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6059 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6061 break 2
6063 done
6064 done
6065 IFS=$as_save_IFS
6069 AR=$ac_cv_prog_AR
6070 if test -n "$AR"; then
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6072 $as_echo "$AR" >&6; }
6073 else
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075 $as_echo "no" >&6; }
6079 test -n "$AR" && break
6080 done
6082 if test -z "$AR"; then
6083 ac_ct_AR=$AR
6084 for ac_prog in ar gar
6086 # Extract the first word of "$ac_prog", so it can be a program name with args.
6087 set dummy $ac_prog; ac_word=$2
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089 $as_echo_n "checking for $ac_word... " >&6; }
6090 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6091 $as_echo_n "(cached) " >&6
6092 else
6093 if test -n "$ac_ct_AR"; then
6094 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6095 else
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6097 for as_dir in $PATH
6099 IFS=$as_save_IFS
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6103 ac_cv_prog_ac_ct_AR="$ac_prog"
6104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 break 2
6107 done
6108 done
6109 IFS=$as_save_IFS
6113 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6114 if test -n "$ac_ct_AR"; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6116 $as_echo "$ac_ct_AR" >&6; }
6117 else
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119 $as_echo "no" >&6; }
6123 test -n "$ac_ct_AR" && break
6124 done
6126 if test "x$ac_ct_AR" = x; then
6127 AR="ar"
6128 else
6129 case $cross_compiling:$ac_tool_warned in
6130 yes:)
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6133 ac_tool_warned=yes ;;
6134 esac
6135 AR=$ac_ct_AR
6139 if test -n "$ac_tool_prefix"; then
6140 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6141 set dummy ${ac_tool_prefix}strip; ac_word=$2
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6143 $as_echo_n "checking for $ac_word... " >&6; }
6144 if ${ac_cv_prog_STRIP+:} false; then :
6145 $as_echo_n "(cached) " >&6
6146 else
6147 if test -n "$STRIP"; then
6148 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6149 else
6150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 for as_dir in $PATH
6153 IFS=$as_save_IFS
6154 test -z "$as_dir" && as_dir=.
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6157 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 break 2
6161 done
6162 done
6163 IFS=$as_save_IFS
6167 STRIP=$ac_cv_prog_STRIP
6168 if test -n "$STRIP"; then
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6170 $as_echo "$STRIP" >&6; }
6171 else
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6173 $as_echo "no" >&6; }
6178 if test -z "$ac_cv_prog_STRIP"; then
6179 ac_ct_STRIP=$STRIP
6180 # Extract the first word of "strip", so it can be a program name with args.
6181 set dummy strip; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 if test -n "$ac_ct_STRIP"; then
6188 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6197 ac_cv_prog_ac_ct_STRIP="strip"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6201 done
6202 done
6203 IFS=$as_save_IFS
6207 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6208 if test -n "$ac_ct_STRIP"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6210 $as_echo "$ac_ct_STRIP" >&6; }
6211 else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6216 if test "x$ac_ct_STRIP" = x; then
6217 STRIP="strip"
6218 else
6219 case $cross_compiling:$ac_tool_warned in
6220 yes:)
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6223 ac_tool_warned=yes ;;
6224 esac
6225 STRIP=$ac_ct_STRIP
6227 else
6228 STRIP="$ac_cv_prog_STRIP"
6231 if test -n "$ac_tool_prefix"; then
6232 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6233 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6235 $as_echo_n "checking for $ac_word... " >&6; }
6236 if ${ac_cv_prog_RANLIB+:} false; then :
6237 $as_echo_n "(cached) " >&6
6238 else
6239 if test -n "$RANLIB"; then
6240 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6241 else
6242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6243 for as_dir in $PATH
6245 IFS=$as_save_IFS
6246 test -z "$as_dir" && as_dir=.
6247 for ac_exec_ext in '' $ac_executable_extensions; do
6248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6249 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6251 break 2
6253 done
6254 done
6255 IFS=$as_save_IFS
6259 RANLIB=$ac_cv_prog_RANLIB
6260 if test -n "$RANLIB"; then
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6262 $as_echo "$RANLIB" >&6; }
6263 else
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6265 $as_echo "no" >&6; }
6270 if test -z "$ac_cv_prog_RANLIB"; then
6271 ac_ct_RANLIB=$RANLIB
6272 # Extract the first word of "ranlib", so it can be a program name with args.
6273 set dummy ranlib; ac_word=$2
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6275 $as_echo_n "checking for $ac_word... " >&6; }
6276 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6277 $as_echo_n "(cached) " >&6
6278 else
6279 if test -n "$ac_ct_RANLIB"; then
6280 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6281 else
6282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6283 for as_dir in $PATH
6285 IFS=$as_save_IFS
6286 test -z "$as_dir" && as_dir=.
6287 for ac_exec_ext in '' $ac_executable_extensions; do
6288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6289 ac_cv_prog_ac_ct_RANLIB="ranlib"
6290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6291 break 2
6293 done
6294 done
6295 IFS=$as_save_IFS
6299 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6300 if test -n "$ac_ct_RANLIB"; then
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6302 $as_echo "$ac_ct_RANLIB" >&6; }
6303 else
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6305 $as_echo "no" >&6; }
6308 if test "x$ac_ct_RANLIB" = x; then
6309 RANLIB=":"
6310 else
6311 case $cross_compiling:$ac_tool_warned in
6312 yes:)
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6314 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6315 ac_tool_warned=yes ;;
6316 esac
6317 RANLIB=$ac_ct_RANLIB
6319 else
6320 RANLIB="$ac_cv_prog_RANLIB"
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6324 $as_echo_n "checking whether ln -s works... " >&6; }
6325 LN_S=$as_ln_s
6326 if test "$LN_S" = "ln -s"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6328 $as_echo "yes" >&6; }
6329 else
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6331 $as_echo "no, using $LN_S" >&6; }
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6335 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6336 if ${ac_cv_path_GREP+:} false; then :
6337 $as_echo_n "(cached) " >&6
6338 else
6339 if test -z "$GREP"; then
6340 ac_path_GREP_found=false
6341 # Loop through the user's path and test for each of PROGNAME-LIST
6342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6343 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6345 IFS=$as_save_IFS
6346 test -z "$as_dir" && as_dir=.
6347 for ac_prog in grep ggrep; do
6348 for ac_exec_ext in '' $ac_executable_extensions; do
6349 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6350 as_fn_executable_p "$ac_path_GREP" || continue
6351 # Check for GNU ac_path_GREP and select it if it is found.
6352 # Check for GNU $ac_path_GREP
6353 case `"$ac_path_GREP" --version 2>&1` in
6354 *GNU*)
6355 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6357 ac_count=0
6358 $as_echo_n 0123456789 >"conftest.in"
6359 while :
6361 cat "conftest.in" "conftest.in" >"conftest.tmp"
6362 mv "conftest.tmp" "conftest.in"
6363 cp "conftest.in" "conftest.nl"
6364 $as_echo 'GREP' >> "conftest.nl"
6365 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6366 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6367 as_fn_arith $ac_count + 1 && ac_count=$as_val
6368 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6369 # Best one so far, save it but keep looking for a better one
6370 ac_cv_path_GREP="$ac_path_GREP"
6371 ac_path_GREP_max=$ac_count
6373 # 10*(2^10) chars as input seems more than enough
6374 test $ac_count -gt 10 && break
6375 done
6376 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6377 esac
6379 $ac_path_GREP_found && break 3
6380 done
6381 done
6382 done
6383 IFS=$as_save_IFS
6384 if test -z "$ac_cv_path_GREP"; then
6385 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6387 else
6388 ac_cv_path_GREP=$GREP
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6393 $as_echo "$ac_cv_path_GREP" >&6; }
6394 GREP="$ac_cv_path_GREP"
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6398 $as_echo_n "checking for egrep... " >&6; }
6399 if ${ac_cv_path_EGREP+:} false; then :
6400 $as_echo_n "(cached) " >&6
6401 else
6402 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6403 then ac_cv_path_EGREP="$GREP -E"
6404 else
6405 if test -z "$EGREP"; then
6406 ac_path_EGREP_found=false
6407 # Loop through the user's path and test for each of PROGNAME-LIST
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6411 IFS=$as_save_IFS
6412 test -z "$as_dir" && as_dir=.
6413 for ac_prog in egrep; do
6414 for ac_exec_ext in '' $ac_executable_extensions; do
6415 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6416 as_fn_executable_p "$ac_path_EGREP" || continue
6417 # Check for GNU ac_path_EGREP and select it if it is found.
6418 # Check for GNU $ac_path_EGREP
6419 case `"$ac_path_EGREP" --version 2>&1` in
6420 *GNU*)
6421 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6423 ac_count=0
6424 $as_echo_n 0123456789 >"conftest.in"
6425 while :
6427 cat "conftest.in" "conftest.in" >"conftest.tmp"
6428 mv "conftest.tmp" "conftest.in"
6429 cp "conftest.in" "conftest.nl"
6430 $as_echo 'EGREP' >> "conftest.nl"
6431 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6432 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6433 as_fn_arith $ac_count + 1 && ac_count=$as_val
6434 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6435 # Best one so far, save it but keep looking for a better one
6436 ac_cv_path_EGREP="$ac_path_EGREP"
6437 ac_path_EGREP_max=$ac_count
6439 # 10*(2^10) chars as input seems more than enough
6440 test $ac_count -gt 10 && break
6441 done
6442 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6443 esac
6445 $ac_path_EGREP_found && break 3
6446 done
6447 done
6448 done
6449 IFS=$as_save_IFS
6450 if test -z "$ac_cv_path_EGREP"; then
6451 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6453 else
6454 ac_cv_path_EGREP=$EGREP
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6460 $as_echo "$ac_cv_path_EGREP" >&6; }
6461 EGREP="$ac_cv_path_EGREP"
6464 # Extract the first word of "ldconfig", so it can be a program name with args.
6465 set dummy ldconfig; ac_word=$2
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 $as_echo_n "checking for $ac_word... " >&6; }
6468 if ${ac_cv_path_LDCONFIG+:} false; then :
6469 $as_echo_n "(cached) " >&6
6470 else
6471 case $LDCONFIG in
6472 [\\/]* | ?:[\\/]*)
6473 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6477 for as_dir in /sbin /usr/sbin $PATH
6479 IFS=$as_save_IFS
6480 test -z "$as_dir" && as_dir=.
6481 for ac_exec_ext in '' $ac_executable_extensions; do
6482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6483 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 break 2
6487 done
6488 done
6489 IFS=$as_save_IFS
6491 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6493 esac
6495 LDCONFIG=$ac_cv_path_LDCONFIG
6496 if test -n "$LDCONFIG"; then
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6498 $as_echo "$LDCONFIG" >&6; }
6499 else
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6501 $as_echo "no" >&6; }
6505 for ac_prog in msgfmt
6507 # Extract the first word of "$ac_prog", so it can be a program name with args.
6508 set dummy $ac_prog; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if ${ac_cv_prog_MSGFMT+:} false; then :
6512 $as_echo_n "(cached) " >&6
6513 else
6514 if test -n "$MSGFMT"; then
6515 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6516 else
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518 for as_dir in $PATH
6520 IFS=$as_save_IFS
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6524 ac_cv_prog_MSGFMT="$ac_prog"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 break 2
6528 done
6529 done
6530 IFS=$as_save_IFS
6534 MSGFMT=$ac_cv_prog_MSGFMT
6535 if test -n "$MSGFMT"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6537 $as_echo "$MSGFMT" >&6; }
6538 else
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6544 test -n "$MSGFMT" && break
6545 done
6546 test -n "$MSGFMT" || MSGFMT="false"
6548 if ${ac_tool_prefix+:} false; then :
6549 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6550 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6552 $as_echo_n "checking for $ac_word... " >&6; }
6553 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6554 $as_echo_n "(cached) " >&6
6555 else
6556 if test -n "$PKG_CONFIG"; then
6557 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6558 else
6559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6560 for as_dir in $PATH
6562 IFS=$as_save_IFS
6563 test -z "$as_dir" && as_dir=.
6564 for ac_exec_ext in '' $ac_executable_extensions; do
6565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6566 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6568 break 2
6570 done
6571 done
6572 IFS=$as_save_IFS
6576 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6577 if test -n "$PKG_CONFIG"; then
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6579 $as_echo "$PKG_CONFIG" >&6; }
6580 else
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6582 $as_echo "no" >&6; }
6587 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6588 if test "x$cross_compiling" = xyes; then :
6590 else
6591 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6592 # Extract the first word of "pkg-config", so it can be a program name with args.
6593 set dummy pkg-config; ac_word=$2
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6595 $as_echo_n "checking for $ac_word... " >&6; }
6596 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6597 $as_echo_n "(cached) " >&6
6598 else
6599 if test -n "$PKG_CONFIG"; then
6600 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6601 else
6602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603 for as_dir in $PATH
6605 IFS=$as_save_IFS
6606 test -z "$as_dir" && as_dir=.
6607 for ac_exec_ext in '' $ac_executable_extensions; do
6608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6609 ac_cv_prog_PKG_CONFIG="pkg-config"
6610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6611 break 2
6613 done
6614 done
6615 IFS=$as_save_IFS
6619 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6620 if test -n "$PKG_CONFIG"; then
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6622 $as_echo "$PKG_CONFIG" >&6; }
6623 else
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625 $as_echo "no" >&6; }
6630 else
6631 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6634 if test "x$enable_maintainer_mode" != "xyes"
6635 then
6636 FONTFORGE=""
6637 RSVG=""
6638 CONVERT=""
6639 ICOTOOL=""
6640 else
6641 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6642 for ac_prog in fontforge
6644 # Extract the first word of "$ac_prog", so it can be a program name with args.
6645 set dummy $ac_prog; ac_word=$2
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647 $as_echo_n "checking for $ac_word... " >&6; }
6648 if ${ac_cv_prog_FONTFORGE+:} false; then :
6649 $as_echo_n "(cached) " >&6
6650 else
6651 if test -n "$FONTFORGE"; then
6652 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6653 else
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 for as_dir in $PATH
6657 IFS=$as_save_IFS
6658 test -z "$as_dir" && as_dir=.
6659 for ac_exec_ext in '' $ac_executable_extensions; do
6660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6661 ac_cv_prog_FONTFORGE="$ac_prog"
6662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6663 break 2
6665 done
6666 done
6667 IFS=$as_save_IFS
6671 FONTFORGE=$ac_cv_prog_FONTFORGE
6672 if test -n "$FONTFORGE"; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6674 $as_echo "$FONTFORGE" >&6; }
6675 else
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 $as_echo "no" >&6; }
6681 test -n "$FONTFORGE" && break
6682 done
6683 test -n "$FONTFORGE" || FONTFORGE="false"
6685 for ac_prog in rsvg-convert rsvg
6687 # Extract the first word of "$ac_prog", so it can be a program name with args.
6688 set dummy $ac_prog; ac_word=$2
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690 $as_echo_n "checking for $ac_word... " >&6; }
6691 if ${ac_cv_prog_RSVG+:} false; then :
6692 $as_echo_n "(cached) " >&6
6693 else
6694 if test -n "$RSVG"; then
6695 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6696 else
6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698 for as_dir in $PATH
6700 IFS=$as_save_IFS
6701 test -z "$as_dir" && as_dir=.
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_RSVG="$ac_prog"
6705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 break 2
6708 done
6709 done
6710 IFS=$as_save_IFS
6714 RSVG=$ac_cv_prog_RSVG
6715 if test -n "$RSVG"; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6717 $as_echo "$RSVG" >&6; }
6718 else
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6724 test -n "$RSVG" && break
6725 done
6726 test -n "$RSVG" || RSVG="false"
6728 for ac_prog in convert
6730 # Extract the first word of "$ac_prog", so it can be a program name with args.
6731 set dummy $ac_prog; ac_word=$2
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733 $as_echo_n "checking for $ac_word... " >&6; }
6734 if ${ac_cv_prog_CONVERT+:} false; then :
6735 $as_echo_n "(cached) " >&6
6736 else
6737 if test -n "$CONVERT"; then
6738 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6739 else
6740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 for as_dir in $PATH
6743 IFS=$as_save_IFS
6744 test -z "$as_dir" && as_dir=.
6745 for ac_exec_ext in '' $ac_executable_extensions; do
6746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6747 ac_cv_prog_CONVERT="$ac_prog"
6748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6749 break 2
6751 done
6752 done
6753 IFS=$as_save_IFS
6757 CONVERT=$ac_cv_prog_CONVERT
6758 if test -n "$CONVERT"; then
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6760 $as_echo "$CONVERT" >&6; }
6761 else
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6763 $as_echo "no" >&6; }
6767 test -n "$CONVERT" && break
6768 done
6769 test -n "$CONVERT" || CONVERT="false"
6771 for ac_prog in icotool
6773 # Extract the first word of "$ac_prog", so it can be a program name with args.
6774 set dummy $ac_prog; ac_word=$2
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6776 $as_echo_n "checking for $ac_word... " >&6; }
6777 if ${ac_cv_prog_ICOTOOL+:} false; then :
6778 $as_echo_n "(cached) " >&6
6779 else
6780 if test -n "$ICOTOOL"; then
6781 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6782 else
6783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6784 for as_dir in $PATH
6786 IFS=$as_save_IFS
6787 test -z "$as_dir" && as_dir=.
6788 for ac_exec_ext in '' $ac_executable_extensions; do
6789 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6790 ac_cv_prog_ICOTOOL="$ac_prog"
6791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6792 break 2
6794 done
6795 done
6796 IFS=$as_save_IFS
6800 ICOTOOL=$ac_cv_prog_ICOTOOL
6801 if test -n "$ICOTOOL"; then
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6803 $as_echo "$ICOTOOL" >&6; }
6804 else
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6806 $as_echo "no" >&6; }
6810 test -n "$ICOTOOL" && break
6811 done
6812 test -n "$ICOTOOL" || ICOTOOL="false"
6814 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6815 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6817 if test "$CONVERT" = false
6818 then
6819 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6820 else
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6822 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6823 convert_version=`convert --version | head -n1`
6824 if test "x$convert_version" != "x"
6825 then
6826 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6827 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6828 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6829 then
6830 CONVERT=false
6833 if test "$CONVERT" = false
6834 then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6836 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6837 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6838 else
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6840 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6844 if test "$ICOTOOL" = false
6845 then
6846 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6847 else
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6849 $as_echo_n "checking for recent enough icotool... " >&6; }
6850 icotool_version=`icotool --version | head -n1`
6851 if test "x$icotool_version" != "x"
6852 then
6853 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6854 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6855 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6856 then
6857 ICOTOOL=false
6858 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6861 if test "$ICOTOOL" = false
6862 then
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6864 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6865 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6866 else
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6868 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6872 with_gettext=yes
6873 with_gettextpo=yes
6875 enable_werror=yes
6878 test "x$with_gettext" != xno || MSGFMT=false
6879 if test "$MSGFMT" != "false"
6880 then
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6882 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6883 if ${wine_cv_msgfmt_contexts+:} false; then :
6884 $as_echo_n "(cached) " >&6
6885 else
6886 cat >conftest.po <<EOF
6887 # comment
6888 msgctxt "ctxt"
6889 msgid "id"
6890 msgstr "str"
6892 if $MSGFMT -o /dev/null conftest.po 2>&5
6893 then
6894 wine_cv_msgfmt_contexts=yes
6895 else
6896 wine_cv_msgfmt_contexts=no
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6900 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6901 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6903 if test "$MSGFMT" = false; then :
6904 case "x$with_gettext" in
6905 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6906 xno) ;;
6907 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6908 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6909 esac
6910 enable_po=${enable_po:-no}
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6915 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6916 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6917 $as_echo_n "(cached) " >&6
6918 else
6919 ac_check_lib_save_LIBS=$LIBS
6920 LIBS="-li386 $LIBS"
6921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6922 /* end confdefs.h. */
6924 /* Override any GCC internal prototype to avoid an error.
6925 Use char because int might match the return type of a GCC
6926 builtin and then its argument prototype would still apply. */
6927 #ifdef __cplusplus
6928 extern "C"
6929 #endif
6930 char i386_set_ldt ();
6932 main ()
6934 return i386_set_ldt ();
6936 return 0;
6938 _ACEOF
6939 if ac_fn_c_try_link "$LINENO"; then :
6940 ac_cv_lib_i386_i386_set_ldt=yes
6941 else
6942 ac_cv_lib_i386_i386_set_ldt=no
6944 rm -f core conftest.err conftest.$ac_objext \
6945 conftest$ac_exeext conftest.$ac_ext
6946 LIBS=$ac_check_lib_save_LIBS
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6949 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6950 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6951 I386_LIBS="-li386"
6956 OPENGL_LIBS=""
6960 # Check whether --enable-largefile was given.
6961 if test "${enable_largefile+set}" = set; then :
6962 enableval=$enable_largefile;
6965 if test "$enable_largefile" != no; then
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6968 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6969 if ${ac_cv_sys_largefile_CC+:} false; then :
6970 $as_echo_n "(cached) " >&6
6971 else
6972 ac_cv_sys_largefile_CC=no
6973 if test "$GCC" != yes; then
6974 ac_save_CC=$CC
6975 while :; do
6976 # IRIX 6.2 and later do not support large files by default,
6977 # so use the C compiler's -n32 option if that helps.
6978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6979 /* end confdefs.h. */
6980 #include <sys/types.h>
6981 /* Check that off_t can represent 2**63 - 1 correctly.
6982 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6983 since some C++ compilers masquerading as C compilers
6984 incorrectly reject 9223372036854775807. */
6985 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6986 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6987 && LARGE_OFF_T % 2147483647 == 1)
6988 ? 1 : -1];
6990 main ()
6994 return 0;
6996 _ACEOF
6997 if ac_fn_c_try_compile "$LINENO"; then :
6998 break
7000 rm -f core conftest.err conftest.$ac_objext
7001 CC="$CC -n32"
7002 if ac_fn_c_try_compile "$LINENO"; then :
7003 ac_cv_sys_largefile_CC=' -n32'; break
7005 rm -f core conftest.err conftest.$ac_objext
7006 break
7007 done
7008 CC=$ac_save_CC
7009 rm -f conftest.$ac_ext
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7013 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7014 if test "$ac_cv_sys_largefile_CC" != no; then
7015 CC=$CC$ac_cv_sys_largefile_CC
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7019 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7020 if ${ac_cv_sys_file_offset_bits+:} false; then :
7021 $as_echo_n "(cached) " >&6
7022 else
7023 while :; do
7024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7025 /* end confdefs.h. */
7026 #include <sys/types.h>
7027 /* Check that off_t can represent 2**63 - 1 correctly.
7028 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7029 since some C++ compilers masquerading as C compilers
7030 incorrectly reject 9223372036854775807. */
7031 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7032 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7033 && LARGE_OFF_T % 2147483647 == 1)
7034 ? 1 : -1];
7036 main ()
7040 return 0;
7042 _ACEOF
7043 if ac_fn_c_try_compile "$LINENO"; then :
7044 ac_cv_sys_file_offset_bits=no; break
7046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7048 /* end confdefs.h. */
7049 #define _FILE_OFFSET_BITS 64
7050 #include <sys/types.h>
7051 /* Check that off_t can represent 2**63 - 1 correctly.
7052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7053 since some C++ compilers masquerading as C compilers
7054 incorrectly reject 9223372036854775807. */
7055 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7057 && LARGE_OFF_T % 2147483647 == 1)
7058 ? 1 : -1];
7060 main ()
7064 return 0;
7066 _ACEOF
7067 if ac_fn_c_try_compile "$LINENO"; then :
7068 ac_cv_sys_file_offset_bits=64; break
7070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7071 ac_cv_sys_file_offset_bits=unknown
7072 break
7073 done
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7076 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7077 case $ac_cv_sys_file_offset_bits in #(
7078 no | unknown) ;;
7080 cat >>confdefs.h <<_ACEOF
7081 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7082 _ACEOF
7084 esac
7085 rm -rf conftest*
7086 if test $ac_cv_sys_file_offset_bits = unknown; then
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7088 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7089 if ${ac_cv_sys_large_files+:} false; then :
7090 $as_echo_n "(cached) " >&6
7091 else
7092 while :; do
7093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7094 /* end confdefs.h. */
7095 #include <sys/types.h>
7096 /* Check that off_t can represent 2**63 - 1 correctly.
7097 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7098 since some C++ compilers masquerading as C compilers
7099 incorrectly reject 9223372036854775807. */
7100 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7101 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7102 && LARGE_OFF_T % 2147483647 == 1)
7103 ? 1 : -1];
7105 main ()
7109 return 0;
7111 _ACEOF
7112 if ac_fn_c_try_compile "$LINENO"; then :
7113 ac_cv_sys_large_files=no; break
7115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7117 /* end confdefs.h. */
7118 #define _LARGE_FILES 1
7119 #include <sys/types.h>
7120 /* Check that off_t can represent 2**63 - 1 correctly.
7121 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7122 since some C++ compilers masquerading as C compilers
7123 incorrectly reject 9223372036854775807. */
7124 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7125 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7126 && LARGE_OFF_T % 2147483647 == 1)
7127 ? 1 : -1];
7129 main ()
7133 return 0;
7135 _ACEOF
7136 if ac_fn_c_try_compile "$LINENO"; then :
7137 ac_cv_sys_large_files=1; break
7139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7140 ac_cv_sys_large_files=unknown
7141 break
7142 done
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7145 $as_echo "$ac_cv_sys_large_files" >&6; }
7146 case $ac_cv_sys_large_files in #(
7147 no | unknown) ;;
7149 cat >>confdefs.h <<_ACEOF
7150 #define _LARGE_FILES $ac_cv_sys_large_files
7151 _ACEOF
7153 esac
7154 rm -rf conftest*
7161 ac_ext=c
7162 ac_cpp='$CPP $CPPFLAGS'
7163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7167 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7168 # On Suns, sometimes $CPP names a directory.
7169 if test -n "$CPP" && test -d "$CPP"; then
7170 CPP=
7172 if test -z "$CPP"; then
7173 if ${ac_cv_prog_CPP+:} false; then :
7174 $as_echo_n "(cached) " >&6
7175 else
7176 # Double quotes because CPP needs to be expanded
7177 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7179 ac_preproc_ok=false
7180 for ac_c_preproc_warn_flag in '' yes
7182 # Use a header file that comes with gcc, so configuring glibc
7183 # with a fresh cross-compiler works.
7184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7185 # <limits.h> exists even on freestanding compilers.
7186 # On the NeXT, cc -E runs the code through the compiler's parser,
7187 # not just through cpp. "Syntax error" is here to catch this case.
7188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7189 /* end confdefs.h. */
7190 #ifdef __STDC__
7191 # include <limits.h>
7192 #else
7193 # include <assert.h>
7194 #endif
7195 Syntax error
7196 _ACEOF
7197 if ac_fn_c_try_cpp "$LINENO"; then :
7199 else
7200 # Broken: fails on valid input.
7201 continue
7203 rm -f conftest.err conftest.i conftest.$ac_ext
7205 # OK, works on sane cases. Now check whether nonexistent headers
7206 # can be detected and how.
7207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7208 /* end confdefs.h. */
7209 #include <ac_nonexistent.h>
7210 _ACEOF
7211 if ac_fn_c_try_cpp "$LINENO"; then :
7212 # Broken: success on invalid input.
7213 continue
7214 else
7215 # Passes both tests.
7216 ac_preproc_ok=:
7217 break
7219 rm -f conftest.err conftest.i conftest.$ac_ext
7221 done
7222 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7223 rm -f conftest.i conftest.err conftest.$ac_ext
7224 if $ac_preproc_ok; then :
7225 break
7228 done
7229 ac_cv_prog_CPP=$CPP
7232 CPP=$ac_cv_prog_CPP
7233 else
7234 ac_cv_prog_CPP=$CPP
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7237 $as_echo "$CPP" >&6; }
7238 ac_preproc_ok=false
7239 for ac_c_preproc_warn_flag in '' yes
7241 # Use a header file that comes with gcc, so configuring glibc
7242 # with a fresh cross-compiler works.
7243 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7244 # <limits.h> exists even on freestanding compilers.
7245 # On the NeXT, cc -E runs the code through the compiler's parser,
7246 # not just through cpp. "Syntax error" is here to catch this case.
7247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7248 /* end confdefs.h. */
7249 #ifdef __STDC__
7250 # include <limits.h>
7251 #else
7252 # include <assert.h>
7253 #endif
7254 Syntax error
7255 _ACEOF
7256 if ac_fn_c_try_cpp "$LINENO"; then :
7258 else
7259 # Broken: fails on valid input.
7260 continue
7262 rm -f conftest.err conftest.i conftest.$ac_ext
7264 # OK, works on sane cases. Now check whether nonexistent headers
7265 # can be detected and how.
7266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7267 /* end confdefs.h. */
7268 #include <ac_nonexistent.h>
7269 _ACEOF
7270 if ac_fn_c_try_cpp "$LINENO"; then :
7271 # Broken: success on invalid input.
7272 continue
7273 else
7274 # Passes both tests.
7275 ac_preproc_ok=:
7276 break
7278 rm -f conftest.err conftest.i conftest.$ac_ext
7280 done
7281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7282 rm -f conftest.i conftest.err conftest.$ac_ext
7283 if $ac_preproc_ok; then :
7285 else
7286 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7287 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7288 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7289 See \`config.log' for more details" "$LINENO" 5; }
7292 ac_ext=c
7293 ac_cpp='$CPP $CPPFLAGS'
7294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7300 $as_echo_n "checking for ANSI C header files... " >&6; }
7301 if ${ac_cv_header_stdc+:} false; then :
7302 $as_echo_n "(cached) " >&6
7303 else
7304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7305 /* end confdefs.h. */
7306 #include <stdlib.h>
7307 #include <stdarg.h>
7308 #include <string.h>
7309 #include <float.h>
7312 main ()
7316 return 0;
7318 _ACEOF
7319 if ac_fn_c_try_compile "$LINENO"; then :
7320 ac_cv_header_stdc=yes
7321 else
7322 ac_cv_header_stdc=no
7324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7326 if test $ac_cv_header_stdc = yes; then
7327 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7329 /* end confdefs.h. */
7330 #include <string.h>
7332 _ACEOF
7333 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7334 $EGREP "memchr" >/dev/null 2>&1; then :
7336 else
7337 ac_cv_header_stdc=no
7339 rm -f conftest*
7343 if test $ac_cv_header_stdc = yes; then
7344 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7346 /* end confdefs.h. */
7347 #include <stdlib.h>
7349 _ACEOF
7350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7351 $EGREP "free" >/dev/null 2>&1; then :
7353 else
7354 ac_cv_header_stdc=no
7356 rm -f conftest*
7360 if test $ac_cv_header_stdc = yes; then
7361 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7362 if test "$cross_compiling" = yes; then :
7364 else
7365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7366 /* end confdefs.h. */
7367 #include <ctype.h>
7368 #include <stdlib.h>
7369 #if ((' ' & 0x0FF) == 0x020)
7370 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7371 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7372 #else
7373 # define ISLOWER(c) \
7374 (('a' <= (c) && (c) <= 'i') \
7375 || ('j' <= (c) && (c) <= 'r') \
7376 || ('s' <= (c) && (c) <= 'z'))
7377 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7378 #endif
7380 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7382 main ()
7384 int i;
7385 for (i = 0; i < 256; i++)
7386 if (XOR (islower (i), ISLOWER (i))
7387 || toupper (i) != TOUPPER (i))
7388 return 2;
7389 return 0;
7391 _ACEOF
7392 if ac_fn_c_try_run "$LINENO"; then :
7394 else
7395 ac_cv_header_stdc=no
7397 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7398 conftest.$ac_objext conftest.beam conftest.$ac_ext
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7404 $as_echo "$ac_cv_header_stdc" >&6; }
7405 if test $ac_cv_header_stdc = yes; then
7407 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7411 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7412 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7413 inttypes.h stdint.h unistd.h
7414 do :
7415 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7416 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7418 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7419 cat >>confdefs.h <<_ACEOF
7420 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7421 _ACEOF
7425 done
7428 for ac_header in \
7429 AL/al.h \
7430 ApplicationServices/ApplicationServices.h \
7431 AudioToolbox/AudioConverter.h \
7432 AudioUnit/AudioUnit.h \
7433 AudioUnit/AudioComponent.h \
7434 CL/cl.h \
7435 Carbon/Carbon.h \
7436 CommonCrypto/CommonCryptor.h \
7437 CoreAudio/CoreAudio.h \
7438 DiskArbitration/DiskArbitration.h \
7439 EGL/egl.h \
7440 IOKit/IOKitLib.h \
7441 IOKit/hid/IOHIDLib.h \
7442 OpenAL/al.h \
7443 OpenCL/opencl.h \
7444 QuickTime/ImageCompression.h \
7445 Security/Security.h \
7446 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7447 SystemConfiguration/SCNetworkConfiguration.h \
7448 alias.h \
7449 arpa/inet.h \
7450 arpa/nameser.h \
7451 asm/types.h \
7452 asm/user.h \
7453 dirent.h \
7454 dlfcn.h \
7455 elf.h \
7456 float.h \
7457 fnmatch.h \
7458 getopt.h \
7459 gettext-po.h \
7460 grp.h \
7461 gsm.h \
7462 gsm/gsm.h \
7463 ieeefp.h \
7464 inet/mib2.h \
7465 kstat.h \
7466 libproc.h \
7467 link.h \
7468 linux/cdrom.h \
7469 linux/filter.h \
7470 linux/hdreg.h \
7471 linux/hidraw.h \
7472 linux/input.h \
7473 linux/ioctl.h \
7474 linux/joystick.h \
7475 linux/major.h \
7476 linux/param.h \
7477 linux/serial.h \
7478 linux/types.h \
7479 linux/ucdrom.h \
7480 lwp.h \
7481 mach-o/loader.h \
7482 mach/mach.h \
7483 machine/cpu.h \
7484 machine/sysarch.h \
7485 mntent.h \
7486 netdb.h \
7487 netinet/in.h \
7488 netinet/in_systm.h \
7489 netinet/tcp.h \
7490 netinet/tcp_fsm.h \
7491 pcap/pcap.h \
7492 poll.h \
7493 port.h \
7494 pthread.h \
7495 pwd.h \
7496 sasl/sasl.h \
7497 sched.h \
7498 scsi/scsi.h \
7499 scsi/scsi_ioctl.h \
7500 scsi/sg.h \
7501 stdint.h \
7502 stropts.h \
7503 sys/attr.h \
7504 sys/auxv.h \
7505 sys/cdio.h \
7506 sys/epoll.h \
7507 sys/event.h \
7508 sys/filio.h \
7509 sys/ioctl.h \
7510 sys/ipc.h \
7511 sys/link.h \
7512 sys/mman.h \
7513 sys/modem.h \
7514 sys/msg.h \
7515 sys/mtio.h \
7516 sys/param.h \
7517 sys/poll.h \
7518 sys/prctl.h \
7519 sys/protosw.h \
7520 sys/ptrace.h \
7521 sys/queue.h \
7522 sys/random.h \
7523 sys/resource.h \
7524 sys/scsiio.h \
7525 sys/shm.h \
7526 sys/signal.h \
7527 sys/socket.h \
7528 sys/socketvar.h \
7529 sys/sockio.h \
7530 sys/statvfs.h \
7531 sys/strtio.h \
7532 sys/syscall.h \
7533 sys/sysinfo.h \
7534 sys/tihdr.h \
7535 sys/time.h \
7536 sys/timeout.h \
7537 sys/times.h \
7538 sys/uio.h \
7539 sys/user.h \
7540 sys/utsname.h \
7541 sys/vnode.h \
7542 sys/wait.h \
7543 syscall.h \
7544 termios.h \
7545 unistd.h \
7546 utime.h \
7547 valgrind/memcheck.h \
7548 valgrind/valgrind.h
7550 do :
7551 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7552 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7553 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7554 cat >>confdefs.h <<_ACEOF
7555 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7556 _ACEOF
7560 done
7562 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7563 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7565 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7570 if test $ac_cv_header_sys_mkdev_h = no; then
7571 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7572 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7574 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7581 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7582 if ${ac_cv_header_stat_broken+:} false; then :
7583 $as_echo_n "(cached) " >&6
7584 else
7585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7586 /* end confdefs.h. */
7587 #include <sys/types.h>
7588 #include <sys/stat.h>
7590 #if defined S_ISBLK && defined S_IFDIR
7591 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7592 #endif
7594 #if defined S_ISBLK && defined S_IFCHR
7595 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7596 #endif
7598 #if defined S_ISLNK && defined S_IFREG
7599 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7600 #endif
7602 #if defined S_ISSOCK && defined S_IFREG
7603 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7604 #endif
7606 _ACEOF
7607 if ac_fn_c_try_compile "$LINENO"; then :
7608 ac_cv_header_stat_broken=no
7609 else
7610 ac_cv_header_stat_broken=yes
7612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7615 $as_echo "$ac_cv_header_stat_broken" >&6; }
7616 if test $ac_cv_header_stat_broken = yes; then
7618 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7624 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7625 do :
7626 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7627 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7628 #ifdef HAVE_SYS_PARAM_H
7629 # include <sys/param.h>
7630 #endif
7632 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7633 cat >>confdefs.h <<_ACEOF
7634 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7635 _ACEOF
7639 done
7642 saved_sysctl_h_CFLAGS=$CFLAGS
7643 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7644 for ac_header in sys/sysctl.h
7645 do :
7646 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7647 #ifdef HAVE_SYS_PARAM_H
7648 # include <sys/param.h>
7649 #endif
7651 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7652 cat >>confdefs.h <<_ACEOF
7653 #define HAVE_SYS_SYSCTL_H 1
7654 _ACEOF
7658 done
7660 CFLAGS=$saved_sysctl_h_CFLAGS
7662 for ac_header in \
7663 netinet/ip.h \
7664 net/if.h \
7665 net/if_arp.h \
7666 net/if_dl.h \
7667 net/if_types.h \
7668 net/route.h \
7669 netinet/if_ether.h \
7670 netinet/if_inarp.h \
7671 netinet/in_pcb.h \
7672 netinet/ip_icmp.h \
7673 netinet/ip_var.h \
7674 netinet/udp.h \
7675 netipx/ipx.h \
7676 sys/un.h \
7678 do :
7679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7680 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7681 #ifdef HAVE_SYS_SOCKET_H
7682 # include <sys/socket.h>
7683 #endif
7684 #ifdef HAVE_SYS_SOCKETVAR_H
7685 # include <sys/socketvar.h>
7686 #endif
7687 #ifdef HAVE_NET_ROUTE_H
7688 # include <net/route.h>
7689 #endif
7690 #ifdef HAVE_NETINET_IN_H
7691 # include <netinet/in.h>
7692 #endif
7693 #ifdef HAVE_NETINET_IN_SYSTM_H
7694 # include <netinet/in_systm.h>
7695 #endif
7696 #ifdef HAVE_NET_IF_H
7697 # include <net/if.h>
7698 #endif
7699 #ifdef HAVE_NETINET_IP_H
7700 # include <netinet/ip.h>
7701 #endif
7703 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7704 cat >>confdefs.h <<_ACEOF
7705 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7706 _ACEOF
7710 done
7713 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7714 do :
7715 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7716 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7717 #ifdef HAVE_ALIAS_H
7718 # include <alias.h>
7719 #endif
7720 #ifdef HAVE_SYS_SOCKET_H
7721 # include <sys/socket.h>
7722 #endif
7723 #ifdef HAVE_SYS_SOCKETVAR_H
7724 # include <sys/socketvar.h>
7725 #endif
7726 #ifdef HAVE_SYS_TIMEOUT_H
7727 # include <sys/timeout.h>
7728 #endif
7729 #ifdef HAVE_NETINET_IN_H
7730 # include <netinet/in.h>
7731 #endif
7732 #ifdef HAVE_NETINET_IN_SYSTM_H
7733 # include <netinet/in_systm.h>
7734 #endif
7735 #ifdef HAVE_NETINET_IP_H
7736 # include <netinet/ip.h>
7737 #endif
7738 #ifdef HAVE_NETINET_IP_VAR_H
7739 # include <netinet/ip_var.h>
7740 #endif
7741 #ifdef HAVE_NETINET_IP_ICMP_H
7742 # include <netinet/ip_icmp.h>
7743 #endif
7744 #ifdef HAVE_NETINET_UDP_H
7745 # include <netinet/udp.h>
7746 #endif
7747 #ifdef HAVE_NETINET_TCP_H
7748 # include <netinet/tcp.h>
7749 #endif
7750 #ifdef HAVE_NETINET_TCP_TIMER_H
7751 #include <netinet/tcp_timer.h>
7752 #endif
7754 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7755 cat >>confdefs.h <<_ACEOF
7756 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7757 _ACEOF
7761 done
7764 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7765 do :
7766 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7767 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7768 #ifdef HAVE_ASM_TYPES_H
7769 # include <asm/types.h>
7770 #endif
7771 #ifdef HAVE_SYS_SOCKET_H
7772 # include <sys/socket.h>
7773 #endif
7774 #ifdef HAVE_LINUX_TYPES_H
7775 # include <linux/types.h>
7776 #endif
7778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7779 cat >>confdefs.h <<_ACEOF
7780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7781 _ACEOF
7785 done
7788 for ac_header in resolv.h
7789 do :
7790 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7791 #ifdef HAVE_SYS_SOCKET_H
7792 # include <sys/socket.h>
7793 #endif
7794 #ifdef HAVE_NETINET_IN_H
7795 # include <netinet/in.h>
7796 #endif
7797 #ifdef HAVE_ARPA_NAMESER_H
7798 # include <arpa/nameser.h>
7799 #endif
7801 if test "x$ac_cv_header_resolv_h" = xyes; then :
7802 cat >>confdefs.h <<_ACEOF
7803 #define HAVE_RESOLV_H 1
7804 _ACEOF
7808 done
7811 for ac_header in ifaddrs.h
7812 do :
7813 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7815 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7816 cat >>confdefs.h <<_ACEOF
7817 #define HAVE_IFADDRS_H 1
7818 _ACEOF
7822 done
7825 for ac_header in sys/ucontext.h
7826 do :
7827 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7829 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7830 cat >>confdefs.h <<_ACEOF
7831 #define HAVE_SYS_UCONTEXT_H 1
7832 _ACEOF
7836 done
7839 for ac_header in sys/thr.h
7840 do :
7841 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7842 #ifdef HAVE_SYS_UCONTEXT_H
7843 #include <sys/ucontext.h>
7844 #endif
7846 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7847 cat >>confdefs.h <<_ACEOF
7848 #define HAVE_SYS_THR_H 1
7849 _ACEOF
7853 done
7856 for ac_header in pthread_np.h
7857 do :
7858 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7859 #include <pthread.h>
7860 #endif
7862 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7863 cat >>confdefs.h <<_ACEOF
7864 #define HAVE_PTHREAD_NP_H 1
7865 _ACEOF
7869 done
7872 for ac_header in linux/videodev2.h
7873 do :
7874 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7875 #include <sys/time.h>
7876 #endif
7877 #include <sys/types.h>
7878 #ifdef HAVE_ASM_TYPES_H
7879 #include <asm/types.h>
7880 #endif
7882 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7883 cat >>confdefs.h <<_ACEOF
7884 #define HAVE_LINUX_VIDEODEV2_H 1
7885 _ACEOF
7889 done
7892 for ac_header in libprocstat.h
7893 do :
7894 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7895 #include <sys/param.h>
7896 #endif
7897 #ifdef HAVE_SYS_QUEUE_H
7898 #include <sys/queue.h>
7899 #endif
7900 #ifdef HAVE_SYS_SOCKET_H
7901 #include <sys/socket.h>
7902 #endif
7904 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7905 cat >>confdefs.h <<_ACEOF
7906 #define HAVE_LIBPROCSTAT_H 1
7907 _ACEOF
7911 done
7915 DLLFLAGS="-D_REENTRANT"
7917 LDDLLFLAGS=""
7919 LDEXECFLAGS=""
7921 TOP_INSTALL_LIB=""
7923 TOP_INSTALL_DEV=""
7925 WINELOADER_LDFLAGS=""
7927 WINEPRELOADER_LDFLAGS=""
7929 LIBEXT="so"
7930 DLLEXT=".so"
7931 # Extract the first word of "ldd", so it can be a program name with args.
7932 set dummy ldd; ac_word=$2
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7934 $as_echo_n "checking for $ac_word... " >&6; }
7935 if ${ac_cv_path_LDD+:} false; then :
7936 $as_echo_n "(cached) " >&6
7937 else
7938 case $LDD in
7939 [\\/]* | ?:[\\/]*)
7940 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7944 as_dummy="/sbin:/usr/sbin:$PATH"
7945 for as_dir in $as_dummy
7947 IFS=$as_save_IFS
7948 test -z "$as_dir" && as_dir=.
7949 for ac_exec_ext in '' $ac_executable_extensions; do
7950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7951 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7953 break 2
7955 done
7956 done
7957 IFS=$as_save_IFS
7959 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7961 esac
7963 LDD=$ac_cv_path_LDD
7964 if test -n "$LDD"; then
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7966 $as_echo "$LDD" >&6; }
7967 else
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7969 $as_echo "no" >&6; }
7973 if test -n "$ac_tool_prefix"; then
7974 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7975 set dummy ${ac_tool_prefix}otool; ac_word=$2
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7977 $as_echo_n "checking for $ac_word... " >&6; }
7978 if ${ac_cv_prog_OTOOL+:} false; then :
7979 $as_echo_n "(cached) " >&6
7980 else
7981 if test -n "$OTOOL"; then
7982 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7983 else
7984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7985 for as_dir in $PATH
7987 IFS=$as_save_IFS
7988 test -z "$as_dir" && as_dir=.
7989 for ac_exec_ext in '' $ac_executable_extensions; do
7990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7991 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 break 2
7995 done
7996 done
7997 IFS=$as_save_IFS
8001 OTOOL=$ac_cv_prog_OTOOL
8002 if test -n "$OTOOL"; then
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8004 $as_echo "$OTOOL" >&6; }
8005 else
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8007 $as_echo "no" >&6; }
8012 if test -z "$ac_cv_prog_OTOOL"; then
8013 ac_ct_OTOOL=$OTOOL
8014 # Extract the first word of "otool", so it can be a program name with args.
8015 set dummy otool; ac_word=$2
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8017 $as_echo_n "checking for $ac_word... " >&6; }
8018 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8019 $as_echo_n "(cached) " >&6
8020 else
8021 if test -n "$ac_ct_OTOOL"; then
8022 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8023 else
8024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8025 for as_dir in $PATH
8027 IFS=$as_save_IFS
8028 test -z "$as_dir" && as_dir=.
8029 for ac_exec_ext in '' $ac_executable_extensions; do
8030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8031 ac_cv_prog_ac_ct_OTOOL="otool"
8032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8033 break 2
8035 done
8036 done
8037 IFS=$as_save_IFS
8041 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8042 if test -n "$ac_ct_OTOOL"; then
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8044 $as_echo "$ac_ct_OTOOL" >&6; }
8045 else
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8047 $as_echo "no" >&6; }
8050 if test "x$ac_ct_OTOOL" = x; then
8051 OTOOL="otool"
8052 else
8053 case $cross_compiling:$ac_tool_warned in
8054 yes:)
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8057 ac_tool_warned=yes ;;
8058 esac
8059 OTOOL=$ac_ct_OTOOL
8061 else
8062 OTOOL="$ac_cv_prog_OTOOL"
8065 if test -n "$ac_tool_prefix"; then
8066 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8067 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8069 $as_echo_n "checking for $ac_word... " >&6; }
8070 if ${ac_cv_prog_READELF+:} false; then :
8071 $as_echo_n "(cached) " >&6
8072 else
8073 if test -n "$READELF"; then
8074 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8075 else
8076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8077 for as_dir in $PATH
8079 IFS=$as_save_IFS
8080 test -z "$as_dir" && as_dir=.
8081 for ac_exec_ext in '' $ac_executable_extensions; do
8082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8083 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8085 break 2
8087 done
8088 done
8089 IFS=$as_save_IFS
8093 READELF=$ac_cv_prog_READELF
8094 if test -n "$READELF"; then
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8096 $as_echo "$READELF" >&6; }
8097 else
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8099 $as_echo "no" >&6; }
8104 if test -z "$ac_cv_prog_READELF"; then
8105 ac_ct_READELF=$READELF
8106 # Extract the first word of "readelf", so it can be a program name with args.
8107 set dummy readelf; ac_word=$2
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8109 $as_echo_n "checking for $ac_word... " >&6; }
8110 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8111 $as_echo_n "(cached) " >&6
8112 else
8113 if test -n "$ac_ct_READELF"; then
8114 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8115 else
8116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117 for as_dir in $PATH
8119 IFS=$as_save_IFS
8120 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
8122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8123 ac_cv_prog_ac_ct_READELF="readelf"
8124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8125 break 2
8127 done
8128 done
8129 IFS=$as_save_IFS
8133 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8134 if test -n "$ac_ct_READELF"; then
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8136 $as_echo "$ac_ct_READELF" >&6; }
8137 else
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8139 $as_echo "no" >&6; }
8142 if test "x$ac_ct_READELF" = x; then
8143 READELF="true"
8144 else
8145 case $cross_compiling:$ac_tool_warned in
8146 yes:)
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8149 ac_tool_warned=yes ;;
8150 esac
8151 READELF=$ac_ct_READELF
8153 else
8154 READELF="$ac_cv_prog_READELF"
8157 wine_rules_file=conf$$rules.make
8158 rm -f $wine_rules_file
8159 SUBDIRS=""
8161 DISABLED_SUBDIRS=""
8163 CONFIGURE_TARGETS=""
8166 wine_fn_append_file ()
8168 as_fn_append $1 " \\$as_nl $2"
8171 wine_fn_append_rule ()
8173 $as_echo "$1" >>$wine_rules_file
8176 wine_fn_config_makefile ()
8178 wine_fn_append_file SUBDIRS $1
8179 if eval test \"x\$"$2"\" = x"no"; then :
8180 wine_fn_append_file DISABLED_SUBDIRS $1
8184 wine_fn_config_symlink ()
8186 ac_links=$@
8187 wine_fn_append_rule \
8188 "$ac_links:
8189 @./config.status \$@"
8190 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8193 wine_binary="wine"
8194 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8195 WINELOADER_PROGRAMS="$wine_binary"
8197 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8199 case $host_os in
8200 cygwin*|mingw32*)
8201 if test -n "$ac_tool_prefix"; then
8202 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8203 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8205 $as_echo_n "checking for $ac_word... " >&6; }
8206 if ${ac_cv_prog_DLLTOOL+:} false; then :
8207 $as_echo_n "(cached) " >&6
8208 else
8209 if test -n "$DLLTOOL"; then
8210 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8211 else
8212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213 for as_dir in $PATH
8215 IFS=$as_save_IFS
8216 test -z "$as_dir" && as_dir=.
8217 for ac_exec_ext in '' $ac_executable_extensions; do
8218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8219 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8221 break 2
8223 done
8224 done
8225 IFS=$as_save_IFS
8229 DLLTOOL=$ac_cv_prog_DLLTOOL
8230 if test -n "$DLLTOOL"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8232 $as_echo "$DLLTOOL" >&6; }
8233 else
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8235 $as_echo "no" >&6; }
8240 if test -z "$ac_cv_prog_DLLTOOL"; then
8241 ac_ct_DLLTOOL=$DLLTOOL
8242 # Extract the first word of "dlltool", so it can be a program name with args.
8243 set dummy dlltool; ac_word=$2
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8245 $as_echo_n "checking for $ac_word... " >&6; }
8246 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8247 $as_echo_n "(cached) " >&6
8248 else
8249 if test -n "$ac_ct_DLLTOOL"; then
8250 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8251 else
8252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 for as_dir in $PATH
8255 IFS=$as_save_IFS
8256 test -z "$as_dir" && as_dir=.
8257 for ac_exec_ext in '' $ac_executable_extensions; do
8258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8259 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8261 break 2
8263 done
8264 done
8265 IFS=$as_save_IFS
8269 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8270 if test -n "$ac_ct_DLLTOOL"; then
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8272 $as_echo "$ac_ct_DLLTOOL" >&6; }
8273 else
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8275 $as_echo "no" >&6; }
8278 if test "x$ac_ct_DLLTOOL" = x; then
8279 DLLTOOL="false"
8280 else
8281 case $cross_compiling:$ac_tool_warned in
8282 yes:)
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8284 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8285 ac_tool_warned=yes ;;
8286 esac
8287 DLLTOOL=$ac_ct_DLLTOOL
8289 else
8290 DLLTOOL="$ac_cv_prog_DLLTOOL"
8293 LIBEXT="dll"
8294 DLLEXT=""
8295 case $host_cpu in
8296 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8297 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8298 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
8301 ac_wine_try_cflags_saved=$CFLAGS
8302 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 int main(int argc, char **argv) { return 0; }
8306 _ACEOF
8307 if ac_fn_c_try_link "$LINENO"; then :
8308 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8309 else
8310 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8312 rm -f core conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314 CFLAGS=$ac_wine_try_cflags_saved
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8317 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8318 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8319 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8320 fi ;;
8321 esac
8322 enable_iphlpapi=${enable_iphlpapi:-no}
8323 enable_ws2_32=${enable_ws2_32:-no}
8324 enable_loader=${enable_loader:-no}
8325 enable_server=${enable_server:-no}
8326 with_x=${with_x:-no}
8327 with_pthread=${with_pthread:-no}
8330 darwin*|macosx*)
8331 ac_ext=m
8332 ac_cpp='$OBJCPP $CPPFLAGS'
8333 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8334 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8335 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8337 ac_ext=m
8338 ac_cpp='$OBJCPP $CPPFLAGS'
8339 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8340 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8341 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8342 if test -n "$ac_tool_prefix"; then
8343 for ac_prog in gcc objcc objc cc CC
8345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_OBJC+:} false; then :
8350 $as_echo_n "(cached) " >&6
8351 else
8352 if test -n "$OBJC"; then
8353 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8354 else
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 for as_dir in $PATH
8358 IFS=$as_save_IFS
8359 test -z "$as_dir" && as_dir=.
8360 for ac_exec_ext in '' $ac_executable_extensions; do
8361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364 break 2
8366 done
8367 done
8368 IFS=$as_save_IFS
8372 OBJC=$ac_cv_prog_OBJC
8373 if test -n "$OBJC"; then
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8375 $as_echo "$OBJC" >&6; }
8376 else
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8382 test -n "$OBJC" && break
8383 done
8385 if test -z "$OBJC"; then
8386 ac_ct_OBJC=$OBJC
8387 for ac_prog in gcc objcc objc cc CC
8389 # Extract the first word of "$ac_prog", so it can be a program name with args.
8390 set dummy $ac_prog; ac_word=$2
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8392 $as_echo_n "checking for $ac_word... " >&6; }
8393 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8394 $as_echo_n "(cached) " >&6
8395 else
8396 if test -n "$ac_ct_OBJC"; then
8397 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8398 else
8399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8400 for as_dir in $PATH
8402 IFS=$as_save_IFS
8403 test -z "$as_dir" && as_dir=.
8404 for ac_exec_ext in '' $ac_executable_extensions; do
8405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8406 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8408 break 2
8410 done
8411 done
8412 IFS=$as_save_IFS
8416 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8417 if test -n "$ac_ct_OBJC"; then
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8419 $as_echo "$ac_ct_OBJC" >&6; }
8420 else
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8422 $as_echo "no" >&6; }
8426 test -n "$ac_ct_OBJC" && break
8427 done
8429 if test "x$ac_ct_OBJC" = x; then
8430 OBJC="gcc"
8431 else
8432 case $cross_compiling:$ac_tool_warned in
8433 yes:)
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8436 ac_tool_warned=yes ;;
8437 esac
8438 OBJC=$ac_ct_OBJC
8442 # Provide some information about the compiler.
8443 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8444 set X $ac_compile
8445 ac_compiler=$2
8446 for ac_option in --version -v -V -qversion; do
8447 { { ac_try="$ac_compiler $ac_option >&5"
8448 case "(($ac_try" in
8449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8450 *) ac_try_echo=$ac_try;;
8451 esac
8452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8453 $as_echo "$ac_try_echo"; } >&5
8454 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8455 ac_status=$?
8456 if test -s conftest.err; then
8457 sed '10a\
8458 ... rest of stderr output deleted ...
8459 10q' conftest.err >conftest.er1
8460 cat conftest.er1 >&5
8462 rm -f conftest.er1 conftest.err
8463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8464 test $ac_status = 0; }
8465 done
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8468 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8469 if ${ac_cv_objc_compiler_gnu+:} false; then :
8470 $as_echo_n "(cached) " >&6
8471 else
8472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8473 /* end confdefs.h. */
8476 main ()
8478 #ifndef __GNUC__
8479 choke me
8480 #endif
8483 return 0;
8485 _ACEOF
8486 if ac_fn_objc_try_compile "$LINENO"; then :
8487 ac_compiler_gnu=yes
8488 else
8489 ac_compiler_gnu=no
8491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8492 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8496 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8497 if test $ac_compiler_gnu = yes; then
8498 GOBJC=yes
8499 else
8500 GOBJC=
8502 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8503 ac_save_OBJCFLAGS=$OBJCFLAGS
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8505 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8506 if ${ac_cv_prog_objc_g+:} false; then :
8507 $as_echo_n "(cached) " >&6
8508 else
8509 ac_save_objc_werror_flag=$ac_objc_werror_flag
8510 ac_objc_werror_flag=yes
8511 ac_cv_prog_objc_g=no
8512 OBJCFLAGS="-g"
8513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8514 /* end confdefs.h. */
8517 main ()
8521 return 0;
8523 _ACEOF
8524 if ac_fn_objc_try_compile "$LINENO"; then :
8525 ac_cv_prog_objc_g=yes
8526 else
8527 OBJCFLAGS=""
8528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8529 /* end confdefs.h. */
8532 main ()
8536 return 0;
8538 _ACEOF
8539 if ac_fn_objc_try_compile "$LINENO"; then :
8541 else
8542 ac_objc_werror_flag=$ac_save_objc_werror_flag
8543 OBJCFLAGS="-g"
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8548 main ()
8552 return 0;
8554 _ACEOF
8555 if ac_fn_objc_try_compile "$LINENO"; then :
8556 ac_cv_prog_objc_g=yes
8558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8563 ac_objc_werror_flag=$ac_save_objc_werror_flag
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8566 $as_echo "$ac_cv_prog_objc_g" >&6; }
8567 if test "$ac_test_OBJCFLAGS" = set; then
8568 OBJCFLAGS=$ac_save_OBJCFLAGS
8569 elif test $ac_cv_prog_objc_g = yes; then
8570 if test "$GOBJC" = yes; then
8571 OBJCFLAGS="-g -O2"
8572 else
8573 OBJCFLAGS="-g"
8575 else
8576 if test "$GOBJC" = yes; then
8577 OBJCFLAGS="-O2"
8578 else
8579 OBJCFLAGS=
8582 ac_ext=m
8583 ac_cpp='$OBJCPP $CPPFLAGS'
8584 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8585 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8586 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8589 ac_ext=m
8590 ac_cpp='$OBJCPP $CPPFLAGS'
8591 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8592 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8593 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8595 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8596 if test -z "$OBJCPP"; then
8597 if ${ac_cv_prog_OBJCPP+:} false; then :
8598 $as_echo_n "(cached) " >&6
8599 else
8600 # Double quotes because OBJCPP needs to be expanded
8601 for OBJCPP in "$OBJC -E" "/lib/cpp"
8603 ac_preproc_ok=false
8604 for ac_objc_preproc_warn_flag in '' yes
8606 # Use a header file that comes with gcc, so configuring glibc
8607 # with a fresh cross-compiler works.
8608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8609 # <limits.h> exists even on freestanding compilers.
8610 # On the NeXT, cc -E runs the code through the compiler's parser,
8611 # not just through cpp. "Syntax error" is here to catch this case.
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8614 #ifdef __STDC__
8615 # include <limits.h>
8616 #else
8617 # include <assert.h>
8618 #endif
8619 Syntax error
8620 _ACEOF
8621 if ac_fn_objc_try_cpp "$LINENO"; then :
8623 else
8624 # Broken: fails on valid input.
8625 continue
8627 rm -f conftest.err conftest.i conftest.$ac_ext
8629 # OK, works on sane cases. Now check whether nonexistent headers
8630 # can be detected and how.
8631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8632 /* end confdefs.h. */
8633 #include <ac_nonexistent.h>
8634 _ACEOF
8635 if ac_fn_objc_try_cpp "$LINENO"; then :
8636 # Broken: success on invalid input.
8637 continue
8638 else
8639 # Passes both tests.
8640 ac_preproc_ok=:
8641 break
8643 rm -f conftest.err conftest.i conftest.$ac_ext
8645 done
8646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8647 rm -f conftest.i conftest.err conftest.$ac_ext
8648 if $ac_preproc_ok; then :
8649 break
8652 done
8653 ac_cv_prog_OBJCPP=$OBJCPP
8656 OBJCPP=$ac_cv_prog_OBJCPP
8657 else
8658 ac_cv_prog_OBJCPP=$OBJCPP
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8661 $as_echo "$OBJCPP" >&6; }
8662 ac_preproc_ok=false
8663 for ac_objc_preproc_warn_flag in '' yes
8665 # Use a header file that comes with gcc, so configuring glibc
8666 # with a fresh cross-compiler works.
8667 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8668 # <limits.h> exists even on freestanding compilers.
8669 # On the NeXT, cc -E runs the code through the compiler's parser,
8670 # not just through cpp. "Syntax error" is here to catch this case.
8671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8672 /* end confdefs.h. */
8673 #ifdef __STDC__
8674 # include <limits.h>
8675 #else
8676 # include <assert.h>
8677 #endif
8678 Syntax error
8679 _ACEOF
8680 if ac_fn_objc_try_cpp "$LINENO"; then :
8682 else
8683 # Broken: fails on valid input.
8684 continue
8686 rm -f conftest.err conftest.i conftest.$ac_ext
8688 # OK, works on sane cases. Now check whether nonexistent headers
8689 # can be detected and how.
8690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8691 /* end confdefs.h. */
8692 #include <ac_nonexistent.h>
8693 _ACEOF
8694 if ac_fn_objc_try_cpp "$LINENO"; then :
8695 # Broken: success on invalid input.
8696 continue
8697 else
8698 # Passes both tests.
8699 ac_preproc_ok=:
8700 break
8702 rm -f conftest.err conftest.i conftest.$ac_ext
8704 done
8705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8706 rm -f conftest.i conftest.err conftest.$ac_ext
8707 if $ac_preproc_ok; then :
8709 else
8710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8712 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8713 See \`config.log' for more details" "$LINENO" 5; }
8716 ac_ext=m
8717 ac_cpp='$OBJCPP $CPPFLAGS'
8718 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8719 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8720 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8723 for ac_header in Metal/Metal.h
8724 do :
8725 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8726 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8727 cat >>confdefs.h <<_ACEOF
8728 #define HAVE_METAL_METAL_H 1
8729 _ACEOF
8733 done
8735 ac_ext=c
8736 ac_cpp='$CPP $CPPFLAGS'
8737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8741 LIBEXT="dylib"
8742 DLLFLAGS="$DLLFLAGS -fPIC"
8743 LDDLLFLAGS="-fPIC"
8744 COREFOUNDATION_LIBS="-framework CoreFoundation"
8746 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8748 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8750 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8752 CORESERVICES_LIBS="-framework CoreServices"
8754 APPKIT_LIBS="-framework AppKit"
8756 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8759 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8761 wine_can_build_preloader=yes
8762 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"
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8764 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8765 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8766 $as_echo_n "(cached) " >&6
8767 else
8768 ac_wine_try_cflags_saved=$CFLAGS
8769 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8771 /* end confdefs.h. */
8772 int main(int argc, char **argv) { return 0; }
8773 _ACEOF
8774 if ac_fn_c_try_link "$LINENO"; then :
8775 ac_cv_cflags__Wl__no_new_main__e__main=yes
8776 else
8777 ac_cv_cflags__Wl__no_new_main__e__main=no
8779 rm -f core conftest.err conftest.$ac_objext \
8780 conftest$ac_exeext conftest.$ac_ext
8781 CFLAGS=$ac_wine_try_cflags_saved
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8784 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8785 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8786 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8788 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8789 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8790 $as_echo_n "(cached) " >&6
8791 else
8792 ac_wine_try_cflags_saved=$CFLAGS
8793 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8795 /* end confdefs.h. */
8796 int main(int argc, char **argv) { return 0; }
8797 _ACEOF
8798 if ac_fn_c_try_link "$LINENO"; then :
8799 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8800 else
8801 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8803 rm -f core conftest.err conftest.$ac_objext \
8804 conftest$ac_exeext conftest.$ac_ext
8805 CFLAGS=$ac_wine_try_cflags_saved
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8808 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8809 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8810 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8811 else
8812 { $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
8813 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8814 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8815 $as_echo_n "(cached) " >&6
8816 else
8817 ac_wine_try_cflags_saved=$CFLAGS
8818 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8820 /* end confdefs.h. */
8821 int main(int argc, char **argv) { return 0; }
8822 _ACEOF
8823 if ac_fn_c_try_link "$LINENO"; then :
8824 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8825 else
8826 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8828 rm -f core conftest.err conftest.$ac_objext \
8829 conftest$ac_exeext conftest.$ac_ext
8830 CFLAGS=$ac_wine_try_cflags_saved
8832 { $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
8833 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8834 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8835 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8836 else
8837 wine_can_build_preloader=no
8840 else
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8842 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8843 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8844 $as_echo_n "(cached) " >&6
8845 else
8846 ac_wine_try_cflags_saved=$CFLAGS
8847 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8849 /* end confdefs.h. */
8850 int main(int argc, char **argv) { return 0; }
8851 _ACEOF
8852 if ac_fn_c_try_link "$LINENO"; then :
8853 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8854 else
8855 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8857 rm -f core conftest.err conftest.$ac_objext \
8858 conftest$ac_exeext conftest.$ac_ext
8859 CFLAGS=$ac_wine_try_cflags_saved
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8862 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8863 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8864 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8865 else
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8867 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8868 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8869 $as_echo_n "(cached) " >&6
8870 else
8871 ac_wine_try_cflags_saved=$CFLAGS
8872 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8875 int main(int argc, char **argv) { return 0; }
8876 _ACEOF
8877 if ac_fn_c_try_link "$LINENO"; then :
8878 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8879 else
8880 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8882 rm -f core conftest.err conftest.$ac_objext \
8883 conftest$ac_exeext conftest.$ac_ext
8884 CFLAGS=$ac_wine_try_cflags_saved
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8887 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8888 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8889 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8890 else
8891 wine_can_build_preloader=no
8895 if test "$wine_can_build_preloader" = "yes"
8896 then
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8898 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8899 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8900 $as_echo_n "(cached) " >&6
8901 else
8902 ac_wine_try_cflags_saved=$CFLAGS
8903 CFLAGS="$CFLAGS -Wl,-no_pie"
8904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8905 /* end confdefs.h. */
8906 int main(int argc, char **argv) { return 0; }
8907 _ACEOF
8908 if ac_fn_c_try_link "$LINENO"; then :
8909 ac_cv_cflags__Wl__no_pie=yes
8910 else
8911 ac_cv_cflags__Wl__no_pie=no
8913 rm -f core conftest.err conftest.$ac_objext \
8914 conftest$ac_exeext conftest.$ac_ext
8915 CFLAGS=$ac_wine_try_cflags_saved
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8918 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8919 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8920 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8922 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8923 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8924 else
8925 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8928 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8929 then
8930 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8933 if test "$ac_cv_header_Security_Security_h" = "yes"
8934 then
8935 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8937 ac_save_LIBS="$LIBS"
8938 LIBS="$LIBS $SECURITY_LIBS"
8939 for ac_func in SSLCopyPeerCertificates
8940 do :
8941 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8942 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8943 cat >>confdefs.h <<_ACEOF
8944 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8945 _ACEOF
8948 done
8950 LIBS="$ac_save_LIBS"
8952 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8953 then
8954 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8955 then
8956 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8958 else
8959 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8962 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8963 ac_save_LIBS="$LIBS"
8964 LIBS="$LIBS $COREAUDIO_LIBS"
8965 for ac_func in AUGraphAddNode
8966 do :
8967 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8968 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8969 cat >>confdefs.h <<_ACEOF
8970 #define HAVE_AUGRAPHADDNODE 1
8971 _ACEOF
8974 done
8976 LIBS="$ac_save_LIBS"
8978 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8979 then
8980 OPENAL_LIBS="-framework OpenAL"
8983 cat >>confdefs.h <<_ACEOF
8984 #define HAVE_OPENAL 1
8985 _ACEOF
8987 ac_cv_lib_openal=yes
8989 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8990 then
8991 OPENCL_LIBS="-framework OpenCL"
8993 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8995 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8996 then
8997 ac_save_LIBS="$LIBS"
8998 LIBS="$LIBS $IOKIT_LIBS"
8999 for ac_func in IOHIDManagerCreate
9000 do :
9001 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9002 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9003 cat >>confdefs.h <<_ACEOF
9004 #define HAVE_IOHIDMANAGERCREATE 1
9005 _ACEOF
9008 done
9010 LIBS="$ac_save_LIBS"
9013 if test "x$with_quicktime" != "xno"
9014 then
9015 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9016 then
9017 ac_save_LIBS="$LIBS"
9018 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9020 $as_echo_n "checking for the QuickTime framework... " >&6; }
9021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9022 /* end confdefs.h. */
9023 #include <QuickTime/ImageCompression.h>
9025 main ()
9027 CodecManagerVersion(NULL);
9029 return 0;
9031 _ACEOF
9032 if ac_fn_c_try_link "$LINENO"; then :
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9034 $as_echo "yes" >&6; }
9035 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9037 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9038 else
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9040 $as_echo "no" >&6; }
9041 ac_cv_header_QuickTime_ImageCompression_h=no
9043 rm -f core conftest.err conftest.$ac_objext \
9044 conftest$ac_exeext conftest.$ac_ext
9045 LIBS="$ac_save_LIBS"
9048 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9049 case "x$with_quicktime" in
9050 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9051 xno) ;;
9052 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9053 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9054 esac
9058 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9059 then
9060 CARBON_LIBS="-framework Carbon"
9063 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9064 then
9065 METAL_LIBS="-framework Metal -framework QuartzCore"
9069 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9070 then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9072 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9073 ac_ext=m
9074 ac_cpp='$OBJCPP $CPPFLAGS'
9075 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9076 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9077 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9081 #include <Metal/Metal.h>
9083 main ()
9085 id<MTLDevice> device; device.registryID;
9087 return 0;
9089 _ACEOF
9090 if ac_fn_objc_try_compile "$LINENO"; then :
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9092 $as_echo "yes" >&6; }
9094 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9096 else
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9098 $as_echo "no" >&6; }
9100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9101 ac_ext=c
9102 ac_cpp='$CPP $CPPFLAGS'
9103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9109 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9110 then
9111 ac_save_LIBS="$LIBS"
9112 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9113 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9114 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9115 enable_winemac_drv=${enable_winemac_drv:-yes}
9118 LIBS="$ac_save_LIBS"
9121 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9123 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9125 WINELOADER_DEPENDS="wine_info.plist"
9127 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9130 linux-android*)
9131 DLLFLAGS="$DLLFLAGS -fPIC"
9132 LDDLLFLAGS="-fPIC"
9133 LDEXECFLAGS="-Wl,-pie"
9134 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9136 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9137 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9138 $as_echo_n "(cached) " >&6
9139 else
9140 ac_wine_try_cflags_saved=$CFLAGS
9141 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9143 /* end confdefs.h. */
9144 int main(int argc, char **argv) { return 0; }
9145 _ACEOF
9146 if ac_fn_c_try_link "$LINENO"; then :
9147 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9148 else
9149 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9151 rm -f core conftest.err conftest.$ac_objext \
9152 conftest$ac_exeext conftest.$ac_ext
9153 CFLAGS=$ac_wine_try_cflags_saved
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9156 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9157 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9158 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9160 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9162 LIBWINE_SHAREDLIB="libwine.so"
9164 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9166 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9169 $as_echo_n "checking for -lEGL... " >&6; }
9170 if ${ac_cv_lib_soname_EGL+:} false; then :
9171 $as_echo_n "(cached) " >&6
9172 else
9173 ac_check_soname_save_LIBS=$LIBS
9174 LIBS="-lEGL $LIBS"
9175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9178 /* Override any GCC internal prototype to avoid an error.
9179 Use char because int might match the return type of a GCC
9180 builtin and then its argument prototype would still apply. */
9181 #ifdef __cplusplus
9182 extern "C"
9183 #endif
9184 char eglGetProcAddress ();
9186 main ()
9188 return eglGetProcAddress ();
9190 return 0;
9192 _ACEOF
9193 if ac_fn_c_try_link "$LINENO"; then :
9194 case "$LIBEXT" in
9195 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9196 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'` ;;
9197 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9198 if ${ac_cv_lib_soname_EGL:+false} :; then :
9199 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9200 fi ;;
9201 esac
9202 else
9203 ac_cv_lib_soname_EGL=
9205 rm -f core conftest.err conftest.$ac_objext \
9206 conftest$ac_exeext conftest.$ac_ext
9207 LIBS=$ac_check_soname_save_LIBS
9209 if ${ac_cv_lib_soname_EGL:+false} :; then :
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9211 $as_echo "not found" >&6; }
9213 else
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9215 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9217 cat >>confdefs.h <<_ACEOF
9218 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9219 _ACEOF
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9224 $as_echo_n "checking for -lGLESv2... " >&6; }
9225 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9226 $as_echo_n "(cached) " >&6
9227 else
9228 ac_check_soname_save_LIBS=$LIBS
9229 LIBS="-lGLESv2 $LIBS"
9230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9233 /* Override any GCC internal prototype to avoid an error.
9234 Use char because int might match the return type of a GCC
9235 builtin and then its argument prototype would still apply. */
9236 #ifdef __cplusplus
9237 extern "C"
9238 #endif
9239 char glFlush ();
9241 main ()
9243 return glFlush ();
9245 return 0;
9247 _ACEOF
9248 if ac_fn_c_try_link "$LINENO"; then :
9249 case "$LIBEXT" in
9250 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9251 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'` ;;
9252 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9253 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9254 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9255 fi ;;
9256 esac
9257 else
9258 ac_cv_lib_soname_GLESv2=
9260 rm -f core conftest.err conftest.$ac_objext \
9261 conftest$ac_exeext conftest.$ac_ext
9262 LIBS=$ac_check_soname_save_LIBS
9264 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9266 $as_echo "not found" >&6; }
9268 else
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9270 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9272 cat >>confdefs.h <<_ACEOF
9273 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9274 _ACEOF
9279 if test "x$exec_prefix" = xNONE
9280 then
9281 case $host_cpu in
9282 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9283 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9284 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9285 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9286 esac
9291 case $host_cpu in
9292 *i[3456789]86*)
9293 DLLFLAGS="$DLLFLAGS -fno-PIC"
9294 LDDLLFLAGS="-fno-PIC"
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9296 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9297 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9298 $as_echo_n "(cached) " >&6
9299 else
9300 ac_wine_try_cflags_saved=$CFLAGS
9301 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9303 /* end confdefs.h. */
9304 int main(int argc, char **argv) { return 0; }
9305 _ACEOF
9306 if ac_fn_c_try_link "$LINENO"; then :
9307 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9308 else
9309 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 CFLAGS=$ac_wine_try_cflags_saved
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9316 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9317 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9318 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9322 DLLFLAGS="$DLLFLAGS -fPIC"
9323 LDDLLFLAGS="-fPIC" ;;
9324 esac
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9326 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9327 if ${ac_cv_c_dll_gnuelf+:} false; then :
9328 $as_echo_n "(cached) " >&6
9329 else
9330 ac_wine_try_cflags_saved=$CFLAGS
9331 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9333 /* end confdefs.h. */
9334 void myfunc() {}
9335 _ACEOF
9336 if ac_fn_c_try_link "$LINENO"; then :
9337 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9338 else
9339 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9341 rm -f core conftest.err conftest.$ac_objext \
9342 conftest$ac_exeext conftest.$ac_ext
9343 CFLAGS=$ac_wine_try_cflags_saved
9344 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9345 ac_cv_c_dll_gnuelf="yes"
9346 else
9347 ac_cv_c_dll_gnuelf="no"
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9351 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9352 if test "$ac_cv_c_dll_gnuelf" = "yes"
9353 then
9354 LIBWINE_LDFLAGS="-shared"
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9356 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9357 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9358 $as_echo_n "(cached) " >&6
9359 else
9360 ac_wine_try_cflags_saved=$CFLAGS
9361 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9363 /* end confdefs.h. */
9364 int main(int argc, char **argv) { return 0; }
9365 _ACEOF
9366 if ac_fn_c_try_link "$LINENO"; then :
9367 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9368 else
9369 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9371 rm -f core conftest.err conftest.$ac_objext \
9372 conftest$ac_exeext conftest.$ac_ext
9373 CFLAGS=$ac_wine_try_cflags_saved
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9376 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9377 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9378 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9379 else
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9381 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9382 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9383 $as_echo_n "(cached) " >&6
9384 else
9385 ac_wine_try_cflags_saved=$CFLAGS
9386 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9389 int main(int argc, char **argv) { return 0; }
9390 _ACEOF
9391 if ac_fn_c_try_link "$LINENO"; then :
9392 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9393 else
9394 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9396 rm -f core conftest.err conftest.$ac_objext \
9397 conftest$ac_exeext conftest.$ac_ext
9398 CFLAGS=$ac_wine_try_cflags_saved
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9401 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9402 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9403 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9407 echo '{ global: *; };' >conftest.map
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9409 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9410 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9411 $as_echo_n "(cached) " >&6
9412 else
9413 ac_wine_try_cflags_saved=$CFLAGS
9414 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9417 int main(int argc, char **argv) { return 0; }
9418 _ACEOF
9419 if ac_fn_c_try_link "$LINENO"; then :
9420 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9421 else
9422 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9424 rm -f core conftest.err conftest.$ac_objext \
9425 conftest$ac_exeext conftest.$ac_ext
9426 CFLAGS=$ac_wine_try_cflags_saved
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9429 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9430 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9431 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9433 rm -f conftest.map
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9436 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9437 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9438 $as_echo_n "(cached) " >&6
9439 else
9440 ac_wine_try_cflags_saved=$CFLAGS
9441 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9444 int main(int argc, char **argv) { return 0; }
9445 _ACEOF
9446 if ac_fn_c_try_link "$LINENO"; then :
9447 ac_cv_cflags__Wl___export_dynamic=yes
9448 else
9449 ac_cv_cflags__Wl___export_dynamic=no
9451 rm -f core conftest.err conftest.$ac_objext \
9452 conftest$ac_exeext conftest.$ac_ext
9453 CFLAGS=$ac_wine_try_cflags_saved
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9456 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9457 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9458 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9460 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9462 case $host_cpu in
9463 *i[3456789]86* | x86_64 | *aarch64*)
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9465 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9466 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9467 $as_echo_n "(cached) " >&6
9468 else
9469 ac_wine_try_cflags_saved=$CFLAGS
9470 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9472 /* end confdefs.h. */
9473 int main(int argc, char **argv) { return 0; }
9474 _ACEOF
9475 if ac_fn_c_try_link "$LINENO"; then :
9476 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9477 else
9478 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9480 rm -f core conftest.err conftest.$ac_objext \
9481 conftest$ac_exeext conftest.$ac_ext
9482 CFLAGS=$ac_wine_try_cflags_saved
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9485 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9486 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9487 case $host_os in
9488 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9489 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9490 esac
9491 else
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9493 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9494 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9495 $as_echo_n "(cached) " >&6
9496 else
9497 ac_wine_try_cflags_saved=$CFLAGS
9498 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9500 /* end confdefs.h. */
9501 int main(int argc, char **argv) { return 0; }
9502 _ACEOF
9503 if ac_fn_c_try_link "$LINENO"; then :
9504 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9505 else
9506 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 CFLAGS=$ac_wine_try_cflags_saved
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9513 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9514 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9515 case $host_os in
9516 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9517 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9518 esac
9520 # Extract the first word of "prelink", so it can be a program name with args.
9521 set dummy prelink; ac_word=$2
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9523 $as_echo_n "checking for $ac_word... " >&6; }
9524 if ${ac_cv_path_PRELINK+:} false; then :
9525 $as_echo_n "(cached) " >&6
9526 else
9527 case $PRELINK in
9528 [\\/]* | ?:[\\/]*)
9529 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9533 for as_dir in /sbin /usr/sbin $PATH
9535 IFS=$as_save_IFS
9536 test -z "$as_dir" && as_dir=.
9537 for ac_exec_ext in '' $ac_executable_extensions; do
9538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9539 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9541 break 2
9543 done
9544 done
9545 IFS=$as_save_IFS
9547 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9549 esac
9551 PRELINK=$ac_cv_path_PRELINK
9552 if test -n "$PRELINK"; then
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9554 $as_echo "$PRELINK" >&6; }
9555 else
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9557 $as_echo "no" >&6; }
9561 if test "x$PRELINK" = xfalse
9562 then
9563 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9567 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9568 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9569 $as_echo_n "(cached) " >&6
9570 else
9571 ac_wine_try_cflags_saved=$CFLAGS
9572 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9575 int main(int argc, char **argv) { return 0; }
9576 _ACEOF
9577 if ac_fn_c_try_link "$LINENO"; then :
9578 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9579 else
9580 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9582 rm -f core conftest.err conftest.$ac_objext \
9583 conftest$ac_exeext conftest.$ac_ext
9584 CFLAGS=$ac_wine_try_cflags_saved
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9587 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9588 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9589 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9592 esac
9594 else
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9596 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9597 if ${ac_cv_c_dll_unixware+:} false; then :
9598 $as_echo_n "(cached) " >&6
9599 else
9600 ac_wine_try_cflags_saved=$CFLAGS
9601 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9603 /* end confdefs.h. */
9604 void myfunc() {}
9605 _ACEOF
9606 if ac_fn_c_try_link "$LINENO"; then :
9607 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9608 else
9609 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9611 rm -f core conftest.err conftest.$ac_objext \
9612 conftest$ac_exeext conftest.$ac_ext
9613 CFLAGS=$ac_wine_try_cflags_saved
9614 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9615 ac_cv_c_dll_unixware="yes"
9616 else
9617 ac_cv_c_dll_unixware="no"
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9621 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9622 if test "$ac_cv_c_dll_unixware" = "yes"
9623 then
9624 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9627 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9629 LIBWINE_DEPENDS="wine.map"
9631 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9633 esac
9635 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9636 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9637 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9638 enable_winemac_drv=${enable_winemac_drv:-no}
9639 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9642 if test "x$with_mingw" != xno
9643 then
9644 case "x$with_mingw" in
9645 x|xyes) case "$host_cpu" in
9646 aarch64*)
9647 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9648 arm*)
9649 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9650 i[3456789]86*)
9651 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
9652 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9653 mingw32-gcc" ;;
9654 x86_64)
9655 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
9656 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9658 ac_prefix_list="" ;;
9659 esac
9660 for ac_prog in $ac_prefix_list
9662 # Extract the first word of "$ac_prog", so it can be a program name with args.
9663 set dummy $ac_prog; ac_word=$2
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9665 $as_echo_n "checking for $ac_word... " >&6; }
9666 if ${ac_cv_prog_CROSSCC+:} false; then :
9667 $as_echo_n "(cached) " >&6
9668 else
9669 if test -n "$CROSSCC"; then
9670 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9671 else
9672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9673 for as_dir in $PATH
9675 IFS=$as_save_IFS
9676 test -z "$as_dir" && as_dir=.
9677 for ac_exec_ext in '' $ac_executable_extensions; do
9678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9679 ac_cv_prog_CROSSCC="$ac_prog"
9680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9681 break 2
9683 done
9684 done
9685 IFS=$as_save_IFS
9689 CROSSCC=$ac_cv_prog_CROSSCC
9690 if test -n "$CROSSCC"; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9692 $as_echo "$CROSSCC" >&6; }
9693 else
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9695 $as_echo "no" >&6; }
9699 test -n "$CROSSCC" && break
9700 done
9701 test -n "$CROSSCC" || CROSSCC="false"
9703 *) CROSSCC=$with_mingw ;;
9704 esac
9705 if test "$CROSSCC" != "false"
9706 then
9707 ac_save_CC="$CC"
9708 saved_CFLAGS=$CFLAGS
9709 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9711 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9715 CC="$CROSSCC"
9716 CFLAGS=$CROSSCFLAGS
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9718 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9719 if ${wine_cv_crosscc+:} false; then :
9720 $as_echo_n "(cached) " >&6
9721 else
9722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9723 /* end confdefs.h. */
9726 main ()
9730 return 0;
9732 _ACEOF
9733 if ac_fn_c_try_compile "$LINENO"; then :
9734 wine_cv_crosscc=yes
9735 else
9736 wine_cv_crosscc=no
9738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9741 $as_echo "$wine_cv_crosscc" >&6; }
9742 if test $wine_cv_crosscc = yes
9743 then
9744 set x $CROSSCC
9745 shift
9746 while test $# -ge 1
9748 case "$1" in
9749 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9750 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9751 esac
9752 shift
9753 done
9755 llvm_target=$CROSSTARGET
9756 llvm_cflags="-fuse-ld=lld"
9757 if test -z "$llvm_target"
9758 then
9759 case $host_cpu in
9760 *i[3456789]86*) llvm_target=i686-windows ;;
9761 *) llvm_target=$host_cpu-windows ;;
9762 esac
9764 case $llvm_target in
9765 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9766 esac
9767 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9769 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9770 if eval \${$as_ac_var+:} false; then :
9771 $as_echo_n "(cached) " >&6
9772 else
9773 ac_wine_try_cflags_saved=$CFLAGS
9774 ac_wine_try_cflags_saved_cc=$CC
9775 ac_wine_try_cflags_saved_exeext=$ac_exeext
9776 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9777 CC="$CROSSCC"
9778 ac_exeext=".exe"
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9781 int __cdecl mainCRTStartup(void) { return 0; }
9782 _ACEOF
9783 if ac_fn_c_try_link "$LINENO"; then :
9784 eval "$as_ac_var=yes"
9785 else
9786 eval "$as_ac_var=no"
9788 rm -f core conftest.err conftest.$ac_objext \
9789 conftest$ac_exeext conftest.$ac_ext
9790 CFLAGS=$ac_wine_try_cflags_saved
9791 CC=$ac_wine_try_cflags_saved_cc
9792 ac_exeext=$ac_wine_try_cflags_saved_exeext
9794 eval ac_res=\$$as_ac_var
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9796 $as_echo "$ac_res" >&6; }
9797 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9798 CROSSTARGET=$llvm_target
9799 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9800 DELAYLOADFLAG="-Wl,-delayload,"
9802 CFLAGS="$CFLAGS $llvm_cflags"
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9806 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9807 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 ac_wine_try_cflags_saved=$CFLAGS
9811 ac_wine_try_cflags_saved_cc=$CC
9812 ac_wine_try_cflags_saved_exeext=$ac_exeext
9813 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9814 CC="$CROSSCC"
9815 ac_exeext=".exe"
9816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9818 int __cdecl mainCRTStartup(void) { return 0; }
9819 _ACEOF
9820 if ac_fn_c_try_link "$LINENO"; then :
9821 ac_cv_crosscflags__fno_strict_aliasing=yes
9822 else
9823 ac_cv_crosscflags__fno_strict_aliasing=no
9825 rm -f core conftest.err conftest.$ac_objext \
9826 conftest$ac_exeext conftest.$ac_ext
9827 CFLAGS=$ac_wine_try_cflags_saved
9828 CC=$ac_wine_try_cflags_saved_cc
9829 ac_exeext=$ac_wine_try_cflags_saved_exeext
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9832 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9833 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9834 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9837 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9838 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 ac_wine_try_cflags_saved=$CFLAGS
9842 ac_wine_try_cflags_saved_cc=$CC
9843 ac_wine_try_cflags_saved_exeext=$ac_exeext
9844 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9845 CC="$CROSSCC"
9846 ac_exeext=".exe"
9847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9849 int __cdecl mainCRTStartup(void) { return 0; }
9850 _ACEOF
9851 if ac_fn_c_try_link "$LINENO"; then :
9852 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9853 else
9854 ac_cv_crosscflags__Werror_unknown_warning_option=no
9856 rm -f core conftest.err conftest.$ac_objext \
9857 conftest$ac_exeext conftest.$ac_ext
9858 CFLAGS=$ac_wine_try_cflags_saved
9859 CC=$ac_wine_try_cflags_saved_cc
9860 ac_exeext=$ac_wine_try_cflags_saved_exeext
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9863 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9864 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9865 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9868 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9869 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9870 $as_echo_n "(cached) " >&6
9871 else
9872 ac_wine_try_cflags_saved=$CFLAGS
9873 ac_wine_try_cflags_saved_cc=$CC
9874 ac_wine_try_cflags_saved_exeext=$ac_exeext
9875 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9876 CC="$CROSSCC"
9877 ac_exeext=".exe"
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int __cdecl mainCRTStartup(void) { return 0; }
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9884 else
9885 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9887 rm -f core conftest.err conftest.$ac_objext \
9888 conftest$ac_exeext conftest.$ac_ext
9889 CFLAGS=$ac_wine_try_cflags_saved
9890 CC=$ac_wine_try_cflags_saved_cc
9891 ac_exeext=$ac_wine_try_cflags_saved_exeext
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9894 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9895 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9896 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9899 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9900 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9901 $as_echo_n "(cached) " >&6
9902 else
9903 ac_wine_try_cflags_saved=$CFLAGS
9904 ac_wine_try_cflags_saved_cc=$CC
9905 ac_wine_try_cflags_saved_exeext=$ac_exeext
9906 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9907 CC="$CROSSCC"
9908 ac_exeext=".exe"
9909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9911 int __cdecl mainCRTStartup(void) { return 0; }
9912 _ACEOF
9913 if ac_fn_c_try_link "$LINENO"; then :
9914 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9915 else
9916 ac_cv_crosscflags__Wdeclaration_after_statement=no
9918 rm -f core conftest.err conftest.$ac_objext \
9919 conftest$ac_exeext conftest.$ac_ext
9920 CFLAGS=$ac_wine_try_cflags_saved
9921 CC=$ac_wine_try_cflags_saved_cc
9922 ac_exeext=$ac_wine_try_cflags_saved_exeext
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9925 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9926 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9927 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9930 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9931 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9932 $as_echo_n "(cached) " >&6
9933 else
9934 ac_wine_try_cflags_saved=$CFLAGS
9935 ac_wine_try_cflags_saved_cc=$CC
9936 ac_wine_try_cflags_saved_exeext=$ac_exeext
9937 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9938 CC="$CROSSCC"
9939 ac_exeext=".exe"
9940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9941 /* end confdefs.h. */
9942 int __cdecl mainCRTStartup(void) { return 0; }
9943 _ACEOF
9944 if ac_fn_c_try_link "$LINENO"; then :
9945 ac_cv_crosscflags__Wempty_body=yes
9946 else
9947 ac_cv_crosscflags__Wempty_body=no
9949 rm -f core conftest.err conftest.$ac_objext \
9950 conftest$ac_exeext conftest.$ac_ext
9951 CFLAGS=$ac_wine_try_cflags_saved
9952 CC=$ac_wine_try_cflags_saved_cc
9953 ac_exeext=$ac_wine_try_cflags_saved_exeext
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9956 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9957 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9958 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9961 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9962 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9963 $as_echo_n "(cached) " >&6
9964 else
9965 ac_wine_try_cflags_saved=$CFLAGS
9966 ac_wine_try_cflags_saved_cc=$CC
9967 ac_wine_try_cflags_saved_exeext=$ac_exeext
9968 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9969 CC="$CROSSCC"
9970 ac_exeext=".exe"
9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9973 int __cdecl mainCRTStartup(void) { return 0; }
9974 _ACEOF
9975 if ac_fn_c_try_link "$LINENO"; then :
9976 ac_cv_crosscflags__Wignored_qualifiers=yes
9977 else
9978 ac_cv_crosscflags__Wignored_qualifiers=no
9980 rm -f core conftest.err conftest.$ac_objext \
9981 conftest$ac_exeext conftest.$ac_ext
9982 CFLAGS=$ac_wine_try_cflags_saved
9983 CC=$ac_wine_try_cflags_saved_cc
9984 ac_exeext=$ac_wine_try_cflags_saved_exeext
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9987 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9988 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9989 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
9992 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
9993 if ${ac_cv_crosscflags__Winit_self+:} false; then :
9994 $as_echo_n "(cached) " >&6
9995 else
9996 ac_wine_try_cflags_saved=$CFLAGS
9997 ac_wine_try_cflags_saved_cc=$CC
9998 ac_wine_try_cflags_saved_exeext=$ac_exeext
9999 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10000 CC="$CROSSCC"
10001 ac_exeext=".exe"
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10004 int __cdecl mainCRTStartup(void) { return 0; }
10005 _ACEOF
10006 if ac_fn_c_try_link "$LINENO"; then :
10007 ac_cv_crosscflags__Winit_self=yes
10008 else
10009 ac_cv_crosscflags__Winit_self=no
10011 rm -f core conftest.err conftest.$ac_objext \
10012 conftest$ac_exeext conftest.$ac_ext
10013 CFLAGS=$ac_wine_try_cflags_saved
10014 CC=$ac_wine_try_cflags_saved_cc
10015 ac_exeext=$ac_wine_try_cflags_saved_exeext
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10018 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10019 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10020 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10023 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10024 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10025 $as_echo_n "(cached) " >&6
10026 else
10027 ac_wine_try_cflags_saved=$CFLAGS
10028 ac_wine_try_cflags_saved_cc=$CC
10029 ac_wine_try_cflags_saved_exeext=$ac_exeext
10030 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10031 CC="$CROSSCC"
10032 ac_exeext=".exe"
10033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10034 /* end confdefs.h. */
10035 int __cdecl mainCRTStartup(void) { return 0; }
10036 _ACEOF
10037 if ac_fn_c_try_link "$LINENO"; then :
10038 ac_cv_crosscflags__Wpacked_not_aligned=yes
10039 else
10040 ac_cv_crosscflags__Wpacked_not_aligned=no
10042 rm -f core conftest.err conftest.$ac_objext \
10043 conftest$ac_exeext conftest.$ac_ext
10044 CFLAGS=$ac_wine_try_cflags_saved
10045 CC=$ac_wine_try_cflags_saved_cc
10046 ac_exeext=$ac_wine_try_cflags_saved_exeext
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10049 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10050 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10051 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10054 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10055 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10056 $as_echo_n "(cached) " >&6
10057 else
10058 ac_wine_try_cflags_saved=$CFLAGS
10059 ac_wine_try_cflags_saved_cc=$CC
10060 ac_wine_try_cflags_saved_exeext=$ac_exeext
10061 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10062 CC="$CROSSCC"
10063 ac_exeext=".exe"
10064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10065 /* end confdefs.h. */
10066 int __cdecl mainCRTStartup(void) { return 0; }
10067 _ACEOF
10068 if ac_fn_c_try_link "$LINENO"; then :
10069 ac_cv_crosscflags__Wpragma_pack=yes
10070 else
10071 ac_cv_crosscflags__Wpragma_pack=no
10073 rm -f core conftest.err conftest.$ac_objext \
10074 conftest$ac_exeext conftest.$ac_ext
10075 CFLAGS=$ac_wine_try_cflags_saved
10076 CC=$ac_wine_try_cflags_saved_cc
10077 ac_exeext=$ac_wine_try_cflags_saved_exeext
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10080 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10081 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10082 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10085 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10086 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10087 $as_echo_n "(cached) " >&6
10088 else
10089 ac_wine_try_cflags_saved=$CFLAGS
10090 ac_wine_try_cflags_saved_cc=$CC
10091 ac_wine_try_cflags_saved_exeext=$ac_exeext
10092 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10093 CC="$CROSSCC"
10094 ac_exeext=".exe"
10095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10096 /* end confdefs.h. */
10097 int __cdecl mainCRTStartup(void) { return 0; }
10098 _ACEOF
10099 if ac_fn_c_try_link "$LINENO"; then :
10100 ac_cv_crosscflags__Wshift_overflow_2=yes
10101 else
10102 ac_cv_crosscflags__Wshift_overflow_2=no
10104 rm -f core conftest.err conftest.$ac_objext \
10105 conftest$ac_exeext conftest.$ac_ext
10106 CFLAGS=$ac_wine_try_cflags_saved
10107 CC=$ac_wine_try_cflags_saved_cc
10108 ac_exeext=$ac_wine_try_cflags_saved_exeext
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10111 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10112 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10113 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10116 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10117 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10118 $as_echo_n "(cached) " >&6
10119 else
10120 ac_wine_try_cflags_saved=$CFLAGS
10121 ac_wine_try_cflags_saved_cc=$CC
10122 ac_wine_try_cflags_saved_exeext=$ac_exeext
10123 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10124 CC="$CROSSCC"
10125 ac_exeext=".exe"
10126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10127 /* end confdefs.h. */
10128 int __cdecl mainCRTStartup(void) { return 0; }
10129 _ACEOF
10130 if ac_fn_c_try_link "$LINENO"; then :
10131 ac_cv_crosscflags__Wstrict_prototypes=yes
10132 else
10133 ac_cv_crosscflags__Wstrict_prototypes=no
10135 rm -f core conftest.err conftest.$ac_objext \
10136 conftest$ac_exeext conftest.$ac_ext
10137 CFLAGS=$ac_wine_try_cflags_saved
10138 CC=$ac_wine_try_cflags_saved_cc
10139 ac_exeext=$ac_wine_try_cflags_saved_exeext
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10142 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10143 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10144 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10147 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10148 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10149 $as_echo_n "(cached) " >&6
10150 else
10151 ac_wine_try_cflags_saved=$CFLAGS
10152 ac_wine_try_cflags_saved_cc=$CC
10153 ac_wine_try_cflags_saved_exeext=$ac_exeext
10154 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10155 CC="$CROSSCC"
10156 ac_exeext=".exe"
10157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10158 /* end confdefs.h. */
10159 int __cdecl mainCRTStartup(void) { return 0; }
10160 _ACEOF
10161 if ac_fn_c_try_link "$LINENO"; then :
10162 ac_cv_crosscflags__Wtype_limits=yes
10163 else
10164 ac_cv_crosscflags__Wtype_limits=no
10166 rm -f core conftest.err conftest.$ac_objext \
10167 conftest$ac_exeext conftest.$ac_ext
10168 CFLAGS=$ac_wine_try_cflags_saved
10169 CC=$ac_wine_try_cflags_saved_cc
10170 ac_exeext=$ac_wine_try_cflags_saved_exeext
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10173 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10174 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10175 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10178 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10179 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10180 $as_echo_n "(cached) " >&6
10181 else
10182 ac_wine_try_cflags_saved=$CFLAGS
10183 ac_wine_try_cflags_saved_cc=$CC
10184 ac_wine_try_cflags_saved_exeext=$ac_exeext
10185 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10186 CC="$CROSSCC"
10187 ac_exeext=".exe"
10188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10189 /* end confdefs.h. */
10190 int __cdecl mainCRTStartup(void) { return 0; }
10191 _ACEOF
10192 if ac_fn_c_try_link "$LINENO"; then :
10193 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10194 else
10195 ac_cv_crosscflags__Wunused_but_set_parameter=no
10197 rm -f core conftest.err conftest.$ac_objext \
10198 conftest$ac_exeext conftest.$ac_ext
10199 CFLAGS=$ac_wine_try_cflags_saved
10200 CC=$ac_wine_try_cflags_saved_cc
10201 ac_exeext=$ac_wine_try_cflags_saved_exeext
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10204 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10205 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10206 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10209 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10210 if ${ac_cv_crosscflags__Wvla+:} false; then :
10211 $as_echo_n "(cached) " >&6
10212 else
10213 ac_wine_try_cflags_saved=$CFLAGS
10214 ac_wine_try_cflags_saved_cc=$CC
10215 ac_wine_try_cflags_saved_exeext=$ac_exeext
10216 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10217 CC="$CROSSCC"
10218 ac_exeext=".exe"
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10221 int __cdecl mainCRTStartup(void) { return 0; }
10222 _ACEOF
10223 if ac_fn_c_try_link "$LINENO"; then :
10224 ac_cv_crosscflags__Wvla=yes
10225 else
10226 ac_cv_crosscflags__Wvla=no
10228 rm -f core conftest.err conftest.$ac_objext \
10229 conftest$ac_exeext conftest.$ac_ext
10230 CFLAGS=$ac_wine_try_cflags_saved
10231 CC=$ac_wine_try_cflags_saved_cc
10232 ac_exeext=$ac_wine_try_cflags_saved_exeext
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10235 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10236 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10237 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10240 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10241 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10242 $as_echo_n "(cached) " >&6
10243 else
10244 ac_wine_try_cflags_saved=$CFLAGS
10245 ac_wine_try_cflags_saved_cc=$CC
10246 ac_wine_try_cflags_saved_exeext=$ac_exeext
10247 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10248 CC="$CROSSCC"
10249 ac_exeext=".exe"
10250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10251 /* end confdefs.h. */
10252 int __cdecl mainCRTStartup(void) { return 0; }
10253 _ACEOF
10254 if ac_fn_c_try_link "$LINENO"; then :
10255 ac_cv_crosscflags__Wwrite_strings=yes
10256 else
10257 ac_cv_crosscflags__Wwrite_strings=no
10259 rm -f core conftest.err conftest.$ac_objext \
10260 conftest$ac_exeext conftest.$ac_ext
10261 CFLAGS=$ac_wine_try_cflags_saved
10262 CC=$ac_wine_try_cflags_saved_cc
10263 ac_exeext=$ac_wine_try_cflags_saved_exeext
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10266 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10267 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10268 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10271 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10272 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10273 $as_echo_n "(cached) " >&6
10274 else
10275 ac_wine_try_cflags_saved=$CFLAGS
10276 ac_wine_try_cflags_saved_cc=$CC
10277 ac_wine_try_cflags_saved_exeext=$ac_exeext
10278 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10279 CC="$CROSSCC"
10280 ac_exeext=".exe"
10281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10282 /* end confdefs.h. */
10283 int __cdecl mainCRTStartup(void) { return 0; }
10284 _ACEOF
10285 if ac_fn_c_try_link "$LINENO"; then :
10286 ac_cv_crosscflags__Wpointer_arith=yes
10287 else
10288 ac_cv_crosscflags__Wpointer_arith=no
10290 rm -f core conftest.err conftest.$ac_objext \
10291 conftest$ac_exeext conftest.$ac_ext
10292 CFLAGS=$ac_wine_try_cflags_saved
10293 CC=$ac_wine_try_cflags_saved_cc
10294 ac_exeext=$ac_wine_try_cflags_saved_exeext
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10297 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10298 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10299 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10302 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10303 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10304 $as_echo_n "(cached) " >&6
10305 else
10306 ac_wine_try_cflags_saved=$CFLAGS
10307 ac_wine_try_cflags_saved_cc=$CC
10308 ac_wine_try_cflags_saved_exeext=$ac_exeext
10309 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10310 CC="$CROSSCC"
10311 ac_exeext=".exe"
10312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10313 /* end confdefs.h. */
10314 int __cdecl mainCRTStartup(void) { return 0; }
10315 _ACEOF
10316 if ac_fn_c_try_link "$LINENO"; then :
10317 ac_cv_crosscflags__Wlogical_op=yes
10318 else
10319 ac_cv_crosscflags__Wlogical_op=no
10321 rm -f core conftest.err conftest.$ac_objext \
10322 conftest$ac_exeext conftest.$ac_ext
10323 CFLAGS=$ac_wine_try_cflags_saved
10324 CC=$ac_wine_try_cflags_saved_cc
10325 ac_exeext=$ac_wine_try_cflags_saved_exeext
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10328 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10329 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10330 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10333 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10334 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10335 $as_echo_n "(cached) " >&6
10336 else
10337 ac_wine_try_cflags_saved=$CFLAGS
10338 ac_wine_try_cflags_saved_cc=$CC
10339 ac_wine_try_cflags_saved_exeext=$ac_exeext
10340 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10341 CC="$CROSSCC"
10342 ac_exeext=".exe"
10343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10344 /* end confdefs.h. */
10345 int __cdecl mainCRTStartup(void) { return 0; }
10346 _ACEOF
10347 if ac_fn_c_try_link "$LINENO"; then :
10348 ac_cv_crosscflags__Wabsolute_value=yes
10349 else
10350 ac_cv_crosscflags__Wabsolute_value=no
10352 rm -f core conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 CFLAGS=$ac_wine_try_cflags_saved
10355 CC=$ac_wine_try_cflags_saved_cc
10356 ac_exeext=$ac_wine_try_cflags_saved_exeext
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10359 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10360 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10361 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10364 case $host_cpu in
10365 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10366 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10367 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10368 $as_echo_n "(cached) " >&6
10369 else
10370 ac_wine_try_cflags_saved=$CFLAGS
10371 ac_wine_try_cflags_saved_cc=$CC
10372 ac_wine_try_cflags_saved_exeext=$ac_exeext
10373 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10374 CC="$CROSSCC"
10375 ac_exeext=".exe"
10376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10378 int __cdecl mainCRTStartup(void) { return 0; }
10379 _ACEOF
10380 if ac_fn_c_try_link "$LINENO"; then :
10381 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10382 else
10383 ac_cv_crosscflags__fno_omit_frame_pointer=no
10385 rm -f core conftest.err conftest.$ac_objext \
10386 conftest$ac_exeext conftest.$ac_ext
10387 CFLAGS=$ac_wine_try_cflags_saved
10388 CC=$ac_wine_try_cflags_saved_cc
10389 ac_exeext=$ac_wine_try_cflags_saved_exeext
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10392 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10393 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10394 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10395 fi ;;
10396 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10397 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10398 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10399 $as_echo_n "(cached) " >&6
10400 else
10401 ac_wine_try_cflags_saved=$CFLAGS
10402 ac_wine_try_cflags_saved_cc=$CC
10403 ac_wine_try_cflags_saved_exeext=$ac_exeext
10404 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10405 CC="$CROSSCC"
10406 ac_exeext=".exe"
10407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10409 int __cdecl mainCRTStartup(void) { return 0; }
10410 _ACEOF
10411 if ac_fn_c_try_link "$LINENO"; then :
10412 ac_cv_crosscflags__Wno_format=yes
10413 else
10414 ac_cv_crosscflags__Wno_format=no
10416 rm -f core conftest.err conftest.$ac_objext \
10417 conftest$ac_exeext conftest.$ac_ext
10418 CFLAGS=$ac_wine_try_cflags_saved
10419 CC=$ac_wine_try_cflags_saved_cc
10420 ac_exeext=$ac_wine_try_cflags_saved_exeext
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10423 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10424 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10425 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10428 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10429 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10430 $as_echo_n "(cached) " >&6
10431 else
10432 ac_wine_try_cflags_saved=$CFLAGS
10433 ac_wine_try_cflags_saved_cc=$CC
10434 ac_wine_try_cflags_saved_exeext=$ac_exeext
10435 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10436 CC="$CROSSCC"
10437 ac_exeext=".exe"
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10440 int __cdecl mainCRTStartup(void) { return 0; }
10441 _ACEOF
10442 if ac_fn_c_try_link "$LINENO"; then :
10443 ac_cv_crosscflags__Wformat_overflow=yes
10444 else
10445 ac_cv_crosscflags__Wformat_overflow=no
10447 rm -f core conftest.err conftest.$ac_objext \
10448 conftest$ac_exeext conftest.$ac_ext
10449 CFLAGS=$ac_wine_try_cflags_saved
10450 CC=$ac_wine_try_cflags_saved_cc
10451 ac_exeext=$ac_wine_try_cflags_saved_exeext
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10454 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10455 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10456 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10459 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10460 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10461 $as_echo_n "(cached) " >&6
10462 else
10463 ac_wine_try_cflags_saved=$CFLAGS
10464 ac_wine_try_cflags_saved_cc=$CC
10465 ac_wine_try_cflags_saved_exeext=$ac_exeext
10466 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10467 CC="$CROSSCC"
10468 ac_exeext=".exe"
10469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10471 int __cdecl mainCRTStartup(void) { return 0; }
10472 _ACEOF
10473 if ac_fn_c_try_link "$LINENO"; then :
10474 ac_cv_crosscflags__Wnonnull=yes
10475 else
10476 ac_cv_crosscflags__Wnonnull=no
10478 rm -f core conftest.err conftest.$ac_objext \
10479 conftest$ac_exeext conftest.$ac_ext
10480 CFLAGS=$ac_wine_try_cflags_saved
10481 CC=$ac_wine_try_cflags_saved_cc
10482 ac_exeext=$ac_wine_try_cflags_saved_exeext
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10485 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10486 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10487 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10490 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10491 if ${ac_cv_crosscflags__mcx16+:} false; then :
10492 $as_echo_n "(cached) " >&6
10493 else
10494 ac_wine_try_cflags_saved=$CFLAGS
10495 ac_wine_try_cflags_saved_cc=$CC
10496 ac_wine_try_cflags_saved_exeext=$ac_exeext
10497 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10498 CC="$CROSSCC"
10499 ac_exeext=".exe"
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10502 int __cdecl mainCRTStartup(void) { return 0; }
10503 _ACEOF
10504 if ac_fn_c_try_link "$LINENO"; then :
10505 ac_cv_crosscflags__mcx16=yes
10506 else
10507 ac_cv_crosscflags__mcx16=no
10509 rm -f core conftest.err conftest.$ac_objext \
10510 conftest$ac_exeext conftest.$ac_ext
10511 CFLAGS=$ac_wine_try_cflags_saved
10512 CC=$ac_wine_try_cflags_saved_cc
10513 ac_exeext=$ac_wine_try_cflags_saved_exeext
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10516 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10517 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10518 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10519 fi ;;
10520 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10521 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10522 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10523 $as_echo_n "(cached) " >&6
10524 else
10525 ac_wine_try_cflags_saved=$CFLAGS
10526 ac_wine_try_cflags_saved_cc=$CC
10527 ac_wine_try_cflags_saved_exeext=$ac_exeext
10528 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10529 CC="$CROSSCC"
10530 ac_exeext=".exe"
10531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10532 /* end confdefs.h. */
10533 int __cdecl mainCRTStartup(void) { return 0; }
10534 _ACEOF
10535 if ac_fn_c_try_link "$LINENO"; then :
10536 ac_cv_crosscflags__Wno_format=yes
10537 else
10538 ac_cv_crosscflags__Wno_format=no
10540 rm -f core conftest.err conftest.$ac_objext \
10541 conftest$ac_exeext conftest.$ac_ext
10542 CFLAGS=$ac_wine_try_cflags_saved
10543 CC=$ac_wine_try_cflags_saved_cc
10544 ac_exeext=$ac_wine_try_cflags_saved_exeext
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10547 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10548 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10549 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10550 fi ;;
10551 esac
10554 if test -z "$CROSSDEBUG"
10555 then
10556 for ac_flag in $CROSSCFLAGS; do
10557 case $ac_flag in
10558 -gdwarf*) CROSSDEBUG=dwarf ;;
10559 -gcodeview) CROSSDEBUG=pdb ;;
10560 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10561 esac
10562 done
10564 case $CROSSDEBUG in
10565 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10566 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10567 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10568 $as_echo_n "(cached) " >&6
10569 else
10570 ac_wine_try_cflags_saved=$CFLAGS
10571 ac_wine_try_cflags_saved_cc=$CC
10572 ac_wine_try_cflags_saved_exeext=$ac_exeext
10573 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10574 CC="$CROSSCC"
10575 ac_exeext=".exe"
10576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10578 int __cdecl mainCRTStartup(void) { return 0; }
10579 _ACEOF
10580 if ac_fn_c_try_link "$LINENO"; then :
10581 ac_cv_crosscflags__gdwarf_2=yes
10582 else
10583 ac_cv_crosscflags__gdwarf_2=no
10585 rm -f core conftest.err conftest.$ac_objext \
10586 conftest$ac_exeext conftest.$ac_ext
10587 CFLAGS=$ac_wine_try_cflags_saved
10588 CC=$ac_wine_try_cflags_saved_cc
10589 ac_exeext=$ac_wine_try_cflags_saved_exeext
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10592 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10593 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10594 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10597 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10598 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10599 $as_echo_n "(cached) " >&6
10600 else
10601 ac_wine_try_cflags_saved=$CFLAGS
10602 ac_wine_try_cflags_saved_cc=$CC
10603 ac_wine_try_cflags_saved_exeext=$ac_exeext
10604 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10605 CC="$CROSSCC"
10606 ac_exeext=".exe"
10607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10608 /* end confdefs.h. */
10609 int __cdecl mainCRTStartup(void) { return 0; }
10610 _ACEOF
10611 if ac_fn_c_try_link "$LINENO"; then :
10612 ac_cv_crosscflags__gstrict_dwarf=yes
10613 else
10614 ac_cv_crosscflags__gstrict_dwarf=no
10616 rm -f core conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10618 CFLAGS=$ac_wine_try_cflags_saved
10619 CC=$ac_wine_try_cflags_saved_cc
10620 ac_exeext=$ac_wine_try_cflags_saved_exeext
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10623 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10624 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10625 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10626 fi ;;
10627 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10628 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10629 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10630 $as_echo_n "(cached) " >&6
10631 else
10632 ac_wine_try_cflags_saved=$CFLAGS
10633 ac_wine_try_cflags_saved_cc=$CC
10634 ac_wine_try_cflags_saved_exeext=$ac_exeext
10635 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10636 CC="$CROSSCC"
10637 ac_exeext=".exe"
10638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10640 int __cdecl mainCRTStartup(void) { return 0; }
10641 _ACEOF
10642 if ac_fn_c_try_link "$LINENO"; then :
10643 ac_cv_crosscflags__gcodeview=yes
10644 else
10645 ac_cv_crosscflags__gcodeview=no
10647 rm -f core conftest.err conftest.$ac_objext \
10648 conftest$ac_exeext conftest.$ac_ext
10649 CFLAGS=$ac_wine_try_cflags_saved
10650 CC=$ac_wine_try_cflags_saved_cc
10651 ac_exeext=$ac_wine_try_cflags_saved_exeext
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10654 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10655 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10656 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10657 fi ;;
10658 esac
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10661 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10662 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10663 $as_echo_n "(cached) " >&6
10664 else
10665 ac_wine_try_cflags_saved=$CFLAGS
10666 ac_wine_try_cflags_saved_cc=$CC
10667 ac_wine_try_cflags_saved_exeext=$ac_exeext
10668 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10669 CC="$CROSSCC"
10670 ac_exeext=".exe"
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10673 int __cdecl mainCRTStartup(void) { return 0; }
10674 _ACEOF
10675 if ac_fn_c_try_link "$LINENO"; then :
10676 ac_cv_crosscflags__fexcess_precision_standard=yes
10677 else
10678 ac_cv_crosscflags__fexcess_precision_standard=no
10680 rm -f core conftest.err conftest.$ac_objext \
10681 conftest$ac_exeext conftest.$ac_ext
10682 CFLAGS=$ac_wine_try_cflags_saved
10683 CC=$ac_wine_try_cflags_saved_cc
10684 ac_exeext=$ac_wine_try_cflags_saved_exeext
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10687 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10688 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10689 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10693 if test "x$enable_werror" = "xyes"
10694 then
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10696 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10697 if ${ac_cv_crosscflags__Werror+:} false; then :
10698 $as_echo_n "(cached) " >&6
10699 else
10700 ac_wine_try_cflags_saved=$CFLAGS
10701 ac_wine_try_cflags_saved_cc=$CC
10702 ac_wine_try_cflags_saved_exeext=$ac_exeext
10703 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10704 CC="$CROSSCC"
10705 ac_exeext=".exe"
10706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10708 int __cdecl mainCRTStartup(void) { return 0; }
10709 _ACEOF
10710 if ac_fn_c_try_link "$LINENO"; then :
10711 ac_cv_crosscflags__Werror=yes
10712 else
10713 ac_cv_crosscflags__Werror=no
10715 rm -f core conftest.err conftest.$ac_objext \
10716 conftest$ac_exeext conftest.$ac_ext
10717 CFLAGS=$ac_wine_try_cflags_saved
10718 CC=$ac_wine_try_cflags_saved_cc
10719 ac_exeext=$ac_wine_try_cflags_saved_exeext
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10722 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10723 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10724 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10727 if test "x$enable_build_id" = "xyes"
10728 then
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10730 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10731 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10732 $as_echo_n "(cached) " >&6
10733 else
10734 ac_wine_try_cflags_saved=$CFLAGS
10735 ac_wine_try_cflags_saved_cc=$CC
10736 ac_wine_try_cflags_saved_exeext=$ac_exeext
10737 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10738 CC="$CROSSCC"
10739 ac_exeext=".exe"
10740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10741 /* end confdefs.h. */
10742 int __cdecl mainCRTStartup(void) { return 0; }
10743 _ACEOF
10744 if ac_fn_c_try_link "$LINENO"; then :
10745 ac_cv_crosscflags__Wl___build_id=yes
10746 else
10747 ac_cv_crosscflags__Wl___build_id=no
10749 rm -f core conftest.err conftest.$ac_objext \
10750 conftest$ac_exeext conftest.$ac_ext
10751 CFLAGS=$ac_wine_try_cflags_saved
10752 CC=$ac_wine_try_cflags_saved_cc
10753 ac_exeext=$ac_wine_try_cflags_saved_exeext
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10756 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10757 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10758 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10759 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10763 CFLAGS=$saved_CFLAGS
10764 CC="$ac_save_CC"
10767 if test "x$CROSSTARGET" = "x"; then :
10768 case "x$with_mingw" in
10769 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10770 xno) ;;
10771 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10772 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10773 esac
10778 if test "$ac_cv_header_pthread_h" = "yes"
10779 then
10780 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10781 if test "x$ac_cv_func_pthread_create" = xyes; then :
10783 else
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10785 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10786 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10787 $as_echo_n "(cached) " >&6
10788 else
10789 ac_check_lib_save_LIBS=$LIBS
10790 LIBS="-lpthread $LIBS"
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10797 #ifdef __cplusplus
10798 extern "C"
10799 #endif
10800 char pthread_create ();
10802 main ()
10804 return pthread_create ();
10806 return 0;
10808 _ACEOF
10809 if ac_fn_c_try_link "$LINENO"; then :
10810 ac_cv_lib_pthread_pthread_create=yes
10811 else
10812 ac_cv_lib_pthread_pthread_create=no
10814 rm -f core conftest.err conftest.$ac_objext \
10815 conftest$ac_exeext conftest.$ac_ext
10816 LIBS=$ac_check_lib_save_LIBS
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10819 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10820 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10821 PTHREAD_LIBS="-lpthread"
10828 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10829 case "x$with_pthread" in
10830 xno) ;;
10831 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10832 Wine cannot support threads without libpthread.
10833 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10834 esac
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10840 $as_echo_n "checking for X... " >&6; }
10843 # Check whether --with-x was given.
10844 if test "${with_x+set}" = set; then :
10845 withval=$with_x;
10848 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10849 if test "x$with_x" = xno; then
10850 # The user explicitly disabled X.
10851 have_x=disabled
10852 else
10853 case $x_includes,$x_libraries in #(
10854 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10855 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10856 $as_echo_n "(cached) " >&6
10857 else
10858 # One or both of the vars are not set, and there is no cached value.
10859 ac_x_includes=no ac_x_libraries=no
10860 rm -f -r conftest.dir
10861 if mkdir conftest.dir; then
10862 cd conftest.dir
10863 cat >Imakefile <<'_ACEOF'
10864 incroot:
10865 @echo incroot='${INCROOT}'
10866 usrlibdir:
10867 @echo usrlibdir='${USRLIBDIR}'
10868 libdir:
10869 @echo libdir='${LIBDIR}'
10870 _ACEOF
10871 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10872 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10873 for ac_var in incroot usrlibdir libdir; do
10874 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10875 done
10876 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10877 for ac_extension in a so sl dylib la dll; do
10878 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10879 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10880 ac_im_usrlibdir=$ac_im_libdir; break
10882 done
10883 # Screen out bogus values from the imake configuration. They are
10884 # bogus both because they are the default anyway, and because
10885 # using them would break gcc on systems where it needs fixed includes.
10886 case $ac_im_incroot in
10887 /usr/include) ac_x_includes= ;;
10888 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10889 esac
10890 case $ac_im_usrlibdir in
10891 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10892 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10893 esac
10895 cd ..
10896 rm -f -r conftest.dir
10899 # Standard set of common directories for X headers.
10900 # Check X11 before X11Rn because it is often a symlink to the current release.
10901 ac_x_header_dirs='
10902 /usr/X11/include
10903 /usr/X11R7/include
10904 /usr/X11R6/include
10905 /usr/X11R5/include
10906 /usr/X11R4/include
10908 /usr/include/X11
10909 /usr/include/X11R7
10910 /usr/include/X11R6
10911 /usr/include/X11R5
10912 /usr/include/X11R4
10914 /usr/local/X11/include
10915 /usr/local/X11R7/include
10916 /usr/local/X11R6/include
10917 /usr/local/X11R5/include
10918 /usr/local/X11R4/include
10920 /usr/local/include/X11
10921 /usr/local/include/X11R7
10922 /usr/local/include/X11R6
10923 /usr/local/include/X11R5
10924 /usr/local/include/X11R4
10926 /usr/X386/include
10927 /usr/x386/include
10928 /usr/XFree86/include/X11
10930 /usr/include
10931 /usr/local/include
10932 /usr/unsupported/include
10933 /usr/athena/include
10934 /usr/local/x11r5/include
10935 /usr/lpp/Xamples/include
10937 /usr/openwin/include
10938 /usr/openwin/share/include'
10940 if test "$ac_x_includes" = no; then
10941 # Guess where to find include files, by looking for Xlib.h.
10942 # First, try using that file with no special directory specified.
10943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10944 /* end confdefs.h. */
10945 #include <X11/Xlib.h>
10946 _ACEOF
10947 if ac_fn_c_try_cpp "$LINENO"; then :
10948 # We can compile using X headers with no special include directory.
10949 ac_x_includes=
10950 else
10951 for ac_dir in $ac_x_header_dirs; do
10952 if test -r "$ac_dir/X11/Xlib.h"; then
10953 ac_x_includes=$ac_dir
10954 break
10956 done
10958 rm -f conftest.err conftest.i conftest.$ac_ext
10959 fi # $ac_x_includes = no
10961 if test "$ac_x_libraries" = no; then
10962 # Check for the libraries.
10963 # See if we find them without any special options.
10964 # Don't add to $LIBS permanently.
10965 ac_save_LIBS=$LIBS
10966 LIBS="-lX11 $LIBS"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10969 #include <X11/Xlib.h>
10971 main ()
10973 XrmInitialize ()
10975 return 0;
10977 _ACEOF
10978 if ac_fn_c_try_link "$LINENO"; then :
10979 LIBS=$ac_save_LIBS
10980 # We can link X programs with no special library path.
10981 ac_x_libraries=
10982 else
10983 LIBS=$ac_save_LIBS
10984 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10986 # Don't even attempt the hair of trying to link an X program!
10987 for ac_extension in a so sl dylib la dll; do
10988 if test -r "$ac_dir/libX11.$ac_extension"; then
10989 ac_x_libraries=$ac_dir
10990 break 2
10992 done
10993 done
10995 rm -f core conftest.err conftest.$ac_objext \
10996 conftest$ac_exeext conftest.$ac_ext
10997 fi # $ac_x_libraries = no
10999 case $ac_x_includes,$ac_x_libraries in #(
11000 no,* | *,no | *\'*)
11001 # Didn't find X, or a directory has "'" in its name.
11002 ac_cv_have_x="have_x=no";; #(
11004 # Record where we found X for the cache.
11005 ac_cv_have_x="have_x=yes\
11006 ac_x_includes='$ac_x_includes'\
11007 ac_x_libraries='$ac_x_libraries'"
11008 esac
11010 ;; #(
11011 *) have_x=yes;;
11012 esac
11013 eval "$ac_cv_have_x"
11014 fi # $with_x != no
11016 if test "$have_x" != yes; then
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11018 $as_echo "$have_x" >&6; }
11019 no_x=yes
11020 else
11021 # If each of the values was on the command line, it overrides each guess.
11022 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11023 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11024 # Update the cache value to reflect the command line values.
11025 ac_cv_have_x="have_x=yes\
11026 ac_x_includes='$x_includes'\
11027 ac_x_libraries='$x_libraries'"
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11029 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11032 if test "$no_x" = yes; then
11033 # Not all programs may use this symbol, but it does not hurt to define it.
11035 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11037 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11038 else
11039 if test -n "$x_includes"; then
11040 X_CFLAGS="$X_CFLAGS -I$x_includes"
11043 # It would also be nice to do this for all -L options, not just this one.
11044 if test -n "$x_libraries"; then
11045 X_LIBS="$X_LIBS -L$x_libraries"
11046 # For Solaris; some versions of Sun CC require a space after -R and
11047 # others require no space. Words are not sufficient . . . .
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11049 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11050 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11051 ac_xsave_c_werror_flag=$ac_c_werror_flag
11052 ac_c_werror_flag=yes
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11057 main ()
11061 return 0;
11063 _ACEOF
11064 if ac_fn_c_try_link "$LINENO"; then :
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11066 $as_echo "no" >&6; }
11067 X_LIBS="$X_LIBS -R$x_libraries"
11068 else
11069 LIBS="$ac_xsave_LIBS -R $x_libraries"
11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h. */
11074 main ()
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11083 $as_echo "yes" >&6; }
11084 X_LIBS="$X_LIBS -R $x_libraries"
11085 else
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11087 $as_echo "neither works" >&6; }
11089 rm -f core conftest.err conftest.$ac_objext \
11090 conftest$ac_exeext conftest.$ac_ext
11092 rm -f core conftest.err conftest.$ac_objext \
11093 conftest$ac_exeext conftest.$ac_ext
11094 ac_c_werror_flag=$ac_xsave_c_werror_flag
11095 LIBS=$ac_xsave_LIBS
11098 # Check for system-dependent libraries X programs must link with.
11099 # Do this before checking for the system-independent R6 libraries
11100 # (-lICE), since we may need -lsocket or whatever for X linking.
11102 if test "$ISC" = yes; then
11103 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11104 else
11105 # Martyn Johnson says this is needed for Ultrix, if the X
11106 # libraries were built with DECnet support. And Karl Berry says
11107 # the Alpha needs dnet_stub (dnet does not exist).
11108 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11110 /* end confdefs.h. */
11112 /* Override any GCC internal prototype to avoid an error.
11113 Use char because int might match the return type of a GCC
11114 builtin and then its argument prototype would still apply. */
11115 #ifdef __cplusplus
11116 extern "C"
11117 #endif
11118 char XOpenDisplay ();
11120 main ()
11122 return XOpenDisplay ();
11124 return 0;
11126 _ACEOF
11127 if ac_fn_c_try_link "$LINENO"; then :
11129 else
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11131 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11132 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11133 $as_echo_n "(cached) " >&6
11134 else
11135 ac_check_lib_save_LIBS=$LIBS
11136 LIBS="-ldnet $LIBS"
11137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11138 /* end confdefs.h. */
11140 /* Override any GCC internal prototype to avoid an error.
11141 Use char because int might match the return type of a GCC
11142 builtin and then its argument prototype would still apply. */
11143 #ifdef __cplusplus
11144 extern "C"
11145 #endif
11146 char dnet_ntoa ();
11148 main ()
11150 return dnet_ntoa ();
11152 return 0;
11154 _ACEOF
11155 if ac_fn_c_try_link "$LINENO"; then :
11156 ac_cv_lib_dnet_dnet_ntoa=yes
11157 else
11158 ac_cv_lib_dnet_dnet_ntoa=no
11160 rm -f core conftest.err conftest.$ac_objext \
11161 conftest$ac_exeext conftest.$ac_ext
11162 LIBS=$ac_check_lib_save_LIBS
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11165 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11166 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11167 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11170 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11172 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11173 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11174 $as_echo_n "(cached) " >&6
11175 else
11176 ac_check_lib_save_LIBS=$LIBS
11177 LIBS="-ldnet_stub $LIBS"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11181 /* Override any GCC internal prototype to avoid an error.
11182 Use char because int might match the return type of a GCC
11183 builtin and then its argument prototype would still apply. */
11184 #ifdef __cplusplus
11185 extern "C"
11186 #endif
11187 char dnet_ntoa ();
11189 main ()
11191 return dnet_ntoa ();
11193 return 0;
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"; then :
11197 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11198 else
11199 ac_cv_lib_dnet_stub_dnet_ntoa=no
11201 rm -f core conftest.err conftest.$ac_objext \
11202 conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_lib_save_LIBS
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11206 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11207 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11208 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11213 rm -f core conftest.err conftest.$ac_objext \
11214 conftest$ac_exeext conftest.$ac_ext
11215 LIBS="$ac_xsave_LIBS"
11217 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11218 # to get the SysV transport functions.
11219 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11220 # needs -lnsl.
11221 # The nsl library prevents programs from opening the X display
11222 # on Irix 5.2, according to T.E. Dickey.
11223 # The functions gethostbyname, getservbyname, and inet_addr are
11224 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11225 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11226 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11230 if test $ac_cv_func_gethostbyname = no; then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11232 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11233 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11234 $as_echo_n "(cached) " >&6
11235 else
11236 ac_check_lib_save_LIBS=$LIBS
11237 LIBS="-lnsl $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char gethostbyname ();
11249 main ()
11251 return gethostbyname ();
11253 return 0;
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 ac_cv_lib_nsl_gethostbyname=yes
11258 else
11259 ac_cv_lib_nsl_gethostbyname=no
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11266 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11267 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11268 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11271 if test $ac_cv_lib_nsl_gethostbyname = no; then
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11273 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11274 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11275 $as_echo_n "(cached) " >&6
11276 else
11277 ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-lbsd $LIBS"
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11285 #ifdef __cplusplus
11286 extern "C"
11287 #endif
11288 char gethostbyname ();
11290 main ()
11292 return gethostbyname ();
11294 return 0;
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"; then :
11298 ac_cv_lib_bsd_gethostbyname=yes
11299 else
11300 ac_cv_lib_bsd_gethostbyname=no
11302 rm -f core conftest.err conftest.$ac_objext \
11303 conftest$ac_exeext conftest.$ac_ext
11304 LIBS=$ac_check_lib_save_LIBS
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11307 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11308 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11309 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11315 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11316 # socket/setsockopt and other routines are undefined under SCO ODT
11317 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11318 # on later versions), says Simon Leinen: it contains gethostby*
11319 # variants that don't use the name server (or something). -lsocket
11320 # must be given before -lnsl if both are needed. We assume that
11321 # if connect needs -lnsl, so does gethostbyname.
11322 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11323 if test "x$ac_cv_func_connect" = xyes; then :
11327 if test $ac_cv_func_connect = no; then
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11329 $as_echo_n "checking for connect in -lsocket... " >&6; }
11330 if ${ac_cv_lib_socket_connect+:} false; then :
11331 $as_echo_n "(cached) " >&6
11332 else
11333 ac_check_lib_save_LIBS=$LIBS
11334 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11338 /* Override any GCC internal prototype to avoid an error.
11339 Use char because int might match the return type of a GCC
11340 builtin and then its argument prototype would still apply. */
11341 #ifdef __cplusplus
11342 extern "C"
11343 #endif
11344 char connect ();
11346 main ()
11348 return connect ();
11350 return 0;
11352 _ACEOF
11353 if ac_fn_c_try_link "$LINENO"; then :
11354 ac_cv_lib_socket_connect=yes
11355 else
11356 ac_cv_lib_socket_connect=no
11358 rm -f core conftest.err conftest.$ac_objext \
11359 conftest$ac_exeext conftest.$ac_ext
11360 LIBS=$ac_check_lib_save_LIBS
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11363 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11364 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11365 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11370 # Guillermo Gomez says -lposix is necessary on A/UX.
11371 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11372 if test "x$ac_cv_func_remove" = xyes; then :
11376 if test $ac_cv_func_remove = no; then
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11378 $as_echo_n "checking for remove in -lposix... " >&6; }
11379 if ${ac_cv_lib_posix_remove+:} false; then :
11380 $as_echo_n "(cached) " >&6
11381 else
11382 ac_check_lib_save_LIBS=$LIBS
11383 LIBS="-lposix $LIBS"
11384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11385 /* end confdefs.h. */
11387 /* Override any GCC internal prototype to avoid an error.
11388 Use char because int might match the return type of a GCC
11389 builtin and then its argument prototype would still apply. */
11390 #ifdef __cplusplus
11391 extern "C"
11392 #endif
11393 char remove ();
11395 main ()
11397 return remove ();
11399 return 0;
11401 _ACEOF
11402 if ac_fn_c_try_link "$LINENO"; then :
11403 ac_cv_lib_posix_remove=yes
11404 else
11405 ac_cv_lib_posix_remove=no
11407 rm -f core conftest.err conftest.$ac_objext \
11408 conftest$ac_exeext conftest.$ac_ext
11409 LIBS=$ac_check_lib_save_LIBS
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11412 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11413 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11414 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11419 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11420 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11421 if test "x$ac_cv_func_shmat" = xyes; then :
11425 if test $ac_cv_func_shmat = no; then
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11427 $as_echo_n "checking for shmat in -lipc... " >&6; }
11428 if ${ac_cv_lib_ipc_shmat+:} false; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-lipc $LIBS"
11433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11434 /* end confdefs.h. */
11436 /* Override any GCC internal prototype to avoid an error.
11437 Use char because int might match the return type of a GCC
11438 builtin and then its argument prototype would still apply. */
11439 #ifdef __cplusplus
11440 extern "C"
11441 #endif
11442 char shmat ();
11444 main ()
11446 return shmat ();
11448 return 0;
11450 _ACEOF
11451 if ac_fn_c_try_link "$LINENO"; then :
11452 ac_cv_lib_ipc_shmat=yes
11453 else
11454 ac_cv_lib_ipc_shmat=no
11456 rm -f core conftest.err conftest.$ac_objext \
11457 conftest$ac_exeext conftest.$ac_ext
11458 LIBS=$ac_check_lib_save_LIBS
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11461 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11462 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11463 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11469 # Check for libraries that X11R6 Xt/Xaw programs need.
11470 ac_save_LDFLAGS=$LDFLAGS
11471 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11472 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11473 # check for ICE first), but we must link in the order -lSM -lICE or
11474 # we get undefined symbols. So assume we have SM if we have ICE.
11475 # These have to be linked with before -lX11, unlike the other
11476 # libraries we check for below, so use a different variable.
11477 # John Interrante, Karl Berry
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11479 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11480 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11481 $as_echo_n "(cached) " >&6
11482 else
11483 ac_check_lib_save_LIBS=$LIBS
11484 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11488 /* Override any GCC internal prototype to avoid an error.
11489 Use char because int might match the return type of a GCC
11490 builtin and then its argument prototype would still apply. */
11491 #ifdef __cplusplus
11492 extern "C"
11493 #endif
11494 char IceConnectionNumber ();
11496 main ()
11498 return IceConnectionNumber ();
11500 return 0;
11502 _ACEOF
11503 if ac_fn_c_try_link "$LINENO"; then :
11504 ac_cv_lib_ICE_IceConnectionNumber=yes
11505 else
11506 ac_cv_lib_ICE_IceConnectionNumber=no
11508 rm -f core conftest.err conftest.$ac_objext \
11509 conftest$ac_exeext conftest.$ac_ext
11510 LIBS=$ac_check_lib_save_LIBS
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11513 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11514 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11515 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11518 LDFLAGS=$ac_save_LDFLAGS
11523 if test "$have_x" = "yes"
11524 then
11525 ac_save_CPPFLAGS="$CPPFLAGS"
11526 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11529 $as_echo_n "checking for -lX11... " >&6; }
11530 if ${ac_cv_lib_soname_X11+:} false; then :
11531 $as_echo_n "(cached) " >&6
11532 else
11533 ac_check_soname_save_LIBS=$LIBS
11534 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11538 /* Override any GCC internal prototype to avoid an error.
11539 Use char because int might match the return type of a GCC
11540 builtin and then its argument prototype would still apply. */
11541 #ifdef __cplusplus
11542 extern "C"
11543 #endif
11544 char XCreateWindow ();
11546 main ()
11548 return XCreateWindow ();
11550 return 0;
11552 _ACEOF
11553 if ac_fn_c_try_link "$LINENO"; then :
11554 case "$LIBEXT" in
11555 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11556 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'` ;;
11557 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11558 if ${ac_cv_lib_soname_X11:+false} :; then :
11559 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11560 fi ;;
11561 esac
11562 else
11563 ac_cv_lib_soname_X11=
11565 rm -f core conftest.err conftest.$ac_objext \
11566 conftest$ac_exeext conftest.$ac_ext
11567 LIBS=$ac_check_soname_save_LIBS
11569 if ${ac_cv_lib_soname_X11:+false} :; then :
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11571 $as_echo "not found" >&6; }
11573 else
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11575 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11577 cat >>confdefs.h <<_ACEOF
11578 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11579 _ACEOF
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11584 $as_echo_n "checking for -lXext... " >&6; }
11585 if ${ac_cv_lib_soname_Xext+:} false; then :
11586 $as_echo_n "(cached) " >&6
11587 else
11588 ac_check_soname_save_LIBS=$LIBS
11589 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11593 /* Override any GCC internal prototype to avoid an error.
11594 Use char because int might match the return type of a GCC
11595 builtin and then its argument prototype would still apply. */
11596 #ifdef __cplusplus
11597 extern "C"
11598 #endif
11599 char XextCreateExtension ();
11601 main ()
11603 return XextCreateExtension ();
11605 return 0;
11607 _ACEOF
11608 if ac_fn_c_try_link "$LINENO"; then :
11609 case "$LIBEXT" in
11610 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11611 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'` ;;
11612 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11613 if ${ac_cv_lib_soname_Xext:+false} :; then :
11614 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11615 fi ;;
11616 esac
11617 else
11618 ac_cv_lib_soname_Xext=
11620 rm -f core conftest.err conftest.$ac_objext \
11621 conftest$ac_exeext conftest.$ac_ext
11622 LIBS=$ac_check_soname_save_LIBS
11624 if ${ac_cv_lib_soname_Xext:+false} :; then :
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11626 $as_echo "not found" >&6; }
11628 else
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11630 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11632 cat >>confdefs.h <<_ACEOF
11633 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11634 _ACEOF
11636 X_LIBS="$X_LIBS -lXext"
11638 X_LIBS="$X_LIBS -lX11"
11640 for ac_header in X11/Xlib.h \
11641 X11/XKBlib.h \
11642 X11/Xutil.h \
11643 X11/Xcursor/Xcursor.h \
11644 X11/extensions/shape.h \
11645 X11/extensions/XInput.h \
11646 X11/extensions/XInput2.h \
11647 X11/extensions/XShm.h \
11648 X11/extensions/Xcomposite.h \
11649 X11/extensions/Xfixes.h \
11650 X11/extensions/Xinerama.h \
11651 X11/extensions/Xrandr.h \
11652 X11/extensions/Xrender.h \
11653 X11/extensions/xf86vmode.h \
11654 X11/extensions/xf86vmproto.h
11655 do :
11656 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11657 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11658 # include <X11/Xlib.h>
11659 #endif
11660 #ifdef HAVE_X11_XUTIL_H
11661 # include <X11/Xutil.h>
11662 #endif
11664 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11665 cat >>confdefs.h <<_ACEOF
11666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11667 _ACEOF
11671 done
11674 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11675 then
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11677 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11678 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11679 $as_echo_n "(cached) " >&6
11680 else
11681 ac_check_lib_save_LIBS=$LIBS
11682 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11684 /* end confdefs.h. */
11686 /* Override any GCC internal prototype to avoid an error.
11687 Use char because int might match the return type of a GCC
11688 builtin and then its argument prototype would still apply. */
11689 #ifdef __cplusplus
11690 extern "C"
11691 #endif
11692 char XkbQueryExtension ();
11694 main ()
11696 return XkbQueryExtension ();
11698 return 0;
11700 _ACEOF
11701 if ac_fn_c_try_link "$LINENO"; then :
11702 ac_cv_lib_X11_XkbQueryExtension=yes
11703 else
11704 ac_cv_lib_X11_XkbQueryExtension=no
11706 rm -f core conftest.err conftest.$ac_objext \
11707 conftest$ac_exeext conftest.$ac_ext
11708 LIBS=$ac_check_lib_save_LIBS
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11711 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11712 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11714 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11720 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11721 then
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11723 $as_echo_n "checking for -lXcursor... " >&6; }
11724 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11725 $as_echo_n "(cached) " >&6
11726 else
11727 ac_check_soname_save_LIBS=$LIBS
11728 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11730 /* end confdefs.h. */
11732 /* Override any GCC internal prototype to avoid an error.
11733 Use char because int might match the return type of a GCC
11734 builtin and then its argument prototype would still apply. */
11735 #ifdef __cplusplus
11736 extern "C"
11737 #endif
11738 char XcursorImageLoadCursor ();
11740 main ()
11742 return XcursorImageLoadCursor ();
11744 return 0;
11746 _ACEOF
11747 if ac_fn_c_try_link "$LINENO"; then :
11748 case "$LIBEXT" in
11749 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11750 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'` ;;
11751 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11752 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11753 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11754 fi ;;
11755 esac
11756 else
11757 ac_cv_lib_soname_Xcursor=
11759 rm -f core conftest.err conftest.$ac_objext \
11760 conftest$ac_exeext conftest.$ac_ext
11761 LIBS=$ac_check_soname_save_LIBS
11763 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11765 $as_echo "not found" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11769 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11771 cat >>confdefs.h <<_ACEOF
11772 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11773 _ACEOF
11778 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11779 case "x$with_xcursor" in
11780 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11781 xno) ;;
11782 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11783 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11784 esac
11788 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11789 then
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11791 $as_echo_n "checking for -lXi... " >&6; }
11792 if ${ac_cv_lib_soname_Xi+:} false; then :
11793 $as_echo_n "(cached) " >&6
11794 else
11795 ac_check_soname_save_LIBS=$LIBS
11796 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11800 /* Override any GCC internal prototype to avoid an error.
11801 Use char because int might match the return type of a GCC
11802 builtin and then its argument prototype would still apply. */
11803 #ifdef __cplusplus
11804 extern "C"
11805 #endif
11806 char XOpenDevice ();
11808 main ()
11810 return XOpenDevice ();
11812 return 0;
11814 _ACEOF
11815 if ac_fn_c_try_link "$LINENO"; then :
11816 case "$LIBEXT" in
11817 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11818 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'` ;;
11819 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11820 if ${ac_cv_lib_soname_Xi:+false} :; then :
11821 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11822 fi ;;
11823 esac
11824 else
11825 ac_cv_lib_soname_Xi=
11827 rm -f core conftest.err conftest.$ac_objext \
11828 conftest$ac_exeext conftest.$ac_ext
11829 LIBS=$ac_check_soname_save_LIBS
11831 if ${ac_cv_lib_soname_Xi:+false} :; then :
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11833 $as_echo "not found" >&6; }
11835 else
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11837 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11839 cat >>confdefs.h <<_ACEOF
11840 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11841 _ACEOF
11846 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11847 case "x$with_xinput" in
11848 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11849 xno) ;;
11850 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11851 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11852 esac
11856 if test "x$ac_cv_lib_soname_Xi" != x
11857 then
11858 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11859 case "x$with_xinput2" in
11860 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11861 xno) ;;
11862 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11863 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11864 esac
11869 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11870 then
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11872 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11873 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11874 $as_echo_n "(cached) " >&6
11875 else
11876 ac_check_lib_save_LIBS=$LIBS
11877 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11881 /* Override any GCC internal prototype to avoid an error.
11882 Use char because int might match the return type of a GCC
11883 builtin and then its argument prototype would still apply. */
11884 #ifdef __cplusplus
11885 extern "C"
11886 #endif
11887 char XShmQueryExtension ();
11889 main ()
11891 return XShmQueryExtension ();
11893 return 0;
11895 _ACEOF
11896 if ac_fn_c_try_link "$LINENO"; then :
11897 ac_cv_lib_Xext_XShmQueryExtension=yes
11898 else
11899 ac_cv_lib_Xext_XShmQueryExtension=no
11901 rm -f core conftest.err conftest.$ac_objext \
11902 conftest$ac_exeext conftest.$ac_ext
11903 LIBS=$ac_check_lib_save_LIBS
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11906 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11907 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11909 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11914 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11915 case "x$with_xshm" in
11916 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11917 xno) ;;
11918 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11919 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11920 esac
11924 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11925 then
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11927 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11928 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11929 $as_echo_n "(cached) " >&6
11930 else
11931 ac_check_lib_save_LIBS=$LIBS
11932 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934 /* end confdefs.h. */
11936 /* Override any GCC internal prototype to avoid an error.
11937 Use char because int might match the return type of a GCC
11938 builtin and then its argument prototype would still apply. */
11939 #ifdef __cplusplus
11940 extern "C"
11941 #endif
11942 char XShapeQueryExtension ();
11944 main ()
11946 return XShapeQueryExtension ();
11948 return 0;
11950 _ACEOF
11951 if ac_fn_c_try_link "$LINENO"; then :
11952 ac_cv_lib_Xext_XShapeQueryExtension=yes
11953 else
11954 ac_cv_lib_Xext_XShapeQueryExtension=no
11956 rm -f core conftest.err conftest.$ac_objext \
11957 conftest$ac_exeext conftest.$ac_ext
11958 LIBS=$ac_check_lib_save_LIBS
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11961 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11962 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11964 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11969 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11970 case "x$with_xshape" in
11971 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11972 xno) ;;
11973 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11974 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11975 esac
11979 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11980 then
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11982 $as_echo_n "checking for -lXxf86vm... " >&6; }
11983 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11984 $as_echo_n "(cached) " >&6
11985 else
11986 ac_check_soname_save_LIBS=$LIBS
11987 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11989 /* end confdefs.h. */
11991 /* Override any GCC internal prototype to avoid an error.
11992 Use char because int might match the return type of a GCC
11993 builtin and then its argument prototype would still apply. */
11994 #ifdef __cplusplus
11995 extern "C"
11996 #endif
11997 char XF86VidModeQueryExtension ();
11999 main ()
12001 return XF86VidModeQueryExtension ();
12003 return 0;
12005 _ACEOF
12006 if ac_fn_c_try_link "$LINENO"; then :
12007 case "$LIBEXT" in
12008 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12009 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'` ;;
12010 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12011 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12012 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12013 fi ;;
12014 esac
12015 else
12016 ac_cv_lib_soname_Xxf86vm=
12018 rm -f core conftest.err conftest.$ac_objext \
12019 conftest$ac_exeext conftest.$ac_ext
12020 LIBS=$ac_check_soname_save_LIBS
12022 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12024 $as_echo "not found" >&6; }
12026 else
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12028 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12030 cat >>confdefs.h <<_ACEOF
12031 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12032 _ACEOF
12037 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12038 case "x$with_xxf86vm" in
12039 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12040 xno) ;;
12041 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12042 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12043 esac
12047 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12048 then
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12050 $as_echo_n "checking for -lXrender... " >&6; }
12051 if ${ac_cv_lib_soname_Xrender+:} false; then :
12052 $as_echo_n "(cached) " >&6
12053 else
12054 ac_check_soname_save_LIBS=$LIBS
12055 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12059 /* Override any GCC internal prototype to avoid an error.
12060 Use char because int might match the return type of a GCC
12061 builtin and then its argument prototype would still apply. */
12062 #ifdef __cplusplus
12063 extern "C"
12064 #endif
12065 char XRenderQueryExtension ();
12067 main ()
12069 return XRenderQueryExtension ();
12071 return 0;
12073 _ACEOF
12074 if ac_fn_c_try_link "$LINENO"; then :
12075 case "$LIBEXT" in
12076 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12077 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'` ;;
12078 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12079 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12080 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12081 fi ;;
12082 esac
12083 else
12084 ac_cv_lib_soname_Xrender=
12086 rm -f core conftest.err conftest.$ac_objext \
12087 conftest$ac_exeext conftest.$ac_ext
12088 LIBS=$ac_check_soname_save_LIBS
12090 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12092 $as_echo "not found" >&6; }
12094 else
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12096 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12098 cat >>confdefs.h <<_ACEOF
12099 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12100 _ACEOF
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12103 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12104 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12105 $as_echo_n "(cached) " >&6
12106 else
12107 ac_check_lib_save_LIBS=$LIBS
12108 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12110 /* end confdefs.h. */
12112 /* Override any GCC internal prototype to avoid an error.
12113 Use char because int might match the return type of a GCC
12114 builtin and then its argument prototype would still apply. */
12115 #ifdef __cplusplus
12116 extern "C"
12117 #endif
12118 char XRenderSetPictureTransform ();
12120 main ()
12122 return XRenderSetPictureTransform ();
12124 return 0;
12126 _ACEOF
12127 if ac_fn_c_try_link "$LINENO"; then :
12128 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12129 else
12130 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12132 rm -f core conftest.err conftest.$ac_objext \
12133 conftest$ac_exeext conftest.$ac_ext
12134 LIBS=$ac_check_lib_save_LIBS
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12137 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12138 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12140 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12145 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12146 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12147 $as_echo_n "(cached) " >&6
12148 else
12149 ac_check_lib_save_LIBS=$LIBS
12150 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12152 /* end confdefs.h. */
12154 /* Override any GCC internal prototype to avoid an error.
12155 Use char because int might match the return type of a GCC
12156 builtin and then its argument prototype would still apply. */
12157 #ifdef __cplusplus
12158 extern "C"
12159 #endif
12160 char XRenderCreateLinearGradient ();
12162 main ()
12164 return XRenderCreateLinearGradient ();
12166 return 0;
12168 _ACEOF
12169 if ac_fn_c_try_link "$LINENO"; then :
12170 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12171 else
12172 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12174 rm -f core conftest.err conftest.$ac_objext \
12175 conftest$ac_exeext conftest.$ac_ext
12176 LIBS=$ac_check_lib_save_LIBS
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12179 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12180 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12182 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12189 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12190 case "x$with_xrender" in
12191 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12192 xno) ;;
12193 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12194 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12195 esac
12199 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12200 then
12201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12202 /* end confdefs.h. */
12203 #include <X11/Xlib.h>
12204 #include <X11/extensions/Xrandr.h>
12206 main ()
12208 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12210 return 0;
12212 _ACEOF
12213 if ac_fn_c_try_compile "$LINENO"; then :
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12215 $as_echo_n "checking for -lXrandr... " >&6; }
12216 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12217 $as_echo_n "(cached) " >&6
12218 else
12219 ac_check_soname_save_LIBS=$LIBS
12220 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h. */
12224 /* Override any GCC internal prototype to avoid an error.
12225 Use char because int might match the return type of a GCC
12226 builtin and then its argument prototype would still apply. */
12227 #ifdef __cplusplus
12228 extern "C"
12229 #endif
12230 char XRRQueryExtension ();
12232 main ()
12234 return XRRQueryExtension ();
12236 return 0;
12238 _ACEOF
12239 if ac_fn_c_try_link "$LINENO"; then :
12240 case "$LIBEXT" in
12241 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12242 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'` ;;
12243 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12244 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12245 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12246 fi ;;
12247 esac
12248 else
12249 ac_cv_lib_soname_Xrandr=
12251 rm -f core conftest.err conftest.$ac_objext \
12252 conftest$ac_exeext conftest.$ac_ext
12253 LIBS=$ac_check_soname_save_LIBS
12255 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12257 $as_echo "not found" >&6; }
12259 else
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12261 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12263 cat >>confdefs.h <<_ACEOF
12264 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12265 _ACEOF
12267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12269 #include <X11/Xlib.h>
12270 #include <X11/extensions/Xrandr.h>
12272 main ()
12274 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12276 return 0;
12278 _ACEOF
12279 if ac_fn_c_try_compile "$LINENO"; then :
12281 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12283 else
12284 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12291 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12292 case "x$with_xrandr" in
12293 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12294 xno) ;;
12295 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12296 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12297 esac
12301 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12302 then
12303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12304 /* end confdefs.h. */
12305 #include <X11/Xlib.h>
12306 #include <X11/extensions/Xfixes.h>
12308 main ()
12310 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12312 return 0;
12314 _ACEOF
12315 if ac_fn_c_try_compile "$LINENO"; then :
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12317 $as_echo_n "checking for -lXfixes... " >&6; }
12318 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12319 $as_echo_n "(cached) " >&6
12320 else
12321 ac_check_soname_save_LIBS=$LIBS
12322 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 /* Override any GCC internal prototype to avoid an error.
12327 Use char because int might match the return type of a GCC
12328 builtin and then its argument prototype would still apply. */
12329 #ifdef __cplusplus
12330 extern "C"
12331 #endif
12332 char XFixesQueryVersion ();
12334 main ()
12336 return XFixesQueryVersion ();
12338 return 0;
12340 _ACEOF
12341 if ac_fn_c_try_link "$LINENO"; then :
12342 case "$LIBEXT" in
12343 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12344 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'` ;;
12345 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12346 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12347 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12348 fi ;;
12349 esac
12350 else
12351 ac_cv_lib_soname_Xfixes=
12353 rm -f core conftest.err conftest.$ac_objext \
12354 conftest$ac_exeext conftest.$ac_ext
12355 LIBS=$ac_check_soname_save_LIBS
12357 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12359 $as_echo "not found" >&6; }
12361 else
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12363 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12365 cat >>confdefs.h <<_ACEOF
12366 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12367 _ACEOF
12372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12374 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12375 case "x$with_xfixes" in
12376 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12377 xno) ;;
12378 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12379 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12380 esac
12384 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12385 then
12386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12388 #include <X11/Xlib.h>
12389 #include <X11/extensions/Xinerama.h>
12391 main ()
12393 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12395 return 0;
12397 _ACEOF
12398 if ac_fn_c_try_compile "$LINENO"; then :
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12400 $as_echo_n "checking for -lXinerama... " >&6; }
12401 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12402 $as_echo_n "(cached) " >&6
12403 else
12404 ac_check_soname_save_LIBS=$LIBS
12405 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 /* Override any GCC internal prototype to avoid an error.
12410 Use char because int might match the return type of a GCC
12411 builtin and then its argument prototype would still apply. */
12412 #ifdef __cplusplus
12413 extern "C"
12414 #endif
12415 char XineramaQueryScreens ();
12417 main ()
12419 return XineramaQueryScreens ();
12421 return 0;
12423 _ACEOF
12424 if ac_fn_c_try_link "$LINENO"; then :
12425 case "$LIBEXT" in
12426 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12427 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'` ;;
12428 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12429 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12430 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12431 fi ;;
12432 esac
12433 else
12434 ac_cv_lib_soname_Xinerama=
12436 rm -f core conftest.err conftest.$ac_objext \
12437 conftest$ac_exeext conftest.$ac_ext
12438 LIBS=$ac_check_soname_save_LIBS
12440 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12442 $as_echo "not found" >&6; }
12444 else
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12446 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12448 cat >>confdefs.h <<_ACEOF
12449 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12450 _ACEOF
12455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12457 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12458 case "x$with_xinerama" in
12459 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12460 xno) ;;
12461 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12462 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12463 esac
12467 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12468 then
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12470 $as_echo_n "checking for -lXcomposite... " >&6; }
12471 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12472 $as_echo_n "(cached) " >&6
12473 else
12474 ac_check_soname_save_LIBS=$LIBS
12475 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12479 /* Override any GCC internal prototype to avoid an error.
12480 Use char because int might match the return type of a GCC
12481 builtin and then its argument prototype would still apply. */
12482 #ifdef __cplusplus
12483 extern "C"
12484 #endif
12485 char XCompositeRedirectWindow ();
12487 main ()
12489 return XCompositeRedirectWindow ();
12491 return 0;
12493 _ACEOF
12494 if ac_fn_c_try_link "$LINENO"; then :
12495 case "$LIBEXT" in
12496 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12497 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'` ;;
12498 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12499 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12500 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12501 fi ;;
12502 esac
12503 else
12504 ac_cv_lib_soname_Xcomposite=
12506 rm -f core conftest.err conftest.$ac_objext \
12507 conftest$ac_exeext conftest.$ac_ext
12508 LIBS=$ac_check_soname_save_LIBS
12510 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12512 $as_echo "not found" >&6; }
12514 else
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12516 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12518 cat >>confdefs.h <<_ACEOF
12519 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12520 _ACEOF
12525 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12526 case "x$with_xcomposite" in
12527 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12528 xno) ;;
12529 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12530 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12531 esac
12535 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12536 #include <X11/Xlib.h>
12537 #endif
12539 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12541 cat >>confdefs.h <<_ACEOF
12542 #define HAVE_XICCALLBACK_CALLBACK 1
12543 _ACEOF
12547 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12548 #include <X11/Xlib.h>
12549 #endif
12551 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12553 cat >>confdefs.h <<_ACEOF
12554 #define HAVE_XEVENT_XCOOKIE 1
12555 _ACEOF
12562 opengl_msg=""
12563 if test "x$with_opengl" != "xno"
12564 then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12566 $as_echo_n "checking for -lGL... " >&6; }
12567 if ${ac_cv_lib_soname_GL+:} false; then :
12568 $as_echo_n "(cached) " >&6
12569 else
12570 ac_check_soname_save_LIBS=$LIBS
12571 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 /* Override any GCC internal prototype to avoid an error.
12576 Use char because int might match the return type of a GCC
12577 builtin and then its argument prototype would still apply. */
12578 #ifdef __cplusplus
12579 extern "C"
12580 #endif
12581 char glXCreateContext ();
12583 main ()
12585 return glXCreateContext ();
12587 return 0;
12589 _ACEOF
12590 if ac_fn_c_try_link "$LINENO"; then :
12591 case "$LIBEXT" in
12592 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12593 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'` ;;
12594 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12595 if ${ac_cv_lib_soname_GL:+false} :; then :
12596 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12597 fi ;;
12598 esac
12599 else
12600 ac_cv_lib_soname_GL=
12602 rm -f core conftest.err conftest.$ac_objext \
12603 conftest$ac_exeext conftest.$ac_ext
12604 LIBS=$ac_check_soname_save_LIBS
12606 if ${ac_cv_lib_soname_GL:+false} :; then :
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12608 $as_echo "not found" >&6; }
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12610 $as_echo_n "checking for -lGL... " >&6; }
12611 if ${ac_cv_lib_soname_GL+:} false; then :
12612 $as_echo_n "(cached) " >&6
12613 else
12614 ac_check_soname_save_LIBS=$LIBS
12615 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"
12616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12617 /* end confdefs.h. */
12619 /* Override any GCC internal prototype to avoid an error.
12620 Use char because int might match the return type of a GCC
12621 builtin and then its argument prototype would still apply. */
12622 #ifdef __cplusplus
12623 extern "C"
12624 #endif
12625 char glXCreateContext ();
12627 main ()
12629 return glXCreateContext ();
12631 return 0;
12633 _ACEOF
12634 if ac_fn_c_try_link "$LINENO"; then :
12635 case "$LIBEXT" in
12636 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12637 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'` ;;
12638 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12639 if ${ac_cv_lib_soname_GL:+false} :; then :
12640 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12641 fi ;;
12642 esac
12643 else
12644 ac_cv_lib_soname_GL=
12646 rm -f core conftest.err conftest.$ac_objext \
12647 conftest$ac_exeext conftest.$ac_ext
12648 LIBS=$ac_check_soname_save_LIBS
12650 if ${ac_cv_lib_soname_GL:+false} :; then :
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12652 $as_echo "not found" >&6; }
12653 if test -f /usr/X11R6/lib/libGL.a
12654 then
12655 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12656 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12657 else
12658 opengl_msg="No OpenGL library found on this system."
12660 else
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12662 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12664 cat >>confdefs.h <<_ACEOF
12665 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12666 _ACEOF
12668 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"
12670 else
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12672 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12674 cat >>confdefs.h <<_ACEOF
12675 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12676 _ACEOF
12678 OPENGL_LIBS="-lGL"
12680 if test "x$with_osmesa" != "xno"
12681 then
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12683 $as_echo_n "checking for -lOSMesa... " >&6; }
12684 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12685 $as_echo_n "(cached) " >&6
12686 else
12687 ac_check_soname_save_LIBS=$LIBS
12688 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12692 /* Override any GCC internal prototype to avoid an error.
12693 Use char because int might match the return type of a GCC
12694 builtin and then its argument prototype would still apply. */
12695 #ifdef __cplusplus
12696 extern "C"
12697 #endif
12698 char OSMesaGetProcAddress ();
12700 main ()
12702 return OSMesaGetProcAddress ();
12704 return 0;
12706 _ACEOF
12707 if ac_fn_c_try_link "$LINENO"; then :
12708 case "$LIBEXT" in
12709 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12710 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'` ;;
12711 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12712 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12713 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12714 fi ;;
12715 esac
12716 else
12717 ac_cv_lib_soname_OSMesa=
12719 rm -f core conftest.err conftest.$ac_objext \
12720 conftest$ac_exeext conftest.$ac_ext
12721 LIBS=$ac_check_soname_save_LIBS
12723 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12725 $as_echo "not found" >&6; }
12727 else
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12729 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12731 cat >>confdefs.h <<_ACEOF
12732 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12733 _ACEOF
12737 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12738 case "x$with_osmesa" in
12739 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12740 xno) ;;
12741 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12742 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12743 esac
12748 if test -n "$opengl_msg"; then :
12749 case "x$with_opengl" in
12750 x) as_fn_append wine_warnings "|$opengl_msg
12751 OpenGL and Direct3D won't be supported." ;;
12752 xno) ;;
12753 *) as_fn_error $? "$opengl_msg
12754 OpenGL and Direct3D won't be supported.
12755 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12756 esac
12760 CPPFLAGS="$ac_save_CPPFLAGS"
12761 else
12762 X_CFLAGS=""
12763 X_LIBS=""
12766 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12767 then
12768 if test "x$X_LIBS" = "x"; then :
12769 case "x$with_x" in
12770 xno) ;;
12771 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12772 without X support, which probably isn't what you want. You will need
12773 to install ${notice_platform}development packages of Xlib at the very least.
12774 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12775 esac
12776 enable_winex11_drv=${enable_winex11_drv:-no}
12778 else
12779 if test "x$X_LIBS" = "x"; then :
12780 case "x$with_x" in
12781 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12782 xno) ;;
12783 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12784 This is an error since --with-x was requested." "$LINENO" 5 ;;
12785 esac
12786 enable_winex11_drv=${enable_winex11_drv:-no}
12790 if test "$ac_cv_header_CL_cl_h" = "yes"
12791 then
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12793 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12794 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12795 $as_echo_n "(cached) " >&6
12796 else
12797 ac_check_lib_save_LIBS=$LIBS
12798 LIBS="-lOpenCL $LIBS"
12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12802 /* Override any GCC internal prototype to avoid an error.
12803 Use char because int might match the return type of a GCC
12804 builtin and then its argument prototype would still apply. */
12805 #ifdef __cplusplus
12806 extern "C"
12807 #endif
12808 char clGetPlatformInfo ();
12810 main ()
12812 return clGetPlatformInfo ();
12814 return 0;
12816 _ACEOF
12817 if ac_fn_c_try_link "$LINENO"; then :
12818 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12819 else
12820 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12822 rm -f core conftest.err conftest.$ac_objext \
12823 conftest$ac_exeext conftest.$ac_ext
12824 LIBS=$ac_check_lib_save_LIBS
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12827 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12828 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12829 OPENCL_LIBS="-lOpenCL"
12834 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12835 case "x$with_opencl" in
12836 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12837 xno) ;;
12838 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12839 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12840 esac
12841 enable_opencl=${enable_opencl:-no}
12844 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12845 then
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12847 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12848 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12849 $as_echo_n "(cached) " >&6
12850 else
12851 ac_check_lib_save_LIBS=$LIBS
12852 LIBS="-lpcap $LIBS"
12853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12854 /* end confdefs.h. */
12856 /* Override any GCC internal prototype to avoid an error.
12857 Use char because int might match the return type of a GCC
12858 builtin and then its argument prototype would still apply. */
12859 #ifdef __cplusplus
12860 extern "C"
12861 #endif
12862 char pcap_create ();
12864 main ()
12866 return pcap_create ();
12868 return 0;
12870 _ACEOF
12871 if ac_fn_c_try_link "$LINENO"; then :
12872 ac_cv_lib_pcap_pcap_create=yes
12873 else
12874 ac_cv_lib_pcap_pcap_create=no
12876 rm -f core conftest.err conftest.$ac_objext \
12877 conftest$ac_exeext conftest.$ac_ext
12878 LIBS=$ac_check_lib_save_LIBS
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12881 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12882 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12883 PCAP_LIBS="-lpcap"
12888 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12889 case "x$with_pcap" in
12890 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12891 xno) ;;
12892 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12893 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12894 esac
12895 enable_wpcap=${enable_wpcap:-no}
12899 if test "x$with_xml" != "xno"
12900 then
12901 if ${XML2_CFLAGS:+false} :; then :
12902 if ${PKG_CONFIG+:} false; then :
12903 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12906 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12907 if ${XML2_LIBS:+false} :; then :
12908 if ${PKG_CONFIG+:} false; then :
12909 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12912 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12913 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12914 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12915 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12916 ac_save_CPPFLAGS=$CPPFLAGS
12917 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12918 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12919 do :
12920 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12921 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12922 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12923 cat >>confdefs.h <<_ACEOF
12924 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12925 _ACEOF
12929 done
12931 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"
12932 then
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12934 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12935 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12936 $as_echo_n "(cached) " >&6
12937 else
12938 ac_check_lib_save_LIBS=$LIBS
12939 LIBS="-lxml2 $XML2_LIBS $LIBS"
12940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12941 /* end confdefs.h. */
12943 /* Override any GCC internal prototype to avoid an error.
12944 Use char because int might match the return type of a GCC
12945 builtin and then its argument prototype would still apply. */
12946 #ifdef __cplusplus
12947 extern "C"
12948 #endif
12949 char xmlParseMemory ();
12951 main ()
12953 return xmlParseMemory ();
12955 return 0;
12957 _ACEOF
12958 if ac_fn_c_try_link "$LINENO"; then :
12959 ac_cv_lib_xml2_xmlParseMemory=yes
12960 else
12961 ac_cv_lib_xml2_xmlParseMemory=no
12963 rm -f core conftest.err conftest.$ac_objext \
12964 conftest$ac_exeext conftest.$ac_ext
12965 LIBS=$ac_check_lib_save_LIBS
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12968 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12969 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12971 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12973 else
12974 XML2_LIBS=""
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12978 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12979 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12980 $as_echo_n "(cached) " >&6
12981 else
12982 ac_check_lib_save_LIBS=$LIBS
12983 LIBS="-lxml2 $XML2_LIBS $LIBS"
12984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12985 /* end confdefs.h. */
12987 /* Override any GCC internal prototype to avoid an error.
12988 Use char because int might match the return type of a GCC
12989 builtin and then its argument prototype would still apply. */
12990 #ifdef __cplusplus
12991 extern "C"
12992 #endif
12993 char xmlReadMemory ();
12995 main ()
12997 return xmlReadMemory ();
12999 return 0;
13001 _ACEOF
13002 if ac_fn_c_try_link "$LINENO"; then :
13003 ac_cv_lib_xml2_xmlReadMemory=yes
13004 else
13005 ac_cv_lib_xml2_xmlReadMemory=no
13007 rm -f core conftest.err conftest.$ac_objext \
13008 conftest$ac_exeext conftest.$ac_ext
13009 LIBS=$ac_check_lib_save_LIBS
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13012 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13013 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13015 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13020 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13021 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13022 $as_echo_n "(cached) " >&6
13023 else
13024 ac_check_lib_save_LIBS=$LIBS
13025 LIBS="-lxml2 $XML2_LIBS $LIBS"
13026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13027 /* end confdefs.h. */
13029 /* Override any GCC internal prototype to avoid an error.
13030 Use char because int might match the return type of a GCC
13031 builtin and then its argument prototype would still apply. */
13032 #ifdef __cplusplus
13033 extern "C"
13034 #endif
13035 char xmlNewDocPI ();
13037 main ()
13039 return xmlNewDocPI ();
13041 return 0;
13043 _ACEOF
13044 if ac_fn_c_try_link "$LINENO"; then :
13045 ac_cv_lib_xml2_xmlNewDocPI=yes
13046 else
13047 ac_cv_lib_xml2_xmlNewDocPI=no
13049 rm -f core conftest.err conftest.$ac_objext \
13050 conftest$ac_exeext conftest.$ac_ext
13051 LIBS=$ac_check_lib_save_LIBS
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13054 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13055 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13057 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13062 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13063 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13064 $as_echo_n "(cached) " >&6
13065 else
13066 ac_check_lib_save_LIBS=$LIBS
13067 LIBS="-lxml2 $XML2_LIBS $LIBS"
13068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13069 /* end confdefs.h. */
13071 /* Override any GCC internal prototype to avoid an error.
13072 Use char because int might match the return type of a GCC
13073 builtin and then its argument prototype would still apply. */
13074 #ifdef __cplusplus
13075 extern "C"
13076 #endif
13077 char xmlSchemaSetParserStructuredErrors ();
13079 main ()
13081 return xmlSchemaSetParserStructuredErrors ();
13083 return 0;
13085 _ACEOF
13086 if ac_fn_c_try_link "$LINENO"; then :
13087 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13088 else
13089 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13091 rm -f core conftest.err conftest.$ac_objext \
13092 conftest$ac_exeext conftest.$ac_ext
13093 LIBS=$ac_check_lib_save_LIBS
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13096 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13097 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13099 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13104 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13105 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13106 $as_echo_n "(cached) " >&6
13107 else
13108 ac_check_lib_save_LIBS=$LIBS
13109 LIBS="-lxml2 $XML2_LIBS $LIBS"
13110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13111 /* end confdefs.h. */
13113 /* Override any GCC internal prototype to avoid an error.
13114 Use char because int might match the return type of a GCC
13115 builtin and then its argument prototype would still apply. */
13116 #ifdef __cplusplus
13117 extern "C"
13118 #endif
13119 char xmlSchemaSetValidStructuredErrors ();
13121 main ()
13123 return xmlSchemaSetValidStructuredErrors ();
13125 return 0;
13127 _ACEOF
13128 if ac_fn_c_try_link "$LINENO"; then :
13129 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13130 else
13131 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13133 rm -f core conftest.err conftest.$ac_objext \
13134 conftest$ac_exeext conftest.$ac_ext
13135 LIBS=$ac_check_lib_save_LIBS
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13138 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13139 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13141 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13146 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13147 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13148 $as_echo_n "(cached) " >&6
13149 else
13150 ac_check_lib_save_LIBS=$LIBS
13151 LIBS="-lxml2 $XML2_LIBS $LIBS"
13152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13155 /* Override any GCC internal prototype to avoid an error.
13156 Use char because int might match the return type of a GCC
13157 builtin and then its argument prototype would still apply. */
13158 #ifdef __cplusplus
13159 extern "C"
13160 #endif
13161 char xmlFirstElementChild ();
13163 main ()
13165 return xmlFirstElementChild ();
13167 return 0;
13169 _ACEOF
13170 if ac_fn_c_try_link "$LINENO"; then :
13171 ac_cv_lib_xml2_xmlFirstElementChild=yes
13172 else
13173 ac_cv_lib_xml2_xmlFirstElementChild=no
13175 rm -f core conftest.err conftest.$ac_objext \
13176 conftest$ac_exeext conftest.$ac_ext
13177 LIBS=$ac_check_lib_save_LIBS
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13180 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13181 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13183 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13187 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13189 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13191 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13195 else
13196 XML2_CFLAGS=""
13197 XML2_LIBS=""
13199 CPPFLAGS=$ac_save_CPPFLAGS
13202 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13203 case "x$with_xml" in
13204 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13205 xno) ;;
13206 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13207 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13208 esac
13212 if test "x$with_xslt" != "xno"
13213 then
13214 if ${XSLT_CFLAGS:+false} :; then :
13215 if ${PKG_CONFIG+:} false; then :
13216 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13219 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13220 if ${XSLT_LIBS:+false} :; then :
13221 if ${PKG_CONFIG+:} false; then :
13222 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13225 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13226 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13227 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13228 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13229 ac_save_CPPFLAGS=$CPPFLAGS
13230 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13231 for ac_header in libxslt/pattern.h libxslt/transform.h
13232 do :
13233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13234 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13235 # include <libxslt/pattern.h>
13236 #endif
13238 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13239 cat >>confdefs.h <<_ACEOF
13240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13241 _ACEOF
13245 done
13247 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13248 then
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13250 $as_echo_n "checking for -lxslt... " >&6; }
13251 if ${ac_cv_lib_soname_xslt+:} false; then :
13252 $as_echo_n "(cached) " >&6
13253 else
13254 ac_check_soname_save_LIBS=$LIBS
13255 LIBS="-lxslt $XSLT_LIBS $LIBS"
13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13262 #ifdef __cplusplus
13263 extern "C"
13264 #endif
13265 char xsltCompilePattern ();
13267 main ()
13269 return xsltCompilePattern ();
13271 return 0;
13273 _ACEOF
13274 if ac_fn_c_try_link "$LINENO"; then :
13275 case "$LIBEXT" in
13276 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13277 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'` ;;
13278 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13279 if ${ac_cv_lib_soname_xslt:+false} :; then :
13280 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13281 fi ;;
13282 esac
13283 else
13284 ac_cv_lib_soname_xslt=
13286 rm -f core conftest.err conftest.$ac_objext \
13287 conftest$ac_exeext conftest.$ac_ext
13288 LIBS=$ac_check_soname_save_LIBS
13290 if ${ac_cv_lib_soname_xslt:+false} :; then :
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13292 $as_echo "not found" >&6; }
13294 else
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13296 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13298 cat >>confdefs.h <<_ACEOF
13299 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13300 _ACEOF
13304 else
13305 XSLT_CFLAGS=""
13307 CPPFLAGS=$ac_save_CPPFLAGS
13310 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13311 case "x$with_xslt" in
13312 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13313 xno) ;;
13314 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13315 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13316 esac
13320 if test "x$with_inotify" != "xno"
13321 then
13322 if ${INOTIFY_CFLAGS:+false} :; then :
13323 if ${PKG_CONFIG+:} false; then :
13324 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13328 if ${INOTIFY_LIBS:+false} :; then :
13329 if ${PKG_CONFIG+:} false; then :
13330 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13335 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13336 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13337 ac_save_CPPFLAGS=$CPPFLAGS
13338 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13339 for ac_header in sys/inotify.h
13340 do :
13341 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13342 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13343 cat >>confdefs.h <<_ACEOF
13344 #define HAVE_SYS_INOTIFY_H 1
13345 _ACEOF
13349 done
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13352 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13353 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13354 $as_echo_n "(cached) " >&6
13355 else
13356 ac_check_lib_save_LIBS=$LIBS
13357 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13364 #ifdef __cplusplus
13365 extern "C"
13366 #endif
13367 char inotify_add_watch ();
13369 main ()
13371 return inotify_add_watch ();
13373 return 0;
13375 _ACEOF
13376 if ac_fn_c_try_link "$LINENO"; then :
13377 ac_cv_lib_inotify_inotify_add_watch=yes
13378 else
13379 ac_cv_lib_inotify_inotify_add_watch=no
13381 rm -f core conftest.err conftest.$ac_objext \
13382 conftest$ac_exeext conftest.$ac_ext
13383 LIBS=$ac_check_lib_save_LIBS
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13386 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13387 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13389 else
13390 INOTIFY_LIBS=""
13393 CPPFLAGS=$ac_save_CPPFLAGS
13396 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13397 case "x$with_inotify" in
13398 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13399 xno) ;;
13400 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13401 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13402 esac
13406 if test "x$with_dbus" != "xno"
13407 then
13408 if ${DBUS_CFLAGS:+false} :; then :
13409 if ${PKG_CONFIG+:} false; then :
13410 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13414 if ${DBUS_LIBS:+false} :; then :
13415 if ${PKG_CONFIG+:} false; then :
13416 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13421 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13422 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13423 ac_save_CPPFLAGS=$CPPFLAGS
13424 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13425 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13426 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13428 $as_echo_n "checking for -ldbus-1... " >&6; }
13429 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13430 $as_echo_n "(cached) " >&6
13431 else
13432 ac_check_soname_save_LIBS=$LIBS
13433 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13437 /* Override any GCC internal prototype to avoid an error.
13438 Use char because int might match the return type of a GCC
13439 builtin and then its argument prototype would still apply. */
13440 #ifdef __cplusplus
13441 extern "C"
13442 #endif
13443 char dbus_connection_close ();
13445 main ()
13447 return dbus_connection_close ();
13449 return 0;
13451 _ACEOF
13452 if ac_fn_c_try_link "$LINENO"; then :
13453 case "$LIBEXT" in
13454 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13455 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'` ;;
13456 *) 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'`
13457 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13458 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13459 fi ;;
13460 esac
13461 else
13462 ac_cv_lib_soname_dbus_1=
13464 rm -f core conftest.err conftest.$ac_objext \
13465 conftest$ac_exeext conftest.$ac_ext
13466 LIBS=$ac_check_soname_save_LIBS
13468 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13470 $as_echo "not found" >&6; }
13471 DBUS_CFLAGS=""
13472 else
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13474 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13476 cat >>confdefs.h <<_ACEOF
13477 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13478 _ACEOF
13482 else
13483 DBUS_CFLAGS=""
13487 CPPFLAGS=$ac_save_CPPFLAGS
13490 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13491 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13492 case "x$with_dbus" in
13493 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13494 xno) ;;
13495 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13496 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13497 esac
13501 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13502 then
13503 if ${HAL_CFLAGS:+false} :; then :
13504 if ${PKG_CONFIG+:} false; then :
13505 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13509 if ${HAL_LIBS:+false} :; then :
13510 if ${PKG_CONFIG+:} false; then :
13511 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13515 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13516 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13517 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13518 ac_save_CPPFLAGS=$CPPFLAGS
13519 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13520 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13521 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13523 $as_echo_n "checking for -lhal... " >&6; }
13524 if ${ac_cv_lib_soname_hal+:} false; then :
13525 $as_echo_n "(cached) " >&6
13526 else
13527 ac_check_soname_save_LIBS=$LIBS
13528 LIBS="-lhal $HAL_LIBS $LIBS"
13529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13532 /* Override any GCC internal prototype to avoid an error.
13533 Use char because int might match the return type of a GCC
13534 builtin and then its argument prototype would still apply. */
13535 #ifdef __cplusplus
13536 extern "C"
13537 #endif
13538 char libhal_ctx_new ();
13540 main ()
13542 return libhal_ctx_new ();
13544 return 0;
13546 _ACEOF
13547 if ac_fn_c_try_link "$LINENO"; then :
13548 case "$LIBEXT" in
13549 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13550 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'` ;;
13551 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13552 if ${ac_cv_lib_soname_hal:+false} :; then :
13553 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13554 fi ;;
13555 esac
13556 else
13557 ac_cv_lib_soname_hal=
13559 rm -f core conftest.err conftest.$ac_objext \
13560 conftest$ac_exeext conftest.$ac_ext
13561 LIBS=$ac_check_soname_save_LIBS
13563 if ${ac_cv_lib_soname_hal:+false} :; then :
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13565 $as_echo "not found" >&6; }
13566 HAL_CFLAGS=""
13567 else
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13569 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13571 cat >>confdefs.h <<_ACEOF
13572 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13573 _ACEOF
13577 else
13578 HAL_CFLAGS=""
13582 CPPFLAGS=$ac_save_CPPFLAGS
13584 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13585 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13586 case "x$with_hal" in
13587 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13588 xno) ;;
13589 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13590 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13591 esac
13596 if test "x$with_gnutls" != "xno"
13597 then
13598 if ${GNUTLS_CFLAGS:+false} :; then :
13599 if ${PKG_CONFIG+:} false; then :
13600 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13604 if ${GNUTLS_LIBS:+false} :; then :
13605 if ${PKG_CONFIG+:} false; then :
13606 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13610 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13611 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13612 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13613 ac_save_CPPFLAGS=$CPPFLAGS
13614 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13615 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13616 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 #include <gnutls/gnutls.h>
13620 #include <gnutls/crypto.h>
13622 main ()
13624 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13626 return 0;
13628 _ACEOF
13629 if ac_fn_c_try_compile "$LINENO"; then :
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13631 $as_echo_n "checking for -lgnutls... " >&6; }
13632 if ${ac_cv_lib_soname_gnutls+:} false; then :
13633 $as_echo_n "(cached) " >&6
13634 else
13635 ac_check_soname_save_LIBS=$LIBS
13636 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13638 /* end confdefs.h. */
13640 /* Override any GCC internal prototype to avoid an error.
13641 Use char because int might match the return type of a GCC
13642 builtin and then its argument prototype would still apply. */
13643 #ifdef __cplusplus
13644 extern "C"
13645 #endif
13646 char gnutls_global_init ();
13648 main ()
13650 return gnutls_global_init ();
13652 return 0;
13654 _ACEOF
13655 if ac_fn_c_try_link "$LINENO"; then :
13656 case "$LIBEXT" in
13657 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13658 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'` ;;
13659 *) 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'`
13660 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13661 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'`
13662 fi ;;
13663 esac
13664 else
13665 ac_cv_lib_soname_gnutls=
13667 rm -f core conftest.err conftest.$ac_objext \
13668 conftest$ac_exeext conftest.$ac_ext
13669 LIBS=$ac_check_soname_save_LIBS
13671 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13673 $as_echo "not found" >&6; }
13674 GNUTLS_CFLAGS=""
13675 else
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13677 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13679 cat >>confdefs.h <<_ACEOF
13680 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13681 _ACEOF
13685 ac_wine_check_funcs_save_LIBS="$LIBS"
13686 LIBS="$LIBS $GNUTLS_LIBS"
13687 for ac_func in gnutls_cipher_init
13688 do :
13689 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13690 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13691 cat >>confdefs.h <<_ACEOF
13692 #define HAVE_GNUTLS_CIPHER_INIT 1
13693 _ACEOF
13695 else
13696 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13698 done
13700 LIBS="$ac_wine_check_funcs_save_LIBS"
13702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13703 else
13704 GNUTLS_CFLAGS=""
13708 CPPFLAGS=$ac_save_CPPFLAGS
13711 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13712 case "x$with_gnutls" in
13713 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13714 xno) ;;
13715 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13716 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13717 esac
13721 if test "x$with_sane" != "xno"
13722 then
13723 if ${SANE_CFLAGS:+false} :; then :
13724 if ${PKG_CONFIG+:} false; then :
13725 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13728 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13729 if ${SANE_LIBS:+false} :; then :
13730 if ${PKG_CONFIG+:} false; then :
13731 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13734 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13736 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13737 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13738 ac_save_CPPFLAGS=$CPPFLAGS
13739 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13740 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13741 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13743 $as_echo_n "checking for -lsane... " >&6; }
13744 if ${ac_cv_lib_soname_sane+:} false; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 ac_check_soname_save_LIBS=$LIBS
13748 LIBS="-lsane $SANE_LIBS $LIBS"
13749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13750 /* end confdefs.h. */
13752 /* Override any GCC internal prototype to avoid an error.
13753 Use char because int might match the return type of a GCC
13754 builtin and then its argument prototype would still apply. */
13755 #ifdef __cplusplus
13756 extern "C"
13757 #endif
13758 char sane_init ();
13760 main ()
13762 return sane_init ();
13764 return 0;
13766 _ACEOF
13767 if ac_fn_c_try_link "$LINENO"; then :
13768 case "$LIBEXT" in
13769 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13770 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'` ;;
13771 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13772 if ${ac_cv_lib_soname_sane:+false} :; then :
13773 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13774 fi ;;
13775 esac
13776 else
13777 ac_cv_lib_soname_sane=
13779 rm -f core conftest.err conftest.$ac_objext \
13780 conftest$ac_exeext conftest.$ac_ext
13781 LIBS=$ac_check_soname_save_LIBS
13783 if ${ac_cv_lib_soname_sane:+false} :; then :
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13785 $as_echo "not found" >&6; }
13786 SANE_CFLAGS=""
13787 else
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13789 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13791 cat >>confdefs.h <<_ACEOF
13792 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13793 _ACEOF
13797 else
13798 SANE_CFLAGS=""
13802 CPPFLAGS=$ac_save_CPPFLAGS
13805 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13806 case "x$with_sane" in
13807 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13808 xno) ;;
13809 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13810 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13811 esac
13815 if test "x$with_usb" != "xno"
13816 then
13817 if ${USB_CFLAGS:+false} :; then :
13818 if ${PKG_CONFIG+:} false; then :
13819 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13823 if ${USB_LIBS:+false} :; then :
13824 if ${PKG_CONFIG+:} false; then :
13825 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13829 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13830 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13831 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13832 ac_save_CPPFLAGS=$CPPFLAGS
13833 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13834 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13835 if test "x$ac_cv_header_libusb_h" = xyes; then :
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13837 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13838 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 ac_check_lib_save_LIBS=$LIBS
13842 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13849 #ifdef __cplusplus
13850 extern "C"
13851 #endif
13852 char libusb_interrupt_event_handler ();
13854 main ()
13856 return libusb_interrupt_event_handler ();
13858 return 0;
13860 _ACEOF
13861 if ac_fn_c_try_link "$LINENO"; then :
13862 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13863 else
13864 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13866 rm -f core conftest.err conftest.$ac_objext \
13867 conftest$ac_exeext conftest.$ac_ext
13868 LIBS=$ac_check_lib_save_LIBS
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13871 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13872 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13874 else
13875 USB_LIBS=""
13878 else
13879 USB_LIBS=""
13883 CPPFLAGS=$ac_save_CPPFLAGS
13886 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13887 case "x$with_usb" in
13888 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13889 xno) ;;
13890 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13891 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13892 esac
13893 enable_wineusb_sys=${enable_wineusb_sys:-no}
13896 if test "x$with_v4l2" != "xno"
13897 then
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13899 $as_echo_n "checking for -lv4l2... " >&6; }
13900 if ${ac_cv_lib_soname_v4l2+:} false; then :
13901 $as_echo_n "(cached) " >&6
13902 else
13903 ac_check_soname_save_LIBS=$LIBS
13904 LIBS="-lv4l2 $LIBS"
13905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13906 /* end confdefs.h. */
13908 /* Override any GCC internal prototype to avoid an error.
13909 Use char because int might match the return type of a GCC
13910 builtin and then its argument prototype would still apply. */
13911 #ifdef __cplusplus
13912 extern "C"
13913 #endif
13914 char v4l2_open ();
13916 main ()
13918 return v4l2_open ();
13920 return 0;
13922 _ACEOF
13923 if ac_fn_c_try_link "$LINENO"; then :
13924 case "$LIBEXT" in
13925 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13926 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'` ;;
13927 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13928 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13929 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13930 fi ;;
13931 esac
13932 else
13933 ac_cv_lib_soname_v4l2=
13935 rm -f core conftest.err conftest.$ac_objext \
13936 conftest$ac_exeext conftest.$ac_ext
13937 LIBS=$ac_check_soname_save_LIBS
13939 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13941 $as_echo "not found" >&6; }
13943 else
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13945 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13947 cat >>confdefs.h <<_ACEOF
13948 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13949 _ACEOF
13954 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13955 case "x$with_v4l2" in
13956 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13957 xno) ;;
13958 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13959 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13960 esac
13964 if test "x$with_gphoto" != "xno"
13965 then
13966 if ${GPHOTO2_CFLAGS:+false} :; then :
13967 if ${PKG_CONFIG+:} false; then :
13968 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13971 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13972 if ${GPHOTO2_LIBS:+false} :; then :
13973 if ${PKG_CONFIG+:} false; then :
13974 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13977 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13978 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13979 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13980 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13981 ac_save_CPPFLAGS=$CPPFLAGS
13982 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13983 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13984 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13986 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13987 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13988 $as_echo_n "(cached) " >&6
13989 else
13990 ac_check_lib_save_LIBS=$LIBS
13991 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13995 /* Override any GCC internal prototype to avoid an error.
13996 Use char because int might match the return type of a GCC
13997 builtin and then its argument prototype would still apply. */
13998 #ifdef __cplusplus
13999 extern "C"
14000 #endif
14001 char gp_camera_new ();
14003 main ()
14005 return gp_camera_new ();
14007 return 0;
14009 _ACEOF
14010 if ac_fn_c_try_link "$LINENO"; then :
14011 ac_cv_lib_gphoto2_gp_camera_new=yes
14012 else
14013 ac_cv_lib_gphoto2_gp_camera_new=no
14015 rm -f core conftest.err conftest.$ac_objext \
14016 conftest$ac_exeext conftest.$ac_ext
14017 LIBS=$ac_check_lib_save_LIBS
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14020 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14021 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14023 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14025 else
14026 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14029 else
14030 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14034 CPPFLAGS=$ac_save_CPPFLAGS
14036 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14037 if ${PKG_CONFIG+:} false; then :
14038 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14041 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14042 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14043 if ${PKG_CONFIG+:} false; then :
14044 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14047 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14048 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14049 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14050 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14051 ac_save_CPPFLAGS=$CPPFLAGS
14052 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14053 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14054 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14056 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14057 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14058 $as_echo_n "(cached) " >&6
14059 else
14060 ac_check_lib_save_LIBS=$LIBS
14061 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14063 /* end confdefs.h. */
14065 /* Override any GCC internal prototype to avoid an error.
14066 Use char because int might match the return type of a GCC
14067 builtin and then its argument prototype would still apply. */
14068 #ifdef __cplusplus
14069 extern "C"
14070 #endif
14071 char gp_port_info_list_new ();
14073 main ()
14075 return gp_port_info_list_new ();
14077 return 0;
14079 _ACEOF
14080 if ac_fn_c_try_link "$LINENO"; then :
14081 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14082 else
14083 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14085 rm -f core conftest.err conftest.$ac_objext \
14086 conftest$ac_exeext conftest.$ac_ext
14087 LIBS=$ac_check_lib_save_LIBS
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14090 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14091 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14093 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14095 else
14096 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14099 else
14100 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14104 CPPFLAGS=$ac_save_CPPFLAGS
14107 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14108 case "x$with_gphoto" in
14109 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14110 xno) ;;
14111 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14112 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14113 esac
14116 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14117 case "x$with_gphoto" in
14118 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14119 xno) ;;
14120 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14121 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14122 esac
14127 if test "$ac_cv_header_resolv_h" = "yes"
14128 then
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14130 $as_echo_n "checking for resolver library... " >&6; }
14131 if ${ac_cv_have_resolv+:} false; then :
14132 $as_echo_n "(cached) " >&6
14133 else
14134 ac_save_LIBS="$LIBS"
14135 for lib in '' -lresolv
14137 LIBS="$lib $ac_save_LIBS"
14138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14139 /* end confdefs.h. */
14140 #ifdef HAVE_NETINET_IN_H
14141 #include <netinet/in.h>
14142 #endif
14143 #include <resolv.h>
14145 main ()
14147 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14149 return 0;
14151 _ACEOF
14152 if ac_fn_c_try_link "$LINENO"; then :
14153 ac_cv_have_resolv=${lib:-"none required"}
14154 else
14155 ac_cv_have_resolv="not found"
14157 rm -f core conftest.err conftest.$ac_objext \
14158 conftest$ac_exeext conftest.$ac_ext
14159 test "x$ac_cv_have_resolv" = "xnot found" || break
14160 done
14161 LIBS="$ac_save_LIBS"
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14164 $as_echo "$ac_cv_have_resolv" >&6; }
14166 case "$ac_cv_have_resolv" in
14167 "not found") ;;
14168 "none required")
14170 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14173 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14175 RESOLV_LIBS=$ac_cv_have_resolv
14177 esac
14179 if test "x$ac_cv_have_resolv" != "xnot found"
14180 then
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14182 $as_echo_n "checking for res_getservers... " >&6; }
14183 if ${ac_cv_have_res_getservers+:} false; then :
14184 $as_echo_n "(cached) " >&6
14185 else
14186 ac_save_LIBS="$LIBS"
14187 LIBS="$RESOLV_LIBS $LIBS"
14188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14189 /* end confdefs.h. */
14190 #include <resolv.h>
14192 main ()
14194 res_getservers(NULL, NULL, 0);
14196 return 0;
14198 _ACEOF
14199 if ac_fn_c_try_link "$LINENO"; then :
14200 ac_cv_have_res_getservers=yes
14201 else
14202 ac_cv_have_res_getservers=no
14204 rm -f core conftest.err conftest.$ac_objext \
14205 conftest$ac_exeext conftest.$ac_ext
14206 LIBS="$ac_save_LIBS"
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14209 $as_echo "$ac_cv_have_res_getservers" >&6; }
14210 if test "$ac_cv_have_res_getservers" = "yes"
14211 then
14213 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14219 if test "x$with_cms" != "xno"
14220 then
14221 if ${LCMS2_CFLAGS:+false} :; then :
14222 if ${PKG_CONFIG+:} false; then :
14223 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14227 if ${LCMS2_LIBS:+false} :; then :
14228 if ${PKG_CONFIG+:} false; then :
14229 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14233 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14234 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14235 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14236 ac_save_CPPFLAGS=$CPPFLAGS
14237 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14238 for ac_header in lcms2.h
14239 do :
14240 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14241 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14242 cat >>confdefs.h <<_ACEOF
14243 #define HAVE_LCMS2_H 1
14244 _ACEOF
14248 done
14250 if test "$ac_cv_header_lcms2_h" = "yes"
14251 then
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14253 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14254 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14255 $as_echo_n "(cached) " >&6
14256 else
14257 ac_check_lib_save_LIBS=$LIBS
14258 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14262 /* Override any GCC internal prototype to avoid an error.
14263 Use char because int might match the return type of a GCC
14264 builtin and then its argument prototype would still apply. */
14265 #ifdef __cplusplus
14266 extern "C"
14267 #endif
14268 char cmsOpenProfileFromFile ();
14270 main ()
14272 return cmsOpenProfileFromFile ();
14274 return 0;
14276 _ACEOF
14277 if ac_fn_c_try_link "$LINENO"; then :
14278 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14279 else
14280 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14282 rm -f core conftest.err conftest.$ac_objext \
14283 conftest$ac_exeext conftest.$ac_ext
14284 LIBS=$ac_check_lib_save_LIBS
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14287 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14288 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14290 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14292 else
14293 LCMS2_LIBS=""
14296 else
14297 LCMS2_CFLAGS=""
14298 LCMS2_LIBS=""
14300 CPPFLAGS=$ac_save_CPPFLAGS
14303 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14304 case "x$with_cms" in
14305 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14306 xno) ;;
14307 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14308 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14309 esac
14313 if test "x$with_freetype" != "xno"
14314 then
14315 if ${FREETYPE_CFLAGS:+false} :; then :
14316 if ${PKG_CONFIG+:} false; then :
14317 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14320 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14321 if ${FREETYPE_LIBS:+false} :; then :
14322 if ${PKG_CONFIG+:} false; then :
14323 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14326 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14327 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14328 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14329 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14330 ac_save_CPPFLAGS=$CPPFLAGS
14331 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14332 for ac_header in ft2build.h
14333 do :
14334 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14335 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14336 cat >>confdefs.h <<_ACEOF
14337 #define HAVE_FT2BUILD_H 1
14338 _ACEOF
14342 done
14344 if test "$ac_cv_header_ft2build_h" = "yes"
14345 then
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14347 $as_echo_n "checking for -lfreetype... " >&6; }
14348 if ${ac_cv_lib_soname_freetype+:} false; then :
14349 $as_echo_n "(cached) " >&6
14350 else
14351 ac_check_soname_save_LIBS=$LIBS
14352 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14356 /* Override any GCC internal prototype to avoid an error.
14357 Use char because int might match the return type of a GCC
14358 builtin and then its argument prototype would still apply. */
14359 #ifdef __cplusplus
14360 extern "C"
14361 #endif
14362 char FT_Init_FreeType ();
14364 main ()
14366 return FT_Init_FreeType ();
14368 return 0;
14370 _ACEOF
14371 if ac_fn_c_try_link "$LINENO"; then :
14372 case "$LIBEXT" in
14373 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14374 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'` ;;
14375 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14376 if ${ac_cv_lib_soname_freetype:+false} :; then :
14377 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14378 fi ;;
14379 esac
14380 else
14381 ac_cv_lib_soname_freetype=
14383 rm -f core conftest.err conftest.$ac_objext \
14384 conftest$ac_exeext conftest.$ac_ext
14385 LIBS=$ac_check_soname_save_LIBS
14387 if ${ac_cv_lib_soname_freetype:+false} :; then :
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14389 $as_echo "not found" >&6; }
14390 FREETYPE_LIBS=""
14391 else
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14393 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14395 cat >>confdefs.h <<_ACEOF
14396 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14397 _ACEOF
14400 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14402 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14403 #include FT_MODULE_H
14405 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14407 cat >>confdefs.h <<_ACEOF
14408 #define HAVE_FT_TRUETYPEENGINETYPE 1
14409 _ACEOF
14415 else
14416 FREETYPE_CFLAGS=""
14417 FREETYPE_LIBS=""
14419 CPPFLAGS=$ac_save_CPPFLAGS
14422 if test "x$ac_cv_lib_soname_freetype" = x; then :
14423 case "x$with_freetype" in
14424 xno) ;;
14425 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14426 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14427 esac
14428 enable_fonts=${enable_fonts:-no}
14431 ac_wine_check_funcs_save_LIBS="$LIBS"
14432 LIBS="$LIBS $PTHREAD_LIBS"
14433 for ac_func in \
14434 pthread_getthreadid_np
14435 do :
14436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14439 cat >>confdefs.h <<_ACEOF
14440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14441 _ACEOF
14444 done
14446 LIBS="$ac_wine_check_funcs_save_LIBS"
14448 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14449 then
14450 if test "$ac_cv_header_gettext_po_h" = "yes"
14451 then
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14453 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14454 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14455 $as_echo_n "(cached) " >&6
14456 else
14457 ac_check_lib_save_LIBS=$LIBS
14458 LIBS="-lgettextpo $LIBS"
14459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14462 /* Override any GCC internal prototype to avoid an error.
14463 Use char because int might match the return type of a GCC
14464 builtin and then its argument prototype would still apply. */
14465 #ifdef __cplusplus
14466 extern "C"
14467 #endif
14468 char po_message_msgctxt ();
14470 main ()
14472 return po_message_msgctxt ();
14474 return 0;
14476 _ACEOF
14477 if ac_fn_c_try_link "$LINENO"; then :
14478 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14479 else
14480 ac_cv_lib_gettextpo_po_message_msgctxt=no
14482 rm -f core conftest.err conftest.$ac_objext \
14483 conftest$ac_exeext conftest.$ac_ext
14484 LIBS=$ac_check_lib_save_LIBS
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14487 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14488 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14490 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14492 GETTEXTPO_LIBS="-lgettextpo"
14497 if test "x$GETTEXTPO_LIBS" = "x"; then :
14498 case "x$with_gettextpo" in
14499 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14500 xno) ;;
14501 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14502 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14503 esac
14506 if test "$srcdir" != .; then :
14507 case "x$with_gettextpo" in
14508 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14509 xno) ;;
14510 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14511 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14512 esac
14517 if test "x$with_pulse" != "xno";
14518 then
14519 if ${PULSE_CFLAGS:+false} :; then :
14520 if ${PKG_CONFIG+:} false; then :
14521 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14525 if ${PULSE_LIBS:+false} :; then :
14526 if ${PKG_CONFIG+:} false; then :
14527 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14532 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14533 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14534 ac_save_CPPFLAGS=$CPPFLAGS
14535 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14536 for ac_header in pulse/pulseaudio.h
14537 do :
14538 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14539 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14540 cat >>confdefs.h <<_ACEOF
14541 #define HAVE_PULSE_PULSEAUDIO_H 1
14542 _ACEOF
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14544 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14545 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14546 $as_echo_n "(cached) " >&6
14547 else
14548 ac_check_lib_save_LIBS=$LIBS
14549 LIBS="-lpulse $PULSE_LIBS $LIBS"
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551 /* end confdefs.h. */
14553 /* Override any GCC internal prototype to avoid an error.
14554 Use char because int might match the return type of a GCC
14555 builtin and then its argument prototype would still apply. */
14556 #ifdef __cplusplus
14557 extern "C"
14558 #endif
14559 char pa_stream_is_corked ();
14561 main ()
14563 return pa_stream_is_corked ();
14565 return 0;
14567 _ACEOF
14568 if ac_fn_c_try_link "$LINENO"; then :
14569 ac_cv_lib_pulse_pa_stream_is_corked=yes
14570 else
14571 ac_cv_lib_pulse_pa_stream_is_corked=no
14573 rm -f core conftest.err conftest.$ac_objext \
14574 conftest$ac_exeext conftest.$ac_ext
14575 LIBS=$ac_check_lib_save_LIBS
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14578 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14579 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14581 else
14582 PULSE_LIBS=""
14585 else
14586 PULSE_LIBS=""
14589 done
14591 CPPFLAGS=$ac_save_CPPFLAGS
14594 if test -z "$PULSE_LIBS"; then :
14595 case "x$with_pulse" in
14596 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14597 xno) ;;
14598 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14599 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14600 esac
14601 enable_winepulse_drv=${enable_winepulse_drv:-no}
14604 if test "x$with_gstreamer" != "xno"
14605 then
14606 if ${GSTREAMER_CFLAGS:+false} :; then :
14607 if ${PKG_CONFIG+:} false; then :
14608 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14612 if ${GSTREAMER_LIBS:+false} :; then :
14613 if ${PKG_CONFIG+:} false; then :
14614 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14619 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14620 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14621 ac_save_CPPFLAGS=$CPPFLAGS
14622 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14623 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14624 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14626 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14628 /* end confdefs.h. */
14629 #include <gst/gst.h>
14631 main ()
14633 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14635 return 0;
14637 _ACEOF
14638 if ac_fn_c_try_compile "$LINENO"; then :
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14640 $as_echo "yes" >&6; }
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14642 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14643 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14644 $as_echo_n "(cached) " >&6
14645 else
14646 ac_check_lib_save_LIBS=$LIBS
14647 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14649 /* end confdefs.h. */
14651 /* Override any GCC internal prototype to avoid an error.
14652 Use char because int might match the return type of a GCC
14653 builtin and then its argument prototype would still apply. */
14654 #ifdef __cplusplus
14655 extern "C"
14656 #endif
14657 char gst_pad_new ();
14659 main ()
14661 return gst_pad_new ();
14663 return 0;
14665 _ACEOF
14666 if ac_fn_c_try_link "$LINENO"; then :
14667 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14668 else
14669 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14671 rm -f core conftest.err conftest.$ac_objext \
14672 conftest$ac_exeext conftest.$ac_ext
14673 LIBS=$ac_check_lib_save_LIBS
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14676 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14677 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14681 else
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14683 $as_echo "no" >&6; }
14684 ac_glib2_broken=yes
14685 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14691 CPPFLAGS=$ac_save_CPPFLAGS
14694 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 :
14695 case "x$with_gstreamer" in
14696 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14697 xno) ;;
14698 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14699 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14700 esac
14703 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14705 ALSA_LIBS=""
14707 if test "x$with_alsa" != "xno"
14708 then
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14710 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14711 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14712 $as_echo_n "(cached) " >&6
14713 else
14714 ac_check_lib_save_LIBS=$LIBS
14715 LIBS="-lasound $LIBS"
14716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14717 /* end confdefs.h. */
14719 /* Override any GCC internal prototype to avoid an error.
14720 Use char because int might match the return type of a GCC
14721 builtin and then its argument prototype would still apply. */
14722 #ifdef __cplusplus
14723 extern "C"
14724 #endif
14725 char snd_pcm_hw_params_get_access_mask ();
14727 main ()
14729 return snd_pcm_hw_params_get_access_mask ();
14731 return 0;
14733 _ACEOF
14734 if ac_fn_c_try_link "$LINENO"; then :
14735 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14736 else
14737 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14739 rm -f core conftest.err conftest.$ac_objext \
14740 conftest$ac_exeext conftest.$ac_ext
14741 LIBS=$ac_check_lib_save_LIBS
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14744 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14745 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14747 /* end confdefs.h. */
14748 #include <alsa/asoundlib.h>
14750 main ()
14752 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14754 return 0;
14756 _ACEOF
14757 if ac_fn_c_try_compile "$LINENO"; then :
14758 ALSA_LIBS="-lasound"
14760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14764 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14766 if test "x$with_oss" != xno
14767 then
14768 ac_save_CPPFLAGS="$CPPFLAGS"
14769 if test -f /etc/oss.conf
14770 then
14771 . /etc/oss.conf
14773 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14774 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14775 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14776 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14777 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14779 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14781 cat >>confdefs.h <<_ACEOF
14782 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14783 _ACEOF
14785 OSS4_CFLAGS="$ac_oss_incl"
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14788 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14789 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14790 $as_echo_n "(cached) " >&6
14791 else
14792 ac_check_lib_save_LIBS=$LIBS
14793 LIBS="-lossaudio $LIBS"
14794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14797 /* Override any GCC internal prototype to avoid an error.
14798 Use char because int might match the return type of a GCC
14799 builtin and then its argument prototype would still apply. */
14800 #ifdef __cplusplus
14801 extern "C"
14802 #endif
14803 char _oss_ioctl ();
14805 main ()
14807 return _oss_ioctl ();
14809 return 0;
14811 _ACEOF
14812 if ac_fn_c_try_link "$LINENO"; then :
14813 ac_cv_lib_ossaudio__oss_ioctl=yes
14814 else
14815 ac_cv_lib_ossaudio__oss_ioctl=no
14817 rm -f core conftest.err conftest.$ac_objext \
14818 conftest$ac_exeext conftest.$ac_ext
14819 LIBS=$ac_check_lib_save_LIBS
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14822 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14823 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14824 OSS4_LIBS="-lossaudio"
14833 CPPFLAGS="$ac_save_CPPFLAGS"
14835 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14836 case "x$with_oss" in
14837 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14838 xno) ;;
14839 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14840 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14841 esac
14842 enable_wineoss_drv=${enable_wineoss_drv:-no}
14845 if test "x$with_udev" != "xno"
14846 then
14847 if ${UDEV_CFLAGS:+false} :; then :
14848 if ${PKG_CONFIG+:} false; then :
14849 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14853 if ${UDEV_LIBS:+false} :; then :
14854 if ${PKG_CONFIG+:} false; then :
14855 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14859 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14860 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14861 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14862 ac_save_CPPFLAGS=$CPPFLAGS
14863 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14864 for ac_header in libudev.h
14865 do :
14866 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14867 if test "x$ac_cv_header_libudev_h" = xyes; then :
14868 cat >>confdefs.h <<_ACEOF
14869 #define HAVE_LIBUDEV_H 1
14870 _ACEOF
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14872 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14873 if ${ac_cv_lib_udev_udev_new+:} false; then :
14874 $as_echo_n "(cached) " >&6
14875 else
14876 ac_check_lib_save_LIBS=$LIBS
14877 LIBS="-ludev $UDEV_LIBS $LIBS"
14878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14879 /* end confdefs.h. */
14881 /* Override any GCC internal prototype to avoid an error.
14882 Use char because int might match the return type of a GCC
14883 builtin and then its argument prototype would still apply. */
14884 #ifdef __cplusplus
14885 extern "C"
14886 #endif
14887 char udev_new ();
14889 main ()
14891 return udev_new ();
14893 return 0;
14895 _ACEOF
14896 if ac_fn_c_try_link "$LINENO"; then :
14897 ac_cv_lib_udev_udev_new=yes
14898 else
14899 ac_cv_lib_udev_udev_new=no
14901 rm -f core conftest.err conftest.$ac_objext \
14902 conftest$ac_exeext conftest.$ac_ext
14903 LIBS=$ac_check_lib_save_LIBS
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14906 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14907 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14909 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14911 else
14912 UDEV_LIBS=""
14915 else
14916 UDEV_LIBS=""
14919 done
14921 CPPFLAGS=$ac_save_CPPFLAGS
14924 if test "x$UDEV_LIBS" = "x"; then :
14925 case "x$with_udev" in
14926 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14927 xno) ;;
14928 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14929 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14930 esac
14934 if test "x$with_unwind" != xno
14935 then
14936 if ${UNWIND_CFLAGS:+false} :; then :
14937 if ${PKG_CONFIG+:} false; then :
14938 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14942 if ${UNWIND_LIBS:+false} :; then :
14943 if ${PKG_CONFIG+:} false; then :
14944 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14948 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14949 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14950 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14951 ac_save_CPPFLAGS=$CPPFLAGS
14952 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14954 $as_echo_n "checking for unw_step... " >&6; }
14955 if ${wine_cv_have_unw_step+:} false; then :
14956 $as_echo_n "(cached) " >&6
14957 else
14958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14959 /* end confdefs.h. */
14960 #define UNW_LOCAL_ONLY
14961 #include <libunwind.h>
14963 main ()
14965 unw_cursor_t cursor; unw_step( &cursor );
14967 return 0;
14969 _ACEOF
14970 if ac_fn_c_try_link "$LINENO"; then :
14971 wine_cv_have_unw_step="yes"
14972 else
14973 wine_cv_have_unw_step="no"
14975 rm -f core conftest.err conftest.$ac_objext \
14976 conftest$ac_exeext conftest.$ac_ext
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14979 $as_echo "$wine_cv_have_unw_step" >&6; }
14980 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14981 then
14982 save_libs=$LIBS
14983 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14984 LIBS="$UNWIND_LIBS $LIBS"
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14986 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14987 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14988 $as_echo_n "(cached) " >&6
14989 else
14990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14992 #define UNW_LOCAL_ONLY
14993 #include <libunwind.h>
14995 main ()
14997 unw_cursor_t cursor; unw_step( &cursor );
14999 return 0;
15001 _ACEOF
15002 if ac_fn_c_try_link "$LINENO"; then :
15003 wine_cv_have_libunwind_unw_step="yes"
15004 else
15005 wine_cv_have_libunwind_unw_step="no"
15007 rm -f core conftest.err conftest.$ac_objext \
15008 conftest$ac_exeext conftest.$ac_ext
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15011 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15012 LIBS=$save_libs
15014 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15015 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15016 then
15018 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15021 CPPFLAGS=$ac_save_CPPFLAGS
15024 case $host in
15025 aarch64*|*-darwin*)
15026 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15027 case "x$with_unwind" in
15028 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15029 xno) ;;
15030 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15031 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15032 esac
15034 fi ;;
15035 esac
15037 if test "x$with_sdl" != "xno"
15038 then
15039 if ${SDL2_CFLAGS:+false} :; then :
15040 if ${PKG_CONFIG+:} false; then :
15041 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15045 if ${SDL2_LIBS:+false} :; then :
15046 if ${PKG_CONFIG+:} false; then :
15047 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15051 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15052 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15053 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15054 ac_save_CPPFLAGS=$CPPFLAGS
15055 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15056 for ac_header in SDL.h
15057 do :
15058 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15059 if test "x$ac_cv_header_SDL_h" = xyes; then :
15060 cat >>confdefs.h <<_ACEOF
15061 #define HAVE_SDL_H 1
15062 _ACEOF
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15064 $as_echo_n "checking for -lSDL2... " >&6; }
15065 if ${ac_cv_lib_soname_SDL2+:} false; then :
15066 $as_echo_n "(cached) " >&6
15067 else
15068 ac_check_soname_save_LIBS=$LIBS
15069 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15073 /* Override any GCC internal prototype to avoid an error.
15074 Use char because int might match the return type of a GCC
15075 builtin and then its argument prototype would still apply. */
15076 #ifdef __cplusplus
15077 extern "C"
15078 #endif
15079 char SDL_Init ();
15081 main ()
15083 return SDL_Init ();
15085 return 0;
15087 _ACEOF
15088 if ac_fn_c_try_link "$LINENO"; then :
15089 case "$LIBEXT" in
15090 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15091 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'` ;;
15092 *) 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'`
15093 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15094 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15095 fi ;;
15096 esac
15097 else
15098 ac_cv_lib_soname_SDL2=
15100 rm -f core conftest.err conftest.$ac_objext \
15101 conftest$ac_exeext conftest.$ac_ext
15102 LIBS=$ac_check_soname_save_LIBS
15104 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15106 $as_echo "not found" >&6; }
15108 else
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15110 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15112 cat >>confdefs.h <<_ACEOF
15113 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15114 _ACEOF
15120 done
15122 CPPFLAGS=$ac_save_CPPFLAGS
15125 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15126 case "x$with_sdl" in
15127 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15128 xno) ;;
15129 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15130 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15131 esac
15135 if test "x$with_faudio" != "xno"
15136 then
15137 if ${FAUDIO_CFLAGS:+false} :; then :
15138 if ${PKG_CONFIG+:} false; then :
15139 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15143 if ${FAUDIO_LIBS:+false} :; then :
15144 if ${PKG_CONFIG+:} false; then :
15145 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15149 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15150 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15151 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15152 ac_save_CPPFLAGS=$CPPFLAGS
15153 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15154 for ac_header in FAudio.h
15155 do :
15156 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15157 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15158 cat >>confdefs.h <<_ACEOF
15159 #define HAVE_FAUDIO_H 1
15160 _ACEOF
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15162 $as_echo_n "checking for -lFAudio... " >&6; }
15163 if ${ac_cv_lib_soname_FAudio+:} false; then :
15164 $as_echo_n "(cached) " >&6
15165 else
15166 ac_check_soname_save_LIBS=$LIBS
15167 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15171 /* Override any GCC internal prototype to avoid an error.
15172 Use char because int might match the return type of a GCC
15173 builtin and then its argument prototype would still apply. */
15174 #ifdef __cplusplus
15175 extern "C"
15176 #endif
15177 char FAudioCreate ();
15179 main ()
15181 return FAudioCreate ();
15183 return 0;
15185 _ACEOF
15186 if ac_fn_c_try_link "$LINENO"; then :
15187 case "$LIBEXT" in
15188 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15189 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'` ;;
15190 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15191 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15192 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15193 fi ;;
15194 esac
15195 else
15196 ac_cv_lib_soname_FAudio=
15198 rm -f core conftest.err conftest.$ac_objext \
15199 conftest$ac_exeext conftest.$ac_ext
15200 LIBS=$ac_check_soname_save_LIBS
15202 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15204 $as_echo "not found" >&6; }
15206 else
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15208 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15210 cat >>confdefs.h <<_ACEOF
15211 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15212 _ACEOF
15218 done
15220 ac_wine_check_funcs_save_LIBS="$LIBS"
15221 LIBS="$LIBS $FAUDIO_LIBS"
15222 for ac_func in FAudio_CommitOperationSet \
15223 F3DAudioInitialize8 \
15224 FAudioLinkedVersion \
15225 FAudioCreateReverb9WithCustomAllocatorEXT
15226 do :
15227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15229 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15230 cat >>confdefs.h <<_ACEOF
15231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15232 _ACEOF
15235 done
15237 LIBS="$ac_wine_check_funcs_save_LIBS"
15239 CPPFLAGS=$ac_save_CPPFLAGS
15242 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15243 case "x$with_faudio" in
15244 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15245 xno) ;;
15246 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15247 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15248 esac
15252 if test "x$with_capi" != "xno"
15253 then
15254 if ${CAPI20_CFLAGS:+false} :; then :
15255 if ${PKG_CONFIG+:} false; then :
15256 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15260 if ${CAPI20_LIBS:+false} :; then :
15261 if ${PKG_CONFIG+:} false; then :
15262 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15267 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15268 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15269 ac_save_CPPFLAGS=$CPPFLAGS
15270 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15271 for ac_header in capi20.h linux/capi.h
15272 do :
15273 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15274 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15276 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15277 cat >>confdefs.h <<_ACEOF
15278 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15279 _ACEOF
15283 done
15285 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15286 then
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15288 $as_echo_n "checking for -lcapi20... " >&6; }
15289 if ${ac_cv_lib_soname_capi20+:} false; then :
15290 $as_echo_n "(cached) " >&6
15291 else
15292 ac_check_soname_save_LIBS=$LIBS
15293 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15297 /* Override any GCC internal prototype to avoid an error.
15298 Use char because int might match the return type of a GCC
15299 builtin and then its argument prototype would still apply. */
15300 #ifdef __cplusplus
15301 extern "C"
15302 #endif
15303 char capi20_register ();
15305 main ()
15307 return capi20_register ();
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_link "$LINENO"; then :
15313 case "$LIBEXT" in
15314 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15315 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'` ;;
15316 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15317 if ${ac_cv_lib_soname_capi20:+false} :; then :
15318 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15319 fi ;;
15320 esac
15321 else
15322 ac_cv_lib_soname_capi20=
15324 rm -f core conftest.err conftest.$ac_objext \
15325 conftest$ac_exeext conftest.$ac_ext
15326 LIBS=$ac_check_soname_save_LIBS
15328 if ${ac_cv_lib_soname_capi20:+false} :; then :
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15330 $as_echo "not found" >&6; }
15332 else
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15334 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15336 cat >>confdefs.h <<_ACEOF
15337 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15338 _ACEOF
15343 CPPFLAGS=$ac_save_CPPFLAGS
15346 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15347 case "x$with_capi" in
15348 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15349 xno) ;;
15350 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15351 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15352 esac
15356 if test "x$with_cups" != "xno"
15357 then
15358 if ${CUPS_CFLAGS:+false} :; then :
15359 if ${PKG_CONFIG+:} false; then :
15360 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15363 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15364 if ${CUPS_LIBS:+false} :; then :
15365 if ${PKG_CONFIG+:} false; then :
15366 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15369 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15370 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15371 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15372 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15373 ac_save_CPPFLAGS=$CPPFLAGS
15374 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15375 for ac_header in cups/cups.h cups/ppd.h
15376 do :
15377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15378 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15379 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15380 cat >>confdefs.h <<_ACEOF
15381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15382 _ACEOF
15386 done
15388 if test "$ac_cv_header_cups_cups_h" = "yes"
15389 then
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15391 $as_echo_n "checking for -lcups... " >&6; }
15392 if ${ac_cv_lib_soname_cups+:} false; then :
15393 $as_echo_n "(cached) " >&6
15394 else
15395 ac_check_soname_save_LIBS=$LIBS
15396 LIBS="-lcups $CUPS_LIBS $LIBS"
15397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15398 /* end confdefs.h. */
15400 /* Override any GCC internal prototype to avoid an error.
15401 Use char because int might match the return type of a GCC
15402 builtin and then its argument prototype would still apply. */
15403 #ifdef __cplusplus
15404 extern "C"
15405 #endif
15406 char cupsGetDefault ();
15408 main ()
15410 return cupsGetDefault ();
15412 return 0;
15414 _ACEOF
15415 if ac_fn_c_try_link "$LINENO"; then :
15416 case "$LIBEXT" in
15417 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15418 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'` ;;
15419 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15420 if ${ac_cv_lib_soname_cups:+false} :; then :
15421 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15422 fi ;;
15423 esac
15424 else
15425 ac_cv_lib_soname_cups=
15427 rm -f core conftest.err conftest.$ac_objext \
15428 conftest$ac_exeext conftest.$ac_ext
15429 LIBS=$ac_check_soname_save_LIBS
15431 if ${ac_cv_lib_soname_cups:+false} :; then :
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15433 $as_echo "not found" >&6; }
15434 CUPS_LIBS=""
15435 else
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15437 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15439 cat >>confdefs.h <<_ACEOF
15440 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15441 _ACEOF
15445 else
15446 CUPS_CFLAGS=""
15447 CUPS_LIBS=""
15449 CPPFLAGS=$ac_save_CPPFLAGS
15452 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15453 case "x$with_cups" in
15454 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15455 xno) ;;
15456 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15457 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15458 esac
15462 if test "x$with_fontconfig" != "xno"
15463 then
15464 if ${FONTCONFIG_CFLAGS:+false} :; then :
15465 if ${PKG_CONFIG+:} false; then :
15466 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15469 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15470 if ${FONTCONFIG_LIBS:+false} :; then :
15471 if ${PKG_CONFIG+:} false; then :
15472 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15475 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15477 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15478 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15479 ac_save_CPPFLAGS=$CPPFLAGS
15480 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15481 for ac_header in fontconfig/fontconfig.h
15482 do :
15483 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15484 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15485 cat >>confdefs.h <<_ACEOF
15486 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15487 _ACEOF
15491 done
15493 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15494 then
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15496 $as_echo_n "checking for -lfontconfig... " >&6; }
15497 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15498 $as_echo_n "(cached) " >&6
15499 else
15500 ac_check_soname_save_LIBS=$LIBS
15501 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15503 /* end confdefs.h. */
15505 /* Override any GCC internal prototype to avoid an error.
15506 Use char because int might match the return type of a GCC
15507 builtin and then its argument prototype would still apply. */
15508 #ifdef __cplusplus
15509 extern "C"
15510 #endif
15511 char FcInit ();
15513 main ()
15515 return FcInit ();
15517 return 0;
15519 _ACEOF
15520 if ac_fn_c_try_link "$LINENO"; then :
15521 case "$LIBEXT" in
15522 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15523 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'` ;;
15524 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15525 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15526 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15527 fi ;;
15528 esac
15529 else
15530 ac_cv_lib_soname_fontconfig=
15532 rm -f core conftest.err conftest.$ac_objext \
15533 conftest$ac_exeext conftest.$ac_ext
15534 LIBS=$ac_check_soname_save_LIBS
15536 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15538 $as_echo "not found" >&6; }
15539 FONTCONFIG_CFLAGS=""
15540 else
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15542 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15544 cat >>confdefs.h <<_ACEOF
15545 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15546 _ACEOF
15550 else
15551 FONTCONFIG_CFLAGS=""
15553 CPPFLAGS=$ac_save_CPPFLAGS
15556 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15557 case "x$with_fontconfig" in
15558 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15559 xno) ;;
15560 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15561 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15562 esac
15566 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15567 then
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15569 $as_echo_n "checking for -lgsm... " >&6; }
15570 if ${ac_cv_lib_soname_gsm+:} false; then :
15571 $as_echo_n "(cached) " >&6
15572 else
15573 ac_check_soname_save_LIBS=$LIBS
15574 LIBS="-lgsm $LIBS"
15575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15576 /* end confdefs.h. */
15578 /* Override any GCC internal prototype to avoid an error.
15579 Use char because int might match the return type of a GCC
15580 builtin and then its argument prototype would still apply. */
15581 #ifdef __cplusplus
15582 extern "C"
15583 #endif
15584 char gsm_create ();
15586 main ()
15588 return gsm_create ();
15590 return 0;
15592 _ACEOF
15593 if ac_fn_c_try_link "$LINENO"; then :
15594 case "$LIBEXT" in
15595 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15596 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'` ;;
15597 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15598 if ${ac_cv_lib_soname_gsm:+false} :; then :
15599 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15600 fi ;;
15601 esac
15602 else
15603 ac_cv_lib_soname_gsm=
15605 rm -f core conftest.err conftest.$ac_objext \
15606 conftest$ac_exeext conftest.$ac_ext
15607 LIBS=$ac_check_soname_save_LIBS
15609 if ${ac_cv_lib_soname_gsm:+false} :; then :
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15611 $as_echo "not found" >&6; }
15613 else
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15615 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15617 cat >>confdefs.h <<_ACEOF
15618 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15619 _ACEOF
15624 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15625 case "x$with_gsm" in
15626 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15627 xno) ;;
15628 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15629 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15630 esac
15634 if test "x$with_krb5" != "xno"
15635 then
15636 if ${KRB5_CFLAGS:+false} :; then :
15637 if ${PKG_CONFIG+:} false; then :
15638 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15641 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15642 if ${KRB5_LIBS:+false} :; then :
15643 if ${PKG_CONFIG+:} false; then :
15644 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15647 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15649 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15650 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15651 ac_save_CPPFLAGS=$CPPFLAGS
15652 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15653 for ac_header in krb5/krb5.h
15654 do :
15655 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15656 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15657 cat >>confdefs.h <<_ACEOF
15658 #define HAVE_KRB5_KRB5_H 1
15659 _ACEOF
15663 done
15665 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15666 then
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15668 $as_echo_n "checking for -lkrb5... " >&6; }
15669 if ${ac_cv_lib_soname_krb5+:} false; then :
15670 $as_echo_n "(cached) " >&6
15671 else
15672 ac_check_soname_save_LIBS=$LIBS
15673 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h. */
15677 /* Override any GCC internal prototype to avoid an error.
15678 Use char because int might match the return type of a GCC
15679 builtin and then its argument prototype would still apply. */
15680 #ifdef __cplusplus
15681 extern "C"
15682 #endif
15683 char krb5_is_config_principal ();
15685 main ()
15687 return krb5_is_config_principal ();
15689 return 0;
15691 _ACEOF
15692 if ac_fn_c_try_link "$LINENO"; then :
15693 case "$LIBEXT" in
15694 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15695 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'` ;;
15696 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15697 if ${ac_cv_lib_soname_krb5:+false} :; then :
15698 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15699 fi ;;
15700 esac
15701 else
15702 ac_cv_lib_soname_krb5=
15704 rm -f core conftest.err conftest.$ac_objext \
15705 conftest$ac_exeext conftest.$ac_ext
15706 LIBS=$ac_check_soname_save_LIBS
15708 if ${ac_cv_lib_soname_krb5:+false} :; then :
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15710 $as_echo "not found" >&6; }
15711 KRB5_CFLAGS=""
15712 else
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15714 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15716 cat >>confdefs.h <<_ACEOF
15717 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15718 _ACEOF
15722 else
15723 KRB5_CFLAGS=""
15725 CPPFLAGS=$ac_save_CPPFLAGS
15728 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15729 case "x$with_krb5" in
15730 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15731 xno) ;;
15732 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15733 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15734 esac
15737 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15739 if test "x$with_gssapi" != "xno"
15740 then
15741 if ${GSSAPI_CFLAGS:+false} :; then :
15742 if ${PKG_CONFIG+:} false; then :
15743 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15746 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15747 if ${GSSAPI_LIBS:+false} :; then :
15748 if ${PKG_CONFIG+:} false; then :
15749 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15752 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15754 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15755 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15756 ac_save_CPPFLAGS=$CPPFLAGS
15757 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15758 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15759 do :
15760 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15761 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15762 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15763 cat >>confdefs.h <<_ACEOF
15764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15765 _ACEOF
15769 done
15771 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15772 then
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15774 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15775 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15776 $as_echo_n "(cached) " >&6
15777 else
15778 ac_check_soname_save_LIBS=$LIBS
15779 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15781 /* end confdefs.h. */
15783 /* Override any GCC internal prototype to avoid an error.
15784 Use char because int might match the return type of a GCC
15785 builtin and then its argument prototype would still apply. */
15786 #ifdef __cplusplus
15787 extern "C"
15788 #endif
15789 char gss_init_sec_context ();
15791 main ()
15793 return gss_init_sec_context ();
15795 return 0;
15797 _ACEOF
15798 if ac_fn_c_try_link "$LINENO"; then :
15799 case "$LIBEXT" in
15800 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15801 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'` ;;
15802 *) 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'`
15803 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15804 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15805 fi ;;
15806 esac
15807 else
15808 ac_cv_lib_soname_gssapi_krb5=
15810 rm -f core conftest.err conftest.$ac_objext \
15811 conftest$ac_exeext conftest.$ac_ext
15812 LIBS=$ac_check_soname_save_LIBS
15814 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15816 $as_echo "not found" >&6; }
15817 GSSAPI_CFLAGS=""
15818 else
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15820 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15822 cat >>confdefs.h <<_ACEOF
15823 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15824 _ACEOF
15828 else
15829 GSSAPI_CFLAGS=""
15831 CPPFLAGS=$ac_save_CPPFLAGS
15834 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15835 case "x$with_gssapi" in
15836 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15837 xno) ;;
15838 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15839 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15840 esac
15844 if test "x$with_jpeg" != "xno"
15845 then
15846 if ${JPEG_CFLAGS:+false} :; then :
15847 if ${PKG_CONFIG+:} false; then :
15848 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15852 if ${JPEG_LIBS:+false} :; then :
15853 if ${PKG_CONFIG+:} false; then :
15854 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15859 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15860 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15861 ac_save_CPPFLAGS=$CPPFLAGS
15862 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15863 for ac_header in jpeglib.h
15864 do :
15865 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15866 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15867 cat >>confdefs.h <<_ACEOF
15868 #define HAVE_JPEGLIB_H 1
15869 _ACEOF
15873 done
15875 if test "$ac_cv_header_jpeglib_h" = "yes"
15876 then
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15878 $as_echo_n "checking for -ljpeg... " >&6; }
15879 if ${ac_cv_lib_soname_jpeg+:} false; then :
15880 $as_echo_n "(cached) " >&6
15881 else
15882 ac_check_soname_save_LIBS=$LIBS
15883 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15887 /* Override any GCC internal prototype to avoid an error.
15888 Use char because int might match the return type of a GCC
15889 builtin and then its argument prototype would still apply. */
15890 #ifdef __cplusplus
15891 extern "C"
15892 #endif
15893 char jpeg_start_decompress ();
15895 main ()
15897 return jpeg_start_decompress ();
15899 return 0;
15901 _ACEOF
15902 if ac_fn_c_try_link "$LINENO"; then :
15903 case "$LIBEXT" in
15904 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15905 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'` ;;
15906 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15907 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15908 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15909 fi ;;
15910 esac
15911 else
15912 ac_cv_lib_soname_jpeg=
15914 rm -f core conftest.err conftest.$ac_objext \
15915 conftest$ac_exeext conftest.$ac_ext
15916 LIBS=$ac_check_soname_save_LIBS
15918 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15920 $as_echo "not found" >&6; }
15921 JPEG_CFLAGS=""
15922 else
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15924 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15926 cat >>confdefs.h <<_ACEOF
15927 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15928 _ACEOF
15932 else
15933 JPEG_CFLAGS=""
15935 CPPFLAGS=$ac_save_CPPFLAGS
15938 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15939 case "x$with_jpeg" in
15940 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15941 xno) ;;
15942 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15943 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15944 esac
15948 if test "x$with_jxrlib" != "xno"
15949 then
15950 if ${JXRLIB_CFLAGS:+false} :; then :
15951 if ${PKG_CONFIG+:} false; then :
15952 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15955 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15956 if ${JXRLIB_LIBS:+false} :; then :
15957 if ${PKG_CONFIG+:} false; then :
15958 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15963 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15964 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15965 ac_save_CPPFLAGS=$CPPFLAGS
15966 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15967 for ac_header in JXRGlue.h
15968 do :
15969 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15971 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15972 cat >>confdefs.h <<_ACEOF
15973 #define HAVE_JXRGLUE_H 1
15974 _ACEOF
15978 done
15980 if test "$ac_cv_header_JXRGlue_h" = "yes"
15981 then
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15983 $as_echo_n "checking for -ljxrglue... " >&6; }
15984 if ${ac_cv_lib_soname_jxrglue+:} false; then :
15985 $as_echo_n "(cached) " >&6
15986 else
15987 ac_check_soname_save_LIBS=$LIBS
15988 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
15989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15990 /* end confdefs.h. */
15992 /* Override any GCC internal prototype to avoid an error.
15993 Use char because int might match the return type of a GCC
15994 builtin and then its argument prototype would still apply. */
15995 #ifdef __cplusplus
15996 extern "C"
15997 #endif
15998 char PKImageDecode_Create_WMP ();
16000 main ()
16002 return PKImageDecode_Create_WMP ();
16004 return 0;
16006 _ACEOF
16007 if ac_fn_c_try_link "$LINENO"; then :
16008 case "$LIBEXT" in
16009 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16010 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'` ;;
16011 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16012 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16013 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16014 fi ;;
16015 esac
16016 else
16017 ac_cv_lib_soname_jxrglue=
16019 rm -f core conftest.err conftest.$ac_objext \
16020 conftest$ac_exeext conftest.$ac_ext
16021 LIBS=$ac_check_soname_save_LIBS
16023 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16025 $as_echo "not found" >&6; }
16026 JXRLIB_CFLAGS=""
16027 else
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16029 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16031 cat >>confdefs.h <<_ACEOF
16032 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16033 _ACEOF
16037 else
16038 JXRLIB_CFLAGS=""
16040 CPPFLAGS=$ac_save_CPPFLAGS
16043 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16044 case "x$with_jxrlib" in
16045 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16046 xno) ;;
16047 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16048 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16049 esac
16053 if test "x$with_png" != "xno"
16054 then
16055 if ${PNG_CFLAGS:+false} :; then :
16056 if ${PKG_CONFIG+:} false; then :
16057 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16060 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16061 if ${PNG_LIBS:+false} :; then :
16062 if ${PKG_CONFIG+:} false; then :
16063 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16066 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16068 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16069 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16070 ac_save_CPPFLAGS=$CPPFLAGS
16071 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16072 for ac_header in png.h
16073 do :
16074 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16075 if test "x$ac_cv_header_png_h" = xyes; then :
16076 cat >>confdefs.h <<_ACEOF
16077 #define HAVE_PNG_H 1
16078 _ACEOF
16082 done
16084 if test "$ac_cv_header_png_h" = "yes"
16085 then
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16087 $as_echo_n "checking for -lpng... " >&6; }
16088 if ${ac_cv_lib_soname_png+:} false; then :
16089 $as_echo_n "(cached) " >&6
16090 else
16091 ac_check_soname_save_LIBS=$LIBS
16092 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16096 /* Override any GCC internal prototype to avoid an error.
16097 Use char because int might match the return type of a GCC
16098 builtin and then its argument prototype would still apply. */
16099 #ifdef __cplusplus
16100 extern "C"
16101 #endif
16102 char png_create_read_struct ();
16104 main ()
16106 return png_create_read_struct ();
16108 return 0;
16110 _ACEOF
16111 if ac_fn_c_try_link "$LINENO"; then :
16112 case "$LIBEXT" in
16113 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16114 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'` ;;
16115 *) 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'`
16116 if ${ac_cv_lib_soname_png:+false} :; then :
16117 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16118 fi ;;
16119 esac
16120 else
16121 ac_cv_lib_soname_png=
16123 rm -f core conftest.err conftest.$ac_objext \
16124 conftest$ac_exeext conftest.$ac_ext
16125 LIBS=$ac_check_soname_save_LIBS
16127 if ${ac_cv_lib_soname_png:+false} :; then :
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16129 $as_echo "not found" >&6; }
16130 PNG_CFLAGS=""
16131 else
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16133 $as_echo "$ac_cv_lib_soname_png" >&6; }
16135 cat >>confdefs.h <<_ACEOF
16136 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16137 _ACEOF
16141 else
16142 PNG_CFLAGS=""
16144 CPPFLAGS=$ac_save_CPPFLAGS
16147 if test "x$ac_cv_lib_soname_png" = "x"; then :
16148 case "x$with_png" in
16149 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16150 xno) ;;
16151 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16152 This is an error since --with-png was requested." "$LINENO" 5 ;;
16153 esac
16157 if test "x$with_tiff" != "xno"
16158 then
16159 if ${TIFF_CFLAGS:+false} :; then :
16160 if ${PKG_CONFIG+:} false; then :
16161 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16165 if ${TIFF_LIBS:+false} :; then :
16166 if ${PKG_CONFIG+:} false; then :
16167 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16172 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16173 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16174 ac_save_CPPFLAGS=$CPPFLAGS
16175 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16176 for ac_header in tiffio.h
16177 do :
16178 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16179 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16180 cat >>confdefs.h <<_ACEOF
16181 #define HAVE_TIFFIO_H 1
16182 _ACEOF
16186 done
16188 if test "$ac_cv_header_tiffio_h" = "yes"
16189 then
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16191 $as_echo_n "checking for -ltiff... " >&6; }
16192 if ${ac_cv_lib_soname_tiff+:} false; then :
16193 $as_echo_n "(cached) " >&6
16194 else
16195 ac_check_soname_save_LIBS=$LIBS
16196 LIBS="-ltiff $TIFF_LIBS $LIBS"
16197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16198 /* end confdefs.h. */
16200 /* Override any GCC internal prototype to avoid an error.
16201 Use char because int might match the return type of a GCC
16202 builtin and then its argument prototype would still apply. */
16203 #ifdef __cplusplus
16204 extern "C"
16205 #endif
16206 char TIFFClientOpen ();
16208 main ()
16210 return TIFFClientOpen ();
16212 return 0;
16214 _ACEOF
16215 if ac_fn_c_try_link "$LINENO"; then :
16216 case "$LIBEXT" in
16217 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16218 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'` ;;
16219 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16220 if ${ac_cv_lib_soname_tiff:+false} :; then :
16221 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16222 fi ;;
16223 esac
16224 else
16225 ac_cv_lib_soname_tiff=
16227 rm -f core conftest.err conftest.$ac_objext \
16228 conftest$ac_exeext conftest.$ac_ext
16229 LIBS=$ac_check_soname_save_LIBS
16231 if ${ac_cv_lib_soname_tiff:+false} :; then :
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16233 $as_echo "not found" >&6; }
16235 else
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16237 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16239 cat >>confdefs.h <<_ACEOF
16240 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16241 _ACEOF
16246 CPPFLAGS=$ac_save_CPPFLAGS
16249 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16250 case "x$with_tiff" in
16251 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16252 xno) ;;
16253 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16254 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16255 esac
16259 if test "x$with_mpg123" != "xno"
16260 then
16261 if ${MPG123_CFLAGS:+false} :; then :
16262 if ${PKG_CONFIG+:} false; then :
16263 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16267 if ${MPG123_LIBS:+false} :; then :
16268 if ${PKG_CONFIG+:} false; then :
16269 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16273 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16274 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16275 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16276 ac_save_CPPFLAGS=$CPPFLAGS
16277 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16278 for ac_header in mpg123.h
16279 do :
16280 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16281 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_MPG123_H 1
16284 _ACEOF
16288 done
16290 if test "$ac_cv_header_mpg123_h" = "yes"
16291 then
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16293 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16294 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16295 $as_echo_n "(cached) " >&6
16296 else
16297 ac_check_lib_save_LIBS=$LIBS
16298 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16300 /* end confdefs.h. */
16302 /* Override any GCC internal prototype to avoid an error.
16303 Use char because int might match the return type of a GCC
16304 builtin and then its argument prototype would still apply. */
16305 #ifdef __cplusplus
16306 extern "C"
16307 #endif
16308 char mpg123_feed ();
16310 main ()
16312 return mpg123_feed ();
16314 return 0;
16316 _ACEOF
16317 if ac_fn_c_try_link "$LINENO"; then :
16318 ac_cv_lib_mpg123_mpg123_feed=yes
16319 else
16320 ac_cv_lib_mpg123_mpg123_feed=no
16322 rm -f core conftest.err conftest.$ac_objext \
16323 conftest$ac_exeext conftest.$ac_ext
16324 LIBS=$ac_check_lib_save_LIBS
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16327 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16328 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16330 else
16331 MPG123_LIBS=""
16334 else
16335 MPG123_CFLAGS=""
16336 MPG123_LIBS=""
16338 CPPFLAGS=$ac_save_CPPFLAGS
16341 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16342 case "x$with_mpg123" in
16343 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16344 xno) ;;
16345 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16346 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16347 esac
16348 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16350 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16352 if test "$ac_cv_header_AL_al_h" = "yes"
16353 then
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16355 $as_echo_n "checking for -lopenal... " >&6; }
16356 if ${ac_cv_lib_soname_openal+:} false; then :
16357 $as_echo_n "(cached) " >&6
16358 else
16359 ac_check_soname_save_LIBS=$LIBS
16360 LIBS="-lopenal $LIBS"
16361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16362 /* end confdefs.h. */
16364 /* Override any GCC internal prototype to avoid an error.
16365 Use char because int might match the return type of a GCC
16366 builtin and then its argument prototype would still apply. */
16367 #ifdef __cplusplus
16368 extern "C"
16369 #endif
16370 char alGetSource3i ();
16372 main ()
16374 return alGetSource3i ();
16376 return 0;
16378 _ACEOF
16379 if ac_fn_c_try_link "$LINENO"; then :
16380 case "$LIBEXT" in
16381 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16382 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'` ;;
16383 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16384 if ${ac_cv_lib_soname_openal:+false} :; then :
16385 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16386 fi ;;
16387 esac
16388 else
16389 ac_cv_lib_soname_openal=
16391 rm -f core conftest.err conftest.$ac_objext \
16392 conftest$ac_exeext conftest.$ac_ext
16393 LIBS=$ac_check_soname_save_LIBS
16395 if ${ac_cv_lib_soname_openal:+false} :; then :
16396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16397 $as_echo "not found" >&6; }
16399 else
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16401 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16403 cat >>confdefs.h <<_ACEOF
16404 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16405 _ACEOF
16407 OPENAL_LIBS="-lopenal"
16409 ac_cv_lib_openal=yes
16411 cat >>confdefs.h <<_ACEOF
16412 #define HAVE_OPENAL 1
16413 _ACEOF
16417 if test "x$ac_cv_lib_openal" != xyes; then :
16418 case "x$with_openal" in
16419 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16420 xno) ;;
16421 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16422 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16423 esac
16424 enable_openal32=${enable_openal32:-no}
16427 if test "x$ac_cv_lib_soname_FAudio" = "x"
16428 then
16429 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16430 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16431 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16432 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16433 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16434 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16435 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16436 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16437 enable_xactengine3_0=${enable_xactengine3_0:-no}
16438 enable_xactengine3_1=${enable_xactengine3_1:-no}
16439 enable_xactengine3_2=${enable_xactengine3_2:-no}
16440 enable_xactengine3_3=${enable_xactengine3_3:-no}
16441 enable_xactengine3_4=${enable_xactengine3_4:-no}
16442 enable_xactengine3_5=${enable_xactengine3_5:-no}
16443 enable_xactengine3_6=${enable_xactengine3_6:-no}
16444 enable_xactengine3_7=${enable_xactengine3_7:-no}
16445 enable_xapofx1_1=${enable_xapofx1_1:-no}
16446 enable_xapofx1_2=${enable_xapofx1_2:-no}
16447 enable_xapofx1_3=${enable_xapofx1_3:-no}
16448 enable_xapofx1_4=${enable_xapofx1_4:-no}
16449 enable_xapofx1_5=${enable_xapofx1_5:-no}
16450 enable_xaudio2_0=${enable_xaudio2_0:-no}
16451 enable_xaudio2_1=${enable_xaudio2_1:-no}
16452 enable_xaudio2_2=${enable_xaudio2_2:-no}
16453 enable_xaudio2_3=${enable_xaudio2_3:-no}
16454 enable_xaudio2_4=${enable_xaudio2_4:-no}
16455 enable_xaudio2_5=${enable_xaudio2_5:-no}
16456 enable_xaudio2_6=${enable_xaudio2_6:-no}
16457 enable_xaudio2_7=${enable_xaudio2_7:-no}
16458 enable_xaudio2_8=${enable_xaudio2_8:-no}
16459 enable_xaudio2_9=${enable_xaudio2_9:-no}
16462 if test "$ac_cv_header_kstat_h" = "yes"
16463 then
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16465 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16466 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16467 $as_echo_n "(cached) " >&6
16468 else
16469 ac_check_lib_save_LIBS=$LIBS
16470 LIBS="-lkstat $LIBS"
16471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16472 /* end confdefs.h. */
16474 /* Override any GCC internal prototype to avoid an error.
16475 Use char because int might match the return type of a GCC
16476 builtin and then its argument prototype would still apply. */
16477 #ifdef __cplusplus
16478 extern "C"
16479 #endif
16480 char kstat_open ();
16482 main ()
16484 return kstat_open ();
16486 return 0;
16488 _ACEOF
16489 if ac_fn_c_try_link "$LINENO"; then :
16490 ac_cv_lib_kstat_kstat_open=yes
16491 else
16492 ac_cv_lib_kstat_kstat_open=no
16494 rm -f core conftest.err conftest.$ac_objext \
16495 conftest$ac_exeext conftest.$ac_ext
16496 LIBS=$ac_check_lib_save_LIBS
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16499 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16500 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16502 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16504 KSTAT_LIBS="-lkstat"
16510 if test "$ac_cv_header_libprocstat_h" = "yes"
16511 then
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16513 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16514 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16515 $as_echo_n "(cached) " >&6
16516 else
16517 ac_check_lib_save_LIBS=$LIBS
16518 LIBS="-lprocstat $LIBS"
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16522 /* Override any GCC internal prototype to avoid an error.
16523 Use char because int might match the return type of a GCC
16524 builtin and then its argument prototype would still apply. */
16525 #ifdef __cplusplus
16526 extern "C"
16527 #endif
16528 char procstat_open_sysctl ();
16530 main ()
16532 return procstat_open_sysctl ();
16534 return 0;
16536 _ACEOF
16537 if ac_fn_c_try_link "$LINENO"; then :
16538 ac_cv_lib_procstat_procstat_open_sysctl=yes
16539 else
16540 ac_cv_lib_procstat_procstat_open_sysctl=no
16542 rm -f core conftest.err conftest.$ac_objext \
16543 conftest$ac_exeext conftest.$ac_ext
16544 LIBS=$ac_check_lib_save_LIBS
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16547 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16548 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16550 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16552 PROCSTAT_LIBS="-lprocstat"
16558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16559 $as_echo_n "checking for -lodbc... " >&6; }
16560 if ${ac_cv_lib_soname_odbc+:} false; then :
16561 $as_echo_n "(cached) " >&6
16562 else
16563 ac_check_soname_save_LIBS=$LIBS
16564 LIBS="-lodbc $LIBS"
16565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16566 /* end confdefs.h. */
16568 /* Override any GCC internal prototype to avoid an error.
16569 Use char because int might match the return type of a GCC
16570 builtin and then its argument prototype would still apply. */
16571 #ifdef __cplusplus
16572 extern "C"
16573 #endif
16574 char SQLConnect ();
16576 main ()
16578 return SQLConnect ();
16580 return 0;
16582 _ACEOF
16583 if ac_fn_c_try_link "$LINENO"; then :
16584 case "$LIBEXT" in
16585 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16586 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'` ;;
16587 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16588 if ${ac_cv_lib_soname_odbc:+false} :; then :
16589 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16590 fi ;;
16591 esac
16592 else
16593 ac_cv_lib_soname_odbc=
16595 rm -f core conftest.err conftest.$ac_objext \
16596 conftest$ac_exeext conftest.$ac_ext
16597 LIBS=$ac_check_soname_save_LIBS
16599 if ${ac_cv_lib_soname_odbc:+false} :; then :
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16601 $as_echo "not found" >&6; }
16602 cat >>confdefs.h <<_ACEOF
16603 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16604 _ACEOF
16606 else
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16608 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16610 cat >>confdefs.h <<_ACEOF
16611 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16612 _ACEOF
16617 if test "x$with_netapi" != "xno"
16618 then
16619 if ${NETAPI_CFLAGS:+false} :; then :
16620 if ${PKG_CONFIG+:} false; then :
16621 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16625 if ${NETAPI_LIBS:+false} :; then :
16626 if ${PKG_CONFIG+:} false; then :
16627 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16632 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16633 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16634 ac_save_CPPFLAGS=$CPPFLAGS
16635 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16637 $as_echo_n "checking for -lnetapi... " >&6; }
16638 if ${ac_cv_lib_soname_netapi+:} false; then :
16639 $as_echo_n "(cached) " >&6
16640 else
16641 ac_check_soname_save_LIBS=$LIBS
16642 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16644 /* end confdefs.h. */
16646 /* Override any GCC internal prototype to avoid an error.
16647 Use char because int might match the return type of a GCC
16648 builtin and then its argument prototype would still apply. */
16649 #ifdef __cplusplus
16650 extern "C"
16651 #endif
16652 char libnetapi_init ();
16654 main ()
16656 return libnetapi_init ();
16658 return 0;
16660 _ACEOF
16661 if ac_fn_c_try_link "$LINENO"; then :
16662 case "$LIBEXT" in
16663 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16664 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'` ;;
16665 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16666 if ${ac_cv_lib_soname_netapi:+false} :; then :
16667 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16668 fi ;;
16669 esac
16670 else
16671 ac_cv_lib_soname_netapi=
16673 rm -f core conftest.err conftest.$ac_objext \
16674 conftest$ac_exeext conftest.$ac_ext
16675 LIBS=$ac_check_soname_save_LIBS
16677 if ${ac_cv_lib_soname_netapi:+false} :; then :
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16679 $as_echo "not found" >&6; }
16680 cat >>confdefs.h <<_ACEOF
16681 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16682 _ACEOF
16684 else
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16686 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16688 cat >>confdefs.h <<_ACEOF
16689 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16690 _ACEOF
16694 CPPFLAGS=$ac_save_CPPFLAGS
16698 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16699 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16700 then
16701 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16704 if test "x$with_vulkan" != "xno"
16705 then
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16707 $as_echo_n "checking for -lvulkan... " >&6; }
16708 if ${ac_cv_lib_soname_vulkan+:} false; then :
16709 $as_echo_n "(cached) " >&6
16710 else
16711 ac_check_soname_save_LIBS=$LIBS
16712 LIBS="-lvulkan $LIBS"
16713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16714 /* end confdefs.h. */
16716 /* Override any GCC internal prototype to avoid an error.
16717 Use char because int might match the return type of a GCC
16718 builtin and then its argument prototype would still apply. */
16719 #ifdef __cplusplus
16720 extern "C"
16721 #endif
16722 char vkGetInstanceProcAddr ();
16724 main ()
16726 return vkGetInstanceProcAddr ();
16728 return 0;
16730 _ACEOF
16731 if ac_fn_c_try_link "$LINENO"; then :
16732 case "$LIBEXT" in
16733 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16734 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'` ;;
16735 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16736 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16737 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16738 fi ;;
16739 esac
16740 else
16741 ac_cv_lib_soname_vulkan=
16743 rm -f core conftest.err conftest.$ac_objext \
16744 conftest$ac_exeext conftest.$ac_ext
16745 LIBS=$ac_check_soname_save_LIBS
16747 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16749 $as_echo "not found" >&6; }
16751 else
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16753 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16755 cat >>confdefs.h <<_ACEOF
16756 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16757 _ACEOF
16761 if test "x$ac_cv_lib_soname_vulkan" = "x"
16762 then
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16764 $as_echo_n "checking for -lMoltenVK... " >&6; }
16765 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16766 $as_echo_n "(cached) " >&6
16767 else
16768 ac_check_soname_save_LIBS=$LIBS
16769 LIBS="-lMoltenVK $LIBS"
16770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16771 /* end confdefs.h. */
16773 /* Override any GCC internal prototype to avoid an error.
16774 Use char because int might match the return type of a GCC
16775 builtin and then its argument prototype would still apply. */
16776 #ifdef __cplusplus
16777 extern "C"
16778 #endif
16779 char vkGetInstanceProcAddr ();
16781 main ()
16783 return vkGetInstanceProcAddr ();
16785 return 0;
16787 _ACEOF
16788 if ac_fn_c_try_link "$LINENO"; then :
16789 case "$LIBEXT" in
16790 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16791 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'` ;;
16792 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16793 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16794 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16795 fi ;;
16796 esac
16797 else
16798 ac_cv_lib_soname_MoltenVK=
16800 rm -f core conftest.err conftest.$ac_objext \
16801 conftest$ac_exeext conftest.$ac_ext
16802 LIBS=$ac_check_soname_save_LIBS
16804 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16806 $as_echo "not found" >&6; }
16808 else
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16810 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16812 cat >>confdefs.h <<_ACEOF
16813 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16814 _ACEOF
16820 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16821 case "x$with_vulkan" in
16822 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16823 xno) ;;
16824 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16825 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16826 esac
16830 if test "x$with_vkd3d" != "xno"
16831 then
16832 if ${VKD3D_CFLAGS:+false} :; then :
16833 if ${PKG_CONFIG+:} false; then :
16834 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16838 if ${VKD3D_LIBS:+false} :; then :
16839 if ${PKG_CONFIG+:} false; then :
16840 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16845 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16846 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16847 ac_save_CPPFLAGS=$CPPFLAGS
16848 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16850 $as_echo_n "checking for -lvkd3d... " >&6; }
16851 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16852 $as_echo_n "(cached) " >&6
16853 else
16854 ac_check_soname_save_LIBS=$LIBS
16855 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16859 /* Override any GCC internal prototype to avoid an error.
16860 Use char because int might match the return type of a GCC
16861 builtin and then its argument prototype would still apply. */
16862 #ifdef __cplusplus
16863 extern "C"
16864 #endif
16865 char vkd3d_serialize_versioned_root_signature ();
16867 main ()
16869 return vkd3d_serialize_versioned_root_signature ();
16871 return 0;
16873 _ACEOF
16874 if ac_fn_c_try_link "$LINENO"; then :
16875 case "$LIBEXT" in
16876 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16877 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'` ;;
16878 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16879 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16880 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16881 fi ;;
16882 esac
16883 else
16884 ac_cv_lib_soname_vkd3d=
16886 rm -f core conftest.err conftest.$ac_objext \
16887 conftest$ac_exeext conftest.$ac_ext
16888 LIBS=$ac_check_soname_save_LIBS
16890 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16892 $as_echo "not found" >&6; }
16894 else
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16896 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16898 cat >>confdefs.h <<_ACEOF
16899 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16900 _ACEOF
16904 CPPFLAGS=$ac_save_CPPFLAGS
16906 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16907 if ${PKG_CONFIG+:} false; then :
16908 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16912 if ${VKD3D_SHADER_LIBS:+false} :; then :
16913 if ${PKG_CONFIG+:} false; then :
16914 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16919 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16920 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16921 ac_save_CPPFLAGS=$CPPFLAGS
16922 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16924 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16925 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16926 $as_echo_n "(cached) " >&6
16927 else
16928 ac_check_soname_save_LIBS=$LIBS
16929 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16931 /* end confdefs.h. */
16933 /* Override any GCC internal prototype to avoid an error.
16934 Use char because int might match the return type of a GCC
16935 builtin and then its argument prototype would still apply. */
16936 #ifdef __cplusplus
16937 extern "C"
16938 #endif
16939 char vkd3d_shader_compile ();
16941 main ()
16943 return vkd3d_shader_compile ();
16945 return 0;
16947 _ACEOF
16948 if ac_fn_c_try_link "$LINENO"; then :
16949 case "$LIBEXT" in
16950 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16951 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'` ;;
16952 *) 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'`
16953 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16954 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16955 fi ;;
16956 esac
16957 else
16958 ac_cv_lib_soname_vkd3d_shader=
16960 rm -f core conftest.err conftest.$ac_objext \
16961 conftest$ac_exeext conftest.$ac_ext
16962 LIBS=$ac_check_soname_save_LIBS
16964 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16966 $as_echo "not found" >&6; }
16968 else
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16970 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16972 cat >>confdefs.h <<_ACEOF
16973 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16974 _ACEOF
16978 CPPFLAGS=$ac_save_CPPFLAGS
16981 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16982 case "x$with_vkd3d" in
16983 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16984 xno) ;;
16985 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16986 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16987 esac
16990 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16993 EXTRACFLAGS=""
16995 if test "x${GCC}" = "xyes"
16996 then
16997 EXTRACFLAGS="-Wall -pipe"
16999 saved_CFLAGS=$CFLAGS
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17001 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17002 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17003 $as_echo_n "(cached) " >&6
17004 else
17005 ac_wine_try_cflags_saved=$CFLAGS
17006 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17009 int main(int argc, char **argv) { return 0; }
17010 _ACEOF
17011 if ac_fn_c_try_link "$LINENO"; then :
17012 ac_cv_cflags__Werror_unknown_warning_option=yes
17013 else
17014 ac_cv_cflags__Werror_unknown_warning_option=no
17016 rm -f core conftest.err conftest.$ac_objext \
17017 conftest$ac_exeext conftest.$ac_ext
17018 CFLAGS=$ac_wine_try_cflags_saved
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17021 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17022 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17023 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17026 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17027 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17028 $as_echo_n "(cached) " >&6
17029 else
17030 ac_wine_try_cflags_saved=$CFLAGS
17031 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17034 int main(int argc, char **argv) { return 0; }
17035 _ACEOF
17036 if ac_fn_c_try_link "$LINENO"; then :
17037 ac_cv_cflags__Werror_unused_command_line_argument=yes
17038 else
17039 ac_cv_cflags__Werror_unused_command_line_argument=no
17041 rm -f core conftest.err conftest.$ac_objext \
17042 conftest$ac_exeext conftest.$ac_ext
17043 CFLAGS=$ac_wine_try_cflags_saved
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17046 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17047 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17048 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17051 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17052 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17053 $as_echo_n "(cached) " >&6
17054 else
17055 ac_wine_try_cflags_saved=$CFLAGS
17056 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17058 /* end confdefs.h. */
17059 int main(int argc, char **argv) { return 0; }
17060 _ACEOF
17061 if ac_fn_c_try_link "$LINENO"; then :
17062 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17063 else
17064 ac_cv_cflags__Werror_ignored_optimization_argument=no
17066 rm -f core conftest.err conftest.$ac_objext \
17067 conftest$ac_exeext conftest.$ac_ext
17068 CFLAGS=$ac_wine_try_cflags_saved
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17071 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17072 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17073 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17076 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17077 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17078 $as_echo_n "(cached) " >&6
17079 else
17080 ac_wine_try_cflags_saved=$CFLAGS
17081 CFLAGS="$CFLAGS -fcf-protection=none"
17082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17083 /* end confdefs.h. */
17084 int main(int argc, char **argv) { return 0; }
17085 _ACEOF
17086 if ac_fn_c_try_link "$LINENO"; then :
17087 ac_cv_cflags__fcf_protection_none=yes
17088 else
17089 ac_cv_cflags__fcf_protection_none=no
17091 rm -f core conftest.err conftest.$ac_objext \
17092 conftest$ac_exeext conftest.$ac_ext
17093 CFLAGS=$ac_wine_try_cflags_saved
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17096 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17097 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17098 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17101 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17102 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17103 $as_echo_n "(cached) " >&6
17104 else
17105 ac_wine_try_cflags_saved=$CFLAGS
17106 CFLAGS="$CFLAGS -fno-stack-protector"
17107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17108 /* end confdefs.h. */
17109 int main(int argc, char **argv) { return 0; }
17110 _ACEOF
17111 if ac_fn_c_try_link "$LINENO"; then :
17112 ac_cv_cflags__fno_stack_protector=yes
17113 else
17114 ac_cv_cflags__fno_stack_protector=no
17116 rm -f core conftest.err conftest.$ac_objext \
17117 conftest$ac_exeext conftest.$ac_ext
17118 CFLAGS=$ac_wine_try_cflags_saved
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17121 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17122 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17123 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17126 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17127 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17128 $as_echo_n "(cached) " >&6
17129 else
17130 ac_wine_try_cflags_saved=$CFLAGS
17131 CFLAGS="$CFLAGS -fno-strict-aliasing"
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 int main(int argc, char **argv) { return 0; }
17135 _ACEOF
17136 if ac_fn_c_try_link "$LINENO"; then :
17137 ac_cv_cflags__fno_strict_aliasing=yes
17138 else
17139 ac_cv_cflags__fno_strict_aliasing=no
17141 rm -f core conftest.err conftest.$ac_objext \
17142 conftest$ac_exeext conftest.$ac_ext
17143 CFLAGS=$ac_wine_try_cflags_saved
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17146 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17147 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17148 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17151 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17152 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17153 $as_echo_n "(cached) " >&6
17154 else
17155 ac_wine_try_cflags_saved=$CFLAGS
17156 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17158 /* end confdefs.h. */
17159 int main(int argc, char **argv) { return 0; }
17160 _ACEOF
17161 if ac_fn_c_try_link "$LINENO"; then :
17162 ac_cv_cflags__Wdeclaration_after_statement=yes
17163 else
17164 ac_cv_cflags__Wdeclaration_after_statement=no
17166 rm -f core conftest.err conftest.$ac_objext \
17167 conftest$ac_exeext conftest.$ac_ext
17168 CFLAGS=$ac_wine_try_cflags_saved
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17171 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17172 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17173 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17176 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17177 if ${ac_cv_cflags__Wempty_body+:} false; then :
17178 $as_echo_n "(cached) " >&6
17179 else
17180 ac_wine_try_cflags_saved=$CFLAGS
17181 CFLAGS="$CFLAGS -Wempty-body"
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 int main(int argc, char **argv) { return 0; }
17185 _ACEOF
17186 if ac_fn_c_try_link "$LINENO"; then :
17187 ac_cv_cflags__Wempty_body=yes
17188 else
17189 ac_cv_cflags__Wempty_body=no
17191 rm -f core conftest.err conftest.$ac_objext \
17192 conftest$ac_exeext conftest.$ac_ext
17193 CFLAGS=$ac_wine_try_cflags_saved
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17196 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17197 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17198 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17201 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17202 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17203 $as_echo_n "(cached) " >&6
17204 else
17205 ac_wine_try_cflags_saved=$CFLAGS
17206 CFLAGS="$CFLAGS -Wignored-qualifiers"
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209 int main(int argc, char **argv) { return 0; }
17210 _ACEOF
17211 if ac_fn_c_try_link "$LINENO"; then :
17212 ac_cv_cflags__Wignored_qualifiers=yes
17213 else
17214 ac_cv_cflags__Wignored_qualifiers=no
17216 rm -f core conftest.err conftest.$ac_objext \
17217 conftest$ac_exeext conftest.$ac_ext
17218 CFLAGS=$ac_wine_try_cflags_saved
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17221 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17222 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17223 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17226 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17227 if ${ac_cv_cflags__Winit_self+:} false; then :
17228 $as_echo_n "(cached) " >&6
17229 else
17230 ac_wine_try_cflags_saved=$CFLAGS
17231 CFLAGS="$CFLAGS -Winit-self"
17232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17233 /* end confdefs.h. */
17234 int main(int argc, char **argv) { return 0; }
17235 _ACEOF
17236 if ac_fn_c_try_link "$LINENO"; then :
17237 ac_cv_cflags__Winit_self=yes
17238 else
17239 ac_cv_cflags__Winit_self=no
17241 rm -f core conftest.err conftest.$ac_objext \
17242 conftest$ac_exeext conftest.$ac_ext
17243 CFLAGS=$ac_wine_try_cflags_saved
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17246 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17247 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17248 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17251 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17252 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17255 ac_wine_try_cflags_saved=$CFLAGS
17256 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17259 int main(int argc, char **argv) { return 0; }
17260 _ACEOF
17261 if ac_fn_c_try_link "$LINENO"; then :
17262 ac_cv_cflags__Wpacked_not_aligned=yes
17263 else
17264 ac_cv_cflags__Wpacked_not_aligned=no
17266 rm -f core conftest.err conftest.$ac_objext \
17267 conftest$ac_exeext conftest.$ac_ext
17268 CFLAGS=$ac_wine_try_cflags_saved
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17271 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17272 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17273 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17276 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17277 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17278 $as_echo_n "(cached) " >&6
17279 else
17280 ac_wine_try_cflags_saved=$CFLAGS
17281 CFLAGS="$CFLAGS -Wpragma-pack"
17282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17283 /* end confdefs.h. */
17284 int main(int argc, char **argv) { return 0; }
17285 _ACEOF
17286 if ac_fn_c_try_link "$LINENO"; then :
17287 ac_cv_cflags__Wpragma_pack=yes
17288 else
17289 ac_cv_cflags__Wpragma_pack=no
17291 rm -f core conftest.err conftest.$ac_objext \
17292 conftest$ac_exeext conftest.$ac_ext
17293 CFLAGS=$ac_wine_try_cflags_saved
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17296 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17297 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17298 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17301 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17302 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17303 $as_echo_n "(cached) " >&6
17304 else
17305 ac_wine_try_cflags_saved=$CFLAGS
17306 CFLAGS="$CFLAGS -Wshift-overflow=2"
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309 int main(int argc, char **argv) { return 0; }
17310 _ACEOF
17311 if ac_fn_c_try_link "$LINENO"; then :
17312 ac_cv_cflags__Wshift_overflow_2=yes
17313 else
17314 ac_cv_cflags__Wshift_overflow_2=no
17316 rm -f core conftest.err conftest.$ac_objext \
17317 conftest$ac_exeext conftest.$ac_ext
17318 CFLAGS=$ac_wine_try_cflags_saved
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17321 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17322 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17323 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17326 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17327 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17328 $as_echo_n "(cached) " >&6
17329 else
17330 ac_wine_try_cflags_saved=$CFLAGS
17331 CFLAGS="$CFLAGS -Wstrict-prototypes"
17332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17334 int main(int argc, char **argv) { return 0; }
17335 _ACEOF
17336 if ac_fn_c_try_link "$LINENO"; then :
17337 ac_cv_cflags__Wstrict_prototypes=yes
17338 else
17339 ac_cv_cflags__Wstrict_prototypes=no
17341 rm -f core conftest.err conftest.$ac_objext \
17342 conftest$ac_exeext conftest.$ac_ext
17343 CFLAGS=$ac_wine_try_cflags_saved
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17346 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17347 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17348 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17351 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17352 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17353 $as_echo_n "(cached) " >&6
17354 else
17355 ac_wine_try_cflags_saved=$CFLAGS
17356 CFLAGS="$CFLAGS -Wtype-limits"
17357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17359 int main(int argc, char **argv) { return 0; }
17360 _ACEOF
17361 if ac_fn_c_try_link "$LINENO"; then :
17362 ac_cv_cflags__Wtype_limits=yes
17363 else
17364 ac_cv_cflags__Wtype_limits=no
17366 rm -f core conftest.err conftest.$ac_objext \
17367 conftest$ac_exeext conftest.$ac_ext
17368 CFLAGS=$ac_wine_try_cflags_saved
17370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17371 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17372 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17373 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17376 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17377 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17378 $as_echo_n "(cached) " >&6
17379 else
17380 ac_wine_try_cflags_saved=$CFLAGS
17381 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17383 /* end confdefs.h. */
17384 int main(int argc, char **argv) { return 0; }
17385 _ACEOF
17386 if ac_fn_c_try_link "$LINENO"; then :
17387 ac_cv_cflags__Wunused_but_set_parameter=yes
17388 else
17389 ac_cv_cflags__Wunused_but_set_parameter=no
17391 rm -f core conftest.err conftest.$ac_objext \
17392 conftest$ac_exeext conftest.$ac_ext
17393 CFLAGS=$ac_wine_try_cflags_saved
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17396 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17397 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17398 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17401 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17402 if ${ac_cv_cflags__Wvla+:} false; then :
17403 $as_echo_n "(cached) " >&6
17404 else
17405 ac_wine_try_cflags_saved=$CFLAGS
17406 CFLAGS="$CFLAGS -Wvla"
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 int main(int argc, char **argv) { return 0; }
17410 _ACEOF
17411 if ac_fn_c_try_link "$LINENO"; then :
17412 ac_cv_cflags__Wvla=yes
17413 else
17414 ac_cv_cflags__Wvla=no
17416 rm -f core conftest.err conftest.$ac_objext \
17417 conftest$ac_exeext conftest.$ac_ext
17418 CFLAGS=$ac_wine_try_cflags_saved
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17421 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17422 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17423 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17426 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17427 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17428 $as_echo_n "(cached) " >&6
17429 else
17430 ac_wine_try_cflags_saved=$CFLAGS
17431 CFLAGS="$CFLAGS -Wwrite-strings"
17432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17434 int main(int argc, char **argv) { return 0; }
17435 _ACEOF
17436 if ac_fn_c_try_link "$LINENO"; then :
17437 ac_cv_cflags__Wwrite_strings=yes
17438 else
17439 ac_cv_cflags__Wwrite_strings=no
17441 rm -f core conftest.err conftest.$ac_objext \
17442 conftest$ac_exeext conftest.$ac_ext
17443 CFLAGS=$ac_wine_try_cflags_saved
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17446 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17447 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17448 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17451 if test -z "$CROSSTARGET"
17452 then
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17454 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17455 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17456 $as_echo_n "(cached) " >&6
17457 else
17458 ac_wine_try_cflags_saved=$CFLAGS
17459 CFLAGS="$CFLAGS -fexcess-precision=standard"
17460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17461 /* end confdefs.h. */
17462 int main(int argc, char **argv) { return 0; }
17463 _ACEOF
17464 if ac_fn_c_try_link "$LINENO"; then :
17465 ac_cv_cflags__fexcess_precision_standard=yes
17466 else
17467 ac_cv_cflags__fexcess_precision_standard=no
17469 rm -f core conftest.err conftest.$ac_objext \
17470 conftest$ac_exeext conftest.$ac_ext
17471 CFLAGS=$ac_wine_try_cflags_saved
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17474 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17475 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17476 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17482 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17483 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17484 $as_echo_n "(cached) " >&6
17485 else
17486 ac_wine_try_cflags_saved=$CFLAGS
17487 CFLAGS="$CFLAGS -Wpointer-arith"
17488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 int main(int argc, char **argv) { return 0; }
17491 _ACEOF
17492 if ac_fn_c_try_link "$LINENO"; then :
17493 ac_cv_cflags__Wpointer_arith=yes
17494 else
17495 ac_cv_cflags__Wpointer_arith=no
17497 rm -f core conftest.err conftest.$ac_objext \
17498 conftest$ac_exeext conftest.$ac_ext
17499 CFLAGS=$ac_wine_try_cflags_saved
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17502 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17503 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17504 saved_string_h_CFLAGS=$CFLAGS
17505 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17507 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17508 if ${ac_cv_c_string_h_warnings+:} false; then :
17509 $as_echo_n "(cached) " >&6
17510 else
17511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512 /* end confdefs.h. */
17513 #include <string.h>
17515 main ()
17519 return 0;
17521 _ACEOF
17522 if ac_fn_c_try_compile "$LINENO"; then :
17523 ac_cv_c_string_h_warnings=no
17524 else
17525 ac_cv_c_string_h_warnings=yes
17527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17530 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17531 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17532 CFLAGS=$saved_string_h_CFLAGS
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17536 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17537 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17538 $as_echo_n "(cached) " >&6
17539 else
17540 ac_wine_try_cflags_saved=$CFLAGS
17541 CFLAGS="$CFLAGS -Wlogical-op"
17542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17543 /* end confdefs.h. */
17544 int main(int argc, char **argv) { return 0; }
17545 _ACEOF
17546 if ac_fn_c_try_link "$LINENO"; then :
17547 ac_cv_cflags__Wlogical_op=yes
17548 else
17549 ac_cv_cflags__Wlogical_op=no
17551 rm -f core conftest.err conftest.$ac_objext \
17552 conftest$ac_exeext conftest.$ac_ext
17553 CFLAGS=$ac_wine_try_cflags_saved
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17556 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17557 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17558 saved_string_h_CFLAGS=$CFLAGS
17559 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17561 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17562 if ${ac_cv_c_logicalop_noisy+:} false; then :
17563 $as_echo_n "(cached) " >&6
17564 else
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h. */
17567 #include <string.h>
17568 char*f(const char *h,char n) {return strchr(h,n);}
17570 main ()
17574 return 0;
17576 _ACEOF
17577 if ac_fn_c_try_compile "$LINENO"; then :
17578 ac_cv_c_logicalop_noisy=no
17579 else
17580 ac_cv_c_logicalop_noisy=yes
17582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17585 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17586 CFLAGS=$saved_string_h_CFLAGS
17587 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17591 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17592 if ${wine_cv_64bit_compare_swap+:} false; then :
17593 $as_echo_n "(cached) " >&6
17594 else
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17597 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17598 #error no
17599 #endif
17601 main ()
17605 return 0;
17607 _ACEOF
17608 if ac_fn_c_try_compile "$LINENO"; then :
17609 wine_cv_64bit_compare_swap="none needed"
17610 else
17611 case $host_cpu in
17612 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17613 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17614 *) wine_cv_64bit_compare_swap="unknown" ;;
17615 esac
17616 if test "x$wine_cv_64bit_compare_swap" != xunknown
17617 then
17618 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17622 #error no
17623 #endif
17625 main ()
17629 return 0;
17631 _ACEOF
17632 if ac_fn_c_try_compile "$LINENO"; then :
17634 else
17635 wine_cv_64bit_compare_swap="unknown"
17637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17638 CFLAGS=$saved_CFLAGS
17641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17644 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17645 case "$wine_cv_64bit_compare_swap" in
17646 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17647 "none needed") ;;
17648 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17649 esac
17651 for ac_flag in $CFLAGS; do
17652 case $ac_flag in
17653 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17654 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17655 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17656 $as_echo_n "(cached) " >&6
17657 else
17658 ac_wine_try_cflags_saved=$CFLAGS
17659 CFLAGS="$CFLAGS -gdwarf-2"
17660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17661 /* end confdefs.h. */
17662 int main(int argc, char **argv) { return 0; }
17663 _ACEOF
17664 if ac_fn_c_try_link "$LINENO"; then :
17665 ac_cv_cflags__gdwarf_2=yes
17666 else
17667 ac_cv_cflags__gdwarf_2=no
17669 rm -f core conftest.err conftest.$ac_objext \
17670 conftest$ac_exeext conftest.$ac_ext
17671 CFLAGS=$ac_wine_try_cflags_saved
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17674 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17675 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17676 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17679 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17680 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17681 $as_echo_n "(cached) " >&6
17682 else
17683 ac_wine_try_cflags_saved=$CFLAGS
17684 CFLAGS="$CFLAGS -gstrict-dwarf"
17685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17687 int main(int argc, char **argv) { return 0; }
17688 _ACEOF
17689 if ac_fn_c_try_link "$LINENO"; then :
17690 ac_cv_cflags__gstrict_dwarf=yes
17691 else
17692 ac_cv_cflags__gstrict_dwarf=no
17694 rm -f core conftest.err conftest.$ac_objext \
17695 conftest$ac_exeext conftest.$ac_ext
17696 CFLAGS=$ac_wine_try_cflags_saved
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17699 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17700 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17701 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17702 fi ;;
17703 esac
17704 done
17706 MSVCRTFLAGS=""
17708 case $host_os in
17709 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17710 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17711 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17712 $as_echo_n "(cached) " >&6
17713 else
17714 ac_wine_try_cflags_saved=$CFLAGS
17715 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17717 /* end confdefs.h. */
17718 int main(int argc, char **argv) { return 0; }
17719 _ACEOF
17720 if ac_fn_c_try_link "$LINENO"; then :
17721 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17722 else
17723 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17725 rm -f core conftest.err conftest.$ac_objext \
17726 conftest$ac_exeext conftest.$ac_ext
17727 CFLAGS=$ac_wine_try_cflags_saved
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17730 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17731 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17732 DELAYLOADFLAG="-Wl,-delayload,"
17734 fi ;;
17735 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17736 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17737 if ${ac_cv_cflags__fno_builtin+:} false; then :
17738 $as_echo_n "(cached) " >&6
17739 else
17740 ac_wine_try_cflags_saved=$CFLAGS
17741 CFLAGS="$CFLAGS -fno-builtin"
17742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17743 /* end confdefs.h. */
17744 int main(int argc, char **argv) { return 0; }
17745 _ACEOF
17746 if ac_fn_c_try_link "$LINENO"; then :
17747 ac_cv_cflags__fno_builtin=yes
17748 else
17749 ac_cv_cflags__fno_builtin=no
17751 rm -f core conftest.err conftest.$ac_objext \
17752 conftest$ac_exeext conftest.$ac_ext
17753 CFLAGS=$ac_wine_try_cflags_saved
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17756 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17757 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17758 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17761 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17762 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17763 $as_echo_n "(cached) " >&6
17764 else
17765 ac_wine_try_cflags_saved=$CFLAGS
17766 CFLAGS="$CFLAGS -fshort-wchar"
17767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h. */
17769 int main(int argc, char **argv) { return 0; }
17770 _ACEOF
17771 if ac_fn_c_try_link "$LINENO"; then :
17772 ac_cv_cflags__fshort_wchar=yes
17773 else
17774 ac_cv_cflags__fshort_wchar=no
17776 rm -f core conftest.err conftest.$ac_objext \
17777 conftest$ac_exeext conftest.$ac_ext
17778 CFLAGS=$ac_wine_try_cflags_saved
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17781 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17782 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17783 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17784 fi ;;
17785 esac
17787 case $host_cpu in
17788 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17789 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17790 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17791 $as_echo_n "(cached) " >&6
17792 else
17793 ac_wine_try_cflags_saved=$CFLAGS
17794 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797 int main(int argc, char **argv) { return 0; }
17798 _ACEOF
17799 if ac_fn_c_try_link "$LINENO"; then :
17800 ac_cv_cflags__fno_omit_frame_pointer=yes
17801 else
17802 ac_cv_cflags__fno_omit_frame_pointer=no
17804 rm -f core conftest.err conftest.$ac_objext \
17805 conftest$ac_exeext conftest.$ac_ext
17806 CFLAGS=$ac_wine_try_cflags_saved
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17809 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17810 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17811 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17812 fi ;;
17813 *x86_64*)
17814 case $host_os in
17815 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17816 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17817 if ${ac_cv_cflags__Wno_format+:} false; then :
17818 $as_echo_n "(cached) " >&6
17819 else
17820 ac_wine_try_cflags_saved=$CFLAGS
17821 CFLAGS="$CFLAGS -Wno-format"
17822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17823 /* end confdefs.h. */
17824 int main(int argc, char **argv) { return 0; }
17825 _ACEOF
17826 if ac_fn_c_try_link "$LINENO"; then :
17827 ac_cv_cflags__Wno_format=yes
17828 else
17829 ac_cv_cflags__Wno_format=no
17831 rm -f core conftest.err conftest.$ac_objext \
17832 conftest$ac_exeext conftest.$ac_ext
17833 CFLAGS=$ac_wine_try_cflags_saved
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17836 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17837 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17838 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17839 fi ;;
17840 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17841 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17842 if ${ac_cv_cflags__mabi_ms+:} false; then :
17843 $as_echo_n "(cached) " >&6
17844 else
17845 ac_wine_try_cflags_saved=$CFLAGS
17846 CFLAGS="$CFLAGS -mabi=ms"
17847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17849 int main(int argc, char **argv) { return 0; }
17850 _ACEOF
17851 if ac_fn_c_try_link "$LINENO"; then :
17852 ac_cv_cflags__mabi_ms=yes
17853 else
17854 ac_cv_cflags__mabi_ms=no
17856 rm -f core conftest.err conftest.$ac_objext \
17857 conftest$ac_exeext conftest.$ac_ext
17858 CFLAGS=$ac_wine_try_cflags_saved
17860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17861 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17862 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17863 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17864 fi ;;
17865 esac ;;
17866 esac
17868 CFLAGS=$saved_CFLAGS
17870 if test "x$enable_werror" = "xyes"
17871 then
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17873 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17874 if ${ac_cv_cflags__Werror+:} false; then :
17875 $as_echo_n "(cached) " >&6
17876 else
17877 ac_wine_try_cflags_saved=$CFLAGS
17878 CFLAGS="$CFLAGS -Werror"
17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h. */
17881 int main(int argc, char **argv) { return 0; }
17882 _ACEOF
17883 if ac_fn_c_try_link "$LINENO"; then :
17884 ac_cv_cflags__Werror=yes
17885 else
17886 ac_cv_cflags__Werror=no
17888 rm -f core conftest.err conftest.$ac_objext \
17889 conftest$ac_exeext conftest.$ac_ext
17890 CFLAGS=$ac_wine_try_cflags_saved
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17893 $as_echo "$ac_cv_cflags__Werror" >&6; }
17894 if test "x$ac_cv_cflags__Werror" = xyes; then :
17895 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17898 if test "x$enable_build_id" = "xyes"
17899 then
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17901 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17902 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17903 $as_echo_n "(cached) " >&6
17904 else
17905 ac_wine_try_cflags_saved=$CFLAGS
17906 CFLAGS="$CFLAGS -Wl,--build-id"
17907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17908 /* end confdefs.h. */
17909 int main(int argc, char **argv) { return 0; }
17910 _ACEOF
17911 if ac_fn_c_try_link "$LINENO"; then :
17912 ac_cv_cflags__Wl___build_id=yes
17913 else
17914 ac_cv_cflags__Wl___build_id=no
17916 rm -f core conftest.err conftest.$ac_objext \
17917 conftest$ac_exeext conftest.$ac_ext
17918 CFLAGS=$ac_wine_try_cflags_saved
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17921 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17922 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17923 CFLAGS="$CFLAGS -Wl,--build-id"
17924 LDFLAGS="$LDFLAGS -Wl,--build-id"
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17931 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17932 if ${ac_cv_c_fortify_enabled+:} false; then :
17933 $as_echo_n "(cached) " >&6
17934 else
17935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17937 #include <string.h>
17939 main ()
17941 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17942 #error Fortify enabled
17943 #endif
17945 return 0;
17947 _ACEOF
17948 if ac_fn_c_try_compile "$LINENO"; then :
17949 ac_cv_c_fortify_enabled=no
17950 else
17951 ac_cv_c_fortify_enabled=yes
17953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17956 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17957 if test "$ac_cv_c_fortify_enabled" = yes
17958 then
17959 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17964 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17965 if ${ac_cv_c_cfi_support+:} false; then :
17966 $as_echo_n "(cached) " >&6
17967 else
17968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17969 /* end confdefs.h. */
17970 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17972 main ()
17976 return 0;
17978 _ACEOF
17979 if ac_fn_c_try_compile "$LINENO"; then :
17980 ac_cv_c_cfi_support="yes"
17981 else
17982 ac_cv_c_cfi_support="no"
17984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17987 $as_echo "$ac_cv_c_cfi_support" >&6; }
17988 if test "$ac_cv_c_cfi_support" = "yes"
17989 then
17990 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
17991 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17992 else
17993 if test "x$enable_win64" = "xyes"
17994 then
17995 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18000 case $build_os in
18001 cygwin*|mingw32*) TOOLSEXT=".exe"
18003 esac
18005 case $host_os in
18006 linux*)
18007 case $host_cpu in
18008 *i[3456789]86*|x86_64*|*aarch64*)
18009 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18010 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18012 esac
18014 esac
18017 ac_save_CFLAGS="$CFLAGS"
18018 CFLAGS="$CFLAGS $BUILTINFLAG"
18019 for ac_func in \
18020 __res_get_state \
18021 __res_getservers \
18022 _spawnvp \
18023 epoll_create \
18024 fnmatch \
18025 fork \
18026 fstatfs \
18027 futimens \
18028 futimes \
18029 futimesat \
18030 getattrlist \
18031 getauxval \
18032 getifaddrs \
18033 getopt_long_only \
18034 getrandom \
18035 kqueue \
18036 lstat \
18037 mach_continuous_time \
18038 pipe2 \
18039 poll \
18040 port_create \
18041 prctl \
18042 pread \
18043 proc_pidinfo \
18044 pwrite \
18045 readlink \
18046 sched_yield \
18047 setproctitle \
18048 setprogname \
18049 sigprocmask \
18050 symlink \
18051 tcdrain \
18052 thr_kill2
18054 do :
18055 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18057 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18058 cat >>confdefs.h <<_ACEOF
18059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18060 _ACEOF
18063 done
18065 CFLAGS="$ac_save_CFLAGS"
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18068 $as_echo_n "checking for library containing dlopen... " >&6; }
18069 if ${ac_cv_search_dlopen+:} false; then :
18070 $as_echo_n "(cached) " >&6
18071 else
18072 ac_func_search_save_LIBS=$LIBS
18073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18074 /* end confdefs.h. */
18076 /* Override any GCC internal prototype to avoid an error.
18077 Use char because int might match the return type of a GCC
18078 builtin and then its argument prototype would still apply. */
18079 #ifdef __cplusplus
18080 extern "C"
18081 #endif
18082 char dlopen ();
18084 main ()
18086 return dlopen ();
18088 return 0;
18090 _ACEOF
18091 for ac_lib in '' dl; do
18092 if test -z "$ac_lib"; then
18093 ac_res="none required"
18094 else
18095 ac_res=-l$ac_lib
18096 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18098 if ac_fn_c_try_link "$LINENO"; then :
18099 ac_cv_search_dlopen=$ac_res
18101 rm -f core conftest.err conftest.$ac_objext \
18102 conftest$ac_exeext
18103 if ${ac_cv_search_dlopen+:} false; then :
18104 break
18106 done
18107 if ${ac_cv_search_dlopen+:} false; then :
18109 else
18110 ac_cv_search_dlopen=no
18112 rm conftest.$ac_ext
18113 LIBS=$ac_func_search_save_LIBS
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18116 $as_echo "$ac_cv_search_dlopen" >&6; }
18117 ac_res=$ac_cv_search_dlopen
18118 if test "$ac_res" != no; then :
18119 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18123 ac_wine_check_funcs_save_LIBS="$LIBS"
18124 LIBS="$LIBS $DL_LIBS"
18125 for ac_func in dladdr dlinfo
18126 do :
18127 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18129 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18130 cat >>confdefs.h <<_ACEOF
18131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18132 _ACEOF
18135 done
18137 LIBS="$ac_wine_check_funcs_save_LIBS"
18139 if test "$ac_cv_func_poll" = no
18140 then
18141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18142 $as_echo_n "checking for poll in -lpoll... " >&6; }
18143 if ${ac_cv_lib_poll_poll+:} false; then :
18144 $as_echo_n "(cached) " >&6
18145 else
18146 ac_check_lib_save_LIBS=$LIBS
18147 LIBS="-lpoll $LIBS"
18148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18149 /* end confdefs.h. */
18151 /* Override any GCC internal prototype to avoid an error.
18152 Use char because int might match the return type of a GCC
18153 builtin and then its argument prototype would still apply. */
18154 #ifdef __cplusplus
18155 extern "C"
18156 #endif
18157 char poll ();
18159 main ()
18161 return poll ();
18163 return 0;
18165 _ACEOF
18166 if ac_fn_c_try_link "$LINENO"; then :
18167 ac_cv_lib_poll_poll=yes
18168 else
18169 ac_cv_lib_poll_poll=no
18171 rm -f core conftest.err conftest.$ac_objext \
18172 conftest$ac_exeext conftest.$ac_ext
18173 LIBS=$ac_check_lib_save_LIBS
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18176 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18177 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18178 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18179 POLL_LIBS="-lpoll"
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18186 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18187 if ${ac_cv_search_gethostbyname+:} false; then :
18188 $as_echo_n "(cached) " >&6
18189 else
18190 ac_func_search_save_LIBS=$LIBS
18191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18192 /* end confdefs.h. */
18194 /* Override any GCC internal prototype to avoid an error.
18195 Use char because int might match the return type of a GCC
18196 builtin and then its argument prototype would still apply. */
18197 #ifdef __cplusplus
18198 extern "C"
18199 #endif
18200 char gethostbyname ();
18202 main ()
18204 return gethostbyname ();
18206 return 0;
18208 _ACEOF
18209 for ac_lib in '' nsl; do
18210 if test -z "$ac_lib"; then
18211 ac_res="none required"
18212 else
18213 ac_res=-l$ac_lib
18214 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18216 if ac_fn_c_try_link "$LINENO"; then :
18217 ac_cv_search_gethostbyname=$ac_res
18219 rm -f core conftest.err conftest.$ac_objext \
18220 conftest$ac_exeext
18221 if ${ac_cv_search_gethostbyname+:} false; then :
18222 break
18224 done
18225 if ${ac_cv_search_gethostbyname+:} false; then :
18227 else
18228 ac_cv_search_gethostbyname=no
18230 rm conftest.$ac_ext
18231 LIBS=$ac_func_search_save_LIBS
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18234 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18235 ac_res=$ac_cv_search_gethostbyname
18236 if test "$ac_res" != no; then :
18237 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18243 $as_echo_n "checking for library containing connect... " >&6; }
18244 if ${ac_cv_search_connect+:} false; then :
18245 $as_echo_n "(cached) " >&6
18246 else
18247 ac_func_search_save_LIBS=$LIBS
18248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18251 /* Override any GCC internal prototype to avoid an error.
18252 Use char because int might match the return type of a GCC
18253 builtin and then its argument prototype would still apply. */
18254 #ifdef __cplusplus
18255 extern "C"
18256 #endif
18257 char connect ();
18259 main ()
18261 return connect ();
18263 return 0;
18265 _ACEOF
18266 for ac_lib in '' socket; do
18267 if test -z "$ac_lib"; then
18268 ac_res="none required"
18269 else
18270 ac_res=-l$ac_lib
18271 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18273 if ac_fn_c_try_link "$LINENO"; then :
18274 ac_cv_search_connect=$ac_res
18276 rm -f core conftest.err conftest.$ac_objext \
18277 conftest$ac_exeext
18278 if ${ac_cv_search_connect+:} false; then :
18279 break
18281 done
18282 if ${ac_cv_search_connect+:} false; then :
18284 else
18285 ac_cv_search_connect=no
18287 rm conftest.$ac_ext
18288 LIBS=$ac_func_search_save_LIBS
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18291 $as_echo "$ac_cv_search_connect" >&6; }
18292 ac_res=$ac_cv_search_connect
18293 if test "$ac_res" != no; then :
18294 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18300 $as_echo_n "checking for library containing inet_aton... " >&6; }
18301 if ${ac_cv_search_inet_aton+:} false; then :
18302 $as_echo_n "(cached) " >&6
18303 else
18304 ac_func_search_save_LIBS=$LIBS
18305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18306 /* end confdefs.h. */
18308 /* Override any GCC internal prototype to avoid an error.
18309 Use char because int might match the return type of a GCC
18310 builtin and then its argument prototype would still apply. */
18311 #ifdef __cplusplus
18312 extern "C"
18313 #endif
18314 char inet_aton ();
18316 main ()
18318 return inet_aton ();
18320 return 0;
18322 _ACEOF
18323 for ac_lib in '' resolv; do
18324 if test -z "$ac_lib"; then
18325 ac_res="none required"
18326 else
18327 ac_res=-l$ac_lib
18328 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18330 if ac_fn_c_try_link "$LINENO"; then :
18331 ac_cv_search_inet_aton=$ac_res
18333 rm -f core conftest.err conftest.$ac_objext \
18334 conftest$ac_exeext
18335 if ${ac_cv_search_inet_aton+:} false; then :
18336 break
18338 done
18339 if ${ac_cv_search_inet_aton+:} false; then :
18341 else
18342 ac_cv_search_inet_aton=no
18344 rm conftest.$ac_ext
18345 LIBS=$ac_func_search_save_LIBS
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18348 $as_echo "$ac_cv_search_inet_aton" >&6; }
18349 ac_res=$ac_cv_search_inet_aton
18350 if test "$ac_res" != no; then :
18351 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18356 for ac_func in \
18357 getaddrinfo \
18358 getnameinfo \
18359 getservbyport \
18361 do :
18362 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18363 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18364 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18365 cat >>confdefs.h <<_ACEOF
18366 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18367 _ACEOF
18370 done
18373 case $host_os in
18374 darwin*|macosx*) ;;
18375 *) ac_save_LIBS=$LIBS
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18377 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18378 if ${ac_cv_search_clock_gettime+:} false; then :
18379 $as_echo_n "(cached) " >&6
18380 else
18381 ac_func_search_save_LIBS=$LIBS
18382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18383 /* end confdefs.h. */
18385 /* Override any GCC internal prototype to avoid an error.
18386 Use char because int might match the return type of a GCC
18387 builtin and then its argument prototype would still apply. */
18388 #ifdef __cplusplus
18389 extern "C"
18390 #endif
18391 char clock_gettime ();
18393 main ()
18395 return clock_gettime ();
18397 return 0;
18399 _ACEOF
18400 for ac_lib in '' rt; do
18401 if test -z "$ac_lib"; then
18402 ac_res="none required"
18403 else
18404 ac_res=-l$ac_lib
18405 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18407 if ac_fn_c_try_link "$LINENO"; then :
18408 ac_cv_search_clock_gettime=$ac_res
18410 rm -f core conftest.err conftest.$ac_objext \
18411 conftest$ac_exeext
18412 if ${ac_cv_search_clock_gettime+:} false; then :
18413 break
18415 done
18416 if ${ac_cv_search_clock_gettime+:} false; then :
18418 else
18419 ac_cv_search_clock_gettime=no
18421 rm conftest.$ac_ext
18422 LIBS=$ac_func_search_save_LIBS
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18425 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18426 ac_res=$ac_cv_search_clock_gettime
18427 if test "$ac_res" != no; then :
18428 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18430 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18432 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18436 LIBS=$ac_save_LIBS
18438 esac
18440 if test "x$with_ldap" != "xno"
18441 then
18442 if ${LDAP_CFLAGS:+false} :; then :
18443 if ${PKG_CONFIG+:} false; then :
18444 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18448 if ${LDAP_LIBS:+false} :; then :
18449 if ${PKG_CONFIG+:} false; then :
18450 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18454 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18455 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18456 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18457 ac_save_CPPFLAGS=$CPPFLAGS
18458 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18459 for ac_header in ldap.h lber.h
18460 do :
18461 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18462 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18463 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18464 cat >>confdefs.h <<_ACEOF
18465 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18466 _ACEOF
18470 done
18472 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18473 then
18474 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18476 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18478 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18479 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18480 $as_echo_n "(cached) " >&6
18481 else
18482 ac_check_lib_save_LIBS=$LIBS
18483 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18485 /* end confdefs.h. */
18487 /* Override any GCC internal prototype to avoid an error.
18488 Use char because int might match the return type of a GCC
18489 builtin and then its argument prototype would still apply. */
18490 #ifdef __cplusplus
18491 extern "C"
18492 #endif
18493 char ldap_initialize ();
18495 main ()
18497 return ldap_initialize ();
18499 return 0;
18501 _ACEOF
18502 if ac_fn_c_try_link "$LINENO"; then :
18503 ac_cv_lib_ldap_r_ldap_initialize=yes
18504 else
18505 ac_cv_lib_ldap_r_ldap_initialize=no
18507 rm -f core conftest.err conftest.$ac_objext \
18508 conftest$ac_exeext conftest.$ac_ext
18509 LIBS=$ac_check_lib_save_LIBS
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18512 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18513 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18515 $as_echo_n "checking for ber_init in -llber... " >&6; }
18516 if ${ac_cv_lib_lber_ber_init+:} false; then :
18517 $as_echo_n "(cached) " >&6
18518 else
18519 ac_check_lib_save_LIBS=$LIBS
18520 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18522 /* end confdefs.h. */
18524 /* Override any GCC internal prototype to avoid an error.
18525 Use char because int might match the return type of a GCC
18526 builtin and then its argument prototype would still apply. */
18527 #ifdef __cplusplus
18528 extern "C"
18529 #endif
18530 char ber_init ();
18532 main ()
18534 return ber_init ();
18536 return 0;
18538 _ACEOF
18539 if ac_fn_c_try_link "$LINENO"; then :
18540 ac_cv_lib_lber_ber_init=yes
18541 else
18542 ac_cv_lib_lber_ber_init=no
18544 rm -f core conftest.err conftest.$ac_objext \
18545 conftest$ac_exeext conftest.$ac_ext
18546 LIBS=$ac_check_lib_save_LIBS
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18549 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18550 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18552 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18554 else
18555 LDAP_LIBS=""
18558 else
18559 LDAP_LIBS=""
18562 else
18563 LDAP_LIBS=""
18566 ac_wine_check_funcs_save_LIBS="$LIBS"
18567 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18568 for ac_func in \
18569 ldap_count_references \
18570 ldap_first_reference \
18571 ldap_next_reference \
18572 ldap_parse_reference \
18573 ldap_parse_sort_control \
18574 ldap_parse_sortresponse_control \
18575 ldap_parse_vlv_control \
18576 ldap_parse_vlvresponse_control
18577 do :
18578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18580 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18581 cat >>confdefs.h <<_ACEOF
18582 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18583 _ACEOF
18586 done
18588 LIBS="$ac_wine_check_funcs_save_LIBS"
18589 else
18590 LDAP_LIBS=""
18592 CPPFLAGS=$ac_save_CPPFLAGS
18595 if test "x$LDAP_LIBS" = "x"; then :
18596 case "x$with_ldap" in
18597 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18598 xno) ;;
18599 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18600 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18601 esac
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18606 $as_echo_n "checking for sched_setaffinity... " >&6; }
18607 if ${wine_cv_have_sched_setaffinity+:} false; then :
18608 $as_echo_n "(cached) " >&6
18609 else
18610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18612 #define _GNU_SOURCE
18613 #include <sched.h>
18615 main ()
18617 sched_setaffinity(0, 0, 0);
18619 return 0;
18621 _ACEOF
18622 if ac_fn_c_try_link "$LINENO"; then :
18623 wine_cv_have_sched_setaffinity=yes
18624 else
18625 wine_cv_have_sched_setaffinity=no
18627 rm -f core conftest.err conftest.$ac_objext \
18628 conftest$ac_exeext conftest.$ac_ext
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18631 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18632 if test "$wine_cv_have_sched_setaffinity" = "yes"
18633 then
18635 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18640 $as_echo_n "checking for fallocate... " >&6; }
18641 if ${wine_cv_have_fallocate+:} false; then :
18642 $as_echo_n "(cached) " >&6
18643 else
18644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18645 /* end confdefs.h. */
18646 #define _GNU_SOURCE
18647 #include <fcntl.h>
18649 main ()
18651 fallocate(-1, 0, 0, 0);
18653 return 0;
18655 _ACEOF
18656 if ac_fn_c_try_link "$LINENO"; then :
18657 wine_cv_have_fallocate=yes
18658 else
18659 wine_cv_have_fallocate=no
18661 rm -f core conftest.err conftest.$ac_objext \
18662 conftest$ac_exeext conftest.$ac_ext
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18665 $as_echo "$wine_cv_have_fallocate" >&6; }
18666 if test "$wine_cv_have_fallocate" = "yes"
18667 then
18669 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18675 $as_echo_n "checking for inline... " >&6; }
18676 if ${ac_cv_c_inline+:} false; then :
18677 $as_echo_n "(cached) " >&6
18678 else
18679 ac_cv_c_inline=no
18680 for ac_kw in inline __inline__ __inline; do
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683 #ifndef __cplusplus
18684 typedef int foo_t;
18685 static $ac_kw foo_t static_foo () {return 0; }
18686 $ac_kw foo_t foo () {return 0; }
18687 #endif
18689 _ACEOF
18690 if ac_fn_c_try_compile "$LINENO"; then :
18691 ac_cv_c_inline=$ac_kw
18693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18694 test "$ac_cv_c_inline" != no && break
18695 done
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18699 $as_echo "$ac_cv_c_inline" >&6; }
18701 case $ac_cv_c_inline in
18702 inline | yes) ;;
18704 case $ac_cv_c_inline in
18705 no) ac_val=;;
18706 *) ac_val=$ac_cv_c_inline;;
18707 esac
18708 cat >>confdefs.h <<_ACEOF
18709 #ifndef __cplusplus
18710 #define inline $ac_val
18711 #endif
18712 _ACEOF
18714 esac
18716 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18717 #include <signal.h>
18719 if test "x$ac_cv_type_sigset_t" = xyes; then :
18721 cat >>confdefs.h <<_ACEOF
18722 #define HAVE_SIGSET_T 1
18723 _ACEOF
18728 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18730 if test "x$ac_cv_type_request_sense" = xyes; then :
18732 cat >>confdefs.h <<_ACEOF
18733 #define HAVE_REQUEST_SENSE 1
18734 _ACEOF
18740 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18741 #ifdef HAVE_SYS_SOCKET_H
18742 #include <sys/socket.h>
18743 #endif
18744 #ifdef HAVE_SYS_SOCKETVAR_H
18745 #include <sys/socketvar.h>
18746 #endif
18747 #ifdef HAVE_NET_ROUTE_H
18748 #include <net/route.h>
18749 #endif
18750 #ifdef HAVE_NETINET_IN_H
18751 #include <netinet/in.h>
18752 #endif
18753 #ifdef HAVE_NETINET_IN_SYSTM_H
18754 #include <netinet/in_systm.h>
18755 #endif
18756 #ifdef HAVE_NETINET_IP_H
18757 #include <netinet/ip.h>
18758 #endif
18759 #ifdef HAVE_NETINET_IN_PCB_H
18760 #include <netinet/in_pcb.h>
18761 #endif
18763 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18765 cat >>confdefs.h <<_ACEOF
18766 #define HAVE_STRUCT_XINPGEN 1
18767 _ACEOF
18773 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18774 #include <linux/input.h>
18775 #endif
18777 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18779 cat >>confdefs.h <<_ACEOF
18780 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18781 _ACEOF
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18788 $as_echo_n "checking for if_nameindex... " >&6; }
18789 if ${wine_cv_have_if_nameindex+:} false; then :
18790 $as_echo_n "(cached) " >&6
18791 else
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18794 #ifdef HAVE_SYS_TYPES_H
18795 #include <sys/types.h>
18796 #endif
18797 #ifdef HAVE_SYS_SOCKET_H
18798 #include <sys/socket.h>
18799 #endif
18800 #ifdef HAVE_NET_IF_H
18801 # include <net/if.h>
18802 #endif
18804 main ()
18806 struct if_nameindex *p = if_nameindex(); return p->if_index;
18808 return 0;
18810 _ACEOF
18811 if ac_fn_c_try_link "$LINENO"; then :
18812 wine_cv_have_if_nameindex=yes
18813 else
18814 wine_cv_have_if_nameindex=no
18816 rm -f core conftest.err conftest.$ac_objext \
18817 conftest$ac_exeext conftest.$ac_ext
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18820 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18821 if test "$wine_cv_have_if_nameindex" = "yes"
18822 then
18824 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18829 $as_echo_n "checking for sigaddset... " >&6; }
18830 if ${wine_cv_have_sigaddset+:} false; then :
18831 $as_echo_n "(cached) " >&6
18832 else
18833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18834 /* end confdefs.h. */
18835 #include <signal.h>
18837 main ()
18839 sigset_t set; sigaddset(&set,SIGTERM);
18841 return 0;
18843 _ACEOF
18844 if ac_fn_c_try_link "$LINENO"; then :
18845 wine_cv_have_sigaddset=yes
18846 else
18847 wine_cv_have_sigaddset=no
18849 rm -f core conftest.err conftest.$ac_objext \
18850 conftest$ac_exeext conftest.$ac_ext
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18853 $as_echo "$wine_cv_have_sigaddset" >&6; }
18854 if test "$wine_cv_have_sigaddset" = "yes"
18855 then
18857 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18863 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18864 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18865 $as_echo_n "(cached) " >&6
18866 else
18867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18868 /* end confdefs.h. */
18869 #include <netdb.h>
18871 main ()
18874 char *name=0;
18875 struct hostent he;
18876 struct hostent *result;
18877 char *buf=0;
18878 int bufsize=0;
18879 int errnr;
18880 char *addr=0;
18881 int addrlen=0;
18882 int addrtype=0;
18883 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18884 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18887 return 0;
18889 _ACEOF
18890 if ac_fn_c_try_link "$LINENO"; then :
18891 wine_cv_linux_gethostbyname_r_6=yes
18892 else
18893 wine_cv_linux_gethostbyname_r_6=no
18896 rm -f core conftest.err conftest.$ac_objext \
18897 conftest$ac_exeext conftest.$ac_ext
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18901 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18902 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18903 then
18905 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18909 if test "$ac_cv_header_linux_joystick_h" = "yes"
18910 then
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18912 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18913 if ${wine_cv_linux_joystick_22_api+:} false; then :
18914 $as_echo_n "(cached) " >&6
18915 else
18916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18917 /* end confdefs.h. */
18919 #include <sys/ioctl.h>
18920 #include <sys/types.h>
18921 #include <linux/joystick.h>
18923 struct js_event blub;
18924 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18925 #error "no 2.2 header"
18926 #endif
18929 main ()
18931 /*empty*/
18933 return 0;
18935 _ACEOF
18936 if ac_fn_c_try_compile "$LINENO"; then :
18937 wine_cv_linux_joystick_22_api=yes
18938 else
18939 wine_cv_linux_joystick_22_api=no
18941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18945 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18946 if test "$wine_cv_linux_joystick_22_api" = "yes"
18947 then
18949 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18954 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18955 #ifdef HAVE_SYS_SOCKET_H
18956 # include <sys/socket.h>
18957 #endif
18958 #ifdef HAVE_SYS_UN_H
18959 # include <sys/un.h>
18960 #endif
18962 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18964 cat >>confdefs.h <<_ACEOF
18965 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18966 _ACEOF
18970 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18971 #ifdef HAVE_SYS_SOCKET_H
18972 # include <sys/socket.h>
18973 #endif
18974 #ifdef HAVE_SYS_UN_H
18975 # include <sys/un.h>
18976 #endif
18978 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18980 cat >>confdefs.h <<_ACEOF
18981 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18982 _ACEOF
18986 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18987 #ifdef HAVE_SYS_SOCKET_H
18988 # include <sys/socket.h>
18989 #endif
18990 #ifdef HAVE_SYS_UN_H
18991 # include <sys/un.h>
18992 #endif
18994 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18996 cat >>confdefs.h <<_ACEOF
18997 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18998 _ACEOF
19004 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19005 #ifdef HAVE_SCSI_SG_H
19006 #include <scsi/sg.h>
19007 #endif
19009 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_SCSIREQ_T_CMD 1
19013 _ACEOF
19017 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>
19018 #ifdef HAVE_SCSI_SG_H
19019 #include <scsi/sg.h>
19020 #endif
19022 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19026 _ACEOF
19032 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19034 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19036 cat >>confdefs.h <<_ACEOF
19037 #define HAVE_SIGINFO_T_SI_FD 1
19038 _ACEOF
19044 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19045 #ifdef HAVE_SYS_MTIO_H
19046 #include <sys/mtio.h>
19047 #endif
19049 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19051 cat >>confdefs.h <<_ACEOF
19052 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19053 _ACEOF
19057 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19058 #ifdef HAVE_SYS_MTIO_H
19059 #include <sys/mtio.h>
19060 #endif
19062 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19064 cat >>confdefs.h <<_ACEOF
19065 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19066 _ACEOF
19070 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19071 #ifdef HAVE_SYS_MTIO_H
19072 #include <sys/mtio.h>
19073 #endif
19075 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19077 cat >>confdefs.h <<_ACEOF
19078 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19079 _ACEOF
19085 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19086 #include <getopt.h>
19087 #endif
19089 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19091 cat >>confdefs.h <<_ACEOF
19092 #define HAVE_STRUCT_OPTION_NAME 1
19093 _ACEOF
19099 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19100 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19102 cat >>confdefs.h <<_ACEOF
19103 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19104 _ACEOF
19108 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19109 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_STRUCT_STAT_ST_MTIM 1
19113 _ACEOF
19117 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19118 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19122 _ACEOF
19126 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19127 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_STRUCT_STAT_ST_CTIM 1
19131 _ACEOF
19135 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19136 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19138 cat >>confdefs.h <<_ACEOF
19139 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19140 _ACEOF
19144 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19145 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19147 cat >>confdefs.h <<_ACEOF
19148 #define HAVE_STRUCT_STAT_ST_ATIM 1
19149 _ACEOF
19153 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19154 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19156 cat >>confdefs.h <<_ACEOF
19157 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19158 _ACEOF
19162 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19163 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19165 cat >>confdefs.h <<_ACEOF
19166 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19167 _ACEOF
19171 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19172 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19174 cat >>confdefs.h <<_ACEOF
19175 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19176 _ACEOF
19180 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19181 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19183 cat >>confdefs.h <<_ACEOF
19184 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19185 _ACEOF
19189 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19190 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19192 cat >>confdefs.h <<_ACEOF
19193 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19194 _ACEOF
19198 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19199 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19201 cat >>confdefs.h <<_ACEOF
19202 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19203 _ACEOF
19209 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
19210 #include <sys/types.h>
19211 #endif
19212 #ifdef HAVE_NETINET_IN_H
19213 #include <netinet/in.h>
19214 #endif
19216 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19218 cat >>confdefs.h <<_ACEOF
19219 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19220 _ACEOF
19226 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19227 #include <sys/types.h>
19228 #endif
19229 #ifdef HAVE_NETINET_IN_H
19230 #include <netinet/in.h>
19231 #endif
19232 #ifdef HAVE_RESOLV_H
19233 #include <resolv.h>
19234 #endif
19236 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STRUCT___RES_STATE 1
19240 _ACEOF
19246 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
19247 #include <resolv.h>
19248 #endif
19250 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19252 cat >>confdefs.h <<_ACEOF
19253 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19254 _ACEOF
19260 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19261 #include <sys/types.h>
19262 #endif
19263 #ifdef HAVE_NETINET_IN_H
19264 # include <netinet/in.h>
19265 #endif
19266 #ifdef HAVE_ARPA_NAMESER_H
19267 # include <arpa/nameser.h>
19268 #endif
19270 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19272 cat >>confdefs.h <<_ACEOF
19273 #define HAVE_NS_MSG__MSG_PTR 1
19274 _ACEOF
19280 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19281 #include <sys/types.h>
19282 #endif
19283 #ifdef HAVE_NETINET_IN_H
19284 #include <netinet/in.h>
19285 #endif
19286 #ifdef HAVE_NETINET_IP_H
19287 #include <netinet/ip.h>
19288 #endif
19289 #ifdef HAVE_NETINET_IP_ICMP_H
19290 #include <netinet/ip_icmp.h>
19291 #endif
19292 #ifdef HAVE_NETINET_ICMP_VAR_H
19293 #include <netinet/icmp_var.h>
19294 #endif
19296 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19298 cat >>confdefs.h <<_ACEOF
19299 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19300 _ACEOF
19306 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19307 #include <sys/types.h>
19308 #endif
19309 #ifdef HAVE_ALIAS_H
19310 #include <alias.h>
19311 #endif
19312 #ifdef HAVE_SYS_SOCKET_H
19313 #include <sys/socket.h>
19314 #endif
19315 #ifdef HAVE_SYS_SOCKETVAR_H
19316 #include <sys/socketvar.h>
19317 #endif
19318 #ifdef HAVE_SYS_TIMEOUT_H
19319 #include <sys/timeout.h>
19320 #endif
19321 #ifdef HAVE_NETINET_IN_H
19322 #include <netinet/in.h>
19323 #endif
19324 #ifdef HAVE_NETINET_IN_SYSTM_H
19325 #include <netinet/in_systm.h>
19326 #endif
19327 #ifdef HAVE_NETINET_IP_H
19328 #include <netinet/ip.h>
19329 #endif
19330 #ifdef HAVE_NETINET_IP_VAR_H
19331 #include <netinet/ip_var.h>
19332 #endif
19333 #ifdef HAVE_NETINET_IP_ICMP_H
19334 #include <netinet/ip_icmp.h>
19335 #endif
19336 #ifdef HAVE_NETINET_ICMP_VAR_H
19337 #include <netinet/icmp_var.h>
19338 #endif
19340 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19342 cat >>confdefs.h <<_ACEOF
19343 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19344 _ACEOF
19350 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19351 #include <sys/types.h>
19352 #endif
19353 #ifdef HAVE_SYS_SOCKETVAR_H
19354 #include <sys/socketvar.h>
19355 #endif
19356 #ifdef HAVE_NETINET_IN_H
19357 #include <netinet/in.h>
19358 #endif
19359 #ifdef HAVE_NETINET_IP_VAR_H
19360 #include <netinet/ip_var.h>
19361 #endif
19363 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19365 cat >>confdefs.h <<_ACEOF
19366 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19367 _ACEOF
19373 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
19374 #include <netinet/ip_var.h>
19375 #endif
19377 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19379 cat >>confdefs.h <<_ACEOF
19380 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19381 _ACEOF
19387 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19388 #include <sys/types.h>
19389 #endif
19390 #ifdef HAVE_SYS_SOCKETVAR_H
19391 #include <sys/socketvar.h>
19392 #endif
19393 #ifdef HAVE_NETINET_IN_H
19394 #include <netinet/in.h>
19395 #endif
19396 #ifdef HAVE_NETINET_TCP_H
19397 #include <netinet/tcp.h>
19398 #endif
19399 #ifdef HAVE_NETINET_TCP_VAR_H
19400 #include <netinet/tcp_var.h>
19401 #endif
19403 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19405 cat >>confdefs.h <<_ACEOF
19406 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19407 _ACEOF
19413 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
19414 #include <netinet/tcp_var.h>
19415 #endif
19417 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19419 cat >>confdefs.h <<_ACEOF
19420 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19421 _ACEOF
19427 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19428 #include <sys/types.h>
19429 #endif
19430 #ifdef HAVE_NETINET_IN_H
19431 #include <netinet/in.h>
19432 #endif
19433 #ifdef HAVE_NETINET_IP_VAR_H
19434 #include <netinet/ip_var.h>
19435 #endif
19436 #ifdef HAVE_NETINET_UDP_H
19437 #include <netinet/udp.h>
19438 #endif
19439 #ifdef HAVE_NETINET_UDP_VAR_H
19440 #include <netinet/udp_var.h>
19441 #endif
19443 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19445 cat >>confdefs.h <<_ACEOF
19446 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19447 _ACEOF
19453 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19454 #include <sys/types.h>
19455 #endif
19456 #ifdef HAVE_NET_IF_H
19457 # include <net/if.h>
19458 #endif
19460 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19462 cat >>confdefs.h <<_ACEOF
19463 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19464 _ACEOF
19470 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19471 # include <sys/sysinfo.h>
19472 #endif
19474 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19476 cat >>confdefs.h <<_ACEOF
19477 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19478 _ACEOF
19482 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19483 # include <sys/sysinfo.h>
19484 #endif
19486 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19488 cat >>confdefs.h <<_ACEOF
19489 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19490 _ACEOF
19496 ac_save_LIBS="$LIBS"
19497 LIBS="$LIBS -lm"
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19499 $as_echo_n "checking for isfinite... " >&6; }
19500 if ${ac_cv_have_isfinite+:} false; then :
19501 $as_echo_n "(cached) " >&6
19502 else
19503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19505 #define _GNU_SOURCE
19506 #include <math.h>
19508 main ()
19510 float f = 0.0; return isfinite(f)
19512 return 0;
19514 _ACEOF
19515 if ac_fn_c_try_link "$LINENO"; then :
19516 ac_cv_have_isfinite="yes"
19517 else
19518 ac_cv_have_isfinite="no"
19520 rm -f core conftest.err conftest.$ac_objext \
19521 conftest$ac_exeext conftest.$ac_ext
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19524 $as_echo "$ac_cv_have_isfinite" >&6; }
19525 if test "$ac_cv_have_isfinite" = "yes"
19526 then
19528 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19533 $as_echo_n "checking for isinf... " >&6; }
19534 if ${ac_cv_have_isinf+:} false; then :
19535 $as_echo_n "(cached) " >&6
19536 else
19537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19538 /* end confdefs.h. */
19539 #include <math.h>
19541 main ()
19543 float f = 0.0; return isinf(f)
19545 return 0;
19547 _ACEOF
19548 if ac_fn_c_try_link "$LINENO"; then :
19549 ac_cv_have_isinf="yes"
19550 else
19551 ac_cv_have_isinf="no"
19553 rm -f core conftest.err conftest.$ac_objext \
19554 conftest$ac_exeext conftest.$ac_ext
19556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19557 $as_echo "$ac_cv_have_isinf" >&6; }
19558 if test "$ac_cv_have_isinf" = "yes"
19559 then
19561 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19566 $as_echo_n "checking for isnan... " >&6; }
19567 if ${ac_cv_have_isnan+:} false; then :
19568 $as_echo_n "(cached) " >&6
19569 else
19570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19571 /* end confdefs.h. */
19572 #include <math.h>
19574 main ()
19576 float f = 0.0; return isnan(f)
19578 return 0;
19580 _ACEOF
19581 if ac_fn_c_try_link "$LINENO"; then :
19582 ac_cv_have_isnan="yes"
19583 else
19584 ac_cv_have_isnan="no"
19586 rm -f core conftest.err conftest.$ac_objext \
19587 conftest$ac_exeext conftest.$ac_ext
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19590 $as_echo "$ac_cv_have_isnan" >&6; }
19591 if test "$ac_cv_have_isnan" = "yes"
19592 then
19594 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19598 for ac_func in \
19599 acosh \
19600 acoshf \
19601 asinh \
19602 asinhf \
19603 atanh \
19604 atanhf \
19605 cbrt \
19606 cbrtf \
19607 erf \
19608 erfc \
19609 erfcf \
19610 erff \
19611 exp2 \
19612 exp2f \
19613 expm1 \
19614 expm1f \
19615 fma \
19616 fmaf \
19617 j0 \
19618 j1 \
19619 jn \
19620 lgamma \
19621 lgammaf \
19622 llrint \
19623 llrintf \
19624 llround \
19625 llroundf \
19626 log1p \
19627 log1pf \
19628 log2 \
19629 log2f \
19630 lrint \
19631 lrintf \
19632 lround \
19633 lroundf \
19634 nearbyint \
19635 nearbyintf \
19636 nexttoward \
19637 nexttowardf \
19638 remainder \
19639 remainderf \
19640 remquo \
19641 remquof \
19642 rint \
19643 rintf \
19644 round \
19645 roundf \
19646 tgamma \
19647 tgammaf \
19648 trunc \
19649 truncf \
19650 y0 \
19651 y1 \
19654 do :
19655 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19656 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19657 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19658 cat >>confdefs.h <<_ACEOF
19659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19660 _ACEOF
19663 done
19665 LIBS="$ac_save_LIBS"
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19668 $as_echo_n "checking for __builtin_popcount... " >&6; }
19669 if ${ac_cv_have___builtin_popcount+:} false; then :
19670 $as_echo_n "(cached) " >&6
19671 else
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19676 main ()
19678 return __builtin_popcount(1)
19680 return 0;
19682 _ACEOF
19683 if ac_fn_c_try_link "$LINENO"; then :
19684 ac_cv_have___builtin_popcount="yes"
19685 else
19686 ac_cv_have___builtin_popcount="no"
19688 rm -f core conftest.err conftest.$ac_objext \
19689 conftest$ac_exeext conftest.$ac_ext
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19692 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19693 if test "$ac_cv_have___builtin_popcount" = "yes"
19694 then
19696 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19701 $as_echo_n "checking for __clear_cache... " >&6; }
19702 if ${ac_cv_have___clear_cache+:} false; then :
19703 $as_echo_n "(cached) " >&6
19704 else
19705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19706 /* end confdefs.h. */
19709 main ()
19711 __clear_cache((void*)0, (void*)0); return 0;
19713 return 0;
19715 _ACEOF
19716 if ac_fn_c_try_link "$LINENO"; then :
19717 ac_cv_have___clear_cache="yes"
19718 else
19719 ac_cv_have___clear_cache="no"
19721 rm -f core conftest.err conftest.$ac_objext \
19722 conftest$ac_exeext conftest.$ac_ext
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19725 $as_echo "$ac_cv_have___clear_cache" >&6; }
19726 if test "$ac_cv_have___clear_cache" = "yes"
19727 then
19729 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19734 case $host_cpu in
19735 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19736 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19737 if ${ac_cv_cpp_def___i386__+:} false; then :
19738 $as_echo_n "(cached) " >&6
19739 else
19740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19741 /* end confdefs.h. */
19742 #ifndef __i386__
19744 #endif
19745 _ACEOF
19746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19747 $EGREP "yes" >/dev/null 2>&1; then :
19748 ac_cv_cpp_def___i386__=yes
19749 else
19750 ac_cv_cpp_def___i386__=no
19752 rm -f conftest*
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19756 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19757 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19758 CFLAGS="$CFLAGS -D__i386__"
19759 LINTFLAGS="$LINTFLAGS -D__i386__"
19760 fi ;;
19761 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19762 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19763 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19764 $as_echo_n "(cached) " >&6
19765 else
19766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19767 /* end confdefs.h. */
19768 #ifndef __x86_64__
19770 #endif
19771 _ACEOF
19772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19773 $EGREP "yes" >/dev/null 2>&1; then :
19774 ac_cv_cpp_def___x86_64__=yes
19775 else
19776 ac_cv_cpp_def___x86_64__=no
19778 rm -f conftest*
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19782 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19783 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19784 CFLAGS="$CFLAGS -D__x86_64__"
19785 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19786 fi ;;
19787 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19788 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19789 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19790 $as_echo_n "(cached) " >&6
19791 else
19792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19793 /* end confdefs.h. */
19794 #ifndef __sparc64__
19796 #endif
19797 _ACEOF
19798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19799 $EGREP "yes" >/dev/null 2>&1; then :
19800 ac_cv_cpp_def___sparc64__=yes
19801 else
19802 ac_cv_cpp_def___sparc64__=no
19804 rm -f conftest*
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19808 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19809 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19810 CFLAGS="$CFLAGS -D__sparc64__"
19811 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19812 fi ;;
19813 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19814 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19815 if ${ac_cv_cpp_def___sparc__+:} false; then :
19816 $as_echo_n "(cached) " >&6
19817 else
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19820 #ifndef __sparc__
19822 #endif
19823 _ACEOF
19824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19825 $EGREP "yes" >/dev/null 2>&1; then :
19826 ac_cv_cpp_def___sparc__=yes
19827 else
19828 ac_cv_cpp_def___sparc__=no
19830 rm -f conftest*
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19834 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19835 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19836 CFLAGS="$CFLAGS -D__sparc__"
19837 LINTFLAGS="$LINTFLAGS -D__sparc__"
19838 fi ;;
19839 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19840 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19841 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19842 $as_echo_n "(cached) " >&6
19843 else
19844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19845 /* end confdefs.h. */
19846 #ifndef __powerpc64__
19848 #endif
19849 _ACEOF
19850 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19851 $EGREP "yes" >/dev/null 2>&1; then :
19852 ac_cv_cpp_def___powerpc64__=yes
19853 else
19854 ac_cv_cpp_def___powerpc64__=no
19856 rm -f conftest*
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19860 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19861 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19862 CFLAGS="$CFLAGS -D__powerpc64__"
19863 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19864 fi ;;
19865 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19866 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19867 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19868 $as_echo_n "(cached) " >&6
19869 else
19870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19871 /* end confdefs.h. */
19872 #ifndef __powerpc__
19874 #endif
19875 _ACEOF
19876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19877 $EGREP "yes" >/dev/null 2>&1; then :
19878 ac_cv_cpp_def___powerpc__=yes
19879 else
19880 ac_cv_cpp_def___powerpc__=no
19882 rm -f conftest*
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19886 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19887 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19888 CFLAGS="$CFLAGS -D__powerpc__"
19889 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19890 fi ;;
19891 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19892 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19893 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19894 $as_echo_n "(cached) " >&6
19895 else
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19898 #ifndef __aarch64__
19900 #endif
19901 _ACEOF
19902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19903 $EGREP "yes" >/dev/null 2>&1; then :
19904 ac_cv_cpp_def___aarch64__=yes
19905 else
19906 ac_cv_cpp_def___aarch64__=no
19908 rm -f conftest*
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19912 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19913 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19914 CFLAGS="$CFLAGS -D__aarch64__"
19915 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19916 fi ;;
19917 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19918 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19919 if ${ac_cv_cpp_def___arm__+:} false; then :
19920 $as_echo_n "(cached) " >&6
19921 else
19922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19924 #ifndef __arm__
19926 #endif
19927 _ACEOF
19928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19929 $EGREP "yes" >/dev/null 2>&1; then :
19930 ac_cv_cpp_def___arm__=yes
19931 else
19932 ac_cv_cpp_def___arm__=no
19934 rm -f conftest*
19937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19938 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19939 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19940 CFLAGS="$CFLAGS -D__arm__"
19941 LINTFLAGS="$LINTFLAGS -D__arm__"
19942 fi ;;
19943 esac
19945 case $host_vendor in
19946 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19947 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19948 if ${ac_cv_cpp_def___sun__+:} false; then :
19949 $as_echo_n "(cached) " >&6
19950 else
19951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19952 /* end confdefs.h. */
19953 #ifndef __sun__
19955 #endif
19956 _ACEOF
19957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19958 $EGREP "yes" >/dev/null 2>&1; then :
19959 ac_cv_cpp_def___sun__=yes
19960 else
19961 ac_cv_cpp_def___sun__=no
19963 rm -f conftest*
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19967 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19968 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19969 CFLAGS="$CFLAGS -D__sun__"
19970 LINTFLAGS="$LINTFLAGS -D__sun__"
19971 fi ;;
19972 esac
19978 ac_config_commands="$ac_config_commands include/stamp-h"
19980 $as_echo_n "creating Makefile rules..." >&6
19982 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19983 OPENGL_LIBS = $OPENGL_LIBS
19984 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19985 IOKIT_LIBS = $IOKIT_LIBS
19986 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19987 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19988 CORESERVICES_LIBS = $CORESERVICES_LIBS
19989 APPKIT_LIBS = $APPKIT_LIBS
19990 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19991 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19992 SECURITY_LIBS = $SECURITY_LIBS
19993 COREAUDIO_LIBS = $COREAUDIO_LIBS
19994 OPENAL_LIBS = $OPENAL_LIBS
19995 OPENCL_LIBS = $OPENCL_LIBS
19996 QUICKTIME_LIBS = $QUICKTIME_LIBS
19997 CARBON_LIBS = $CARBON_LIBS
19998 METAL_LIBS = $METAL_LIBS
19999 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20000 PTHREAD_LIBS = $PTHREAD_LIBS
20001 X_CFLAGS = $X_CFLAGS
20002 X_PRE_LIBS = $X_PRE_LIBS
20003 X_LIBS = $X_LIBS
20004 X_EXTRA_LIBS = $X_EXTRA_LIBS
20005 PCAP_LIBS = $PCAP_LIBS
20006 XML2_CFLAGS = $XML2_CFLAGS
20007 XML2_LIBS = $XML2_LIBS
20008 XSLT_CFLAGS = $XSLT_CFLAGS
20009 XSLT_LIBS = $XSLT_LIBS
20010 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20011 INOTIFY_LIBS = $INOTIFY_LIBS
20012 DBUS_CFLAGS = $DBUS_CFLAGS
20013 DBUS_LIBS = $DBUS_LIBS
20014 HAL_CFLAGS = $HAL_CFLAGS
20015 HAL_LIBS = $HAL_LIBS
20016 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20017 GNUTLS_LIBS = $GNUTLS_LIBS
20018 SANE_CFLAGS = $SANE_CFLAGS
20019 SANE_LIBS = $SANE_LIBS
20020 USB_CFLAGS = $USB_CFLAGS
20021 USB_LIBS = $USB_LIBS
20022 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20023 GPHOTO2_LIBS = $GPHOTO2_LIBS
20024 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20025 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20026 RESOLV_LIBS = $RESOLV_LIBS
20027 LCMS2_CFLAGS = $LCMS2_CFLAGS
20028 LCMS2_LIBS = $LCMS2_LIBS
20029 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20030 FREETYPE_LIBS = $FREETYPE_LIBS
20031 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20032 PULSE_CFLAGS = $PULSE_CFLAGS
20033 PULSE_LIBS = $PULSE_LIBS
20034 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20035 GSTREAMER_LIBS = $GSTREAMER_LIBS
20036 ALSA_LIBS = $ALSA_LIBS
20037 OSS4_CFLAGS = $OSS4_CFLAGS
20038 OSS4_LIBS = $OSS4_LIBS
20039 UDEV_CFLAGS = $UDEV_CFLAGS
20040 UDEV_LIBS = $UDEV_LIBS
20041 UNWIND_CFLAGS = $UNWIND_CFLAGS
20042 UNWIND_LIBS = $UNWIND_LIBS
20043 SDL2_CFLAGS = $SDL2_CFLAGS
20044 SDL2_LIBS = $SDL2_LIBS
20045 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20046 FAUDIO_LIBS = $FAUDIO_LIBS
20047 CAPI20_CFLAGS = $CAPI20_CFLAGS
20048 CAPI20_LIBS = $CAPI20_LIBS
20049 CUPS_CFLAGS = $CUPS_CFLAGS
20050 CUPS_LIBS = $CUPS_LIBS
20051 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20052 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20053 KRB5_CFLAGS = $KRB5_CFLAGS
20054 KRB5_LIBS = $KRB5_LIBS
20055 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20056 GSSAPI_LIBS = $GSSAPI_LIBS
20057 JPEG_CFLAGS = $JPEG_CFLAGS
20058 JPEG_LIBS = $JPEG_LIBS
20059 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20060 JXRLIB_LIBS = $JXRLIB_LIBS
20061 PNG_CFLAGS = $PNG_CFLAGS
20062 PNG_LIBS = $PNG_LIBS
20063 TIFF_CFLAGS = $TIFF_CFLAGS
20064 TIFF_LIBS = $TIFF_LIBS
20065 MPG123_CFLAGS = $MPG123_CFLAGS
20066 MPG123_LIBS = $MPG123_LIBS
20067 KSTAT_LIBS = $KSTAT_LIBS
20068 PROCSTAT_LIBS = $PROCSTAT_LIBS
20069 NETAPI_CFLAGS = $NETAPI_CFLAGS
20070 NETAPI_LIBS = $NETAPI_LIBS
20071 VKD3D_CFLAGS = $VKD3D_CFLAGS
20072 VKD3D_LIBS = $VKD3D_LIBS
20073 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20074 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20075 POLL_LIBS = $POLL_LIBS
20076 RT_LIBS = $RT_LIBS
20077 LDAP_CFLAGS = $LDAP_CFLAGS
20078 LDAP_LIBS = $LDAP_LIBS
20082 makedep_flags=""
20083 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20086 wine_fn_append_rule "
20087 # Rules automatically generated by configure
20089 .INIT: Makefile
20090 .MAKEFILEDEPS:
20091 all: Makefile
20092 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20093 @./config.status Make.tmp Makefile
20094 depend: \$(MAKEDEP)
20095 \$(MAKEDEP)$makedep_flags
20096 dummy:
20097 .PHONY: depend dummy"
20099 ac_config_links="$ac_config_links wine:tools/winewrapper"
20100 wine_fn_config_symlink wine
20101 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20102 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20103 wine_fn_config_symlink wine64
20106 wine_fn_config_makefile dlls/acledit enable_acledit
20107 wine_fn_config_makefile dlls/aclui enable_aclui
20108 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20109 wine_fn_config_makefile dlls/activeds enable_activeds
20110 wine_fn_config_makefile dlls/activeds/tests enable_tests
20111 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20112 wine_fn_config_makefile dlls/adsiid enable_adsiid
20113 wine_fn_config_makefile dlls/adsldp enable_adsldp
20114 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20115 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20116 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20117 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20118 wine_fn_config_makefile dlls/advpack enable_advpack
20119 wine_fn_config_makefile dlls/advpack/tests enable_tests
20120 wine_fn_config_makefile dlls/amsi enable_amsi
20121 wine_fn_config_makefile dlls/amstream enable_amstream
20122 wine_fn_config_makefile dlls/amstream/tests enable_tests
20123 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20125 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20126 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20128 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20133 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20141 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20143 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20145 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20148 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20149 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20151 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20155 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20156 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20157 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20159 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20160 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20163 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20167 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20169 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20173 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20174 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20175 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20180 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20181 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20185 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20186 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20194 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20195 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20196 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20197 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20201 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20205 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20209 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20210 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20211 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20212 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20216 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20217 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20218 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20234 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20238 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20241 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20245 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20248 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20252 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20257 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20258 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20259 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20263 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20264 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20270 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20272 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20284 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20285 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20291 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20292 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20305 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20313 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20316 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20320 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20322 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20324 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20325 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20328 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20330 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20332 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20333 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20338 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20340 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20341 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20343 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20346 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20349 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20351 wine_fn_config_makefile dlls/apphelp enable_apphelp
20352 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20353 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20354 wine_fn_config_makefile dlls/atl enable_atl
20355 wine_fn_config_makefile dlls/atl/tests enable_tests
20356 wine_fn_config_makefile dlls/atl100 enable_atl100
20357 wine_fn_config_makefile dlls/atl100/tests enable_tests
20358 wine_fn_config_makefile dlls/atl110 enable_atl110
20359 wine_fn_config_makefile dlls/atl80 enable_atl80
20360 wine_fn_config_makefile dlls/atl80/tests enable_tests
20361 wine_fn_config_makefile dlls/atl90 enable_atl90
20362 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20363 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20364 wine_fn_config_makefile dlls/atmlib enable_atmlib
20365 wine_fn_config_makefile dlls/authz enable_authz
20366 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20367 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20368 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20369 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20370 wine_fn_config_makefile dlls/avrt enable_avrt
20371 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20372 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20373 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20374 wine_fn_config_makefile dlls/browseui enable_browseui
20375 wine_fn_config_makefile dlls/browseui/tests enable_tests
20376 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20377 wine_fn_config_makefile dlls/cabinet enable_cabinet
20378 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20379 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20380 wine_fn_config_makefile dlls/cards enable_cards
20381 wine_fn_config_makefile dlls/cdosys enable_cdosys
20382 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20383 wine_fn_config_makefile dlls/clusapi enable_clusapi
20384 wine_fn_config_makefile dlls/combase enable_combase
20385 wine_fn_config_makefile dlls/combase/tests enable_tests
20386 wine_fn_config_makefile dlls/comcat enable_comcat
20387 wine_fn_config_makefile dlls/comcat/tests enable_tests
20388 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20389 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20390 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20391 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20392 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20393 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20394 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20395 wine_fn_config_makefile dlls/compstui enable_compstui
20396 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20397 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20398 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20399 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20400 wine_fn_config_makefile dlls/connect enable_connect
20401 wine_fn_config_makefile dlls/credui enable_credui
20402 wine_fn_config_makefile dlls/credui/tests enable_tests
20403 wine_fn_config_makefile dlls/crtdll enable_crtdll
20404 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20405 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20406 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20407 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20408 wine_fn_config_makefile dlls/cryptext enable_cryptext
20409 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20410 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20411 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20412 wine_fn_config_makefile dlls/cryptui enable_cryptui
20413 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20414 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20415 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20416 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20417 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20418 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20419 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20420 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20421 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20422 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20423 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20424 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20425 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20426 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20427 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20428 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20429 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20430 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20431 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20432 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20433 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20434 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20435 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20436 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20437 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20438 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20439 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20440 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20441 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20442 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20443 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20444 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20445 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20446 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20447 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20448 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20449 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20450 wine_fn_config_makefile dlls/d3dim enable_d3dim
20451 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20452 wine_fn_config_makefile dlls/d3drm enable_d3drm
20453 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20454 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20455 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20456 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20457 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20458 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20459 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20460 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20461 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20462 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20463 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20464 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20465 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20466 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20467 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20468 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20469 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20470 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20471 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20472 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20473 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20474 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20475 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20476 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20477 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20478 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20479 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20480 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20481 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20482 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20483 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20484 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20485 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20486 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20487 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20488 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20489 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20490 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20491 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20492 wine_fn_config_makefile dlls/davclnt enable_davclnt
20493 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20494 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20495 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20496 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20497 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20498 wine_fn_config_makefile dlls/dcomp enable_dcomp
20499 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20500 wine_fn_config_makefile dlls/ddraw enable_ddraw
20501 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20502 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20503 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20504 wine_fn_config_makefile dlls/devenum enable_devenum
20505 wine_fn_config_makefile dlls/devenum/tests enable_tests
20506 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20507 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20508 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20509 wine_fn_config_makefile dlls/difxapi enable_difxapi
20510 wine_fn_config_makefile dlls/dinput enable_dinput
20511 wine_fn_config_makefile dlls/dinput/tests enable_tests
20512 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20513 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20514 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20515 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20516 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20517 wine_fn_config_makefile dlls/dispex enable_dispex
20518 wine_fn_config_makefile dlls/dispex/tests enable_tests
20519 wine_fn_config_makefile dlls/display.drv16 enable_win16
20520 wine_fn_config_makefile dlls/dmband enable_dmband
20521 wine_fn_config_makefile dlls/dmband/tests enable_tests
20522 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20523 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20524 wine_fn_config_makefile dlls/dmime enable_dmime
20525 wine_fn_config_makefile dlls/dmime/tests enable_tests
20526 wine_fn_config_makefile dlls/dmloader enable_dmloader
20527 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20528 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20529 wine_fn_config_makefile dlls/dmscript enable_dmscript
20530 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20531 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20532 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20533 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20534 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20535 wine_fn_config_makefile dlls/dmusic enable_dmusic
20536 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20537 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20538 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20539 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20540 wine_fn_config_makefile dlls/dplay enable_dplay
20541 wine_fn_config_makefile dlls/dplayx enable_dplayx
20542 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20543 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20544 wine_fn_config_makefile dlls/dpnet enable_dpnet
20545 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20546 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20547 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20548 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20549 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20550 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20551 wine_fn_config_makefile dlls/drmclien enable_drmclien
20552 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20553 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20554 wine_fn_config_makefile dlls/dsound enable_dsound
20555 wine_fn_config_makefile dlls/dsound/tests enable_tests
20556 wine_fn_config_makefile dlls/dsquery enable_dsquery
20557 wine_fn_config_makefile dlls/dssenh enable_dssenh
20558 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20559 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20560 wine_fn_config_makefile dlls/dswave enable_dswave
20561 wine_fn_config_makefile dlls/dswave/tests enable_tests
20562 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20563 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20564 wine_fn_config_makefile dlls/dwrite enable_dwrite
20565 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20566 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20567 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20568 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20569 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20570 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20571 wine_fn_config_makefile dlls/dxgi enable_dxgi
20572 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20573 wine_fn_config_makefile dlls/dxguid enable_dxguid
20574 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20575 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20576 wine_fn_config_makefile dlls/esent enable_esent
20577 wine_fn_config_makefile dlls/evr enable_evr
20578 wine_fn_config_makefile dlls/evr/tests enable_tests
20579 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20580 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20581 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20582 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20583 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20584 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20585 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20586 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20587 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20588 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20589 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20590 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20592 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20594 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20595 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20597 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20598 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20599 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20600 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20602 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20614 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20615 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20616 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20617 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20618 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20619 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20620 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20621 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
20622 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20623 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20624 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20625 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20626 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20627 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20628 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20629 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20630 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20631 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20632 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20633 wine_fn_config_makefile dlls/faultrep enable_faultrep
20634 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20635 wine_fn_config_makefile dlls/feclient enable_feclient
20636 wine_fn_config_makefile dlls/fltlib enable_fltlib
20637 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20638 wine_fn_config_makefile dlls/fntcache enable_fntcache
20639 wine_fn_config_makefile dlls/fontsub enable_fontsub
20640 wine_fn_config_makefile dlls/fusion enable_fusion
20641 wine_fn_config_makefile dlls/fusion/tests enable_tests
20642 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20643 wine_fn_config_makefile dlls/gameux enable_gameux
20644 wine_fn_config_makefile dlls/gameux/tests enable_tests
20645 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20646 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20647 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20648 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20649 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20650 wine_fn_config_makefile dlls/glu32 enable_glu32
20651 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20652 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20653 wine_fn_config_makefile dlls/hal enable_hal
20654 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20655 wine_fn_config_makefile dlls/hid enable_hid
20656 wine_fn_config_makefile dlls/hid/tests enable_tests
20657 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20658 wine_fn_config_makefile dlls/hlink enable_hlink
20659 wine_fn_config_makefile dlls/hlink/tests enable_tests
20660 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20661 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20662 wine_fn_config_makefile dlls/http.sys enable_http_sys
20663 wine_fn_config_makefile dlls/httpapi enable_httpapi
20664 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20665 wine_fn_config_makefile dlls/iccvid enable_iccvid
20666 wine_fn_config_makefile dlls/icmp enable_icmp
20667 wine_fn_config_makefile dlls/ieframe enable_ieframe
20668 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20669 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20670 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20671 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20672 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20673 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20674 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20675 wine_fn_config_makefile dlls/imm32 enable_imm32
20676 wine_fn_config_makefile dlls/imm32/tests enable_tests
20677 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20678 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20679 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20680 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20681 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20682 wine_fn_config_makefile dlls/infosoft enable_infosoft
20683 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20684 wine_fn_config_makefile dlls/initpki enable_initpki
20685 wine_fn_config_makefile dlls/inkobj enable_inkobj
20686 wine_fn_config_makefile dlls/inseng enable_inseng
20687 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20688 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20689 wine_fn_config_makefile dlls/iprop enable_iprop
20690 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20691 wine_fn_config_makefile dlls/itircl enable_itircl
20692 wine_fn_config_makefile dlls/itss enable_itss
20693 wine_fn_config_makefile dlls/itss/tests enable_tests
20694 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20695 wine_fn_config_makefile dlls/jscript enable_jscript
20696 wine_fn_config_makefile dlls/jscript/tests enable_tests
20697 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20698 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20699 wine_fn_config_makefile dlls/kerberos enable_kerberos
20700 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20701 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20702 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20703 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20704 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20705 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20706 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20707 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20708 wine_fn_config_makefile dlls/ksuser enable_ksuser
20709 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20710 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20711 wine_fn_config_makefile dlls/loadperf enable_loadperf
20712 wine_fn_config_makefile dlls/localspl enable_localspl
20713 wine_fn_config_makefile dlls/localspl/tests enable_tests
20714 wine_fn_config_makefile dlls/localui enable_localui
20715 wine_fn_config_makefile dlls/localui/tests enable_tests
20716 wine_fn_config_makefile dlls/lz32 enable_lz32
20717 wine_fn_config_makefile dlls/lz32/tests enable_tests
20718 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20719 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20720 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20721 wine_fn_config_makefile dlls/mapistub enable_mapistub
20722 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20723 wine_fn_config_makefile dlls/mcicda enable_mcicda
20724 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20725 wine_fn_config_makefile dlls/mciseq enable_mciseq
20726 wine_fn_config_makefile dlls/mciwave enable_mciwave
20727 wine_fn_config_makefile dlls/mf enable_mf
20728 wine_fn_config_makefile dlls/mf/tests enable_tests
20729 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20730 wine_fn_config_makefile dlls/mferror enable_mferror
20731 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20732 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20733 wine_fn_config_makefile dlls/mfplat enable_mfplat
20734 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20735 wine_fn_config_makefile dlls/mfplay enable_mfplay
20736 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20737 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20738 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20739 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20740 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20741 wine_fn_config_makefile dlls/midimap enable_midimap
20742 wine_fn_config_makefile dlls/mlang enable_mlang
20743 wine_fn_config_makefile dlls/mlang/tests enable_tests
20744 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20745 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20746 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20747 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20748 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20749 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20750 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20751 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20752 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20753 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20754 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20755 wine_fn_config_makefile dlls/mpr enable_mpr
20756 wine_fn_config_makefile dlls/mpr/tests enable_tests
20757 wine_fn_config_makefile dlls/mprapi enable_mprapi
20758 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20759 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20760 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20761 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20762 wine_fn_config_makefile dlls/msado15 enable_msado15
20763 wine_fn_config_makefile dlls/msado15/tests enable_tests
20764 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20765 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20766 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20767 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20768 wine_fn_config_makefile dlls/mscms enable_mscms
20769 wine_fn_config_makefile dlls/mscms/tests enable_tests
20770 wine_fn_config_makefile dlls/mscoree enable_mscoree
20771 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20772 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20773 wine_fn_config_makefile dlls/msctf enable_msctf
20774 wine_fn_config_makefile dlls/msctf/tests enable_tests
20775 wine_fn_config_makefile dlls/msctfp enable_msctfp
20776 wine_fn_config_makefile dlls/msdaps enable_msdaps
20777 wine_fn_config_makefile dlls/msdelta enable_msdelta
20778 wine_fn_config_makefile dlls/msdmo enable_msdmo
20779 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20780 wine_fn_config_makefile dlls/msdrm enable_msdrm
20781 wine_fn_config_makefile dlls/msftedit enable_msftedit
20782 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20783 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20784 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20785 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20786 wine_fn_config_makefile dlls/mshtml enable_mshtml
20787 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20788 wine_fn_config_makefile dlls/msi enable_msi
20789 wine_fn_config_makefile dlls/msi/tests enable_tests
20790 wine_fn_config_makefile dlls/msident enable_msident
20791 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20792 wine_fn_config_makefile dlls/msimsg enable_msimsg
20793 wine_fn_config_makefile dlls/msimtf enable_msimtf
20794 wine_fn_config_makefile dlls/msisip enable_msisip
20795 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20796 wine_fn_config_makefile dlls/msls31 enable_msls31
20797 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20798 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20799 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20800 wine_fn_config_makefile dlls/msports enable_msports
20801 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20802 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20803 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20804 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20805 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20806 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20807 wine_fn_config_makefile dlls/mstask enable_mstask
20808 wine_fn_config_makefile dlls/mstask/tests enable_tests
20809 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20810 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20811 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20812 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20813 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20814 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20815 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20816 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20817 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20818 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20819 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20820 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20821 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20822 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20823 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20824 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20825 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20826 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20827 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20828 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20829 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20830 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20831 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20832 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20833 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20834 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20835 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20836 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20837 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20838 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20839 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20840 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20841 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20842 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20843 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20844 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20845 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20846 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20847 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20848 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20849 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20850 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20851 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20852 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20853 wine_fn_config_makefile dlls/mswsock enable_mswsock
20854 wine_fn_config_makefile dlls/msxml enable_msxml
20855 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20856 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20857 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20858 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20859 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20860 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20861 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20862 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20863 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20864 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20865 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20866 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20867 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20868 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20869 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20870 wine_fn_config_makefile dlls/netprofm enable_netprofm
20871 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20872 wine_fn_config_makefile dlls/netutils enable_netutils
20873 wine_fn_config_makefile dlls/newdev enable_newdev
20874 wine_fn_config_makefile dlls/ninput enable_ninput
20875 wine_fn_config_makefile dlls/ninput/tests enable_tests
20876 wine_fn_config_makefile dlls/normaliz enable_normaliz
20877 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20878 wine_fn_config_makefile dlls/npptools enable_npptools
20879 wine_fn_config_makefile dlls/ntdll enable_ntdll
20880 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20881 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20882 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20883 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20884 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20885 wine_fn_config_makefile dlls/ntprint enable_ntprint
20886 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20887 wine_fn_config_makefile dlls/objsel enable_objsel
20888 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20889 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20890 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20891 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20892 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20893 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20894 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20895 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20896 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20897 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20898 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20899 wine_fn_config_makefile dlls/ole32 enable_ole32
20900 wine_fn_config_makefile dlls/ole32/tests enable_tests
20901 wine_fn_config_makefile dlls/oleacc enable_oleacc
20902 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20903 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20904 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20905 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20906 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20907 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20908 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20909 wine_fn_config_makefile dlls/oledlg enable_oledlg
20910 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20911 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20912 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20913 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20914 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20915 wine_fn_config_makefile dlls/opcservices enable_opcservices
20916 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20917 wine_fn_config_makefile dlls/openal32 enable_openal32
20918 wine_fn_config_makefile dlls/opencl enable_opencl
20919 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20920 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20921 wine_fn_config_makefile dlls/packager enable_packager
20922 wine_fn_config_makefile dlls/packager/tests enable_tests
20923 wine_fn_config_makefile dlls/pdh enable_pdh
20924 wine_fn_config_makefile dlls/pdh/tests enable_tests
20925 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20926 wine_fn_config_makefile dlls/pidgen enable_pidgen
20927 wine_fn_config_makefile dlls/powrprof enable_powrprof
20928 wine_fn_config_makefile dlls/printui enable_printui
20929 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20930 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20931 wine_fn_config_makefile dlls/propsys enable_propsys
20932 wine_fn_config_makefile dlls/propsys/tests enable_tests
20933 wine_fn_config_makefile dlls/psapi enable_psapi
20934 wine_fn_config_makefile dlls/psapi/tests enable_tests
20935 wine_fn_config_makefile dlls/pstorec enable_pstorec
20936 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20937 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20938 wine_fn_config_makefile dlls/qasf enable_qasf
20939 wine_fn_config_makefile dlls/qasf/tests enable_tests
20940 wine_fn_config_makefile dlls/qcap enable_qcap
20941 wine_fn_config_makefile dlls/qcap/tests enable_tests
20942 wine_fn_config_makefile dlls/qdvd enable_qdvd
20943 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20944 wine_fn_config_makefile dlls/qedit enable_qedit
20945 wine_fn_config_makefile dlls/qedit/tests enable_tests
20946 wine_fn_config_makefile dlls/qmgr enable_qmgr
20947 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20948 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20949 wine_fn_config_makefile dlls/quartz enable_quartz
20950 wine_fn_config_makefile dlls/quartz/tests enable_tests
20951 wine_fn_config_makefile dlls/query enable_query
20952 wine_fn_config_makefile dlls/qwave enable_qwave
20953 wine_fn_config_makefile dlls/qwave/tests enable_tests
20954 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20955 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20956 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20957 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20958 wine_fn_config_makefile dlls/regapi enable_regapi
20959 wine_fn_config_makefile dlls/resutils enable_resutils
20960 wine_fn_config_makefile dlls/riched20 enable_riched20
20961 wine_fn_config_makefile dlls/riched20/tests enable_tests
20962 wine_fn_config_makefile dlls/riched32 enable_riched32
20963 wine_fn_config_makefile dlls/riched32/tests enable_tests
20964 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20965 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20966 wine_fn_config_makefile dlls/rsabase enable_rsabase
20967 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20968 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20969 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20970 wine_fn_config_makefile dlls/rtutils enable_rtutils
20971 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20972 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20973 wine_fn_config_makefile dlls/samlib enable_samlib
20974 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20975 wine_fn_config_makefile dlls/sapi enable_sapi
20976 wine_fn_config_makefile dlls/sapi/tests enable_tests
20977 wine_fn_config_makefile dlls/sas enable_sas
20978 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20979 wine_fn_config_makefile dlls/sccbase enable_sccbase
20980 wine_fn_config_makefile dlls/schannel enable_schannel
20981 wine_fn_config_makefile dlls/schannel/tests enable_tests
20982 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20983 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20984 wine_fn_config_makefile dlls/scrobj enable_scrobj
20985 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20986 wine_fn_config_makefile dlls/scrrun enable_scrrun
20987 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20988 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20989 wine_fn_config_makefile dlls/sechost enable_sechost
20990 wine_fn_config_makefile dlls/secur32 enable_secur32
20991 wine_fn_config_makefile dlls/secur32/tests enable_tests
20992 wine_fn_config_makefile dlls/security enable_security
20993 wine_fn_config_makefile dlls/sensapi enable_sensapi
20994 wine_fn_config_makefile dlls/serialui enable_serialui
20995 wine_fn_config_makefile dlls/serialui/tests enable_tests
20996 wine_fn_config_makefile dlls/setupapi enable_setupapi
20997 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20998 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20999 wine_fn_config_makefile dlls/sfc enable_sfc
21000 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21001 wine_fn_config_makefile dlls/shcore enable_shcore
21002 wine_fn_config_makefile dlls/shcore/tests enable_tests
21003 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21004 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21005 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21006 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21007 wine_fn_config_makefile dlls/shell32 enable_shell32
21008 wine_fn_config_makefile dlls/shell32/tests enable_tests
21009 wine_fn_config_makefile dlls/shfolder enable_shfolder
21010 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21011 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21012 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21013 wine_fn_config_makefile dlls/slc enable_slc
21014 wine_fn_config_makefile dlls/slc/tests enable_tests
21015 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21016 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21017 wine_fn_config_makefile dlls/softpub enable_softpub
21018 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21019 wine_fn_config_makefile dlls/spoolss enable_spoolss
21020 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21021 wine_fn_config_makefile dlls/srclient enable_srclient
21022 wine_fn_config_makefile dlls/srvcli enable_srvcli
21023 wine_fn_config_makefile dlls/sspicli enable_sspicli
21024 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21025 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21026 wine_fn_config_makefile dlls/sti enable_sti
21027 wine_fn_config_makefile dlls/sti/tests enable_tests
21028 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21029 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21030 wine_fn_config_makefile dlls/strmbase enable_strmbase
21031 wine_fn_config_makefile dlls/strmdll enable_strmdll
21032 wine_fn_config_makefile dlls/strmiids enable_strmiids
21033 wine_fn_config_makefile dlls/svrapi enable_svrapi
21034 wine_fn_config_makefile dlls/sxs enable_sxs
21035 wine_fn_config_makefile dlls/sxs/tests enable_tests
21036 wine_fn_config_makefile dlls/system.drv16 enable_win16
21037 wine_fn_config_makefile dlls/t2embed enable_t2embed
21038 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21039 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21040 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21041 wine_fn_config_makefile dlls/taskschd enable_taskschd
21042 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21043 wine_fn_config_makefile dlls/tdh enable_tdh
21044 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21045 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21046 wine_fn_config_makefile dlls/traffic enable_traffic
21047 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21048 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21049 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21050 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21051 wine_fn_config_makefile dlls/tzres enable_tzres
21052 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21053 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21054 wine_fn_config_makefile dlls/uianimation enable_uianimation
21055 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21056 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21057 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21058 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21059 wine_fn_config_makefile dlls/unicows enable_unicows
21060 wine_fn_config_makefile dlls/updspapi enable_updspapi
21061 wine_fn_config_makefile dlls/url enable_url
21062 wine_fn_config_makefile dlls/urlmon enable_urlmon
21063 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21064 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21065 wine_fn_config_makefile dlls/user.exe16 enable_win16
21066 wine_fn_config_makefile dlls/user32 enable_user32
21067 wine_fn_config_makefile dlls/user32/tests enable_tests
21068 wine_fn_config_makefile dlls/userenv enable_userenv
21069 wine_fn_config_makefile dlls/userenv/tests enable_tests
21070 wine_fn_config_makefile dlls/usp10 enable_usp10
21071 wine_fn_config_makefile dlls/usp10/tests enable_tests
21072 wine_fn_config_makefile dlls/utildll enable_utildll
21073 wine_fn_config_makefile dlls/uuid enable_uuid
21074 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21075 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21076 wine_fn_config_makefile dlls/vbscript enable_vbscript
21077 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21078 wine_fn_config_makefile dlls/vcomp enable_vcomp
21079 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21080 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21081 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21082 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21083 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21084 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21085 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21086 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21087 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21088 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21089 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21090 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21091 wine_fn_config_makefile dlls/version enable_version
21092 wine_fn_config_makefile dlls/version/tests enable_tests
21093 wine_fn_config_makefile dlls/vga enable_vga
21094 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21095 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21096 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21097 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21098 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21099 wine_fn_config_makefile dlls/vssapi enable_vssapi
21100 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21101 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21102 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21103 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21104 wine_fn_config_makefile dlls/w32skrnl enable_win16
21105 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21106 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21107 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21108 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21109 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21110 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21111 wine_fn_config_makefile dlls/wdscore enable_wdscore
21112 wine_fn_config_makefile dlls/webservices enable_webservices
21113 wine_fn_config_makefile dlls/webservices/tests enable_tests
21114 wine_fn_config_makefile dlls/websocket enable_websocket
21115 wine_fn_config_makefile dlls/wer enable_wer
21116 wine_fn_config_makefile dlls/wer/tests enable_tests
21117 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21118 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21119 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21120 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21121 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21122 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21123 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21124 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21125 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21126 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21127 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21128 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21129 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21130 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21131 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21132 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21133 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21134 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21135 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21136 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21137 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21138 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21139 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21140 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21141 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21142 wine_fn_config_makefile dlls/wined3d enable_wined3d
21143 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21144 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21145 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21146 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21147 wine_fn_config_makefile dlls/winemapi enable_winemapi
21148 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21149 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21150 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21151 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21152 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21153 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21154 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21155 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21156 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21157 wine_fn_config_makefile dlls/wing32 enable_wing32
21158 wine_fn_config_makefile dlls/winhttp enable_winhttp
21159 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21160 wine_fn_config_makefile dlls/wininet enable_wininet
21161 wine_fn_config_makefile dlls/wininet/tests enable_tests
21162 wine_fn_config_makefile dlls/winmm enable_winmm
21163 wine_fn_config_makefile dlls/winmm/tests enable_tests
21164 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21165 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21166 wine_fn_config_makefile dlls/winscard enable_winscard
21167 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21168 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21169 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21170 wine_fn_config_makefile dlls/winsta enable_winsta
21171 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21172 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21173 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21174 wine_fn_config_makefile dlls/wintrust enable_wintrust
21175 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21176 wine_fn_config_makefile dlls/winusb enable_winusb
21177 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21178 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21179 wine_fn_config_makefile dlls/wlanui enable_wlanui
21180 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21181 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21182 wine_fn_config_makefile dlls/wmasf enable_wmasf
21183 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21184 wine_fn_config_makefile dlls/wmi enable_wmi
21185 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21186 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21187 wine_fn_config_makefile dlls/wmp enable_wmp
21188 wine_fn_config_makefile dlls/wmp/tests enable_tests
21189 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21190 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21191 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21192 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21193 wine_fn_config_makefile dlls/wow32 enable_win16
21194 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21195 wine_fn_config_makefile dlls/wpc enable_wpc
21196 wine_fn_config_makefile dlls/wpc/tests enable_tests
21197 wine_fn_config_makefile dlls/wpcap enable_wpcap
21198 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21199 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21200 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21201 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21202 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21203 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21204 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21205 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21206 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21207 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21208 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21209 wine_fn_config_makefile dlls/wuapi enable_wuapi
21210 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21211 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21212 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21213 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21214 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21215 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21216 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21217 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21218 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21219 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21220 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21221 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21222 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21223 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21224 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21225 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21226 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21227 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21228 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21229 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21230 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21231 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21232 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21233 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21234 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21235 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21236 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21237 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21238 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21239 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21240 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21241 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21242 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21243 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21244 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21245 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21246 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21247 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21248 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21249 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21250 wine_fn_config_makefile dlls/xmllite enable_xmllite
21251 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21252 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21253 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21254 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21255 wine_fn_config_makefile fonts enable_fonts
21256 wine_fn_config_makefile include enable_include
21257 wine_fn_config_makefile libs/port enable_port
21258 wine_fn_config_makefile libs/wine enable_wine
21259 wine_fn_config_makefile libs/wpp enable_wpp
21260 wine_fn_config_makefile loader enable_loader
21261 wine_fn_config_makefile nls enable_nls
21262 wine_fn_config_makefile po enable_po
21263 wine_fn_config_makefile programs/arp enable_arp
21264 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21265 wine_fn_config_makefile programs/attrib enable_attrib
21266 wine_fn_config_makefile programs/cabarc enable_cabarc
21267 wine_fn_config_makefile programs/cacls enable_cacls
21268 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21269 wine_fn_config_makefile programs/clock enable_clock
21270 wine_fn_config_makefile programs/cmd enable_cmd
21271 wine_fn_config_makefile programs/cmd/tests enable_tests
21272 wine_fn_config_makefile programs/conhost enable_conhost
21273 wine_fn_config_makefile programs/conhost/tests enable_tests
21274 wine_fn_config_makefile programs/control enable_control
21275 wine_fn_config_makefile programs/cscript enable_cscript
21276 wine_fn_config_makefile programs/dism enable_dism
21277 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21278 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21279 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21280 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21281 wine_fn_config_makefile programs/eject enable_eject
21282 wine_fn_config_makefile programs/expand enable_expand
21283 wine_fn_config_makefile programs/explorer enable_explorer
21284 wine_fn_config_makefile programs/extrac32 enable_extrac32
21285 wine_fn_config_makefile programs/fc enable_fc
21286 wine_fn_config_makefile programs/find enable_find
21287 wine_fn_config_makefile programs/find/tests enable_tests
21288 wine_fn_config_makefile programs/findstr enable_findstr
21289 wine_fn_config_makefile programs/fsutil enable_fsutil
21290 wine_fn_config_makefile programs/fsutil/tests enable_tests
21291 wine_fn_config_makefile programs/hh enable_hh
21292 wine_fn_config_makefile programs/hostname enable_hostname
21293 wine_fn_config_makefile programs/icacls enable_icacls
21294 wine_fn_config_makefile programs/icinfo enable_icinfo
21295 wine_fn_config_makefile programs/iexplore enable_iexplore
21296 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21297 wine_fn_config_makefile programs/lodctr enable_lodctr
21298 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21299 wine_fn_config_makefile programs/mshta enable_mshta
21300 wine_fn_config_makefile programs/msidb enable_msidb
21301 wine_fn_config_makefile programs/msiexec enable_msiexec
21302 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21303 wine_fn_config_makefile programs/net enable_net
21304 wine_fn_config_makefile programs/netsh enable_netsh
21305 wine_fn_config_makefile programs/netstat enable_netstat
21306 wine_fn_config_makefile programs/ngen enable_ngen
21307 wine_fn_config_makefile programs/notepad enable_notepad
21308 wine_fn_config_makefile programs/oleview enable_oleview
21309 wine_fn_config_makefile programs/ping enable_ping
21310 wine_fn_config_makefile programs/plugplay enable_plugplay
21311 wine_fn_config_makefile programs/powershell enable_powershell
21312 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21313 wine_fn_config_makefile programs/progman enable_progman
21314 wine_fn_config_makefile programs/reg enable_reg
21315 wine_fn_config_makefile programs/reg/tests enable_tests
21316 wine_fn_config_makefile programs/regasm enable_regasm
21317 wine_fn_config_makefile programs/regedit enable_regedit
21318 wine_fn_config_makefile programs/regedit/tests enable_tests
21319 wine_fn_config_makefile programs/regini enable_regini
21320 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21321 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21322 wine_fn_config_makefile programs/rpcss enable_rpcss
21323 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21324 wine_fn_config_makefile programs/rundll32 enable_rundll32
21325 wine_fn_config_makefile programs/sc enable_sc
21326 wine_fn_config_makefile programs/schtasks enable_schtasks
21327 wine_fn_config_makefile programs/schtasks/tests enable_tests
21328 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21329 wine_fn_config_makefile programs/secedit enable_secedit
21330 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21331 wine_fn_config_makefile programs/services enable_services
21332 wine_fn_config_makefile programs/services/tests enable_tests
21333 wine_fn_config_makefile programs/shutdown enable_shutdown
21334 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21335 wine_fn_config_makefile programs/start enable_start
21336 wine_fn_config_makefile programs/subst enable_subst
21337 wine_fn_config_makefile programs/svchost enable_svchost
21338 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21339 wine_fn_config_makefile programs/taskkill enable_taskkill
21340 wine_fn_config_makefile programs/tasklist enable_tasklist
21341 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21342 wine_fn_config_makefile programs/termsv enable_termsv
21343 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21344 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21345 wine_fn_config_makefile programs/view enable_view
21346 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21347 wine_fn_config_makefile programs/where enable_where
21348 wine_fn_config_makefile programs/whoami enable_whoami
21349 wine_fn_config_makefile programs/wineboot enable_wineboot
21350 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21351 wine_fn_config_makefile programs/winecfg enable_winecfg
21352 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21353 wine_fn_config_makefile programs/winedbg enable_winedbg
21354 wine_fn_config_makefile programs/winedevice enable_winedevice
21355 wine_fn_config_makefile programs/winefile enable_winefile
21356 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21357 wine_fn_config_makefile programs/winemine enable_winemine
21358 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21359 wine_fn_config_makefile programs/winepath enable_winepath
21360 wine_fn_config_makefile programs/winetest enable_winetest
21361 wine_fn_config_makefile programs/winevdm enable_win16
21362 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21363 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21364 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21365 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21366 wine_fn_config_makefile programs/winver enable_winver
21367 wine_fn_config_makefile programs/wmic enable_wmic
21368 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21369 wine_fn_config_makefile programs/wordpad enable_wordpad
21370 wine_fn_config_makefile programs/write enable_write
21371 wine_fn_config_makefile programs/wscript enable_wscript
21372 wine_fn_config_makefile programs/wscript/tests enable_tests
21373 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21374 wine_fn_config_makefile programs/wusa enable_wusa
21375 wine_fn_config_makefile programs/xcopy enable_xcopy
21376 wine_fn_config_makefile programs/xcopy/tests enable_tests
21377 wine_fn_config_makefile server enable_server
21378 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21379 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21380 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21381 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21382 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21383 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21384 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21385 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21386 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21389 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21390 wine_fn_append_file CONFIGURE_TARGETS "tags"
21391 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21392 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21393 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21394 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21395 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21396 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21398 if test "x$enable_tools" != xno
21399 then
21400 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21401 ac_config_commands="$ac_config_commands tools/makedep"
21405 ac_config_commands="$ac_config_commands Makefile"
21408 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21412 if test "x$enable_maintainer_mode" = xyes
21413 then
21414 wine_fn_append_rule "configure: configure.ac aclocal.m4
21415 autoconf --warnings=all
21416 include/config.h.in: include/stamp-h.in
21417 include/stamp-h.in: configure.ac aclocal.m4
21418 autoheader --warnings=all
21419 @echo timestamp > \$@"
21422 if test "x$enable_tools" != xno
21423 then
21424 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21425 @./config.status tools/makedep
21426 Makefile: tools/makedep$ac_exeext"
21427 else
21428 wine_fn_append_rule "\$(MAKEDEP):
21429 @echo \"You need to run make in $TOOLSDIR first\" && false"
21432 if test -n "$with_wine64"
21433 then
21434 case "$with_wine64" in
21435 /*) reldir="" ;;
21436 *) reldir="../" ;;
21437 esac
21438 rm -f fonts server 2>/dev/null
21439 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21440 loader/wine64 loader/wine64-preloader:
21441 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21442 $with_wine64/loader/wine:
21443 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21444 $with_wine64/loader/wine-preloader:
21445 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21446 clean::
21447 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21448 else
21449 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21450 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21451 fonts \
21452 loader/wine.inf \
21453 nls \
21454 programs/msidb/msidb \
21455 programs/msiexec/msiexec \
21456 programs/notepad/notepad \
21457 programs/regedit/regedit \
21458 programs/regsvr32/regsvr32 \
21459 programs/wineboot/wineboot \
21460 programs/winecfg/winecfg \
21461 programs/wineconsole/wineconsole \
21462 programs/winedbg/winedbg \
21463 programs/winefile/winefile \
21464 programs/winemine/winemine \
21465 programs/winepath/winepath \
21466 server/wineserver"
21468 case $host_os in
21469 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21470 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21471 esac
21474 $as_echo " done" >&6
21475 cat >confcache <<\_ACEOF
21476 # This file is a shell script that caches the results of configure
21477 # tests run on this system so they can be shared between configure
21478 # scripts and configure runs, see configure's option --config-cache.
21479 # It is not useful on other systems. If it contains results you don't
21480 # want to keep, you may remove or edit it.
21482 # config.status only pays attention to the cache file if you give it
21483 # the --recheck option to rerun configure.
21485 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21486 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21487 # following values.
21489 _ACEOF
21491 # The following way of writing the cache mishandles newlines in values,
21492 # but we know of no workaround that is simple, portable, and efficient.
21493 # So, we kill variables containing newlines.
21494 # Ultrix sh set writes to stderr and can't be redirected directly,
21495 # and sets the high bit in the cache file unless we assign to the vars.
21497 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21498 eval ac_val=\$$ac_var
21499 case $ac_val in #(
21500 *${as_nl}*)
21501 case $ac_var in #(
21502 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21503 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21504 esac
21505 case $ac_var in #(
21506 _ | IFS | as_nl) ;; #(
21507 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21508 *) { eval $ac_var=; unset $ac_var;} ;;
21509 esac ;;
21510 esac
21511 done
21513 (set) 2>&1 |
21514 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21515 *${as_nl}ac_space=\ *)
21516 # `set' does not quote correctly, so add quotes: double-quote
21517 # substitution turns \\\\ into \\, and sed turns \\ into \.
21518 sed -n \
21519 "s/'/'\\\\''/g;
21520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21521 ;; #(
21523 # `set' quotes correctly as required by POSIX, so do not add quotes.
21524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21526 esac |
21527 sort
21529 sed '
21530 /^ac_cv_env_/b end
21531 t clear
21532 :clear
21533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21534 t end
21535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21536 :end' >>confcache
21537 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21538 if test -w "$cache_file"; then
21539 if test "x$cache_file" != "x/dev/null"; then
21540 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21541 $as_echo "$as_me: updating cache $cache_file" >&6;}
21542 if test ! -f "$cache_file" || test -h "$cache_file"; then
21543 cat confcache >"$cache_file"
21544 else
21545 case $cache_file in #(
21546 */* | ?:*)
21547 mv -f confcache "$cache_file"$$ &&
21548 mv -f "$cache_file"$$ "$cache_file" ;; #(
21550 mv -f confcache "$cache_file" ;;
21551 esac
21554 else
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21556 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21559 rm -f confcache
21561 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21562 # Let make expand exec_prefix.
21563 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21565 DEFS=-DHAVE_CONFIG_H
21567 ac_libobjs=
21568 ac_ltlibobjs=
21570 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21571 # 1. Remove the extension, and $U if already installed.
21572 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21573 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21574 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21575 # will be set to the directory where LIBOBJS objects are built.
21576 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21577 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21578 done
21579 LIBOBJS=$ac_libobjs
21581 LTLIBOBJS=$ac_ltlibobjs
21585 : "${CONFIG_STATUS=./config.status}"
21586 ac_write_fail=0
21587 ac_clean_files_save=$ac_clean_files
21588 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21590 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21591 as_write_fail=0
21592 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21593 #! $SHELL
21594 # Generated by $as_me.
21595 # Run this file to recreate the current configuration.
21596 # Compiler output produced by configure, useful for debugging
21597 # configure, is in config.log if it exists.
21599 debug=false
21600 ac_cs_recheck=false
21601 ac_cs_silent=false
21603 SHELL=\${CONFIG_SHELL-$SHELL}
21604 export SHELL
21605 _ASEOF
21606 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21607 ## -------------------- ##
21608 ## M4sh Initialization. ##
21609 ## -------------------- ##
21611 # Be more Bourne compatible
21612 DUALCASE=1; export DUALCASE # for MKS sh
21613 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21614 emulate sh
21615 NULLCMD=:
21616 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21617 # is contrary to our usage. Disable this feature.
21618 alias -g '${1+"$@"}'='"$@"'
21619 setopt NO_GLOB_SUBST
21620 else
21621 case `(set -o) 2>/dev/null` in #(
21622 *posix*) :
21623 set -o posix ;; #(
21624 *) :
21626 esac
21630 as_nl='
21632 export as_nl
21633 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21634 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21635 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21636 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21637 # Prefer a ksh shell builtin over an external printf program on Solaris,
21638 # but without wasting forks for bash or zsh.
21639 if test -z "$BASH_VERSION$ZSH_VERSION" \
21640 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21641 as_echo='print -r --'
21642 as_echo_n='print -rn --'
21643 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21644 as_echo='printf %s\n'
21645 as_echo_n='printf %s'
21646 else
21647 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21648 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21649 as_echo_n='/usr/ucb/echo -n'
21650 else
21651 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21652 as_echo_n_body='eval
21653 arg=$1;
21654 case $arg in #(
21655 *"$as_nl"*)
21656 expr "X$arg" : "X\\(.*\\)$as_nl";
21657 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21658 esac;
21659 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21661 export as_echo_n_body
21662 as_echo_n='sh -c $as_echo_n_body as_echo'
21664 export as_echo_body
21665 as_echo='sh -c $as_echo_body as_echo'
21668 # The user is always right.
21669 if test "${PATH_SEPARATOR+set}" != set; then
21670 PATH_SEPARATOR=:
21671 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21672 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21673 PATH_SEPARATOR=';'
21678 # IFS
21679 # We need space, tab and new line, in precisely that order. Quoting is
21680 # there to prevent editors from complaining about space-tab.
21681 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21682 # splitting by setting IFS to empty value.)
21683 IFS=" "" $as_nl"
21685 # Find who we are. Look in the path if we contain no directory separator.
21686 as_myself=
21687 case $0 in #((
21688 *[\\/]* ) as_myself=$0 ;;
21689 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21690 for as_dir in $PATH
21692 IFS=$as_save_IFS
21693 test -z "$as_dir" && as_dir=.
21694 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21695 done
21696 IFS=$as_save_IFS
21699 esac
21700 # We did not find ourselves, most probably we were run as `sh COMMAND'
21701 # in which case we are not to be found in the path.
21702 if test "x$as_myself" = x; then
21703 as_myself=$0
21705 if test ! -f "$as_myself"; then
21706 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21707 exit 1
21710 # Unset variables that we do not need and which cause bugs (e.g. in
21711 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21712 # suppresses any "Segmentation fault" message there. '((' could
21713 # trigger a bug in pdksh 5.2.14.
21714 for as_var in BASH_ENV ENV MAIL MAILPATH
21715 do eval test x\${$as_var+set} = xset \
21716 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21717 done
21718 PS1='$ '
21719 PS2='> '
21720 PS4='+ '
21722 # NLS nuisances.
21723 LC_ALL=C
21724 export LC_ALL
21725 LANGUAGE=C
21726 export LANGUAGE
21728 # CDPATH.
21729 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21732 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21733 # ----------------------------------------
21734 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21735 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21736 # script with STATUS, using 1 if that was 0.
21737 as_fn_error ()
21739 as_status=$1; test $as_status -eq 0 && as_status=1
21740 if test "$4"; then
21741 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21742 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21744 $as_echo "$as_me: error: $2" >&2
21745 as_fn_exit $as_status
21746 } # as_fn_error
21749 # as_fn_set_status STATUS
21750 # -----------------------
21751 # Set $? to STATUS, without forking.
21752 as_fn_set_status ()
21754 return $1
21755 } # as_fn_set_status
21757 # as_fn_exit STATUS
21758 # -----------------
21759 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21760 as_fn_exit ()
21762 set +e
21763 as_fn_set_status $1
21764 exit $1
21765 } # as_fn_exit
21767 # as_fn_unset VAR
21768 # ---------------
21769 # Portably unset VAR.
21770 as_fn_unset ()
21772 { eval $1=; unset $1;}
21774 as_unset=as_fn_unset
21775 # as_fn_append VAR VALUE
21776 # ----------------------
21777 # Append the text in VALUE to the end of the definition contained in VAR. Take
21778 # advantage of any shell optimizations that allow amortized linear growth over
21779 # repeated appends, instead of the typical quadratic growth present in naive
21780 # implementations.
21781 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21782 eval 'as_fn_append ()
21784 eval $1+=\$2
21786 else
21787 as_fn_append ()
21789 eval $1=\$$1\$2
21791 fi # as_fn_append
21793 # as_fn_arith ARG...
21794 # ------------------
21795 # Perform arithmetic evaluation on the ARGs, and store the result in the
21796 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21797 # must be portable across $(()) and expr.
21798 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21799 eval 'as_fn_arith ()
21801 as_val=$(( $* ))
21803 else
21804 as_fn_arith ()
21806 as_val=`expr "$@" || test $? -eq 1`
21808 fi # as_fn_arith
21811 if expr a : '\(a\)' >/dev/null 2>&1 &&
21812 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21813 as_expr=expr
21814 else
21815 as_expr=false
21818 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21819 as_basename=basename
21820 else
21821 as_basename=false
21824 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21825 as_dirname=dirname
21826 else
21827 as_dirname=false
21830 as_me=`$as_basename -- "$0" ||
21831 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21832 X"$0" : 'X\(//\)$' \| \
21833 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21834 $as_echo X/"$0" |
21835 sed '/^.*\/\([^/][^/]*\)\/*$/{
21836 s//\1/
21839 /^X\/\(\/\/\)$/{
21840 s//\1/
21843 /^X\/\(\/\).*/{
21844 s//\1/
21847 s/.*/./; q'`
21849 # Avoid depending upon Character Ranges.
21850 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21851 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21852 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21853 as_cr_digits='0123456789'
21854 as_cr_alnum=$as_cr_Letters$as_cr_digits
21856 ECHO_C= ECHO_N= ECHO_T=
21857 case `echo -n x` in #(((((
21858 -n*)
21859 case `echo 'xy\c'` in
21860 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21861 xy) ECHO_C='\c';;
21862 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21863 ECHO_T=' ';;
21864 esac;;
21866 ECHO_N='-n';;
21867 esac
21869 rm -f conf$$ conf$$.exe conf$$.file
21870 if test -d conf$$.dir; then
21871 rm -f conf$$.dir/conf$$.file
21872 else
21873 rm -f conf$$.dir
21874 mkdir conf$$.dir 2>/dev/null
21876 if (echo >conf$$.file) 2>/dev/null; then
21877 if ln -s conf$$.file conf$$ 2>/dev/null; then
21878 as_ln_s='ln -s'
21879 # ... but there are two gotchas:
21880 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21881 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21882 # In both cases, we have to default to `cp -pR'.
21883 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21884 as_ln_s='cp -pR'
21885 elif ln conf$$.file conf$$ 2>/dev/null; then
21886 as_ln_s=ln
21887 else
21888 as_ln_s='cp -pR'
21890 else
21891 as_ln_s='cp -pR'
21893 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21894 rmdir conf$$.dir 2>/dev/null
21897 # as_fn_mkdir_p
21898 # -------------
21899 # Create "$as_dir" as a directory, including parents if necessary.
21900 as_fn_mkdir_p ()
21903 case $as_dir in #(
21904 -*) as_dir=./$as_dir;;
21905 esac
21906 test -d "$as_dir" || eval $as_mkdir_p || {
21907 as_dirs=
21908 while :; do
21909 case $as_dir in #(
21910 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21911 *) as_qdir=$as_dir;;
21912 esac
21913 as_dirs="'$as_qdir' $as_dirs"
21914 as_dir=`$as_dirname -- "$as_dir" ||
21915 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21916 X"$as_dir" : 'X\(//\)[^/]' \| \
21917 X"$as_dir" : 'X\(//\)$' \| \
21918 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21919 $as_echo X"$as_dir" |
21920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21921 s//\1/
21924 /^X\(\/\/\)[^/].*/{
21925 s//\1/
21928 /^X\(\/\/\)$/{
21929 s//\1/
21932 /^X\(\/\).*/{
21933 s//\1/
21936 s/.*/./; q'`
21937 test -d "$as_dir" && break
21938 done
21939 test -z "$as_dirs" || eval "mkdir $as_dirs"
21940 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21943 } # as_fn_mkdir_p
21944 if mkdir -p . 2>/dev/null; then
21945 as_mkdir_p='mkdir -p "$as_dir"'
21946 else
21947 test -d ./-p && rmdir ./-p
21948 as_mkdir_p=false
21952 # as_fn_executable_p FILE
21953 # -----------------------
21954 # Test if FILE is an executable regular file.
21955 as_fn_executable_p ()
21957 test -f "$1" && test -x "$1"
21958 } # as_fn_executable_p
21959 as_test_x='test -x'
21960 as_executable_p=as_fn_executable_p
21962 # Sed expression to map a string onto a valid CPP name.
21963 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21965 # Sed expression to map a string onto a valid variable name.
21966 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21969 exec 6>&1
21970 ## ----------------------------------- ##
21971 ## Main body of $CONFIG_STATUS script. ##
21972 ## ----------------------------------- ##
21973 _ASEOF
21974 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21977 # Save the log message, to keep $0 and so on meaningful, and to
21978 # report actual input values of CONFIG_FILES etc. instead of their
21979 # values after options handling.
21980 ac_log="
21981 This file was extended by Wine $as_me 6.6, which was
21982 generated by GNU Autoconf 2.69. Invocation command line was
21984 CONFIG_FILES = $CONFIG_FILES
21985 CONFIG_HEADERS = $CONFIG_HEADERS
21986 CONFIG_LINKS = $CONFIG_LINKS
21987 CONFIG_COMMANDS = $CONFIG_COMMANDS
21988 $ $0 $@
21990 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21993 _ACEOF
21995 case $ac_config_files in *"
21996 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21997 esac
21999 case $ac_config_headers in *"
22000 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22001 esac
22004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22005 # Files that config.status was made for.
22006 config_files="$ac_config_files"
22007 config_headers="$ac_config_headers"
22008 config_links="$ac_config_links"
22009 config_commands="$ac_config_commands"
22011 _ACEOF
22013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22014 ac_cs_usage="\
22015 \`$as_me' instantiates files and other configuration actions
22016 from templates according to the current configuration. Unless the files
22017 and actions are specified as TAGs, all are instantiated by default.
22019 Usage: $0 [OPTION]... [TAG]...
22021 -h, --help print this help, then exit
22022 -V, --version print version number and configuration settings, then exit
22023 --config print configuration, then exit
22024 -q, --quiet, --silent
22025 do not print progress messages
22026 -d, --debug don't remove temporary files
22027 --recheck update $as_me by reconfiguring in the same conditions
22028 --file=FILE[:TEMPLATE]
22029 instantiate the configuration file FILE
22030 --header=FILE[:TEMPLATE]
22031 instantiate the configuration header FILE
22033 Configuration files:
22034 $config_files
22036 Configuration headers:
22037 $config_headers
22039 Configuration links:
22040 $config_links
22042 Configuration commands:
22043 $config_commands
22045 Report bugs to <wine-devel@winehq.org>.
22046 Wine home page: <https://www.winehq.org>."
22048 _ACEOF
22049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22050 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22051 ac_cs_version="\\
22052 Wine config.status 6.6
22053 configured by $0, generated by GNU Autoconf 2.69,
22054 with options \\"\$ac_cs_config\\"
22056 Copyright (C) 2012 Free Software Foundation, Inc.
22057 This config.status script is free software; the Free Software Foundation
22058 gives unlimited permission to copy, distribute and modify it."
22060 ac_pwd='$ac_pwd'
22061 srcdir='$srcdir'
22062 test -n "\$AWK" || AWK=awk
22063 _ACEOF
22065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22066 # The default lists apply if the user does not specify any file.
22067 ac_need_defaults=:
22068 while test $# != 0
22070 case $1 in
22071 --*=?*)
22072 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22073 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22074 ac_shift=:
22076 --*=)
22077 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22078 ac_optarg=
22079 ac_shift=:
22082 ac_option=$1
22083 ac_optarg=$2
22084 ac_shift=shift
22086 esac
22088 case $ac_option in
22089 # Handling of the options.
22090 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22091 ac_cs_recheck=: ;;
22092 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22093 $as_echo "$ac_cs_version"; exit ;;
22094 --config | --confi | --conf | --con | --co | --c )
22095 $as_echo "$ac_cs_config"; exit ;;
22096 --debug | --debu | --deb | --de | --d | -d )
22097 debug=: ;;
22098 --file | --fil | --fi | --f )
22099 $ac_shift
22100 case $ac_optarg in
22101 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22102 '') as_fn_error $? "missing file argument" ;;
22103 esac
22104 as_fn_append CONFIG_FILES " '$ac_optarg'"
22105 ac_need_defaults=false;;
22106 --header | --heade | --head | --hea )
22107 $ac_shift
22108 case $ac_optarg in
22109 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22110 esac
22111 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22112 ac_need_defaults=false;;
22113 --he | --h)
22114 # Conflict between --help and --header
22115 as_fn_error $? "ambiguous option: \`$1'
22116 Try \`$0 --help' for more information.";;
22117 --help | --hel | -h )
22118 $as_echo "$ac_cs_usage"; exit ;;
22119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22120 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22121 ac_cs_silent=: ;;
22123 # This is an error.
22124 -*) as_fn_error $? "unrecognized option: \`$1'
22125 Try \`$0 --help' for more information." ;;
22127 *) as_fn_append ac_config_targets " $1"
22128 ac_need_defaults=false ;;
22130 esac
22131 shift
22132 done
22134 ac_configure_extra_args=
22136 if $ac_cs_silent; then
22137 exec 6>/dev/null
22138 ac_configure_extra_args="$ac_configure_extra_args --silent"
22141 _ACEOF
22142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22143 if \$ac_cs_recheck; then
22144 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22145 shift
22146 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22147 CONFIG_SHELL='$SHELL'
22148 export CONFIG_SHELL
22149 exec "\$@"
22152 _ACEOF
22153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22154 exec 5>>config.log
22156 echo
22157 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22158 ## Running $as_me. ##
22159 _ASBOX
22160 $as_echo "$ac_log"
22161 } >&5
22163 _ACEOF
22164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22166 # INIT-COMMANDS
22168 wine_fn_output_makedep ()
22170 as_dir=tools; as_fn_mkdir_p
22171 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22173 wine_fn_output_makefile ()
22175 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22176 `cat $wine_rules_file`
22177 _WINE_EOF
22178 as_fn_error $? "could not create Makefile" "$LINENO" 5
22181 _ACEOF
22183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22185 # Handling of arguments.
22186 for ac_config_target in $ac_config_targets
22188 case $ac_config_target in
22189 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22190 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22191 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22192 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22193 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22194 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22195 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22197 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22198 esac
22199 done
22202 # If the user did not use the arguments to specify the items to instantiate,
22203 # then the envvar interface is used. Set only those that are not.
22204 # We use the long form for the default assignment because of an extremely
22205 # bizarre bug on SunOS 4.1.3.
22206 if $ac_need_defaults; then
22207 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22208 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22209 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22210 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22213 # Have a temporary directory for convenience. Make it in the build tree
22214 # simply because there is no reason against having it here, and in addition,
22215 # creating and moving files from /tmp can sometimes cause problems.
22216 # Hook for its removal unless debugging.
22217 # Note that there is a small window in which the directory will not be cleaned:
22218 # after its creation but before its name has been assigned to `$tmp'.
22219 $debug ||
22221 tmp= ac_tmp=
22222 trap 'exit_status=$?
22223 : "${ac_tmp:=$tmp}"
22224 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22226 trap 'as_fn_exit 1' 1 2 13 15
22228 # Create a (secure) tmp directory for tmp files.
22231 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22232 test -d "$tmp"
22233 } ||
22235 tmp=./conf$$-$RANDOM
22236 (umask 077 && mkdir "$tmp")
22237 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22238 ac_tmp=$tmp
22240 # Set up the scripts for CONFIG_FILES section.
22241 # No need to generate them if there are no CONFIG_FILES.
22242 # This happens for instance with `./config.status config.h'.
22243 if test -n "$CONFIG_FILES"; then
22246 ac_cr=`echo X | tr X '\015'`
22247 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22248 # But we know of no other shell where ac_cr would be empty at this
22249 # point, so we can use a bashism as a fallback.
22250 if test "x$ac_cr" = x; then
22251 eval ac_cr=\$\'\\r\'
22253 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22254 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22255 ac_cs_awk_cr='\\r'
22256 else
22257 ac_cs_awk_cr=$ac_cr
22260 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22261 _ACEOF
22265 echo "cat >conf$$subs.awk <<_ACEOF" &&
22266 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22267 echo "_ACEOF"
22268 } >conf$$subs.sh ||
22269 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22270 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22271 ac_delim='%!_!# '
22272 for ac_last_try in false false false false false :; do
22273 . ./conf$$subs.sh ||
22274 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22276 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22277 if test $ac_delim_n = $ac_delim_num; then
22278 break
22279 elif $ac_last_try; then
22280 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22281 else
22282 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22284 done
22285 rm -f conf$$subs.sh
22287 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22288 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22289 _ACEOF
22290 sed -n '
22292 s/^/S["/; s/!.*/"]=/
22295 s/^[^!]*!//
22296 :repl
22297 t repl
22298 s/'"$ac_delim"'$//
22299 t delim
22302 s/\(.\{148\}\)..*/\1/
22303 t more1
22304 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22307 b repl
22308 :more1
22309 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22312 s/.\{148\}//
22313 t nl
22314 :delim
22316 s/\(.\{148\}\)..*/\1/
22317 t more2
22318 s/["\\]/\\&/g; s/^/"/; s/$/"/
22321 :more2
22322 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22325 s/.\{148\}//
22326 t delim
22327 ' <conf$$subs.awk | sed '
22328 /^[^""]/{
22330 s/\n//
22332 ' >>$CONFIG_STATUS || ac_write_fail=1
22333 rm -f conf$$subs.awk
22334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22335 _ACAWK
22336 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22337 for (key in S) S_is_set[key] = 1
22338 FS = "\a"
22342 line = $ 0
22343 nfields = split(line, field, "@")
22344 substed = 0
22345 len = length(field[1])
22346 for (i = 2; i < nfields; i++) {
22347 key = field[i]
22348 keylen = length(key)
22349 if (S_is_set[key]) {
22350 value = S[key]
22351 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22352 len += length(value) + length(field[++i])
22353 substed = 1
22354 } else
22355 len += 1 + keylen
22358 print line
22361 _ACAWK
22362 _ACEOF
22363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22364 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22365 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22366 else
22368 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22369 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22370 _ACEOF
22372 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22373 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22374 # trailing colons and then remove the whole line if VPATH becomes empty
22375 # (actually we leave an empty line to preserve line numbers).
22376 if test "x$srcdir" = x.; then
22377 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22379 s///
22380 s/^/:/
22381 s/[ ]*$/:/
22382 s/:\$(srcdir):/:/g
22383 s/:\${srcdir}:/:/g
22384 s/:@srcdir@:/:/g
22385 s/^:*//
22386 s/:*$//
22388 s/\(=[ ]*\).*/\1/
22390 s/\n//
22391 s/^[^=]*=[ ]*$//
22395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22396 fi # test -n "$CONFIG_FILES"
22398 # Set up the scripts for CONFIG_HEADERS section.
22399 # No need to generate them if there are no CONFIG_HEADERS.
22400 # This happens for instance with `./config.status Makefile'.
22401 if test -n "$CONFIG_HEADERS"; then
22402 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22403 BEGIN {
22404 _ACEOF
22406 # Transform confdefs.h into an awk script `defines.awk', embedded as
22407 # here-document in config.status, that substitutes the proper values into
22408 # config.h.in to produce config.h.
22410 # Create a delimiter string that does not exist in confdefs.h, to ease
22411 # handling of long lines.
22412 ac_delim='%!_!# '
22413 for ac_last_try in false false :; do
22414 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22415 if test -z "$ac_tt"; then
22416 break
22417 elif $ac_last_try; then
22418 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22419 else
22420 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22422 done
22424 # For the awk script, D is an array of macro values keyed by name,
22425 # likewise P contains macro parameters if any. Preserve backslash
22426 # newline sequences.
22428 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22429 sed -n '
22430 s/.\{148\}/&'"$ac_delim"'/g
22431 t rset
22432 :rset
22433 s/^[ ]*#[ ]*define[ ][ ]*/ /
22434 t def
22436 :def
22437 s/\\$//
22438 t bsnl
22439 s/["\\]/\\&/g
22440 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22441 D["\1"]=" \3"/p
22442 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22444 :bsnl
22445 s/["\\]/\\&/g
22446 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22447 D["\1"]=" \3\\\\\\n"\\/p
22448 t cont
22449 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22450 t cont
22452 :cont
22454 s/.\{148\}/&'"$ac_delim"'/g
22455 t clear
22456 :clear
22457 s/\\$//
22458 t bsnlc
22459 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22461 :bsnlc
22462 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22463 b cont
22464 ' <confdefs.h | sed '
22465 s/'"$ac_delim"'/"\\\
22466 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22469 for (key in D) D_is_set[key] = 1
22470 FS = "\a"
22472 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22473 line = \$ 0
22474 split(line, arg, " ")
22475 if (arg[1] == "#") {
22476 defundef = arg[2]
22477 mac1 = arg[3]
22478 } else {
22479 defundef = substr(arg[1], 2)
22480 mac1 = arg[2]
22482 split(mac1, mac2, "(") #)
22483 macro = mac2[1]
22484 prefix = substr(line, 1, index(line, defundef) - 1)
22485 if (D_is_set[macro]) {
22486 # Preserve the white space surrounding the "#".
22487 print prefix "define", macro P[macro] D[macro]
22488 next
22489 } else {
22490 # Replace #undef with comments. This is necessary, for example,
22491 # in the case of _POSIX_SOURCE, which is predefined and required
22492 # on some systems where configure will not decide to define it.
22493 if (defundef == "undef") {
22494 print "/*", prefix defundef, macro, "*/"
22495 next
22499 { print }
22500 _ACAWK
22501 _ACEOF
22502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22503 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22504 fi # test -n "$CONFIG_HEADERS"
22507 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22508 shift
22509 for ac_tag
22511 case $ac_tag in
22512 :[FHLC]) ac_mode=$ac_tag; continue;;
22513 esac
22514 case $ac_mode$ac_tag in
22515 :[FHL]*:*);;
22516 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22517 :[FH]-) ac_tag=-:-;;
22518 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22519 esac
22520 ac_save_IFS=$IFS
22521 IFS=:
22522 set x $ac_tag
22523 IFS=$ac_save_IFS
22524 shift
22525 ac_file=$1
22526 shift
22528 case $ac_mode in
22529 :L) ac_source=$1;;
22530 :[FH])
22531 ac_file_inputs=
22532 for ac_f
22534 case $ac_f in
22535 -) ac_f="$ac_tmp/stdin";;
22536 *) # Look for the file first in the build tree, then in the source tree
22537 # (if the path is not absolute). The absolute path cannot be DOS-style,
22538 # because $ac_f cannot contain `:'.
22539 test -f "$ac_f" ||
22540 case $ac_f in
22541 [\\/$]*) false;;
22542 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22543 esac ||
22544 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22545 esac
22546 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22547 as_fn_append ac_file_inputs " '$ac_f'"
22548 done
22550 # Let's still pretend it is `configure' which instantiates (i.e., don't
22551 # use $as_me), people would be surprised to read:
22552 # /* config.h. Generated by config.status. */
22553 configure_input='Generated from '`
22554 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22555 `' by configure.'
22556 if test x"$ac_file" != x-; then
22557 configure_input="$ac_file. $configure_input"
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22559 $as_echo "$as_me: creating $ac_file" >&6;}
22561 # Neutralize special characters interpreted by sed in replacement strings.
22562 case $configure_input in #(
22563 *\&* | *\|* | *\\* )
22564 ac_sed_conf_input=`$as_echo "$configure_input" |
22565 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22566 *) ac_sed_conf_input=$configure_input;;
22567 esac
22569 case $ac_tag in
22570 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22571 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22572 esac
22574 esac
22576 ac_dir=`$as_dirname -- "$ac_file" ||
22577 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22578 X"$ac_file" : 'X\(//\)[^/]' \| \
22579 X"$ac_file" : 'X\(//\)$' \| \
22580 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22581 $as_echo X"$ac_file" |
22582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22583 s//\1/
22586 /^X\(\/\/\)[^/].*/{
22587 s//\1/
22590 /^X\(\/\/\)$/{
22591 s//\1/
22594 /^X\(\/\).*/{
22595 s//\1/
22598 s/.*/./; q'`
22599 as_dir="$ac_dir"; as_fn_mkdir_p
22600 ac_builddir=.
22602 case "$ac_dir" in
22603 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22605 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22606 # A ".." for each directory in $ac_dir_suffix.
22607 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22608 case $ac_top_builddir_sub in
22609 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22610 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22611 esac ;;
22612 esac
22613 ac_abs_top_builddir=$ac_pwd
22614 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22615 # for backward compatibility:
22616 ac_top_builddir=$ac_top_build_prefix
22618 case $srcdir in
22619 .) # We are building in place.
22620 ac_srcdir=.
22621 ac_top_srcdir=$ac_top_builddir_sub
22622 ac_abs_top_srcdir=$ac_pwd ;;
22623 [\\/]* | ?:[\\/]* ) # Absolute name.
22624 ac_srcdir=$srcdir$ac_dir_suffix;
22625 ac_top_srcdir=$srcdir
22626 ac_abs_top_srcdir=$srcdir ;;
22627 *) # Relative name.
22628 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22629 ac_top_srcdir=$ac_top_build_prefix$srcdir
22630 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22631 esac
22632 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22635 case $ac_mode in
22638 # CONFIG_FILE
22641 _ACEOF
22643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22644 # If the template does not know about datarootdir, expand it.
22645 # FIXME: This hack should be removed a few years after 2.60.
22646 ac_datarootdir_hack=; ac_datarootdir_seen=
22647 ac_sed_dataroot='
22648 /datarootdir/ {
22652 /@datadir@/p
22653 /@docdir@/p
22654 /@infodir@/p
22655 /@localedir@/p
22656 /@mandir@/p'
22657 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22658 *datarootdir*) ac_datarootdir_seen=yes;;
22659 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22661 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22662 _ACEOF
22663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22664 ac_datarootdir_hack='
22665 s&@datadir@&$datadir&g
22666 s&@docdir@&$docdir&g
22667 s&@infodir@&$infodir&g
22668 s&@localedir@&$localedir&g
22669 s&@mandir@&$mandir&g
22670 s&\\\${datarootdir}&$datarootdir&g' ;;
22671 esac
22672 _ACEOF
22674 # Neutralize VPATH when `$srcdir' = `.'.
22675 # Shell code in configure.ac might set extrasub.
22676 # FIXME: do we really want to maintain this feature?
22677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22678 ac_sed_extra="$ac_vpsub
22679 $extrasub
22680 _ACEOF
22681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22683 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22684 s|@configure_input@|$ac_sed_conf_input|;t t
22685 s&@top_builddir@&$ac_top_builddir_sub&;t t
22686 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22687 s&@srcdir@&$ac_srcdir&;t t
22688 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22689 s&@top_srcdir@&$ac_top_srcdir&;t t
22690 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22691 s&@builddir@&$ac_builddir&;t t
22692 s&@abs_builddir@&$ac_abs_builddir&;t t
22693 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22694 $ac_datarootdir_hack
22696 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22697 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22699 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22700 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22701 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22702 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22704 which seems to be undefined. Please make sure it is defined" >&5
22705 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22706 which seems to be undefined. Please make sure it is defined" >&2;}
22708 rm -f "$ac_tmp/stdin"
22709 case $ac_file in
22710 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22711 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22712 esac \
22713 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22717 # CONFIG_HEADER
22719 if test x"$ac_file" != x-; then
22721 $as_echo "/* $configure_input */" \
22722 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22723 } >"$ac_tmp/config.h" \
22724 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22725 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22726 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22727 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22728 else
22729 rm -f "$ac_file"
22730 mv "$ac_tmp/config.h" "$ac_file" \
22731 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22733 else
22734 $as_echo "/* $configure_input */" \
22735 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22736 || as_fn_error $? "could not create -" "$LINENO" 5
22741 # CONFIG_LINK
22744 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22746 else
22747 # Prefer the file from the source tree if names are identical.
22748 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22749 ac_source=$srcdir/$ac_source
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22753 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22755 if test ! -r "$ac_source"; then
22756 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22758 rm -f "$ac_file"
22760 # Try a relative symlink, then a hard link, then a copy.
22761 case $ac_source in
22762 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22763 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22764 esac
22765 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22766 ln "$ac_source" "$ac_file" 2>/dev/null ||
22767 cp -p "$ac_source" "$ac_file" ||
22768 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22771 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22772 $as_echo "$as_me: executing $ac_file commands" >&6;}
22774 esac
22777 case $ac_file$ac_mode in
22778 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22779 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22780 "Makefile":C) wine_fn_output_makefile Makefile ;;
22782 esac
22783 done # for ac_tag
22786 as_fn_exit 0
22787 _ACEOF
22788 ac_clean_files=$ac_clean_files_save
22790 test $ac_write_fail = 0 ||
22791 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22794 # configure is writing to config.log, and then calls config.status.
22795 # config.status does its own redirection, appending to config.log.
22796 # Unfortunately, on DOS this fails, as config.log is still kept open
22797 # by configure, so config.status won't be able to write to it; its
22798 # output is simply discarded. So we exec the FD to /dev/null,
22799 # effectively closing config.log, so it can be properly (re)opened and
22800 # appended to by config.status. When coming back to configure, we
22801 # need to make the FD available again.
22802 if test "$no_create" != yes; then
22803 ac_cs_success=:
22804 ac_config_status_args=
22805 test "$silent" = yes &&
22806 ac_config_status_args="$ac_config_status_args --quiet"
22807 exec 5>/dev/null
22808 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22809 exec 5>>config.log
22810 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22811 # would make configure fail if this is the last instruction.
22812 $ac_cs_success || as_fn_exit 1
22814 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22816 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22820 if test "$no_create" = "yes"
22821 then
22822 exit 0
22825 ac_save_IFS="$IFS"
22826 if test "x$wine_notices" != x; then
22827 echo >&6
22828 IFS="|"
22829 for msg in $wine_notices; do
22830 IFS="$ac_save_IFS"
22831 if ${msg:+false} :; then :
22833 else
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22835 $as_echo "$as_me: $msg" >&6;}
22837 done
22839 IFS="|"
22840 for msg in $wine_warnings; do
22841 IFS="$ac_save_IFS"
22842 if ${msg:+false} :; then :
22844 else
22845 echo >&2
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22847 $as_echo "$as_me: WARNING: $msg" >&2;}
22849 done
22850 IFS="$ac_save_IFS"
22852 $as_echo "
22853 $as_me: Finished. Do '${ac_make}' to compile Wine.
22854 " >&6