msvcrt: Make _beginthread() error out as documented.
[wine.git] / configure
blobc77184d996c6996792f7d3656da92964993d7711
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 6.7.
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.7'
584 PACKAGE_STRING='Wine 6.7'
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 ARCH
779 TARGETFLAGS
781 CPPBIN
782 ac_ct_CXX
783 CXXFLAGS
785 OBJEXT
786 EXEEXT
787 ac_ct_CC
788 CPPFLAGS
789 LDFLAGS
790 CFLAGS
792 SET_MAKE
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 target_alias
802 host_alias
803 build_alias
804 LIBS
805 ECHO_T
806 ECHO_N
807 ECHO_C
808 DEFS
809 mandir
810 localedir
811 libdir
812 psdir
813 pdfdir
814 dvidir
815 htmldir
816 infodir
817 docdir
818 oldincludedir
819 includedir
820 runstatedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_win16
844 enable_win64
845 enable_tests
846 enable_build_id
847 enable_maintainer_mode
848 enable_silent_rules
849 enable_werror
850 with_alsa
851 with_capi
852 with_cms
853 with_coreaudio
854 with_cups
855 with_dbus
856 with_faudio
857 with_float_abi
858 with_fontconfig
859 with_freetype
860 with_gettext
861 with_gettextpo
862 with_gphoto
863 with_gnutls
864 with_gsm
865 with_gssapi
866 with_gstreamer
867 with_hal
868 with_inotify
869 with_jpeg
870 with_jxrlib
871 with_krb5
872 with_ldap
873 with_mingw
874 with_mpg123
875 with_netapi
876 with_openal
877 with_opencl
878 with_opengl
879 with_osmesa
880 with_oss
881 with_pcap
882 with_png
883 with_pthread
884 with_pulse
885 with_quicktime
886 with_sane
887 with_sdl
888 with_tiff
889 with_udev
890 with_unwind
891 with_usb
892 with_v4l2
893 with_vkd3d
894 with_vulkan
895 with_xcomposite
896 with_xcursor
897 with_xfixes
898 with_xinerama
899 with_xinput
900 with_xinput2
901 with_xml
902 with_xrandr
903 with_xrender
904 with_xshape
905 with_xshm
906 with_xslt
907 with_xxf86vm
908 with_wine_tools
909 with_wine64
910 enable_largefile
911 with_x
912 enable_acledit
913 enable_aclui
914 enable_activeds_tlb
915 enable_activeds
916 enable_actxprxy
917 enable_adsiid
918 enable_adsldp
919 enable_adsldpc
920 enable_advapi32
921 enable_advpack
922 enable_amsi
923 enable_amstream
924 enable_api_ms_win_appmodel_identity_l1_1_0
925 enable_api_ms_win_appmodel_runtime_l1_1_1
926 enable_api_ms_win_appmodel_runtime_l1_1_2
927 enable_api_ms_win_core_apiquery_l1_1_0
928 enable_api_ms_win_core_appcompat_l1_1_1
929 enable_api_ms_win_core_appinit_l1_1_0
930 enable_api_ms_win_core_atoms_l1_1_0
931 enable_api_ms_win_core_bem_l1_1_0
932 enable_api_ms_win_core_com_l1_1_0
933 enable_api_ms_win_core_com_l1_1_1
934 enable_api_ms_win_core_com_private_l1_1_0
935 enable_api_ms_win_core_comm_l1_1_0
936 enable_api_ms_win_core_console_l1_1_0
937 enable_api_ms_win_core_console_l2_1_0
938 enable_api_ms_win_core_crt_l1_1_0
939 enable_api_ms_win_core_crt_l2_1_0
940 enable_api_ms_win_core_datetime_l1_1_0
941 enable_api_ms_win_core_datetime_l1_1_1
942 enable_api_ms_win_core_debug_l1_1_0
943 enable_api_ms_win_core_debug_l1_1_1
944 enable_api_ms_win_core_delayload_l1_1_0
945 enable_api_ms_win_core_delayload_l1_1_1
946 enable_api_ms_win_core_errorhandling_l1_1_0
947 enable_api_ms_win_core_errorhandling_l1_1_1
948 enable_api_ms_win_core_errorhandling_l1_1_2
949 enable_api_ms_win_core_errorhandling_l1_1_3
950 enable_api_ms_win_core_fibers_l1_1_0
951 enable_api_ms_win_core_fibers_l1_1_1
952 enable_api_ms_win_core_file_ansi_l2_1_0
953 enable_api_ms_win_core_file_fromapp_l1_1_0
954 enable_api_ms_win_core_file_l1_1_0
955 enable_api_ms_win_core_file_l1_2_0
956 enable_api_ms_win_core_file_l1_2_1
957 enable_api_ms_win_core_file_l1_2_2
958 enable_api_ms_win_core_file_l2_1_0
959 enable_api_ms_win_core_file_l2_1_1
960 enable_api_ms_win_core_file_l2_1_2
961 enable_api_ms_win_core_handle_l1_1_0
962 enable_api_ms_win_core_heap_l1_1_0
963 enable_api_ms_win_core_heap_l1_2_0
964 enable_api_ms_win_core_heap_l2_1_0
965 enable_api_ms_win_core_heap_obsolete_l1_1_0
966 enable_api_ms_win_core_interlocked_l1_1_0
967 enable_api_ms_win_core_interlocked_l1_2_0
968 enable_api_ms_win_core_io_l1_1_0
969 enable_api_ms_win_core_io_l1_1_1
970 enable_api_ms_win_core_job_l1_1_0
971 enable_api_ms_win_core_job_l2_1_0
972 enable_api_ms_win_core_kernel32_legacy_l1_1_0
973 enable_api_ms_win_core_kernel32_legacy_l1_1_1
974 enable_api_ms_win_core_kernel32_legacy_l1_1_2
975 enable_api_ms_win_core_kernel32_private_l1_1_1
976 enable_api_ms_win_core_largeinteger_l1_1_0
977 enable_api_ms_win_core_libraryloader_l1_1_0
978 enable_api_ms_win_core_libraryloader_l1_1_1
979 enable_api_ms_win_core_libraryloader_l1_2_0
980 enable_api_ms_win_core_libraryloader_l1_2_1
981 enable_api_ms_win_core_libraryloader_l1_2_2
982 enable_api_ms_win_core_libraryloader_l2_1_0
983 enable_api_ms_win_core_localization_l1_1_0
984 enable_api_ms_win_core_localization_l1_2_0
985 enable_api_ms_win_core_localization_l1_2_1
986 enable_api_ms_win_core_localization_l1_2_2
987 enable_api_ms_win_core_localization_l2_1_0
988 enable_api_ms_win_core_localization_obsolete_l1_1_0
989 enable_api_ms_win_core_localization_obsolete_l1_2_0
990 enable_api_ms_win_core_localization_obsolete_l1_3_0
991 enable_api_ms_win_core_localization_private_l1_1_0
992 enable_api_ms_win_core_localregistry_l1_1_0
993 enable_api_ms_win_core_memory_l1_1_0
994 enable_api_ms_win_core_memory_l1_1_1
995 enable_api_ms_win_core_memory_l1_1_2
996 enable_api_ms_win_core_memory_l1_1_3
997 enable_api_ms_win_core_memory_l1_1_4
998 enable_api_ms_win_core_misc_l1_1_0
999 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
1000 enable_api_ms_win_core_namedpipe_l1_1_0
1001 enable_api_ms_win_core_namedpipe_l1_2_0
1002 enable_api_ms_win_core_namespace_l1_1_0
1003 enable_api_ms_win_core_normalization_l1_1_0
1004 enable_api_ms_win_core_path_l1_1_0
1005 enable_api_ms_win_core_privateprofile_l1_1_1
1006 enable_api_ms_win_core_processenvironment_l1_1_0
1007 enable_api_ms_win_core_processenvironment_l1_2_0
1008 enable_api_ms_win_core_processthreads_l1_1_0
1009 enable_api_ms_win_core_processthreads_l1_1_1
1010 enable_api_ms_win_core_processthreads_l1_1_2
1011 enable_api_ms_win_core_processthreads_l1_1_3
1012 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
1013 enable_api_ms_win_core_profile_l1_1_0
1014 enable_api_ms_win_core_psapi_ansi_l1_1_0
1015 enable_api_ms_win_core_psapi_l1_1_0
1016 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1017 enable_api_ms_win_core_quirks_l1_1_0
1018 enable_api_ms_win_core_realtime_l1_1_0
1019 enable_api_ms_win_core_registry_l1_1_0
1020 enable_api_ms_win_core_registry_l2_1_0
1021 enable_api_ms_win_core_registry_l2_2_0
1022 enable_api_ms_win_core_registryuserspecific_l1_1_0
1023 enable_api_ms_win_core_rtlsupport_l1_1_0
1024 enable_api_ms_win_core_rtlsupport_l1_2_0
1025 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1026 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1027 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1028 enable_api_ms_win_core_shutdown_l1_1_0
1029 enable_api_ms_win_core_sidebyside_l1_1_0
1030 enable_api_ms_win_core_string_l1_1_0
1031 enable_api_ms_win_core_string_l2_1_0
1032 enable_api_ms_win_core_string_obsolete_l1_1_0
1033 enable_api_ms_win_core_stringansi_l1_1_0
1034 enable_api_ms_win_core_stringloader_l1_1_1
1035 enable_api_ms_win_core_synch_ansi_l1_1_0
1036 enable_api_ms_win_core_synch_l1_1_0
1037 enable_api_ms_win_core_synch_l1_2_0
1038 enable_api_ms_win_core_synch_l1_2_1
1039 enable_api_ms_win_core_sysinfo_l1_1_0
1040 enable_api_ms_win_core_sysinfo_l1_2_0
1041 enable_api_ms_win_core_sysinfo_l1_2_1
1042 enable_api_ms_win_core_systemtopology_l1_1_0
1043 enable_api_ms_win_core_threadpool_l1_1_0
1044 enable_api_ms_win_core_threadpool_l1_2_0
1045 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1046 enable_api_ms_win_core_threadpool_private_l1_1_0
1047 enable_api_ms_win_core_timezone_l1_1_0
1048 enable_api_ms_win_core_toolhelp_l1_1_0
1049 enable_api_ms_win_core_url_l1_1_0
1050 enable_api_ms_win_core_util_l1_1_0
1051 enable_api_ms_win_core_version_l1_1_0
1052 enable_api_ms_win_core_version_l1_1_1
1053 enable_api_ms_win_core_version_private_l1_1_0
1054 enable_api_ms_win_core_versionansi_l1_1_0
1055 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1056 enable_api_ms_win_core_winrt_error_l1_1_0
1057 enable_api_ms_win_core_winrt_error_l1_1_1
1058 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1059 enable_api_ms_win_core_winrt_l1_1_0
1060 enable_api_ms_win_core_winrt_registration_l1_1_0
1061 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1062 enable_api_ms_win_core_winrt_string_l1_1_0
1063 enable_api_ms_win_core_winrt_string_l1_1_1
1064 enable_api_ms_win_core_wow64_l1_1_0
1065 enable_api_ms_win_core_wow64_l1_1_1
1066 enable_api_ms_win_core_xstate_l1_1_0
1067 enable_api_ms_win_core_xstate_l2_1_0
1068 enable_api_ms_win_crt_conio_l1_1_0
1069 enable_api_ms_win_crt_convert_l1_1_0
1070 enable_api_ms_win_crt_environment_l1_1_0
1071 enable_api_ms_win_crt_filesystem_l1_1_0
1072 enable_api_ms_win_crt_heap_l1_1_0
1073 enable_api_ms_win_crt_locale_l1_1_0
1074 enable_api_ms_win_crt_math_l1_1_0
1075 enable_api_ms_win_crt_multibyte_l1_1_0
1076 enable_api_ms_win_crt_private_l1_1_0
1077 enable_api_ms_win_crt_process_l1_1_0
1078 enable_api_ms_win_crt_runtime_l1_1_0
1079 enable_api_ms_win_crt_stdio_l1_1_0
1080 enable_api_ms_win_crt_string_l1_1_0
1081 enable_api_ms_win_crt_time_l1_1_0
1082 enable_api_ms_win_crt_utility_l1_1_0
1083 enable_api_ms_win_devices_config_l1_1_0
1084 enable_api_ms_win_devices_config_l1_1_1
1085 enable_api_ms_win_devices_query_l1_1_1
1086 enable_api_ms_win_downlevel_advapi32_l1_1_0
1087 enable_api_ms_win_downlevel_advapi32_l2_1_0
1088 enable_api_ms_win_downlevel_kernel32_l2_1_0
1089 enable_api_ms_win_downlevel_normaliz_l1_1_0
1090 enable_api_ms_win_downlevel_ole32_l1_1_0
1091 enable_api_ms_win_downlevel_shell32_l1_1_0
1092 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1093 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1094 enable_api_ms_win_downlevel_user32_l1_1_0
1095 enable_api_ms_win_downlevel_version_l1_1_0
1096 enable_api_ms_win_dx_d3dkmt_l1_1_0
1097 enable_api_ms_win_eventing_classicprovider_l1_1_0
1098 enable_api_ms_win_eventing_consumer_l1_1_0
1099 enable_api_ms_win_eventing_controller_l1_1_0
1100 enable_api_ms_win_eventing_legacy_l1_1_0
1101 enable_api_ms_win_eventing_provider_l1_1_0
1102 enable_api_ms_win_eventlog_legacy_l1_1_0
1103 enable_api_ms_win_gaming_tcui_l1_1_0
1104 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1105 enable_api_ms_win_mm_joystick_l1_1_0
1106 enable_api_ms_win_mm_misc_l1_1_1
1107 enable_api_ms_win_mm_mme_l1_1_0
1108 enable_api_ms_win_mm_time_l1_1_0
1109 enable_api_ms_win_ntuser_dc_access_l1_1_0
1110 enable_api_ms_win_ntuser_rectangle_l1_1_0
1111 enable_api_ms_win_ntuser_sysparams_l1_1_0
1112 enable_api_ms_win_perf_legacy_l1_1_0
1113 enable_api_ms_win_power_base_l1_1_0
1114 enable_api_ms_win_power_setting_l1_1_0
1115 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1116 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1117 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1118 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1119 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1120 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1121 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1122 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1123 enable_api_ms_win_security_audit_l1_1_1
1124 enable_api_ms_win_security_base_l1_1_0
1125 enable_api_ms_win_security_base_l1_2_0
1126 enable_api_ms_win_security_base_private_l1_1_1
1127 enable_api_ms_win_security_credentials_l1_1_0
1128 enable_api_ms_win_security_cryptoapi_l1_1_0
1129 enable_api_ms_win_security_grouppolicy_l1_1_0
1130 enable_api_ms_win_security_lsalookup_l1_1_0
1131 enable_api_ms_win_security_lsalookup_l1_1_1
1132 enable_api_ms_win_security_lsalookup_l2_1_0
1133 enable_api_ms_win_security_lsalookup_l2_1_1
1134 enable_api_ms_win_security_lsapolicy_l1_1_0
1135 enable_api_ms_win_security_provider_l1_1_0
1136 enable_api_ms_win_security_sddl_l1_1_0
1137 enable_api_ms_win_security_systemfunctions_l1_1_0
1138 enable_api_ms_win_service_core_l1_1_0
1139 enable_api_ms_win_service_core_l1_1_1
1140 enable_api_ms_win_service_management_l1_1_0
1141 enable_api_ms_win_service_management_l2_1_0
1142 enable_api_ms_win_service_private_l1_1_1
1143 enable_api_ms_win_service_winsvc_l1_1_0
1144 enable_api_ms_win_service_winsvc_l1_2_0
1145 enable_api_ms_win_shcore_obsolete_l1_1_0
1146 enable_api_ms_win_shcore_scaling_l1_1_0
1147 enable_api_ms_win_shcore_scaling_l1_1_1
1148 enable_api_ms_win_shcore_stream_l1_1_0
1149 enable_api_ms_win_shcore_stream_winrt_l1_1_0
1150 enable_api_ms_win_shcore_thread_l1_1_0
1151 enable_api_ms_win_shell_shellcom_l1_1_0
1152 enable_api_ms_win_shell_shellfolders_l1_1_0
1153 enable_apphelp
1154 enable_appwiz_cpl
1155 enable_atl
1156 enable_atl100
1157 enable_atl110
1158 enable_atl80
1159 enable_atl90
1160 enable_atlthunk
1161 enable_atmlib
1162 enable_authz
1163 enable_avicap32
1164 enable_avifil32
1165 enable_avrt
1166 enable_bcrypt
1167 enable_bluetoothapis
1168 enable_browseui
1169 enable_bthprops_cpl
1170 enable_cabinet
1171 enable_capi2032
1172 enable_cards
1173 enable_cdosys
1174 enable_cfgmgr32
1175 enable_clusapi
1176 enable_combase
1177 enable_comcat
1178 enable_comctl32
1179 enable_comdlg32
1180 enable_compstui
1181 enable_comsvcs
1182 enable_concrt140
1183 enable_connect
1184 enable_credui
1185 enable_crtdll
1186 enable_crypt32
1187 enable_cryptdlg
1188 enable_cryptdll
1189 enable_cryptext
1190 enable_cryptnet
1191 enable_cryptsp
1192 enable_cryptui
1193 enable_ctapi32
1194 enable_ctl3d32
1195 enable_d2d1
1196 enable_d3d10
1197 enable_d3d10_1
1198 enable_d3d10core
1199 enable_d3d11
1200 enable_d3d12
1201 enable_d3d8
1202 enable_d3d8thk
1203 enable_d3d9
1204 enable_d3dcompiler_33
1205 enable_d3dcompiler_34
1206 enable_d3dcompiler_35
1207 enable_d3dcompiler_36
1208 enable_d3dcompiler_37
1209 enable_d3dcompiler_38
1210 enable_d3dcompiler_39
1211 enable_d3dcompiler_40
1212 enable_d3dcompiler_41
1213 enable_d3dcompiler_42
1214 enable_d3dcompiler_43
1215 enable_d3dcompiler_46
1216 enable_d3dcompiler_47
1217 enable_d3dim
1218 enable_d3dim700
1219 enable_d3drm
1220 enable_d3dx10_33
1221 enable_d3dx10_34
1222 enable_d3dx10_35
1223 enable_d3dx10_36
1224 enable_d3dx10_37
1225 enable_d3dx10_38
1226 enable_d3dx10_39
1227 enable_d3dx10_40
1228 enable_d3dx10_41
1229 enable_d3dx10_42
1230 enable_d3dx10_43
1231 enable_d3dx11_42
1232 enable_d3dx11_43
1233 enable_d3dx9_24
1234 enable_d3dx9_25
1235 enable_d3dx9_26
1236 enable_d3dx9_27
1237 enable_d3dx9_28
1238 enable_d3dx9_29
1239 enable_d3dx9_30
1240 enable_d3dx9_31
1241 enable_d3dx9_32
1242 enable_d3dx9_33
1243 enable_d3dx9_34
1244 enable_d3dx9_35
1245 enable_d3dx9_36
1246 enable_d3dx9_37
1247 enable_d3dx9_38
1248 enable_d3dx9_39
1249 enable_d3dx9_40
1250 enable_d3dx9_41
1251 enable_d3dx9_42
1252 enable_d3dx9_43
1253 enable_d3dxof
1254 enable_davclnt
1255 enable_dbgeng
1256 enable_dbghelp
1257 enable_dciman32
1258 enable_dcomp
1259 enable_ddraw
1260 enable_ddrawex
1261 enable_devenum
1262 enable_dhcpcsvc
1263 enable_dhtmled_ocx
1264 enable_difxapi
1265 enable_dinput
1266 enable_dinput8
1267 enable_directmanipulation
1268 enable_dispex
1269 enable_dmband
1270 enable_dmcompos
1271 enable_dmime
1272 enable_dmloader
1273 enable_dmoguids
1274 enable_dmscript
1275 enable_dmstyle
1276 enable_dmsynth
1277 enable_dmusic
1278 enable_dmusic32
1279 enable_dnsapi
1280 enable_dplay
1281 enable_dplayx
1282 enable_dpnaddr
1283 enable_dpnet
1284 enable_dpnhpast
1285 enable_dpnlobby
1286 enable_dpvoice
1287 enable_dpwsockx
1288 enable_drmclien
1289 enable_dsdmo
1290 enable_dsound
1291 enable_dsquery
1292 enable_dssenh
1293 enable_dsuiext
1294 enable_dswave
1295 enable_dwmapi
1296 enable_dwrite
1297 enable_dx8vb
1298 enable_dxdiagn
1299 enable_dxerr8
1300 enable_dxerr9
1301 enable_dxgi
1302 enable_dxguid
1303 enable_dxva2
1304 enable_esent
1305 enable_evr
1306 enable_explorerframe
1307 enable_ext_ms_win_authz_context_l1_1_0
1308 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1309 enable_ext_ms_win_dwmapi_ext_l1_1_0
1310 enable_ext_ms_win_gdi_dc_create_l1_1_0
1311 enable_ext_ms_win_gdi_dc_create_l1_1_1
1312 enable_ext_ms_win_gdi_dc_l1_2_0
1313 enable_ext_ms_win_gdi_devcaps_l1_1_0
1314 enable_ext_ms_win_gdi_draw_l1_1_0
1315 enable_ext_ms_win_gdi_draw_l1_1_1
1316 enable_ext_ms_win_gdi_font_l1_1_0
1317 enable_ext_ms_win_gdi_font_l1_1_1
1318 enable_ext_ms_win_gdi_render_l1_1_0
1319 enable_ext_ms_win_kernel32_package_current_l1_1_0
1320 enable_ext_ms_win_kernel32_package_l1_1_1
1321 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1322 enable_ext_ms_win_ntuser_draw_l1_1_0
1323 enable_ext_ms_win_ntuser_gui_l1_1_0
1324 enable_ext_ms_win_ntuser_gui_l1_3_0
1325 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1326 enable_ext_ms_win_ntuser_message_l1_1_0
1327 enable_ext_ms_win_ntuser_message_l1_1_1
1328 enable_ext_ms_win_ntuser_misc_l1_1_0
1329 enable_ext_ms_win_ntuser_misc_l1_2_0
1330 enable_ext_ms_win_ntuser_misc_l1_5_1
1331 enable_ext_ms_win_ntuser_mouse_l1_1_0
1332 enable_ext_ms_win_ntuser_private_l1_1_1
1333 enable_ext_ms_win_ntuser_private_l1_3_1
1334 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1335 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1336 enable_ext_ms_win_ntuser_window_l1_1_0
1337 enable_ext_ms_win_ntuser_window_l1_1_1
1338 enable_ext_ms_win_ntuser_window_l1_1_4
1339 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1340 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1341 enable_ext_ms_win_oleacc_l1_1_0
1342 enable_ext_ms_win_ras_rasapi32_l1_1_0
1343 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1344 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1345 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1346 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1347 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1348 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1349 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1350 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1351 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1352 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1353 enable_ext_ms_win_security_credui_l1_1_0
1354 enable_ext_ms_win_security_cryptui_l1_1_0
1355 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1356 enable_ext_ms_win_shell_comdlg32_l1_1_0
1357 enable_ext_ms_win_shell_shell32_l1_2_0
1358 enable_ext_ms_win_uxtheme_themes_l1_1_0
1359 enable_faultrep
1360 enable_feclient
1361 enable_fltlib
1362 enable_fltmgr_sys
1363 enable_fntcache
1364 enable_fontsub
1365 enable_fusion
1366 enable_fwpuclnt
1367 enable_gameux
1368 enable_gamingtcui
1369 enable_gdi32
1370 enable_gdiplus
1371 enable_glu32
1372 enable_gphoto2_ds
1373 enable_gpkcsp
1374 enable_hal
1375 enable_hhctrl_ocx
1376 enable_hid
1377 enable_hidclass_sys
1378 enable_hlink
1379 enable_hnetcfg
1380 enable_http_sys
1381 enable_httpapi
1382 enable_iccvid
1383 enable_icmp
1384 enable_ieframe
1385 enable_ieproxy
1386 enable_imaadp32_acm
1387 enable_imagehlp
1388 enable_imm32
1389 enable_inetcomm
1390 enable_inetcpl_cpl
1391 enable_inetmib1
1392 enable_infosoft
1393 enable_initpki
1394 enable_inkobj
1395 enable_inseng
1396 enable_iphlpapi
1397 enable_iprop
1398 enable_irprops_cpl
1399 enable_itircl
1400 enable_itss
1401 enable_joy_cpl
1402 enable_jscript
1403 enable_jsproxy
1404 enable_kerberos
1405 enable_kernel32
1406 enable_kernelbase
1407 enable_ksecdd_sys
1408 enable_ksproxy_ax
1409 enable_ksuser
1410 enable_ktmw32
1411 enable_l3codeca_acm
1412 enable_loadperf
1413 enable_localspl
1414 enable_localui
1415 enable_lz32
1416 enable_mapi32
1417 enable_mapistub
1418 enable_mciavi32
1419 enable_mcicda
1420 enable_mciqtz32
1421 enable_mciseq
1422 enable_mciwave
1423 enable_mf
1424 enable_mf3216
1425 enable_mferror
1426 enable_mfmediaengine
1427 enable_mfplat
1428 enable_mfplay
1429 enable_mfreadwrite
1430 enable_mfuuid
1431 enable_mgmtapi
1432 enable_midimap
1433 enable_mlang
1434 enable_mmcndmgr
1435 enable_mmdevapi
1436 enable_mountmgr_sys
1437 enable_mp3dmod
1438 enable_mpr
1439 enable_mprapi
1440 enable_msacm32_drv
1441 enable_msacm32
1442 enable_msado15
1443 enable_msadp32_acm
1444 enable_msasn1
1445 enable_mscat32
1446 enable_mscms
1447 enable_mscoree
1448 enable_mscorwks
1449 enable_msctf
1450 enable_msctfp
1451 enable_msdaps
1452 enable_msdelta
1453 enable_msdmo
1454 enable_msdrm
1455 enable_msftedit
1456 enable_msg711_acm
1457 enable_msgsm32_acm
1458 enable_mshtml_tlb
1459 enable_mshtml
1460 enable_msi
1461 enable_msident
1462 enable_msimg32
1463 enable_msimsg
1464 enable_msimtf
1465 enable_msisip
1466 enable_msisys_ocx
1467 enable_msls31
1468 enable_msnet32
1469 enable_mspatcha
1470 enable_msports
1471 enable_msrle32
1472 enable_msscript_ocx
1473 enable_mssign32
1474 enable_mssip32
1475 enable_mstask
1476 enable_msv1_0
1477 enable_msvcirt
1478 enable_msvcm80
1479 enable_msvcm90
1480 enable_msvcp100
1481 enable_msvcp110
1482 enable_msvcp120
1483 enable_msvcp120_app
1484 enable_msvcp140
1485 enable_msvcp140_1
1486 enable_msvcp60
1487 enable_msvcp70
1488 enable_msvcp71
1489 enable_msvcp80
1490 enable_msvcp90
1491 enable_msvcr100
1492 enable_msvcr110
1493 enable_msvcr120
1494 enable_msvcr120_app
1495 enable_msvcr70
1496 enable_msvcr71
1497 enable_msvcr80
1498 enable_msvcr90
1499 enable_msvcrt
1500 enable_msvcrt20
1501 enable_msvcrt40
1502 enable_msvcrtd
1503 enable_msvfw32
1504 enable_msvidc32
1505 enable_mswsock
1506 enable_msxml
1507 enable_msxml2
1508 enable_msxml3
1509 enable_msxml4
1510 enable_msxml6
1511 enable_mtxdm
1512 enable_ncrypt
1513 enable_nddeapi
1514 enable_ndis_sys
1515 enable_netapi32
1516 enable_netcfgx
1517 enable_netio_sys
1518 enable_netprofm
1519 enable_netutils
1520 enable_newdev
1521 enable_ninput
1522 enable_normaliz
1523 enable_npmshtml
1524 enable_npptools
1525 enable_ntdll
1526 enable_ntdsapi
1527 enable_ntoskrnl_exe
1528 enable_ntprint
1529 enable_objsel
1530 enable_odbc32
1531 enable_odbcbcp
1532 enable_odbccp32
1533 enable_odbccu32
1534 enable_ole32
1535 enable_oleacc
1536 enable_oleaut32
1537 enable_olecli32
1538 enable_oledb32
1539 enable_oledlg
1540 enable_olepro32
1541 enable_olesvr32
1542 enable_olethk32
1543 enable_opcservices
1544 enable_openal32
1545 enable_opencl
1546 enable_opengl32
1547 enable_packager
1548 enable_pdh
1549 enable_photometadatahandler
1550 enable_pidgen
1551 enable_powrprof
1552 enable_printui
1553 enable_prntvpt
1554 enable_propsys
1555 enable_psapi
1556 enable_pstorec
1557 enable_pwrshplugin
1558 enable_qasf
1559 enable_qcap
1560 enable_qdvd
1561 enable_qedit
1562 enable_qmgr
1563 enable_qmgrprxy
1564 enable_quartz
1565 enable_query
1566 enable_qwave
1567 enable_rasapi32
1568 enable_rasdlg
1569 enable_regapi
1570 enable_resutils
1571 enable_riched20
1572 enable_riched32
1573 enable_rpcrt4
1574 enable_rsabase
1575 enable_rsaenh
1576 enable_rstrtmgr
1577 enable_rtutils
1578 enable_rtworkq
1579 enable_samlib
1580 enable_sane_ds
1581 enable_sapi
1582 enable_sas
1583 enable_scarddlg
1584 enable_sccbase
1585 enable_schannel
1586 enable_schedsvc
1587 enable_scrobj
1588 enable_scrrun
1589 enable_scsiport_sys
1590 enable_sechost
1591 enable_secur32
1592 enable_security
1593 enable_sensapi
1594 enable_serialui
1595 enable_setupapi
1596 enable_sfc
1597 enable_sfc_os
1598 enable_shcore
1599 enable_shdoclc
1600 enable_shdocvw
1601 enable_shell32
1602 enable_shfolder
1603 enable_shlwapi
1604 enable_slbcsp
1605 enable_slc
1606 enable_snmpapi
1607 enable_softpub
1608 enable_spoolss
1609 enable_srclient
1610 enable_srvcli
1611 enable_sspicli
1612 enable_stdole2_tlb
1613 enable_stdole32_tlb
1614 enable_sti
1615 enable_strmbase
1616 enable_strmdll
1617 enable_strmiids
1618 enable_svrapi
1619 enable_sxs
1620 enable_t2embed
1621 enable_tapi32
1622 enable_taskschd
1623 enable_tdh
1624 enable_tdi_sys
1625 enable_traffic
1626 enable_twain_32
1627 enable_tzres
1628 enable_ucrtbase
1629 enable_uianimation
1630 enable_uiautomationcore
1631 enable_uiribbon
1632 enable_unicows
1633 enable_updspapi
1634 enable_url
1635 enable_urlmon
1636 enable_usbd_sys
1637 enable_user32
1638 enable_userenv
1639 enable_usp10
1640 enable_utildll
1641 enable_uuid
1642 enable_uxtheme
1643 enable_vbscript
1644 enable_vcomp
1645 enable_vcomp100
1646 enable_vcomp110
1647 enable_vcomp120
1648 enable_vcomp140
1649 enable_vcomp90
1650 enable_vcruntime140
1651 enable_vcruntime140_1
1652 enable_vdmdbg
1653 enable_version
1654 enable_vga
1655 enable_virtdisk
1656 enable_vssapi
1657 enable_vulkan_1
1658 enable_wbemdisp
1659 enable_wbemprox
1660 enable_wbemuuid
1661 enable_wdscore
1662 enable_webservices
1663 enable_websocket
1664 enable_wer
1665 enable_wevtapi
1666 enable_wevtsvc
1667 enable_wiaservc
1668 enable_wimgapi
1669 enable_windows_gaming_input
1670 enable_windows_globalization
1671 enable_windows_media_devices
1672 enable_windows_media_speech
1673 enable_windowscodecs
1674 enable_windowscodecsext
1675 enable_winealsa_drv
1676 enable_wineandroid_drv
1677 enable_winebus_sys
1678 enable_winecoreaudio_drv
1679 enable_winecrt0
1680 enable_wined3d
1681 enable_winegstreamer
1682 enable_winehid_sys
1683 enable_winejoystick_drv
1684 enable_winemac_drv
1685 enable_winemapi
1686 enable_wineoss_drv
1687 enable_wineps_drv
1688 enable_winepulse_drv
1689 enable_wineqtdecoder
1690 enable_wineusb_sys
1691 enable_winevulkan
1692 enable_winex11_drv
1693 enable_wing32
1694 enable_winhttp
1695 enable_wininet
1696 enable_winmm
1697 enable_winnls32
1698 enable_winscard
1699 enable_winspool_drv
1700 enable_winsta
1701 enable_wintab32
1702 enable_wintrust
1703 enable_winusb
1704 enable_wlanapi
1705 enable_wlanui
1706 enable_wldap32
1707 enable_wmasf
1708 enable_wmcodecdspuuid
1709 enable_wmi
1710 enable_wmiutils
1711 enable_wmp
1712 enable_wmphoto
1713 enable_wmvcore
1714 enable_wnaspi32
1715 enable_wow64cpu
1716 enable_wpc
1717 enable_wpcap
1718 enable_ws2_32
1719 enable_wsdapi
1720 enable_wshom_ocx
1721 enable_wsnmp32
1722 enable_wsock32
1723 enable_wtsapi32
1724 enable_wuapi
1725 enable_wuaueng
1726 enable_x3daudio1_0
1727 enable_x3daudio1_1
1728 enable_x3daudio1_2
1729 enable_x3daudio1_3
1730 enable_x3daudio1_4
1731 enable_x3daudio1_5
1732 enable_x3daudio1_6
1733 enable_x3daudio1_7
1734 enable_xactengine2_0
1735 enable_xactengine2_4
1736 enable_xactengine2_7
1737 enable_xactengine2_9
1738 enable_xactengine3_0
1739 enable_xactengine3_1
1740 enable_xactengine3_2
1741 enable_xactengine3_3
1742 enable_xactengine3_4
1743 enable_xactengine3_5
1744 enable_xactengine3_6
1745 enable_xactengine3_7
1746 enable_xapofx1_1
1747 enable_xapofx1_2
1748 enable_xapofx1_3
1749 enable_xapofx1_4
1750 enable_xapofx1_5
1751 enable_xaudio2_0
1752 enable_xaudio2_1
1753 enable_xaudio2_2
1754 enable_xaudio2_3
1755 enable_xaudio2_4
1756 enable_xaudio2_5
1757 enable_xaudio2_6
1758 enable_xaudio2_7
1759 enable_xaudio2_8
1760 enable_xaudio2_9
1761 enable_xinput1_1
1762 enable_xinput1_2
1763 enable_xinput1_3
1764 enable_xinput1_4
1765 enable_xinput9_1_0
1766 enable_xmllite
1767 enable_xolehlp
1768 enable_xpsprint
1769 enable_xpssvcs
1770 enable_fonts
1771 enable_include
1772 enable_port
1773 enable_wine
1774 enable_wpp
1775 enable_loader
1776 enable_nls
1777 enable_po
1778 enable_arp
1779 enable_aspnet_regiis
1780 enable_attrib
1781 enable_cabarc
1782 enable_cacls
1783 enable_chcp_com
1784 enable_clock
1785 enable_cmd
1786 enable_conhost
1787 enable_control
1788 enable_cscript
1789 enable_dism
1790 enable_dplaysvr
1791 enable_dpnsvr
1792 enable_dpvsetup
1793 enable_dxdiag
1794 enable_eject
1795 enable_expand
1796 enable_explorer
1797 enable_extrac32
1798 enable_fc
1799 enable_find
1800 enable_findstr
1801 enable_fsutil
1802 enable_hh
1803 enable_hostname
1804 enable_icacls
1805 enable_icinfo
1806 enable_iexplore
1807 enable_ipconfig
1808 enable_lodctr
1809 enable_mofcomp
1810 enable_mshta
1811 enable_msidb
1812 enable_msiexec
1813 enable_msinfo32
1814 enable_net
1815 enable_netsh
1816 enable_netstat
1817 enable_ngen
1818 enable_notepad
1819 enable_oleview
1820 enable_ping
1821 enable_plugplay
1822 enable_powershell
1823 enable_presentationfontcache
1824 enable_progman
1825 enable_reg
1826 enable_regasm
1827 enable_regedit
1828 enable_regini
1829 enable_regsvcs
1830 enable_regsvr32
1831 enable_rpcss
1832 enable_rundll32
1833 enable_sc
1834 enable_schtasks
1835 enable_sdbinst
1836 enable_secedit
1837 enable_servicemodelreg
1838 enable_services
1839 enable_shutdown
1840 enable_spoolsv
1841 enable_start
1842 enable_subst
1843 enable_svchost
1844 enable_systeminfo
1845 enable_taskkill
1846 enable_tasklist
1847 enable_taskmgr
1848 enable_termsv
1849 enable_uninstaller
1850 enable_unlodctr
1851 enable_view
1852 enable_wevtutil
1853 enable_where
1854 enable_whoami
1855 enable_wineboot
1856 enable_winebrowser
1857 enable_winecfg
1858 enable_wineconsole
1859 enable_winedbg
1860 enable_winedevice
1861 enable_winefile
1862 enable_winemenubuilder
1863 enable_winemine
1864 enable_winemsibuilder
1865 enable_winepath
1866 enable_winetest
1867 enable_winhlp32
1868 enable_winmgmt
1869 enable_winver
1870 enable_wmic
1871 enable_wmplayer
1872 enable_wordpad
1873 enable_write
1874 enable_wscript
1875 enable_wuauserv
1876 enable_wusa
1877 enable_xcopy
1878 enable_server
1879 enable_tools
1880 enable_sfnt2fon
1881 enable_widl
1882 enable_winebuild
1883 enable_winedump
1884 enable_winegcc
1885 enable_winemaker
1886 enable_wmc
1887 enable_wrc
1889 ac_precious_vars='build_alias
1890 host_alias
1891 target_alias
1893 CFLAGS
1894 LDFLAGS
1895 LIBS
1896 CPPFLAGS
1898 CXXFLAGS
1901 OBJC
1902 OBJCFLAGS
1903 OBJCPP
1904 XMKMF
1905 XML2_CFLAGS
1906 XML2_LIBS
1907 XSLT_CFLAGS
1908 XSLT_LIBS
1909 INOTIFY_CFLAGS
1910 INOTIFY_LIBS
1911 DBUS_CFLAGS
1912 DBUS_LIBS
1913 HAL_CFLAGS
1914 HAL_LIBS
1915 GNUTLS_CFLAGS
1916 GNUTLS_LIBS
1917 SANE_CFLAGS
1918 SANE_LIBS
1919 USB_CFLAGS
1920 USB_LIBS
1921 GPHOTO2_CFLAGS
1922 GPHOTO2_LIBS
1923 GPHOTO2_PORT_CFLAGS
1924 GPHOTO2_PORT_LIBS
1925 LCMS2_CFLAGS
1926 LCMS2_LIBS
1927 FREETYPE_CFLAGS
1928 FREETYPE_LIBS
1929 PULSE_CFLAGS
1930 PULSE_LIBS
1931 GSTREAMER_CFLAGS
1932 GSTREAMER_LIBS
1933 UDEV_CFLAGS
1934 UDEV_LIBS
1935 UNWIND_CFLAGS
1936 UNWIND_LIBS
1937 SDL2_CFLAGS
1938 SDL2_LIBS
1939 FAUDIO_CFLAGS
1940 FAUDIO_LIBS
1941 CAPI20_CFLAGS
1942 CAPI20_LIBS
1943 CUPS_CFLAGS
1944 CUPS_LIBS
1945 FONTCONFIG_CFLAGS
1946 FONTCONFIG_LIBS
1947 KRB5_CFLAGS
1948 KRB5_LIBS
1949 GSSAPI_CFLAGS
1950 GSSAPI_LIBS
1951 JPEG_CFLAGS
1952 JPEG_LIBS
1953 JXRLIB_CFLAGS
1954 JXRLIB_LIBS
1955 PNG_CFLAGS
1956 PNG_LIBS
1957 TIFF_CFLAGS
1958 TIFF_LIBS
1959 MPG123_CFLAGS
1960 MPG123_LIBS
1961 NETAPI_CFLAGS
1962 NETAPI_LIBS
1963 VKD3D_CFLAGS
1964 VKD3D_LIBS
1965 VKD3D_SHADER_CFLAGS
1966 VKD3D_SHADER_LIBS
1967 LDAP_CFLAGS
1968 LDAP_LIBS'
1971 # Initialize some variables set by options.
1972 ac_init_help=
1973 ac_init_version=false
1974 ac_unrecognized_opts=
1975 ac_unrecognized_sep=
1976 # The variables have the same names as the options, with
1977 # dashes changed to underlines.
1978 cache_file=/dev/null
1979 exec_prefix=NONE
1980 no_create=
1981 no_recursion=
1982 prefix=NONE
1983 program_prefix=NONE
1984 program_suffix=NONE
1985 program_transform_name=s,x,x,
1986 silent=
1987 site=
1988 srcdir=
1989 verbose=
1990 x_includes=NONE
1991 x_libraries=NONE
1993 # Installation directory options.
1994 # These are left unexpanded so users can "make install exec_prefix=/foo"
1995 # and all the variables that are supposed to be based on exec_prefix
1996 # by default will actually change.
1997 # Use braces instead of parens because sh, perl, etc. also accept them.
1998 # (The list follows the same order as the GNU Coding Standards.)
1999 bindir='${exec_prefix}/bin'
2000 sbindir='${exec_prefix}/sbin'
2001 libexecdir='${exec_prefix}/libexec'
2002 datarootdir='${prefix}/share'
2003 datadir='${datarootdir}'
2004 sysconfdir='${prefix}/etc'
2005 sharedstatedir='${prefix}/com'
2006 localstatedir='${prefix}/var'
2007 runstatedir='${localstatedir}/run'
2008 includedir='${prefix}/include'
2009 oldincludedir='/usr/include'
2010 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2011 infodir='${datarootdir}/info'
2012 htmldir='${docdir}'
2013 dvidir='${docdir}'
2014 pdfdir='${docdir}'
2015 psdir='${docdir}'
2016 libdir='${exec_prefix}/lib'
2017 localedir='${datarootdir}/locale'
2018 mandir='${datarootdir}/man'
2020 ac_prev=
2021 ac_dashdash=
2022 for ac_option
2024 # If the previous option needs an argument, assign it.
2025 if test -n "$ac_prev"; then
2026 eval $ac_prev=\$ac_option
2027 ac_prev=
2028 continue
2031 case $ac_option in
2032 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
2033 *=) ac_optarg= ;;
2034 *) ac_optarg=yes ;;
2035 esac
2037 # Accept the important Cygnus configure options, so we can diagnose typos.
2039 case $ac_dashdash$ac_option in
2041 ac_dashdash=yes ;;
2043 -bindir | --bindir | --bindi | --bind | --bin | --bi)
2044 ac_prev=bindir ;;
2045 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2046 bindir=$ac_optarg ;;
2048 -build | --build | --buil | --bui | --bu)
2049 ac_prev=build_alias ;;
2050 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2051 build_alias=$ac_optarg ;;
2053 -cache-file | --cache-file | --cache-fil | --cache-fi \
2054 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2055 ac_prev=cache_file ;;
2056 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2057 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2058 cache_file=$ac_optarg ;;
2060 --config-cache | -C)
2061 cache_file=config.cache ;;
2063 -datadir | --datadir | --datadi | --datad)
2064 ac_prev=datadir ;;
2065 -datadir=* | --datadir=* | --datadi=* | --datad=*)
2066 datadir=$ac_optarg ;;
2068 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2069 | --dataroo | --dataro | --datar)
2070 ac_prev=datarootdir ;;
2071 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2072 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2073 datarootdir=$ac_optarg ;;
2075 -disable-* | --disable-*)
2076 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2077 # Reject names that are not valid shell variable names.
2078 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2079 as_fn_error $? "invalid feature name: $ac_useropt"
2080 ac_useropt_orig=$ac_useropt
2081 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2082 case $ac_user_opts in
2084 "enable_$ac_useropt"
2085 "*) ;;
2086 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2087 ac_unrecognized_sep=', ';;
2088 esac
2089 eval enable_$ac_useropt=no ;;
2091 -docdir | --docdir | --docdi | --doc | --do)
2092 ac_prev=docdir ;;
2093 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2094 docdir=$ac_optarg ;;
2096 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2097 ac_prev=dvidir ;;
2098 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2099 dvidir=$ac_optarg ;;
2101 -enable-* | --enable-*)
2102 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2103 # Reject names that are not valid shell variable names.
2104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2105 as_fn_error $? "invalid feature name: $ac_useropt"
2106 ac_useropt_orig=$ac_useropt
2107 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2108 case $ac_user_opts in
2110 "enable_$ac_useropt"
2111 "*) ;;
2112 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2113 ac_unrecognized_sep=', ';;
2114 esac
2115 eval enable_$ac_useropt=\$ac_optarg ;;
2117 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2118 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2119 | --exec | --exe | --ex)
2120 ac_prev=exec_prefix ;;
2121 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2122 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2123 | --exec=* | --exe=* | --ex=*)
2124 exec_prefix=$ac_optarg ;;
2126 -gas | --gas | --ga | --g)
2127 # Obsolete; use --with-gas.
2128 with_gas=yes ;;
2130 -help | --help | --hel | --he | -h)
2131 ac_init_help=long ;;
2132 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2133 ac_init_help=recursive ;;
2134 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2135 ac_init_help=short ;;
2137 -host | --host | --hos | --ho)
2138 ac_prev=host_alias ;;
2139 -host=* | --host=* | --hos=* | --ho=*)
2140 host_alias=$ac_optarg ;;
2142 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2143 ac_prev=htmldir ;;
2144 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2145 | --ht=*)
2146 htmldir=$ac_optarg ;;
2148 -includedir | --includedir | --includedi | --included | --include \
2149 | --includ | --inclu | --incl | --inc)
2150 ac_prev=includedir ;;
2151 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2152 | --includ=* | --inclu=* | --incl=* | --inc=*)
2153 includedir=$ac_optarg ;;
2155 -infodir | --infodir | --infodi | --infod | --info | --inf)
2156 ac_prev=infodir ;;
2157 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2158 infodir=$ac_optarg ;;
2160 -libdir | --libdir | --libdi | --libd)
2161 ac_prev=libdir ;;
2162 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2163 libdir=$ac_optarg ;;
2165 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2166 | --libexe | --libex | --libe)
2167 ac_prev=libexecdir ;;
2168 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2169 | --libexe=* | --libex=* | --libe=*)
2170 libexecdir=$ac_optarg ;;
2172 -localedir | --localedir | --localedi | --localed | --locale)
2173 ac_prev=localedir ;;
2174 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2175 localedir=$ac_optarg ;;
2177 -localstatedir | --localstatedir | --localstatedi | --localstated \
2178 | --localstate | --localstat | --localsta | --localst | --locals)
2179 ac_prev=localstatedir ;;
2180 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2181 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2182 localstatedir=$ac_optarg ;;
2184 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2185 ac_prev=mandir ;;
2186 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2187 mandir=$ac_optarg ;;
2189 -nfp | --nfp | --nf)
2190 # Obsolete; use --without-fp.
2191 with_fp=no ;;
2193 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2194 | --no-cr | --no-c | -n)
2195 no_create=yes ;;
2197 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2198 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2199 no_recursion=yes ;;
2201 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2202 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2203 | --oldin | --oldi | --old | --ol | --o)
2204 ac_prev=oldincludedir ;;
2205 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2206 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2207 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2208 oldincludedir=$ac_optarg ;;
2210 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2211 ac_prev=prefix ;;
2212 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2213 prefix=$ac_optarg ;;
2215 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2216 | --program-pre | --program-pr | --program-p)
2217 ac_prev=program_prefix ;;
2218 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2219 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2220 program_prefix=$ac_optarg ;;
2222 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2223 | --program-suf | --program-su | --program-s)
2224 ac_prev=program_suffix ;;
2225 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2226 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2227 program_suffix=$ac_optarg ;;
2229 -program-transform-name | --program-transform-name \
2230 | --program-transform-nam | --program-transform-na \
2231 | --program-transform-n | --program-transform- \
2232 | --program-transform | --program-transfor \
2233 | --program-transfo | --program-transf \
2234 | --program-trans | --program-tran \
2235 | --progr-tra | --program-tr | --program-t)
2236 ac_prev=program_transform_name ;;
2237 -program-transform-name=* | --program-transform-name=* \
2238 | --program-transform-nam=* | --program-transform-na=* \
2239 | --program-transform-n=* | --program-transform-=* \
2240 | --program-transform=* | --program-transfor=* \
2241 | --program-transfo=* | --program-transf=* \
2242 | --program-trans=* | --program-tran=* \
2243 | --progr-tra=* | --program-tr=* | --program-t=*)
2244 program_transform_name=$ac_optarg ;;
2246 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2247 ac_prev=pdfdir ;;
2248 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2249 pdfdir=$ac_optarg ;;
2251 -psdir | --psdir | --psdi | --psd | --ps)
2252 ac_prev=psdir ;;
2253 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2254 psdir=$ac_optarg ;;
2256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2257 | -silent | --silent | --silen | --sile | --sil)
2258 silent=yes ;;
2260 -runstatedir | --runstatedir | --runstatedi | --runstated \
2261 | --runstate | --runstat | --runsta | --runst | --runs \
2262 | --run | --ru | --r)
2263 ac_prev=runstatedir ;;
2264 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2265 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2266 | --run=* | --ru=* | --r=*)
2267 runstatedir=$ac_optarg ;;
2269 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2270 ac_prev=sbindir ;;
2271 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2272 | --sbi=* | --sb=*)
2273 sbindir=$ac_optarg ;;
2275 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2276 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2277 | --sharedst | --shareds | --shared | --share | --shar \
2278 | --sha | --sh)
2279 ac_prev=sharedstatedir ;;
2280 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2281 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2282 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2283 | --sha=* | --sh=*)
2284 sharedstatedir=$ac_optarg ;;
2286 -site | --site | --sit)
2287 ac_prev=site ;;
2288 -site=* | --site=* | --sit=*)
2289 site=$ac_optarg ;;
2291 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2292 ac_prev=srcdir ;;
2293 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2294 srcdir=$ac_optarg ;;
2296 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2297 | --syscon | --sysco | --sysc | --sys | --sy)
2298 ac_prev=sysconfdir ;;
2299 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2300 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2301 sysconfdir=$ac_optarg ;;
2303 -target | --target | --targe | --targ | --tar | --ta | --t)
2304 ac_prev=target_alias ;;
2305 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2306 target_alias=$ac_optarg ;;
2308 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2309 verbose=yes ;;
2311 -version | --version | --versio | --versi | --vers | -V)
2312 ac_init_version=: ;;
2314 -with-* | --with-*)
2315 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2316 # Reject names that are not valid shell variable names.
2317 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2318 as_fn_error $? "invalid package name: $ac_useropt"
2319 ac_useropt_orig=$ac_useropt
2320 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2321 case $ac_user_opts in
2323 "with_$ac_useropt"
2324 "*) ;;
2325 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2326 ac_unrecognized_sep=', ';;
2327 esac
2328 eval with_$ac_useropt=\$ac_optarg ;;
2330 -without-* | --without-*)
2331 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2332 # Reject names that are not valid shell variable names.
2333 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2334 as_fn_error $? "invalid package name: $ac_useropt"
2335 ac_useropt_orig=$ac_useropt
2336 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2337 case $ac_user_opts in
2339 "with_$ac_useropt"
2340 "*) ;;
2341 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2342 ac_unrecognized_sep=', ';;
2343 esac
2344 eval with_$ac_useropt=no ;;
2346 --x)
2347 # Obsolete; use --with-x.
2348 with_x=yes ;;
2350 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2351 | --x-incl | --x-inc | --x-in | --x-i)
2352 ac_prev=x_includes ;;
2353 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2354 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2355 x_includes=$ac_optarg ;;
2357 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2358 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2359 ac_prev=x_libraries ;;
2360 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2361 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2362 x_libraries=$ac_optarg ;;
2364 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2365 Try \`$0 --help' for more information"
2368 *=*)
2369 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2370 # Reject names that are not valid shell variable names.
2371 case $ac_envvar in #(
2372 '' | [0-9]* | *[!_$as_cr_alnum]* )
2373 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2374 esac
2375 eval $ac_envvar=\$ac_optarg
2376 export $ac_envvar ;;
2379 # FIXME: should be removed in autoconf 3.0.
2380 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2381 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2382 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2383 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2386 esac
2387 done
2389 if test -n "$ac_prev"; then
2390 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2391 as_fn_error $? "missing argument to $ac_option"
2394 if test -n "$ac_unrecognized_opts"; then
2395 case $enable_option_checking in
2396 no) ;;
2397 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2398 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2399 esac
2402 # Check all directory arguments for consistency.
2403 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2404 datadir sysconfdir sharedstatedir localstatedir includedir \
2405 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2406 libdir localedir mandir runstatedir
2408 eval ac_val=\$$ac_var
2409 # Remove trailing slashes.
2410 case $ac_val in
2411 */ )
2412 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2413 eval $ac_var=\$ac_val;;
2414 esac
2415 # Be sure to have absolute directory names.
2416 case $ac_val in
2417 [\\/$]* | ?:[\\/]* ) continue;;
2418 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2419 esac
2420 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2421 done
2423 # There might be people who depend on the old broken behavior: `$host'
2424 # used to hold the argument of --host etc.
2425 # FIXME: To remove some day.
2426 build=$build_alias
2427 host=$host_alias
2428 target=$target_alias
2430 # FIXME: To remove some day.
2431 if test "x$host_alias" != x; then
2432 if test "x$build_alias" = x; then
2433 cross_compiling=maybe
2434 elif test "x$build_alias" != "x$host_alias"; then
2435 cross_compiling=yes
2439 ac_tool_prefix=
2440 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2442 test "$silent" = yes && exec 6>/dev/null
2445 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2446 ac_ls_di=`ls -di .` &&
2447 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2448 as_fn_error $? "working directory cannot be determined"
2449 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2450 as_fn_error $? "pwd does not report name of working directory"
2453 # Find the source files, if location was not specified.
2454 if test -z "$srcdir"; then
2455 ac_srcdir_defaulted=yes
2456 # Try the directory containing this script, then the parent directory.
2457 ac_confdir=`$as_dirname -- "$as_myself" ||
2458 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2459 X"$as_myself" : 'X\(//\)[^/]' \| \
2460 X"$as_myself" : 'X\(//\)$' \| \
2461 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2462 $as_echo X"$as_myself" |
2463 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2464 s//\1/
2467 /^X\(\/\/\)[^/].*/{
2468 s//\1/
2471 /^X\(\/\/\)$/{
2472 s//\1/
2475 /^X\(\/\).*/{
2476 s//\1/
2479 s/.*/./; q'`
2480 srcdir=$ac_confdir
2481 if test ! -r "$srcdir/$ac_unique_file"; then
2482 srcdir=..
2484 else
2485 ac_srcdir_defaulted=no
2487 if test ! -r "$srcdir/$ac_unique_file"; then
2488 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2489 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2491 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2492 ac_abs_confdir=`(
2493 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2494 pwd)`
2495 # When building in place, set srcdir=.
2496 if test "$ac_abs_confdir" = "$ac_pwd"; then
2497 srcdir=.
2499 # Remove unnecessary trailing slashes from srcdir.
2500 # Double slashes in file names in object file debugging info
2501 # mess up M-x gdb in Emacs.
2502 case $srcdir in
2503 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2504 esac
2505 for ac_var in $ac_precious_vars; do
2506 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2507 eval ac_env_${ac_var}_value=\$${ac_var}
2508 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2509 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2510 done
2513 # Report the --help message.
2515 if test "$ac_init_help" = "long"; then
2516 # Omit some internal or obsolete options to make the list less imposing.
2517 # This message is too long to be a string in the A/UX 3.1 sh.
2518 cat <<_ACEOF
2519 \`configure' configures Wine 6.7 to adapt to many kinds of systems.
2521 Usage: $0 [OPTION]... [VAR=VALUE]...
2523 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2524 VAR=VALUE. See below for descriptions of some of the useful variables.
2526 Defaults for the options are specified in brackets.
2528 Configuration:
2529 -h, --help display this help and exit
2530 --help=short display options specific to this package
2531 --help=recursive display the short help of all the included packages
2532 -V, --version display version information and exit
2533 -q, --quiet, --silent do not print \`checking ...' messages
2534 --cache-file=FILE cache test results in FILE [disabled]
2535 -C, --config-cache alias for \`--cache-file=config.cache'
2536 -n, --no-create do not create output files
2537 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2539 Installation directories:
2540 --prefix=PREFIX install architecture-independent files in PREFIX
2541 [$ac_default_prefix]
2542 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2543 [PREFIX]
2545 By default, \`make install' will install all the files in
2546 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2547 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2548 for instance \`--prefix=\$HOME'.
2550 For better control, use the options below.
2552 Fine tuning of the installation directories:
2553 --bindir=DIR user executables [EPREFIX/bin]
2554 --sbindir=DIR system admin executables [EPREFIX/sbin]
2555 --libexecdir=DIR program executables [EPREFIX/libexec]
2556 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2557 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2558 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2559 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2560 --libdir=DIR object code libraries [EPREFIX/lib]
2561 --includedir=DIR C header files [PREFIX/include]
2562 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2563 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2564 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2565 --infodir=DIR info documentation [DATAROOTDIR/info]
2566 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2567 --mandir=DIR man documentation [DATAROOTDIR/man]
2568 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2569 --htmldir=DIR html documentation [DOCDIR]
2570 --dvidir=DIR dvi documentation [DOCDIR]
2571 --pdfdir=DIR pdf documentation [DOCDIR]
2572 --psdir=DIR ps documentation [DOCDIR]
2573 _ACEOF
2575 cat <<\_ACEOF
2577 X features:
2578 --x-includes=DIR X include files are in DIR
2579 --x-libraries=DIR X library files are in DIR
2581 System types:
2582 --build=BUILD configure for building on BUILD [guessed]
2583 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2584 _ACEOF
2587 if test -n "$ac_init_help"; then
2588 case $ac_init_help in
2589 short | recursive ) echo "Configuration of Wine 6.7:";;
2590 esac
2591 cat <<\_ACEOF
2593 Optional Features:
2594 --disable-option-checking ignore unrecognized --enable/--with options
2595 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2596 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2597 --disable-win16 do not include Win16 support
2598 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2599 binaries)
2600 --disable-tests do not build the regression tests
2601 --enable-build-id include .buildid section in output objects
2602 --enable-maintainer-mode
2603 enable maintainer-specific build rules
2604 --enable-silent-rules use silent build rules (override: "make V=1")
2605 --enable-werror treat compilation warnings as errors
2606 --disable-largefile omit support for large files
2608 Optional Packages:
2609 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2610 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2611 --without-alsa do not use the Alsa sound support
2612 --without-capi do not use CAPI (ISDN support)
2613 --without-cms do not use CMS (color management support)
2614 --without-coreaudio do not use the CoreAudio sound support
2615 --without-cups do not use CUPS
2616 --without-dbus do not use DBus (dynamic device support)
2617 --without-faudio do not use FAudio (XAudio2 support)
2618 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2619 --without-fontconfig do not use fontconfig
2620 --without-freetype do not use the FreeType library
2621 --without-gettext do not use gettext
2622 --with-gettextpo use the GetTextPO library to rebuild po files
2623 --without-gphoto do not use gphoto (Digital Camera support)
2624 --without-gnutls do not use GnuTLS (schannel support)
2625 --without-gsm do not use libgsm (GSM 06.10 codec support)
2626 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2627 --without-gstreamer do not use GStreamer (codecs support)
2628 --without-hal do not use HAL (dynamic device support)
2629 --without-inotify do not use inotify (filesystem change notifications)
2630 --without-jpeg do not use JPEG
2631 --without-jxrlib do not use JPEG-XR
2632 --without-krb5 do not use krb5 (Kerberos)
2633 --without-ldap do not use LDAP
2634 --without-mingw do not use the MinGW cross-compiler
2635 --without-mpg123 do not use the mpg123 library
2636 --without-netapi do not use the Samba NetAPI library
2637 --without-openal do not use OpenAL
2638 --without-opencl do not use OpenCL
2639 --without-opengl do not use OpenGL
2640 --without-osmesa do not use the OSMesa library
2641 --without-oss do not use the OSS sound support
2642 --without-pcap do not use the Packet Capture library
2643 --without-png do not use PNG
2644 --without-pthread do not use the pthread library
2645 --without-pulse do not use PulseAudio sound support
2646 --without-quicktime do not use QuickTime support
2647 --without-sane do not use SANE (scanner support)
2648 --without-sdl do not use SDL
2649 --without-tiff do not use TIFF
2650 --without-udev do not use udev (plug and play support)
2651 --without-unwind do not use the libunwind library (exception
2652 handling)
2653 --without-usb do not use the libusb library
2654 --without-v4l2 do not use v4l2 (video capture)
2655 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2656 --without-vulkan do not use Vulkan
2657 --without-xcomposite do not use the Xcomposite extension
2658 --without-xcursor do not use the Xcursor extension
2659 --without-xfixes do not use Xfixes for clipboard change notifications
2660 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2661 --without-xinput do not use the Xinput extension
2662 --without-xinput2 do not use the Xinput 2 extension
2663 --without-xml do not use XML
2664 --without-xrandr do not use Xrandr (multi-monitor support)
2665 --without-xrender do not use the Xrender extension
2666 --without-xshape do not use the Xshape extension
2667 --without-xshm do not use XShm (shared memory extension)
2668 --without-xslt do not use XSLT
2669 --without-xxf86vm do not use XFree video mode extension
2670 --with-wine-tools=DIR use Wine tools from directory DIR
2671 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2672 --with-x use the X Window System
2674 Some influential environment variables:
2675 CC C compiler command
2676 CFLAGS C compiler flags
2677 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2678 nonstandard directory <lib dir>
2679 LIBS libraries to pass to the linker, e.g. -l<library>
2680 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2681 you have headers in a nonstandard directory <include dir>
2682 CXX C++ compiler command
2683 CXXFLAGS C++ compiler flags
2684 CPP C preprocessor
2685 OBJC Objective C compiler command
2686 OBJCFLAGS Objective C compiler flags
2687 OBJCPP Objective C preprocessor
2688 XMKMF Path to xmkmf, Makefile generator for X Window System
2689 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2690 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2691 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2692 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2693 INOTIFY_CFLAGS
2694 C compiler flags for libinotify, overriding pkg-config
2695 INOTIFY_LIBS
2696 Linker flags for libinotify, overriding pkg-config
2697 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2698 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2699 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2700 HAL_LIBS Linker flags for hal, overriding pkg-config
2701 GNUTLS_CFLAGS
2702 C compiler flags for gnutls, overriding pkg-config
2703 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2704 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2705 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2706 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2707 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2708 GPHOTO2_CFLAGS
2709 C compiler flags for libgphoto2, overriding pkg-config
2710 GPHOTO2_LIBS
2711 Linker flags for libgphoto2, overriding pkg-config
2712 GPHOTO2_PORT_CFLAGS
2713 C compiler flags for libgphoto2_port, overriding pkg-config
2714 GPHOTO2_PORT_LIBS
2715 Linker flags for libgphoto2_port, overriding pkg-config
2716 LCMS2_CFLAGS
2717 C compiler flags for lcms2, overriding pkg-config
2718 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2719 FREETYPE_CFLAGS
2720 C compiler flags for freetype2, overriding pkg-config
2721 FREETYPE_LIBS
2722 Linker flags for freetype2, overriding pkg-config
2723 PULSE_CFLAGS
2724 C compiler flags for libpulse, overriding pkg-config
2725 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2726 GSTREAMER_CFLAGS
2727 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2728 gstreamer-audio-1.0, overriding pkg-config
2729 GSTREAMER_LIBS
2730 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2731 gstreamer-audio-1.0, overriding pkg-config
2732 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2733 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2734 UNWIND_CFLAGS
2735 C compiler flags for libunwind, overriding pkg-config
2736 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2737 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2738 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2739 FAUDIO_CFLAGS
2740 C compiler flags for FAudio, overriding pkg-config
2741 FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
2742 CAPI20_CFLAGS
2743 C compiler flags for capi20, overriding pkg-config
2744 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2745 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2746 CUPS_LIBS Linker flags for cups, overriding pkg-config
2747 FONTCONFIG_CFLAGS
2748 C compiler flags for fontconfig, overriding pkg-config
2749 FONTCONFIG_LIBS
2750 Linker flags for fontconfig, overriding pkg-config
2751 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2752 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2753 GSSAPI_CFLAGS
2754 C compiler flags for krb5-gssapi, overriding pkg-config
2755 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2756 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2757 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2758 JXRLIB_CFLAGS
2759 C compiler flags for jxrlib, overriding pkg-config
2760 JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
2761 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2762 PNG_LIBS Linker flags for libpng, overriding pkg-config
2763 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2764 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2765 MPG123_CFLAGS
2766 C compiler flags for libmpg123, overriding pkg-config
2767 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2768 NETAPI_CFLAGS
2769 C compiler flags for netapi, overriding pkg-config
2770 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2771 VKD3D_CFLAGS
2772 C compiler flags for libvkd3d, overriding pkg-config
2773 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2774 VKD3D_SHADER_CFLAGS
2775 C compiler flags for libvkd3d-shader, overriding pkg-config
2776 VKD3D_SHADER_LIBS
2777 Linker flags for libvkd3d-shader, overriding pkg-config
2778 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2779 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2781 Use these variables to override the choices made by `configure' or to help
2782 it to find libraries and programs with nonstandard names/locations.
2784 Report bugs to <wine-devel@winehq.org>.
2785 Wine home page: <https://www.winehq.org>.
2786 _ACEOF
2787 ac_status=$?
2790 if test "$ac_init_help" = "recursive"; then
2791 # If there are subdirs, report their specific --help.
2792 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2793 test -d "$ac_dir" ||
2794 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2795 continue
2796 ac_builddir=.
2798 case "$ac_dir" in
2799 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2801 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2802 # A ".." for each directory in $ac_dir_suffix.
2803 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2804 case $ac_top_builddir_sub in
2805 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2806 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2807 esac ;;
2808 esac
2809 ac_abs_top_builddir=$ac_pwd
2810 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2811 # for backward compatibility:
2812 ac_top_builddir=$ac_top_build_prefix
2814 case $srcdir in
2815 .) # We are building in place.
2816 ac_srcdir=.
2817 ac_top_srcdir=$ac_top_builddir_sub
2818 ac_abs_top_srcdir=$ac_pwd ;;
2819 [\\/]* | ?:[\\/]* ) # Absolute name.
2820 ac_srcdir=$srcdir$ac_dir_suffix;
2821 ac_top_srcdir=$srcdir
2822 ac_abs_top_srcdir=$srcdir ;;
2823 *) # Relative name.
2824 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2825 ac_top_srcdir=$ac_top_build_prefix$srcdir
2826 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2827 esac
2828 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2830 cd "$ac_dir" || { ac_status=$?; continue; }
2831 # Check for guested configure.
2832 if test -f "$ac_srcdir/configure.gnu"; then
2833 echo &&
2834 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2835 elif test -f "$ac_srcdir/configure"; then
2836 echo &&
2837 $SHELL "$ac_srcdir/configure" --help=recursive
2838 else
2839 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2840 fi || ac_status=$?
2841 cd "$ac_pwd" || { ac_status=$?; break; }
2842 done
2845 test -n "$ac_init_help" && exit $ac_status
2846 if $ac_init_version; then
2847 cat <<\_ACEOF
2848 Wine configure 6.7
2849 generated by GNU Autoconf 2.69
2851 Copyright (C) 2012 Free Software Foundation, Inc.
2852 This configure script is free software; the Free Software Foundation
2853 gives unlimited permission to copy, distribute and modify it.
2854 _ACEOF
2855 exit
2858 ## ------------------------ ##
2859 ## Autoconf initialization. ##
2860 ## ------------------------ ##
2862 # ac_fn_c_try_compile LINENO
2863 # --------------------------
2864 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2865 ac_fn_c_try_compile ()
2867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2868 rm -f conftest.$ac_objext
2869 if { { ac_try="$ac_compile"
2870 case "(($ac_try" in
2871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872 *) ac_try_echo=$ac_try;;
2873 esac
2874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2875 $as_echo "$ac_try_echo"; } >&5
2876 (eval "$ac_compile") 2>conftest.err
2877 ac_status=$?
2878 if test -s conftest.err; then
2879 grep -v '^ *+' conftest.err >conftest.er1
2880 cat conftest.er1 >&5
2881 mv -f conftest.er1 conftest.err
2883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2884 test $ac_status = 0; } && {
2885 test -z "$ac_c_werror_flag" ||
2886 test ! -s conftest.err
2887 } && test -s conftest.$ac_objext; then :
2888 ac_retval=0
2889 else
2890 $as_echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.$ac_ext >&5
2893 ac_retval=1
2895 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2896 as_fn_set_status $ac_retval
2898 } # ac_fn_c_try_compile
2900 # ac_fn_cxx_try_compile LINENO
2901 # ----------------------------
2902 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2903 ac_fn_cxx_try_compile ()
2905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2906 rm -f conftest.$ac_objext
2907 if { { ac_try="$ac_compile"
2908 case "(($ac_try" in
2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2911 esac
2912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2913 $as_echo "$ac_try_echo"; } >&5
2914 (eval "$ac_compile") 2>conftest.err
2915 ac_status=$?
2916 if test -s conftest.err; then
2917 grep -v '^ *+' conftest.err >conftest.er1
2918 cat conftest.er1 >&5
2919 mv -f conftest.er1 conftest.err
2921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2922 test $ac_status = 0; } && {
2923 test -z "$ac_cxx_werror_flag" ||
2924 test ! -s conftest.err
2925 } && test -s conftest.$ac_objext; then :
2926 ac_retval=0
2927 else
2928 $as_echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.$ac_ext >&5
2931 ac_retval=1
2933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2934 as_fn_set_status $ac_retval
2936 } # ac_fn_cxx_try_compile
2938 # ac_fn_c_try_link LINENO
2939 # -----------------------
2940 # Try to link conftest.$ac_ext, and return whether this succeeded.
2941 ac_fn_c_try_link ()
2943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2944 rm -f conftest.$ac_objext conftest$ac_exeext
2945 if { { ac_try="$ac_link"
2946 case "(($ac_try" in
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2949 esac
2950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951 $as_echo "$ac_try_echo"; } >&5
2952 (eval "$ac_link") 2>conftest.err
2953 ac_status=$?
2954 if test -s conftest.err; then
2955 grep -v '^ *+' conftest.err >conftest.er1
2956 cat conftest.er1 >&5
2957 mv -f conftest.er1 conftest.err
2959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2960 test $ac_status = 0; } && {
2961 test -z "$ac_c_werror_flag" ||
2962 test ! -s conftest.err
2963 } && test -s conftest$ac_exeext && {
2964 test "$cross_compiling" = yes ||
2965 test -x conftest$ac_exeext
2966 }; then :
2967 ac_retval=0
2968 else
2969 $as_echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2972 ac_retval=1
2974 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2975 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2976 # interfere with the next link command; also delete a directory that is
2977 # left behind by Apple's compiler. We do this before executing the actions.
2978 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2980 as_fn_set_status $ac_retval
2982 } # ac_fn_c_try_link
2984 # ac_fn_c_try_cpp LINENO
2985 # ----------------------
2986 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2987 ac_fn_c_try_cpp ()
2989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2990 if { { ac_try="$ac_cpp conftest.$ac_ext"
2991 case "(($ac_try" in
2992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2993 *) ac_try_echo=$ac_try;;
2994 esac
2995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2996 $as_echo "$ac_try_echo"; } >&5
2997 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2998 ac_status=$?
2999 if test -s conftest.err; then
3000 grep -v '^ *+' conftest.err >conftest.er1
3001 cat conftest.er1 >&5
3002 mv -f conftest.er1 conftest.err
3004 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3005 test $ac_status = 0; } > conftest.i && {
3006 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3007 test ! -s conftest.err
3008 }; then :
3009 ac_retval=0
3010 else
3011 $as_echo "$as_me: failed program was:" >&5
3012 sed 's/^/| /' conftest.$ac_ext >&5
3014 ac_retval=1
3016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3017 as_fn_set_status $ac_retval
3019 } # ac_fn_c_try_cpp
3021 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3022 # -------------------------------------------------------
3023 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3024 # the include files in INCLUDES and setting the cache variable VAR
3025 # accordingly.
3026 ac_fn_c_check_header_mongrel ()
3028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3029 if eval \${$3+:} false; then :
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3031 $as_echo_n "checking for $2... " >&6; }
3032 if eval \${$3+:} false; then :
3033 $as_echo_n "(cached) " >&6
3035 eval ac_res=\$$3
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3037 $as_echo "$ac_res" >&6; }
3038 else
3039 # Is the header compilable?
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3041 $as_echo_n "checking $2 usability... " >&6; }
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3045 #include <$2>
3046 _ACEOF
3047 if ac_fn_c_try_compile "$LINENO"; then :
3048 ac_header_compiler=yes
3049 else
3050 ac_header_compiler=no
3052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3054 $as_echo "$ac_header_compiler" >&6; }
3056 # Is the header present?
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3058 $as_echo_n "checking $2 presence... " >&6; }
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3061 #include <$2>
3062 _ACEOF
3063 if ac_fn_c_try_cpp "$LINENO"; then :
3064 ac_header_preproc=yes
3065 else
3066 ac_header_preproc=no
3068 rm -f conftest.err conftest.i conftest.$ac_ext
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3070 $as_echo "$ac_header_preproc" >&6; }
3072 # So? What about this header?
3073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3074 yes:no: )
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3076 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3078 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3080 no:yes:* )
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3082 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3084 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3086 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3088 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3090 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3091 ( $as_echo "## ------------------------------------ ##
3092 ## Report this to wine-devel@winehq.org ##
3093 ## ------------------------------------ ##"
3094 ) | sed "s/^/$as_me: WARNING: /" >&2
3096 esac
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3098 $as_echo_n "checking for $2... " >&6; }
3099 if eval \${$3+:} false; then :
3100 $as_echo_n "(cached) " >&6
3101 else
3102 eval "$3=\$ac_header_compiler"
3104 eval ac_res=\$$3
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3106 $as_echo "$ac_res" >&6; }
3108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3110 } # ac_fn_c_check_header_mongrel
3112 # ac_fn_c_try_run LINENO
3113 # ----------------------
3114 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3115 # that executables *can* be run.
3116 ac_fn_c_try_run ()
3118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3119 if { { ac_try="$ac_link"
3120 case "(($ac_try" in
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3123 esac
3124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3125 $as_echo "$ac_try_echo"; } >&5
3126 (eval "$ac_link") 2>&5
3127 ac_status=$?
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3130 { { case "(($ac_try" in
3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132 *) ac_try_echo=$ac_try;;
3133 esac
3134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3135 $as_echo "$ac_try_echo"; } >&5
3136 (eval "$ac_try") 2>&5
3137 ac_status=$?
3138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3139 test $ac_status = 0; }; }; then :
3140 ac_retval=0
3141 else
3142 $as_echo "$as_me: program exited with status $ac_status" >&5
3143 $as_echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 ac_retval=$ac_status
3148 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3150 as_fn_set_status $ac_retval
3152 } # ac_fn_c_try_run
3154 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3155 # -------------------------------------------------------
3156 # Tests whether HEADER exists and can be compiled using the include files in
3157 # INCLUDES, setting the cache variable VAR accordingly.
3158 ac_fn_c_check_header_compile ()
3160 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3162 $as_echo_n "checking for $2... " >&6; }
3163 if eval \${$3+:} false; then :
3164 $as_echo_n "(cached) " >&6
3165 else
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3169 #include <$2>
3170 _ACEOF
3171 if ac_fn_c_try_compile "$LINENO"; then :
3172 eval "$3=yes"
3173 else
3174 eval "$3=no"
3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3178 eval ac_res=\$$3
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3180 $as_echo "$ac_res" >&6; }
3181 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3183 } # ac_fn_c_check_header_compile
3185 # ac_fn_objc_try_compile LINENO
3186 # -----------------------------
3187 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3188 ac_fn_objc_try_compile ()
3190 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3191 rm -f conftest.$ac_objext
3192 if { { ac_try="$ac_compile"
3193 case "(($ac_try" in
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3196 esac
3197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3198 $as_echo "$ac_try_echo"; } >&5
3199 (eval "$ac_compile") 2>conftest.err
3200 ac_status=$?
3201 if test -s conftest.err; then
3202 grep -v '^ *+' conftest.err >conftest.er1
3203 cat conftest.er1 >&5
3204 mv -f conftest.er1 conftest.err
3206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3207 test $ac_status = 0; } && {
3208 test -z "$ac_objc_werror_flag" ||
3209 test ! -s conftest.err
3210 } && test -s conftest.$ac_objext; then :
3211 ac_retval=0
3212 else
3213 $as_echo "$as_me: failed program was:" >&5
3214 sed 's/^/| /' conftest.$ac_ext >&5
3216 ac_retval=1
3218 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3219 as_fn_set_status $ac_retval
3221 } # ac_fn_objc_try_compile
3223 # ac_fn_objc_try_cpp LINENO
3224 # -------------------------
3225 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3226 ac_fn_objc_try_cpp ()
3228 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3229 if { { ac_try="$ac_cpp conftest.$ac_ext"
3230 case "(($ac_try" in
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3233 esac
3234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3235 $as_echo "$ac_try_echo"; } >&5
3236 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3237 ac_status=$?
3238 if test -s conftest.err; then
3239 grep -v '^ *+' conftest.err >conftest.er1
3240 cat conftest.er1 >&5
3241 mv -f conftest.er1 conftest.err
3243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3244 test $ac_status = 0; } > conftest.i && {
3245 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3246 test ! -s conftest.err
3247 }; then :
3248 ac_retval=0
3249 else
3250 $as_echo "$as_me: failed program was:" >&5
3251 sed 's/^/| /' conftest.$ac_ext >&5
3253 ac_retval=1
3255 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3256 as_fn_set_status $ac_retval
3258 } # ac_fn_objc_try_cpp
3260 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3261 # ----------------------------------------------------------
3262 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3263 # the include files in INCLUDES and setting the cache variable VAR
3264 # accordingly.
3265 ac_fn_objc_check_header_mongrel ()
3267 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3268 if eval \${$3+:} false; then :
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3270 $as_echo_n "checking for $2... " >&6; }
3271 if eval \${$3+:} false; then :
3272 $as_echo_n "(cached) " >&6
3274 eval ac_res=\$$3
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3276 $as_echo "$ac_res" >&6; }
3277 else
3278 # Is the header compilable?
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3280 $as_echo_n "checking $2 usability... " >&6; }
3281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3282 /* end confdefs.h. */
3284 #include <$2>
3285 _ACEOF
3286 if ac_fn_objc_try_compile "$LINENO"; then :
3287 ac_header_compiler=yes
3288 else
3289 ac_header_compiler=no
3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3293 $as_echo "$ac_header_compiler" >&6; }
3295 # Is the header present?
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3297 $as_echo_n "checking $2 presence... " >&6; }
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3300 #include <$2>
3301 _ACEOF
3302 if ac_fn_objc_try_cpp "$LINENO"; then :
3303 ac_header_preproc=yes
3304 else
3305 ac_header_preproc=no
3307 rm -f conftest.err conftest.i conftest.$ac_ext
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3309 $as_echo "$ac_header_preproc" >&6; }
3311 # So? What about this header?
3312 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3313 yes:no: )
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3315 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3317 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3319 no:yes:* )
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3321 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3323 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3325 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3327 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3329 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3330 ( $as_echo "## ------------------------------------ ##
3331 ## Report this to wine-devel@winehq.org ##
3332 ## ------------------------------------ ##"
3333 ) | sed "s/^/$as_me: WARNING: /" >&2
3335 esac
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3337 $as_echo_n "checking for $2... " >&6; }
3338 if eval \${$3+:} false; then :
3339 $as_echo_n "(cached) " >&6
3340 else
3341 eval "$3=\$ac_header_compiler"
3343 eval ac_res=\$$3
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3345 $as_echo "$ac_res" >&6; }
3347 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3349 } # ac_fn_objc_check_header_mongrel
3351 # ac_fn_c_check_func LINENO FUNC VAR
3352 # ----------------------------------
3353 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3354 ac_fn_c_check_func ()
3356 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3358 $as_echo_n "checking for $2... " >&6; }
3359 if eval \${$3+:} false; then :
3360 $as_echo_n "(cached) " >&6
3361 else
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3364 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3366 #define $2 innocuous_$2
3368 /* System header to define __stub macros and hopefully few prototypes,
3369 which can conflict with char $2 (); below.
3370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3371 <limits.h> exists even on freestanding compilers. */
3373 #ifdef __STDC__
3374 # include <limits.h>
3375 #else
3376 # include <assert.h>
3377 #endif
3379 #undef $2
3381 /* Override any GCC internal prototype to avoid an error.
3382 Use char because int might match the return type of a GCC
3383 builtin and then its argument prototype would still apply. */
3384 #ifdef __cplusplus
3385 extern "C"
3386 #endif
3387 char $2 ();
3388 /* The GNU C library defines this for functions which it implements
3389 to always fail with ENOSYS. Some functions are actually named
3390 something starting with __ and the normal name is an alias. */
3391 #if defined __stub_$2 || defined __stub___$2
3392 choke me
3393 #endif
3396 main ()
3398 return $2 ();
3400 return 0;
3402 _ACEOF
3403 if ac_fn_c_try_link "$LINENO"; then :
3404 eval "$3=yes"
3405 else
3406 eval "$3=no"
3408 rm -f core conftest.err conftest.$ac_objext \
3409 conftest$ac_exeext conftest.$ac_ext
3411 eval ac_res=\$$3
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3413 $as_echo "$ac_res" >&6; }
3414 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3416 } # ac_fn_c_check_func
3418 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3419 # ----------------------------------------------------
3420 # Tries to find if the field MEMBER exists in type AGGR, after including
3421 # INCLUDES, setting cache variable VAR accordingly.
3422 ac_fn_c_check_member ()
3424 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3426 $as_echo_n "checking for $2.$3... " >&6; }
3427 if eval \${$4+:} false; then :
3428 $as_echo_n "(cached) " >&6
3429 else
3430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3431 /* end confdefs.h. */
3434 main ()
3436 static $2 ac_aggr;
3437 if (ac_aggr.$3)
3438 return 0;
3440 return 0;
3442 _ACEOF
3443 if ac_fn_c_try_compile "$LINENO"; then :
3444 eval "$4=yes"
3445 else
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3450 main ()
3452 static $2 ac_aggr;
3453 if (sizeof ac_aggr.$3)
3454 return 0;
3456 return 0;
3458 _ACEOF
3459 if ac_fn_c_try_compile "$LINENO"; then :
3460 eval "$4=yes"
3461 else
3462 eval "$4=no"
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3468 eval ac_res=\$$4
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3470 $as_echo "$ac_res" >&6; }
3471 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3473 } # ac_fn_c_check_member
3475 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3476 # -------------------------------------------
3477 # Tests whether TYPE exists after having included INCLUDES, setting cache
3478 # variable VAR accordingly.
3479 ac_fn_c_check_type ()
3481 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3483 $as_echo_n "checking for $2... " >&6; }
3484 if eval \${$3+:} false; then :
3485 $as_echo_n "(cached) " >&6
3486 else
3487 eval "$3=no"
3488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3489 /* end confdefs.h. */
3492 main ()
3494 if (sizeof ($2))
3495 return 0;
3497 return 0;
3499 _ACEOF
3500 if ac_fn_c_try_compile "$LINENO"; then :
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3505 main ()
3507 if (sizeof (($2)))
3508 return 0;
3510 return 0;
3512 _ACEOF
3513 if ac_fn_c_try_compile "$LINENO"; then :
3515 else
3516 eval "$3=yes"
3518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 eval ac_res=\$$3
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3524 $as_echo "$ac_res" >&6; }
3525 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3527 } # ac_fn_c_check_type
3528 cat >config.log <<_ACEOF
3529 This file contains any messages produced by compilers while
3530 running configure, to aid debugging if configure makes a mistake.
3532 It was created by Wine $as_me 6.7, which was
3533 generated by GNU Autoconf 2.69. Invocation command line was
3535 $ $0 $@
3537 _ACEOF
3538 exec 5>>config.log
3540 cat <<_ASUNAME
3541 ## --------- ##
3542 ## Platform. ##
3543 ## --------- ##
3545 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3546 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3547 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3548 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3549 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3551 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3552 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3554 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3555 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3556 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3557 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3558 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3559 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3560 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3562 _ASUNAME
3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 for as_dir in $PATH
3567 IFS=$as_save_IFS
3568 test -z "$as_dir" && as_dir=.
3569 $as_echo "PATH: $as_dir"
3570 done
3571 IFS=$as_save_IFS
3573 } >&5
3575 cat >&5 <<_ACEOF
3578 ## ----------- ##
3579 ## Core tests. ##
3580 ## ----------- ##
3582 _ACEOF
3585 # Keep a trace of the command line.
3586 # Strip out --no-create and --no-recursion so they do not pile up.
3587 # Strip out --silent because we don't want to record it for future runs.
3588 # Also quote any args containing shell meta-characters.
3589 # Make two passes to allow for proper duplicate-argument suppression.
3590 ac_configure_args=
3591 ac_configure_args0=
3592 ac_configure_args1=
3593 ac_must_keep_next=false
3594 for ac_pass in 1 2
3596 for ac_arg
3598 case $ac_arg in
3599 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3600 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3601 | -silent | --silent | --silen | --sile | --sil)
3602 continue ;;
3603 *\'*)
3604 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3605 esac
3606 case $ac_pass in
3607 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3609 as_fn_append ac_configure_args1 " '$ac_arg'"
3610 if test $ac_must_keep_next = true; then
3611 ac_must_keep_next=false # Got value, back to normal.
3612 else
3613 case $ac_arg in
3614 *=* | --config-cache | -C | -disable-* | --disable-* \
3615 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3616 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3617 | -with-* | --with-* | -without-* | --without-* | --x)
3618 case "$ac_configure_args0 " in
3619 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3620 esac
3622 -* ) ac_must_keep_next=true ;;
3623 esac
3625 as_fn_append ac_configure_args " '$ac_arg'"
3627 esac
3628 done
3629 done
3630 { ac_configure_args0=; unset ac_configure_args0;}
3631 { ac_configure_args1=; unset ac_configure_args1;}
3633 # When interrupted or exit'd, cleanup temporary files, and complete
3634 # config.log. We remove comments because anyway the quotes in there
3635 # would cause problems or look ugly.
3636 # WARNING: Use '\'' to represent an apostrophe within the trap.
3637 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3638 trap 'exit_status=$?
3639 # Save into config.log some information that might help in debugging.
3641 echo
3643 $as_echo "## ---------------- ##
3644 ## Cache variables. ##
3645 ## ---------------- ##"
3646 echo
3647 # The following way of writing the cache mishandles newlines in values,
3649 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3650 eval ac_val=\$$ac_var
3651 case $ac_val in #(
3652 *${as_nl}*)
3653 case $ac_var in #(
3654 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3655 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3656 esac
3657 case $ac_var in #(
3658 _ | IFS | as_nl) ;; #(
3659 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3660 *) { eval $ac_var=; unset $ac_var;} ;;
3661 esac ;;
3662 esac
3663 done
3664 (set) 2>&1 |
3665 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3666 *${as_nl}ac_space=\ *)
3667 sed -n \
3668 "s/'\''/'\''\\\\'\'''\''/g;
3669 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3670 ;; #(
3672 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3674 esac |
3675 sort
3677 echo
3679 $as_echo "## ----------------- ##
3680 ## Output variables. ##
3681 ## ----------------- ##"
3682 echo
3683 for ac_var in $ac_subst_vars
3685 eval ac_val=\$$ac_var
3686 case $ac_val in
3687 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3688 esac
3689 $as_echo "$ac_var='\''$ac_val'\''"
3690 done | sort
3691 echo
3693 if test -n "$ac_subst_files"; then
3694 $as_echo "## ------------------- ##
3695 ## File substitutions. ##
3696 ## ------------------- ##"
3697 echo
3698 for ac_var in $ac_subst_files
3700 eval ac_val=\$$ac_var
3701 case $ac_val in
3702 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3703 esac
3704 $as_echo "$ac_var='\''$ac_val'\''"
3705 done | sort
3706 echo
3709 if test -s confdefs.h; then
3710 $as_echo "## ----------- ##
3711 ## confdefs.h. ##
3712 ## ----------- ##"
3713 echo
3714 cat confdefs.h
3715 echo
3717 test "$ac_signal" != 0 &&
3718 $as_echo "$as_me: caught signal $ac_signal"
3719 $as_echo "$as_me: exit $exit_status"
3720 } >&5
3721 rm -f core *.core core.conftest.* &&
3722 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3723 exit $exit_status
3725 for ac_signal in 1 2 13 15; do
3726 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3727 done
3728 ac_signal=0
3730 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3731 rm -f -r conftest* confdefs.h
3733 $as_echo "/* confdefs.h */" > confdefs.h
3735 # Predefined preprocessor variables.
3737 cat >>confdefs.h <<_ACEOF
3738 #define PACKAGE_NAME "$PACKAGE_NAME"
3739 _ACEOF
3741 cat >>confdefs.h <<_ACEOF
3742 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3743 _ACEOF
3745 cat >>confdefs.h <<_ACEOF
3746 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3747 _ACEOF
3749 cat >>confdefs.h <<_ACEOF
3750 #define PACKAGE_STRING "$PACKAGE_STRING"
3751 _ACEOF
3753 cat >>confdefs.h <<_ACEOF
3754 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3755 _ACEOF
3757 cat >>confdefs.h <<_ACEOF
3758 #define PACKAGE_URL "$PACKAGE_URL"
3759 _ACEOF
3762 # Let the site file select an alternate cache file if it wants to.
3763 # Prefer an explicitly selected file to automatically selected ones.
3764 ac_site_file1=NONE
3765 ac_site_file2=NONE
3766 if test -n "$CONFIG_SITE"; then
3767 # We do not want a PATH search for config.site.
3768 case $CONFIG_SITE in #((
3769 -*) ac_site_file1=./$CONFIG_SITE;;
3770 */*) ac_site_file1=$CONFIG_SITE;;
3771 *) ac_site_file1=./$CONFIG_SITE;;
3772 esac
3773 elif test "x$prefix" != xNONE; then
3774 ac_site_file1=$prefix/share/config.site
3775 ac_site_file2=$prefix/etc/config.site
3776 else
3777 ac_site_file1=$ac_default_prefix/share/config.site
3778 ac_site_file2=$ac_default_prefix/etc/config.site
3780 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3782 test "x$ac_site_file" = xNONE && continue
3783 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3785 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3786 sed 's/^/| /' "$ac_site_file" >&5
3787 . "$ac_site_file" \
3788 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3790 as_fn_error $? "failed to load site script $ac_site_file
3791 See \`config.log' for more details" "$LINENO" 5; }
3793 done
3795 if test -r "$cache_file"; then
3796 # Some versions of bash will fail to source /dev/null (special files
3797 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3798 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3800 $as_echo "$as_me: loading cache $cache_file" >&6;}
3801 case $cache_file in
3802 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3803 *) . "./$cache_file";;
3804 esac
3806 else
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3808 $as_echo "$as_me: creating cache $cache_file" >&6;}
3809 >$cache_file
3812 # Check that the precious variables saved in the cache have kept the same
3813 # value.
3814 ac_cache_corrupted=false
3815 for ac_var in $ac_precious_vars; do
3816 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3817 eval ac_new_set=\$ac_env_${ac_var}_set
3818 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3819 eval ac_new_val=\$ac_env_${ac_var}_value
3820 case $ac_old_set,$ac_new_set in
3821 set,)
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3823 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3824 ac_cache_corrupted=: ;;
3825 ,set)
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3827 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3828 ac_cache_corrupted=: ;;
3829 ,);;
3831 if test "x$ac_old_val" != "x$ac_new_val"; then
3832 # differences in whitespace do not lead to failure.
3833 ac_old_val_w=`echo x $ac_old_val`
3834 ac_new_val_w=`echo x $ac_new_val`
3835 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3837 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3838 ac_cache_corrupted=:
3839 else
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3841 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3842 eval $ac_var=\$ac_old_val
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3845 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3847 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3848 fi;;
3849 esac
3850 # Pass precious variables to config.status.
3851 if test "$ac_new_set" = set; then
3852 case $ac_new_val in
3853 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3854 *) ac_arg=$ac_var=$ac_new_val ;;
3855 esac
3856 case " $ac_configure_args " in
3857 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3858 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3859 esac
3861 done
3862 if $ac_cache_corrupted; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3866 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3867 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3869 ## -------------------- ##
3870 ## Main body of script. ##
3871 ## -------------------- ##
3873 ac_ext=c
3874 ac_cpp='$CPP $CPPFLAGS'
3875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3881 ac_config_headers="$ac_config_headers include/config.h"
3883 ac_aux_dir=
3884 for ac_dir in tools "$srcdir"/tools; do
3885 if test -f "$ac_dir/install-sh"; then
3886 ac_aux_dir=$ac_dir
3887 ac_install_sh="$ac_aux_dir/install-sh -c"
3888 break
3889 elif test -f "$ac_dir/install.sh"; then
3890 ac_aux_dir=$ac_dir
3891 ac_install_sh="$ac_aux_dir/install.sh -c"
3892 break
3893 elif test -f "$ac_dir/shtool"; then
3894 ac_aux_dir=$ac_dir
3895 ac_install_sh="$ac_aux_dir/shtool install -c"
3896 break
3898 done
3899 if test -z "$ac_aux_dir"; then
3900 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3903 # These three variables are undocumented and unsupported,
3904 # and are intended to be withdrawn in a future Autoconf release.
3905 # They can cause serious problems if a builder's source tree is in a directory
3906 # whose full name contains unusual characters.
3907 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3908 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3909 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3913 libwine_version="1.0"
3917 # Check whether --enable-win16 was given.
3918 if test "${enable_win16+set}" = set; then :
3919 enableval=$enable_win16;
3922 # Check whether --enable-win64 was given.
3923 if test "${enable_win64+set}" = set; then :
3924 enableval=$enable_win64;
3927 # Check whether --enable-tests was given.
3928 if test "${enable_tests+set}" = set; then :
3929 enableval=$enable_tests;
3932 # Check whether --enable-build-id was given.
3933 if test "${enable_build_id+set}" = set; then :
3934 enableval=$enable_build_id;
3937 # Check whether --enable-maintainer-mode was given.
3938 if test "${enable_maintainer_mode+set}" = set; then :
3939 enableval=$enable_maintainer_mode;
3942 # Check whether --enable-silent-rules was given.
3943 if test "${enable_silent_rules+set}" = set; then :
3944 enableval=$enable_silent_rules;
3947 # Check whether --enable-werror was given.
3948 if test "${enable_werror+set}" = set; then :
3949 enableval=$enable_werror;
3954 # Check whether --with-alsa was given.
3955 if test "${with_alsa+set}" = set; then :
3956 withval=$with_alsa;
3960 # Check whether --with-capi was given.
3961 if test "${with_capi+set}" = set; then :
3962 withval=$with_capi;
3966 # Check whether --with-cms was given.
3967 if test "${with_cms+set}" = set; then :
3968 withval=$with_cms;
3972 # Check whether --with-coreaudio was given.
3973 if test "${with_coreaudio+set}" = set; then :
3974 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3978 # Check whether --with-cups was given.
3979 if test "${with_cups+set}" = set; then :
3980 withval=$with_cups;
3984 # Check whether --with-dbus was given.
3985 if test "${with_dbus+set}" = set; then :
3986 withval=$with_dbus;
3990 # Check whether --with-faudio was given.
3991 if test "${with_faudio+set}" = set; then :
3992 withval=$with_faudio;
3996 # Check whether --with-float-abi was given.
3997 if test "${with_float_abi+set}" = set; then :
3998 withval=$with_float_abi;
4002 # Check whether --with-fontconfig was given.
4003 if test "${with_fontconfig+set}" = set; then :
4004 withval=$with_fontconfig;
4008 # Check whether --with-freetype was given.
4009 if test "${with_freetype+set}" = set; then :
4010 withval=$with_freetype;
4014 # Check whether --with-gettext was given.
4015 if test "${with_gettext+set}" = set; then :
4016 withval=$with_gettext;
4020 # Check whether --with-gettextpo was given.
4021 if test "${with_gettextpo+set}" = set; then :
4022 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4026 # Check whether --with-gphoto was given.
4027 if test "${with_gphoto+set}" = set; then :
4028 withval=$with_gphoto;
4032 # Check whether --with-gnutls was given.
4033 if test "${with_gnutls+set}" = set; then :
4034 withval=$with_gnutls;
4038 # Check whether --with-gsm was given.
4039 if test "${with_gsm+set}" = set; then :
4040 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
4044 # Check whether --with-gssapi was given.
4045 if test "${with_gssapi+set}" = set; then :
4046 withval=$with_gssapi;
4050 # Check whether --with-gstreamer was given.
4051 if test "${with_gstreamer+set}" = set; then :
4052 withval=$with_gstreamer;
4056 # Check whether --with-hal was given.
4057 if test "${with_hal+set}" = set; then :
4058 withval=$with_hal;
4062 # Check whether --with-inotify was given.
4063 if test "${with_inotify+set}" = set; then :
4064 withval=$with_inotify;
4068 # Check whether --with-jpeg was given.
4069 if test "${with_jpeg+set}" = set; then :
4070 withval=$with_jpeg;
4074 # Check whether --with-jxrlib was given.
4075 if test "${with_jxrlib+set}" = set; then :
4076 withval=$with_jxrlib;
4080 # Check whether --with-krb5 was given.
4081 if test "${with_krb5+set}" = set; then :
4082 withval=$with_krb5;
4086 # Check whether --with-ldap was given.
4087 if test "${with_ldap+set}" = set; then :
4088 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4092 # Check whether --with-mingw was given.
4093 if test "${with_mingw+set}" = set; then :
4094 withval=$with_mingw;
4098 # Check whether --with-mpg123 was given.
4099 if test "${with_mpg123+set}" = set; then :
4100 withval=$with_mpg123;
4104 # Check whether --with-netapi was given.
4105 if test "${with_netapi+set}" = set; then :
4106 withval=$with_netapi;
4110 # Check whether --with-openal was given.
4111 if test "${with_openal+set}" = set; then :
4112 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4116 # Check whether --with-opencl was given.
4117 if test "${with_opencl+set}" = set; then :
4118 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4122 # Check whether --with-opengl was given.
4123 if test "${with_opengl+set}" = set; then :
4124 withval=$with_opengl;
4128 # Check whether --with-osmesa was given.
4129 if test "${with_osmesa+set}" = set; then :
4130 withval=$with_osmesa;
4134 # Check whether --with-oss was given.
4135 if test "${with_oss+set}" = set; then :
4136 withval=$with_oss;
4140 # Check whether --with-pcap was given.
4141 if test "${with_pcap+set}" = set; then :
4142 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4146 # Check whether --with-png was given.
4147 if test "${with_png+set}" = set; then :
4148 withval=$with_png;
4152 # Check whether --with-pthread was given.
4153 if test "${with_pthread+set}" = set; then :
4154 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4158 # Check whether --with-pulse was given.
4159 if test "${with_pulse+set}" = set; then :
4160 withval=$with_pulse;
4164 # Check whether --with-quicktime was given.
4165 if test "${with_quicktime+set}" = set; then :
4166 withval=$with_quicktime;
4170 # Check whether --with-sane was given.
4171 if test "${with_sane+set}" = set; then :
4172 withval=$with_sane;
4176 # Check whether --with-sdl was given.
4177 if test "${with_sdl+set}" = set; then :
4178 withval=$with_sdl;
4182 # Check whether --with-tiff was given.
4183 if test "${with_tiff+set}" = set; then :
4184 withval=$with_tiff;
4188 # Check whether --with-udev was given.
4189 if test "${with_udev+set}" = set; then :
4190 withval=$with_udev;
4194 # Check whether --with-unwind was given.
4195 if test "${with_unwind+set}" = set; then :
4196 withval=$with_unwind;
4200 # Check whether --with-usb was given.
4201 if test "${with_usb+set}" = set; then :
4202 withval=$with_usb;
4206 # Check whether --with-v4l2 was given.
4207 if test "${with_v4l2+set}" = set; then :
4208 withval=$with_v4l2;
4212 # Check whether --with-vkd3d was given.
4213 if test "${with_vkd3d+set}" = set; then :
4214 withval=$with_vkd3d;
4218 # Check whether --with-vulkan was given.
4219 if test "${with_vulkan+set}" = set; then :
4220 withval=$with_vulkan;
4224 # Check whether --with-xcomposite was given.
4225 if test "${with_xcomposite+set}" = set; then :
4226 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4230 # Check whether --with-xcursor was given.
4231 if test "${with_xcursor+set}" = set; then :
4232 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4236 # Check whether --with-xfixes was given.
4237 if test "${with_xfixes+set}" = set; then :
4238 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4242 # Check whether --with-xinerama was given.
4243 if test "${with_xinerama+set}" = set; then :
4244 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4248 # Check whether --with-xinput was given.
4249 if test "${with_xinput+set}" = set; then :
4250 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4254 # Check whether --with-xinput2 was given.
4255 if test "${with_xinput2+set}" = set; then :
4256 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4260 # Check whether --with-xml was given.
4261 if test "${with_xml+set}" = set; then :
4262 withval=$with_xml;
4266 # Check whether --with-xrandr was given.
4267 if test "${with_xrandr+set}" = set; then :
4268 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4272 # Check whether --with-xrender was given.
4273 if test "${with_xrender+set}" = set; then :
4274 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4278 # Check whether --with-xshape was given.
4279 if test "${with_xshape+set}" = set; then :
4280 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4284 # Check whether --with-xshm was given.
4285 if test "${with_xshm+set}" = set; then :
4286 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4290 # Check whether --with-xslt was given.
4291 if test "${with_xslt+set}" = set; then :
4292 withval=$with_xslt;
4296 # Check whether --with-xxf86vm was given.
4297 if test "${with_xxf86vm+set}" = set; then :
4298 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
4303 # Check whether --with-wine-tools was given.
4304 if test "${with_wine_tools+set}" = set; then :
4305 withval=$with_wine_tools;
4309 # Check whether --with-wine64 was given.
4310 if test "${with_wine64+set}" = set; then :
4311 withval=$with_wine64;
4315 # Make sure we can run config.sub.
4316 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4317 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4320 $as_echo_n "checking build system type... " >&6; }
4321 if ${ac_cv_build+:} false; then :
4322 $as_echo_n "(cached) " >&6
4323 else
4324 ac_build_alias=$build_alias
4325 test "x$ac_build_alias" = x &&
4326 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4327 test "x$ac_build_alias" = x &&
4328 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4329 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4330 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4334 $as_echo "$ac_cv_build" >&6; }
4335 case $ac_cv_build in
4336 *-*-*) ;;
4337 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4338 esac
4339 build=$ac_cv_build
4340 ac_save_IFS=$IFS; IFS='-'
4341 set x $ac_cv_build
4342 shift
4343 build_cpu=$1
4344 build_vendor=$2
4345 shift; shift
4346 # Remember, the first character of IFS is used to create $*,
4347 # except with old shells:
4348 build_os=$*
4349 IFS=$ac_save_IFS
4350 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4354 $as_echo_n "checking host system type... " >&6; }
4355 if ${ac_cv_host+:} false; then :
4356 $as_echo_n "(cached) " >&6
4357 else
4358 if test "x$host_alias" = x; then
4359 ac_cv_host=$ac_cv_build
4360 else
4361 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4362 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4367 $as_echo "$ac_cv_host" >&6; }
4368 case $ac_cv_host in
4369 *-*-*) ;;
4370 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4371 esac
4372 host=$ac_cv_host
4373 ac_save_IFS=$IFS; IFS='-'
4374 set x $ac_cv_host
4375 shift
4376 host_cpu=$1
4377 host_vendor=$2
4378 shift; shift
4379 # Remember, the first character of IFS is used to create $*,
4380 # except with old shells:
4381 host_os=$*
4382 IFS=$ac_save_IFS
4383 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4389 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4390 set x ${MAKE-make}
4391 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4392 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4393 $as_echo_n "(cached) " >&6
4394 else
4395 cat >conftest.make <<\_ACEOF
4396 SHELL = /bin/sh
4397 all:
4398 @echo '@@@%%%=$(MAKE)=@@@%%%'
4399 _ACEOF
4400 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4401 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4402 *@@@%%%=?*=@@@%%%*)
4403 eval ac_cv_prog_make_${ac_make}_set=yes;;
4405 eval ac_cv_prog_make_${ac_make}_set=no;;
4406 esac
4407 rm -f conftest.make
4409 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4411 $as_echo "yes" >&6; }
4412 SET_MAKE=
4413 else
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4415 $as_echo "no" >&6; }
4416 SET_MAKE="MAKE=${MAKE-make}"
4419 ac_ext=c
4420 ac_cpp='$CPP $CPPFLAGS'
4421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4424 if test -n "$ac_tool_prefix"; then
4425 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4426 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if ${ac_cv_prog_CC+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 if test -n "$CC"; then
4433 ac_cv_prog_CC="$CC" # Let the user override the test.
4434 else
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH
4438 IFS=$as_save_IFS
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 break 2
4446 done
4447 done
4448 IFS=$as_save_IFS
4452 CC=$ac_cv_prog_CC
4453 if test -n "$CC"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4455 $as_echo "$CC" >&6; }
4456 else
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4463 if test -z "$ac_cv_prog_CC"; then
4464 ac_ct_CC=$CC
4465 # Extract the first word of "gcc", so it can be a program name with args.
4466 set dummy gcc; ac_word=$2
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4468 $as_echo_n "checking for $ac_word... " >&6; }
4469 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4470 $as_echo_n "(cached) " >&6
4471 else
4472 if test -n "$ac_ct_CC"; then
4473 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4474 else
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 for as_dir in $PATH
4478 IFS=$as_save_IFS
4479 test -z "$as_dir" && as_dir=.
4480 for ac_exec_ext in '' $ac_executable_extensions; do
4481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4482 ac_cv_prog_ac_ct_CC="gcc"
4483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4484 break 2
4486 done
4487 done
4488 IFS=$as_save_IFS
4492 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4493 if test -n "$ac_ct_CC"; then
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4495 $as_echo "$ac_ct_CC" >&6; }
4496 else
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4498 $as_echo "no" >&6; }
4501 if test "x$ac_ct_CC" = x; then
4502 CC=""
4503 else
4504 case $cross_compiling:$ac_tool_warned in
4505 yes:)
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4508 ac_tool_warned=yes ;;
4509 esac
4510 CC=$ac_ct_CC
4512 else
4513 CC="$ac_cv_prog_CC"
4516 if test -z "$CC"; then
4517 if test -n "$ac_tool_prefix"; then
4518 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4519 set dummy ${ac_tool_prefix}cc; ac_word=$2
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4521 $as_echo_n "checking for $ac_word... " >&6; }
4522 if ${ac_cv_prog_CC+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 if test -n "$CC"; then
4526 ac_cv_prog_CC="$CC" # Let the user override the test.
4527 else
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529 for as_dir in $PATH
4531 IFS=$as_save_IFS
4532 test -z "$as_dir" && as_dir=.
4533 for ac_exec_ext in '' $ac_executable_extensions; do
4534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4535 ac_cv_prog_CC="${ac_tool_prefix}cc"
4536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 break 2
4539 done
4540 done
4541 IFS=$as_save_IFS
4545 CC=$ac_cv_prog_CC
4546 if test -n "$CC"; then
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4548 $as_echo "$CC" >&6; }
4549 else
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4551 $as_echo "no" >&6; }
4557 if test -z "$CC"; then
4558 # Extract the first word of "cc", so it can be a program name with args.
4559 set dummy cc; ac_word=$2
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4561 $as_echo_n "checking for $ac_word... " >&6; }
4562 if ${ac_cv_prog_CC+:} false; then :
4563 $as_echo_n "(cached) " >&6
4564 else
4565 if test -n "$CC"; then
4566 ac_cv_prog_CC="$CC" # Let the user override the test.
4567 else
4568 ac_prog_rejected=no
4569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570 for as_dir in $PATH
4572 IFS=$as_save_IFS
4573 test -z "$as_dir" && as_dir=.
4574 for ac_exec_ext in '' $ac_executable_extensions; do
4575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4576 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4577 ac_prog_rejected=yes
4578 continue
4580 ac_cv_prog_CC="cc"
4581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4582 break 2
4584 done
4585 done
4586 IFS=$as_save_IFS
4588 if test $ac_prog_rejected = yes; then
4589 # We found a bogon in the path, so make sure we never use it.
4590 set dummy $ac_cv_prog_CC
4591 shift
4592 if test $# != 0; then
4593 # We chose a different compiler from the bogus one.
4594 # However, it has the same basename, so the bogon will be chosen
4595 # first if we set CC to just the basename; use the full file name.
4596 shift
4597 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4602 CC=$ac_cv_prog_CC
4603 if test -n "$CC"; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4605 $as_echo "$CC" >&6; }
4606 else
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4608 $as_echo "no" >&6; }
4613 if test -z "$CC"; then
4614 if test -n "$ac_tool_prefix"; then
4615 for ac_prog in cl.exe
4617 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4618 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620 $as_echo_n "checking for $ac_word... " >&6; }
4621 if ${ac_cv_prog_CC+:} false; then :
4622 $as_echo_n "(cached) " >&6
4623 else
4624 if test -n "$CC"; then
4625 ac_cv_prog_CC="$CC" # Let the user override the test.
4626 else
4627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628 for as_dir in $PATH
4630 IFS=$as_save_IFS
4631 test -z "$as_dir" && as_dir=.
4632 for ac_exec_ext in '' $ac_executable_extensions; do
4633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4634 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4636 break 2
4638 done
4639 done
4640 IFS=$as_save_IFS
4644 CC=$ac_cv_prog_CC
4645 if test -n "$CC"; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4647 $as_echo "$CC" >&6; }
4648 else
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4650 $as_echo "no" >&6; }
4654 test -n "$CC" && break
4655 done
4657 if test -z "$CC"; then
4658 ac_ct_CC=$CC
4659 for ac_prog in cl.exe
4661 # Extract the first word of "$ac_prog", so it can be a program name with args.
4662 set dummy $ac_prog; ac_word=$2
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4664 $as_echo_n "checking for $ac_word... " >&6; }
4665 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4666 $as_echo_n "(cached) " >&6
4667 else
4668 if test -n "$ac_ct_CC"; then
4669 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4670 else
4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4672 for as_dir in $PATH
4674 IFS=$as_save_IFS
4675 test -z "$as_dir" && as_dir=.
4676 for ac_exec_ext in '' $ac_executable_extensions; do
4677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4678 ac_cv_prog_ac_ct_CC="$ac_prog"
4679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 break 2
4682 done
4683 done
4684 IFS=$as_save_IFS
4688 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4689 if test -n "$ac_ct_CC"; then
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4691 $as_echo "$ac_ct_CC" >&6; }
4692 else
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4694 $as_echo "no" >&6; }
4698 test -n "$ac_ct_CC" && break
4699 done
4701 if test "x$ac_ct_CC" = x; then
4702 CC=""
4703 else
4704 case $cross_compiling:$ac_tool_warned in
4705 yes:)
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4708 ac_tool_warned=yes ;;
4709 esac
4710 CC=$ac_ct_CC
4717 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4718 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4719 as_fn_error $? "no acceptable C compiler found in \$PATH
4720 See \`config.log' for more details" "$LINENO" 5; }
4722 # Provide some information about the compiler.
4723 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4724 set X $ac_compile
4725 ac_compiler=$2
4726 for ac_option in --version -v -V -qversion; do
4727 { { ac_try="$ac_compiler $ac_option >&5"
4728 case "(($ac_try" in
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4731 esac
4732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4733 $as_echo "$ac_try_echo"; } >&5
4734 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4735 ac_status=$?
4736 if test -s conftest.err; then
4737 sed '10a\
4738 ... rest of stderr output deleted ...
4739 10q' conftest.err >conftest.er1
4740 cat conftest.er1 >&5
4742 rm -f conftest.er1 conftest.err
4743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4744 test $ac_status = 0; }
4745 done
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4751 main ()
4755 return 0;
4757 _ACEOF
4758 ac_clean_files_save=$ac_clean_files
4759 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4760 # Try to create an executable without -o first, disregard a.out.
4761 # It will help us diagnose broken compilers, and finding out an intuition
4762 # of exeext.
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4764 $as_echo_n "checking whether the C compiler works... " >&6; }
4765 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4767 # The possible output files:
4768 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4770 ac_rmfiles=
4771 for ac_file in $ac_files
4773 case $ac_file in
4774 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4775 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4776 esac
4777 done
4778 rm -f $ac_rmfiles
4780 if { { ac_try="$ac_link_default"
4781 case "(($ac_try" in
4782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4783 *) ac_try_echo=$ac_try;;
4784 esac
4785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4786 $as_echo "$ac_try_echo"; } >&5
4787 (eval "$ac_link_default") 2>&5
4788 ac_status=$?
4789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4790 test $ac_status = 0; }; then :
4791 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4792 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4793 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4794 # so that the user can short-circuit this test for compilers unknown to
4795 # Autoconf.
4796 for ac_file in $ac_files ''
4798 test -f "$ac_file" || continue
4799 case $ac_file in
4800 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4802 [ab].out )
4803 # We found the default executable, but exeext='' is most
4804 # certainly right.
4805 break;;
4806 *.* )
4807 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4808 then :; else
4809 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4811 # We set ac_cv_exeext here because the later test for it is not
4812 # safe: cross compilers may not add the suffix if given an `-o'
4813 # argument, so we may need to know it at that point already.
4814 # Even if this section looks crufty: it has the advantage of
4815 # actually working.
4816 break;;
4818 break;;
4819 esac
4820 done
4821 test "$ac_cv_exeext" = no && ac_cv_exeext=
4823 else
4824 ac_file=''
4826 if test -z "$ac_file"; then :
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4828 $as_echo "no" >&6; }
4829 $as_echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.$ac_ext >&5
4832 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4834 as_fn_error 77 "C compiler cannot create executables
4835 See \`config.log' for more details" "$LINENO" 5; }
4836 else
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4838 $as_echo "yes" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4841 $as_echo_n "checking for C compiler default output file name... " >&6; }
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4843 $as_echo "$ac_file" >&6; }
4844 ac_exeext=$ac_cv_exeext
4846 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4847 ac_clean_files=$ac_clean_files_save
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4849 $as_echo_n "checking for suffix of executables... " >&6; }
4850 if { { ac_try="$ac_link"
4851 case "(($ac_try" in
4852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4854 esac
4855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4856 $as_echo "$ac_try_echo"; } >&5
4857 (eval "$ac_link") 2>&5
4858 ac_status=$?
4859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4860 test $ac_status = 0; }; then :
4861 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4862 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4863 # work properly (i.e., refer to `conftest.exe'), while it won't with
4864 # `rm'.
4865 for ac_file in conftest.exe conftest conftest.*; do
4866 test -f "$ac_file" || continue
4867 case $ac_file in
4868 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4869 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4870 break;;
4871 * ) break;;
4872 esac
4873 done
4874 else
4875 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4877 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4878 See \`config.log' for more details" "$LINENO" 5; }
4880 rm -f conftest conftest$ac_cv_exeext
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4882 $as_echo "$ac_cv_exeext" >&6; }
4884 rm -f conftest.$ac_ext
4885 EXEEXT=$ac_cv_exeext
4886 ac_exeext=$EXEEXT
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4889 #include <stdio.h>
4891 main ()
4893 FILE *f = fopen ("conftest.out", "w");
4894 return ferror (f) || fclose (f) != 0;
4897 return 0;
4899 _ACEOF
4900 ac_clean_files="$ac_clean_files conftest.out"
4901 # Check that the compiler produces executables we can run. If not, either
4902 # the compiler is broken, or we cross compile.
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4904 $as_echo_n "checking whether we are cross compiling... " >&6; }
4905 if test "$cross_compiling" != yes; then
4906 { { ac_try="$ac_link"
4907 case "(($ac_try" in
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4910 esac
4911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4912 $as_echo "$ac_try_echo"; } >&5
4913 (eval "$ac_link") 2>&5
4914 ac_status=$?
4915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4916 test $ac_status = 0; }
4917 if { ac_try='./conftest$ac_cv_exeext'
4918 { { case "(($ac_try" in
4919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4920 *) ac_try_echo=$ac_try;;
4921 esac
4922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4923 $as_echo "$ac_try_echo"; } >&5
4924 (eval "$ac_try") 2>&5
4925 ac_status=$?
4926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4927 test $ac_status = 0; }; }; then
4928 cross_compiling=no
4929 else
4930 if test "$cross_compiling" = maybe; then
4931 cross_compiling=yes
4932 else
4933 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4934 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4935 as_fn_error $? "cannot run C compiled programs.
4936 If you meant to cross compile, use \`--host'.
4937 See \`config.log' for more details" "$LINENO" 5; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4942 $as_echo "$cross_compiling" >&6; }
4944 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4945 ac_clean_files=$ac_clean_files_save
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4947 $as_echo_n "checking for suffix of object files... " >&6; }
4948 if ${ac_cv_objext+:} false; then :
4949 $as_echo_n "(cached) " >&6
4950 else
4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952 /* end confdefs.h. */
4955 main ()
4959 return 0;
4961 _ACEOF
4962 rm -f conftest.o conftest.obj
4963 if { { ac_try="$ac_compile"
4964 case "(($ac_try" in
4965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4966 *) ac_try_echo=$ac_try;;
4967 esac
4968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4969 $as_echo "$ac_try_echo"; } >&5
4970 (eval "$ac_compile") 2>&5
4971 ac_status=$?
4972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4973 test $ac_status = 0; }; then :
4974 for ac_file in conftest.o conftest.obj conftest.*; do
4975 test -f "$ac_file" || continue;
4976 case $ac_file in
4977 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4978 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4979 break;;
4980 esac
4981 done
4982 else
4983 $as_echo "$as_me: failed program was:" >&5
4984 sed 's/^/| /' conftest.$ac_ext >&5
4986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4988 as_fn_error $? "cannot compute suffix of object files: cannot compile
4989 See \`config.log' for more details" "$LINENO" 5; }
4991 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4994 $as_echo "$ac_cv_objext" >&6; }
4995 OBJEXT=$ac_cv_objext
4996 ac_objext=$OBJEXT
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4998 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4999 if ${ac_cv_c_compiler_gnu+:} false; then :
5000 $as_echo_n "(cached) " >&6
5001 else
5002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h. */
5006 main ()
5008 #ifndef __GNUC__
5009 choke me
5010 #endif
5013 return 0;
5015 _ACEOF
5016 if ac_fn_c_try_compile "$LINENO"; then :
5017 ac_compiler_gnu=yes
5018 else
5019 ac_compiler_gnu=no
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5026 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5027 if test $ac_compiler_gnu = yes; then
5028 GCC=yes
5029 else
5030 GCC=
5032 ac_test_CFLAGS=${CFLAGS+set}
5033 ac_save_CFLAGS=$CFLAGS
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5035 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5036 if ${ac_cv_prog_cc_g+:} false; then :
5037 $as_echo_n "(cached) " >&6
5038 else
5039 ac_save_c_werror_flag=$ac_c_werror_flag
5040 ac_c_werror_flag=yes
5041 ac_cv_prog_cc_g=no
5042 CFLAGS="-g"
5043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5044 /* end confdefs.h. */
5047 main ()
5051 return 0;
5053 _ACEOF
5054 if ac_fn_c_try_compile "$LINENO"; then :
5055 ac_cv_prog_cc_g=yes
5056 else
5057 CFLAGS=""
5058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5059 /* end confdefs.h. */
5062 main ()
5066 return 0;
5068 _ACEOF
5069 if ac_fn_c_try_compile "$LINENO"; then :
5071 else
5072 ac_c_werror_flag=$ac_save_c_werror_flag
5073 CFLAGS="-g"
5074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5075 /* end confdefs.h. */
5078 main ()
5082 return 0;
5084 _ACEOF
5085 if ac_fn_c_try_compile "$LINENO"; then :
5086 ac_cv_prog_cc_g=yes
5088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5093 ac_c_werror_flag=$ac_save_c_werror_flag
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5096 $as_echo "$ac_cv_prog_cc_g" >&6; }
5097 if test "$ac_test_CFLAGS" = set; then
5098 CFLAGS=$ac_save_CFLAGS
5099 elif test $ac_cv_prog_cc_g = yes; then
5100 if test "$GCC" = yes; then
5101 CFLAGS="-g -O2"
5102 else
5103 CFLAGS="-g"
5105 else
5106 if test "$GCC" = yes; then
5107 CFLAGS="-O2"
5108 else
5109 CFLAGS=
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5113 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5114 if ${ac_cv_prog_cc_c89+:} false; then :
5115 $as_echo_n "(cached) " >&6
5116 else
5117 ac_cv_prog_cc_c89=no
5118 ac_save_CC=$CC
5119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5120 /* end confdefs.h. */
5121 #include <stdarg.h>
5122 #include <stdio.h>
5123 struct stat;
5124 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5125 struct buf { int x; };
5126 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5127 static char *e (p, i)
5128 char **p;
5129 int i;
5131 return p[i];
5133 static char *f (char * (*g) (char **, int), char **p, ...)
5135 char *s;
5136 va_list v;
5137 va_start (v,p);
5138 s = g (p, va_arg (v,int));
5139 va_end (v);
5140 return s;
5143 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5144 function prototypes and stuff, but not '\xHH' hex character constants.
5145 These don't provoke an error unfortunately, instead are silently treated
5146 as 'x'. The following induces an error, until -std is added to get
5147 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5148 array size at least. It's necessary to write '\x00'==0 to get something
5149 that's true only with -std. */
5150 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5152 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5153 inside strings and character constants. */
5154 #define FOO(x) 'x'
5155 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5157 int test (int i, double x);
5158 struct s1 {int (*f) (int a);};
5159 struct s2 {int (*f) (double a);};
5160 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5161 int argc;
5162 char **argv;
5164 main ()
5166 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5168 return 0;
5170 _ACEOF
5171 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5172 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5174 CC="$ac_save_CC $ac_arg"
5175 if ac_fn_c_try_compile "$LINENO"; then :
5176 ac_cv_prog_cc_c89=$ac_arg
5178 rm -f core conftest.err conftest.$ac_objext
5179 test "x$ac_cv_prog_cc_c89" != "xno" && break
5180 done
5181 rm -f conftest.$ac_ext
5182 CC=$ac_save_CC
5185 # AC_CACHE_VAL
5186 case "x$ac_cv_prog_cc_c89" in
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5189 $as_echo "none needed" >&6; } ;;
5190 xno)
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5192 $as_echo "unsupported" >&6; } ;;
5194 CC="$CC $ac_cv_prog_cc_c89"
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5196 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5197 esac
5198 if test "x$ac_cv_prog_cc_c89" != xno; then :
5202 ac_ext=c
5203 ac_cpp='$CPP $CPPFLAGS'
5204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5208 ac_ext=cpp
5209 ac_cpp='$CXXCPP $CPPFLAGS'
5210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5213 if test -z "$CXX"; then
5214 if test -n "$CCC"; then
5215 CXX=$CCC
5216 else
5217 if test -n "$ac_tool_prefix"; then
5218 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5223 $as_echo_n "checking for $ac_word... " >&6; }
5224 if ${ac_cv_prog_CXX+:} false; then :
5225 $as_echo_n "(cached) " >&6
5226 else
5227 if test -n "$CXX"; then
5228 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5229 else
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 for as_dir in $PATH
5233 IFS=$as_save_IFS
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 break 2
5241 done
5242 done
5243 IFS=$as_save_IFS
5247 CXX=$ac_cv_prog_CXX
5248 if test -n "$CXX"; then
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5250 $as_echo "$CXX" >&6; }
5251 else
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5253 $as_echo "no" >&6; }
5257 test -n "$CXX" && break
5258 done
5260 if test -z "$CXX"; then
5261 ac_ct_CXX=$CXX
5262 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5264 # Extract the first word of "$ac_prog", so it can be a program name with args.
5265 set dummy $ac_prog; ac_word=$2
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5267 $as_echo_n "checking for $ac_word... " >&6; }
5268 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5269 $as_echo_n "(cached) " >&6
5270 else
5271 if test -n "$ac_ct_CXX"; then
5272 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5273 else
5274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5275 for as_dir in $PATH
5277 IFS=$as_save_IFS
5278 test -z "$as_dir" && as_dir=.
5279 for ac_exec_ext in '' $ac_executable_extensions; do
5280 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5281 ac_cv_prog_ac_ct_CXX="$ac_prog"
5282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5283 break 2
5285 done
5286 done
5287 IFS=$as_save_IFS
5291 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5292 if test -n "$ac_ct_CXX"; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5294 $as_echo "$ac_ct_CXX" >&6; }
5295 else
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5297 $as_echo "no" >&6; }
5301 test -n "$ac_ct_CXX" && break
5302 done
5304 if test "x$ac_ct_CXX" = x; then
5305 CXX="g++"
5306 else
5307 case $cross_compiling:$ac_tool_warned in
5308 yes:)
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5311 ac_tool_warned=yes ;;
5312 esac
5313 CXX=$ac_ct_CXX
5319 # Provide some information about the compiler.
5320 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5321 set X $ac_compile
5322 ac_compiler=$2
5323 for ac_option in --version -v -V -qversion; do
5324 { { ac_try="$ac_compiler $ac_option >&5"
5325 case "(($ac_try" in
5326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5327 *) ac_try_echo=$ac_try;;
5328 esac
5329 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5330 $as_echo "$ac_try_echo"; } >&5
5331 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5332 ac_status=$?
5333 if test -s conftest.err; then
5334 sed '10a\
5335 ... rest of stderr output deleted ...
5336 10q' conftest.err >conftest.er1
5337 cat conftest.er1 >&5
5339 rm -f conftest.er1 conftest.err
5340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5341 test $ac_status = 0; }
5342 done
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5345 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5346 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5347 $as_echo_n "(cached) " >&6
5348 else
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5353 main ()
5355 #ifndef __GNUC__
5356 choke me
5357 #endif
5360 return 0;
5362 _ACEOF
5363 if ac_fn_cxx_try_compile "$LINENO"; then :
5364 ac_compiler_gnu=yes
5365 else
5366 ac_compiler_gnu=no
5368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5369 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5373 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5374 if test $ac_compiler_gnu = yes; then
5375 GXX=yes
5376 else
5377 GXX=
5379 ac_test_CXXFLAGS=${CXXFLAGS+set}
5380 ac_save_CXXFLAGS=$CXXFLAGS
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5382 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5383 if ${ac_cv_prog_cxx_g+:} false; then :
5384 $as_echo_n "(cached) " >&6
5385 else
5386 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5387 ac_cxx_werror_flag=yes
5388 ac_cv_prog_cxx_g=no
5389 CXXFLAGS="-g"
5390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5394 main ()
5398 return 0;
5400 _ACEOF
5401 if ac_fn_cxx_try_compile "$LINENO"; then :
5402 ac_cv_prog_cxx_g=yes
5403 else
5404 CXXFLAGS=""
5405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5406 /* end confdefs.h. */
5409 main ()
5413 return 0;
5415 _ACEOF
5416 if ac_fn_cxx_try_compile "$LINENO"; then :
5418 else
5419 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5420 CXXFLAGS="-g"
5421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5422 /* end confdefs.h. */
5425 main ()
5429 return 0;
5431 _ACEOF
5432 if ac_fn_cxx_try_compile "$LINENO"; then :
5433 ac_cv_prog_cxx_g=yes
5435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5440 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5443 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5444 if test "$ac_test_CXXFLAGS" = set; then
5445 CXXFLAGS=$ac_save_CXXFLAGS
5446 elif test $ac_cv_prog_cxx_g = yes; then
5447 if test "$GXX" = yes; then
5448 CXXFLAGS="-g -O2"
5449 else
5450 CXXFLAGS="-g"
5452 else
5453 if test "$GXX" = yes; then
5454 CXXFLAGS="-O2"
5455 else
5456 CXXFLAGS=
5459 ac_ext=c
5460 ac_cpp='$CPP $CPPFLAGS'
5461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5465 if test -n "$ac_tool_prefix"; then
5466 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5467 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469 $as_echo_n "checking for $ac_word... " >&6; }
5470 if ${ac_cv_prog_CPPBIN+:} false; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 if test -n "$CPPBIN"; then
5474 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_exec_ext in '' $ac_executable_extensions; do
5482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5483 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485 break 2
5487 done
5488 done
5489 IFS=$as_save_IFS
5493 CPPBIN=$ac_cv_prog_CPPBIN
5494 if test -n "$CPPBIN"; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5496 $as_echo "$CPPBIN" >&6; }
5497 else
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499 $as_echo "no" >&6; }
5504 if test -z "$ac_cv_prog_CPPBIN"; then
5505 ac_ct_CPPBIN=$CPPBIN
5506 # Extract the first word of "cpp", so it can be a program name with args.
5507 set dummy cpp; ac_word=$2
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509 $as_echo_n "checking for $ac_word... " >&6; }
5510 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5511 $as_echo_n "(cached) " >&6
5512 else
5513 if test -n "$ac_ct_CPPBIN"; then
5514 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5515 else
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 for as_dir in $PATH
5519 IFS=$as_save_IFS
5520 test -z "$as_dir" && as_dir=.
5521 for ac_exec_ext in '' $ac_executable_extensions; do
5522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5523 ac_cv_prog_ac_ct_CPPBIN="cpp"
5524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525 break 2
5527 done
5528 done
5529 IFS=$as_save_IFS
5533 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5534 if test -n "$ac_ct_CPPBIN"; then
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5536 $as_echo "$ac_ct_CPPBIN" >&6; }
5537 else
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539 $as_echo "no" >&6; }
5542 if test "x$ac_ct_CPPBIN" = x; then
5543 CPPBIN="cpp"
5544 else
5545 case $cross_compiling:$ac_tool_warned in
5546 yes:)
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5549 ac_tool_warned=yes ;;
5550 esac
5551 CPPBIN=$ac_ct_CPPBIN
5553 else
5554 CPPBIN="$ac_cv_prog_CPPBIN"
5558 cat >>confdefs.h <<_ACEOF
5559 #define EXEEXT "$ac_exeext"
5560 _ACEOF
5562 if test -n "$ac_tool_prefix"; then
5563 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5564 set dummy ${ac_tool_prefix}ld; ac_word=$2
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5566 $as_echo_n "checking for $ac_word... " >&6; }
5567 if ${ac_cv_prog_LD+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 if test -n "$LD"; then
5571 ac_cv_prog_LD="$LD" # Let the user override the test.
5572 else
5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5574 for as_dir in $PATH
5576 IFS=$as_save_IFS
5577 test -z "$as_dir" && as_dir=.
5578 for ac_exec_ext in '' $ac_executable_extensions; do
5579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5580 ac_cv_prog_LD="${ac_tool_prefix}ld"
5581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5582 break 2
5584 done
5585 done
5586 IFS=$as_save_IFS
5590 LD=$ac_cv_prog_LD
5591 if test -n "$LD"; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5593 $as_echo "$LD" >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5596 $as_echo "no" >&6; }
5601 if test -z "$ac_cv_prog_LD"; then
5602 ac_ct_LD=$LD
5603 # Extract the first word of "ld", so it can be a program name with args.
5604 set dummy ld; ac_word=$2
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5606 $as_echo_n "checking for $ac_word... " >&6; }
5607 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5608 $as_echo_n "(cached) " >&6
5609 else
5610 if test -n "$ac_ct_LD"; then
5611 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5612 else
5613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 for as_dir in $PATH
5616 IFS=$as_save_IFS
5617 test -z "$as_dir" && as_dir=.
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_ac_ct_LD="ld"
5621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5622 break 2
5624 done
5625 done
5626 IFS=$as_save_IFS
5630 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5631 if test -n "$ac_ct_LD"; then
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5633 $as_echo "$ac_ct_LD" >&6; }
5634 else
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 $as_echo "no" >&6; }
5639 if test "x$ac_ct_LD" = x; then
5640 LD=""
5641 else
5642 case $cross_compiling:$ac_tool_warned in
5643 yes:)
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5646 ac_tool_warned=yes ;;
5647 esac
5648 LD=$ac_ct_LD
5650 else
5651 LD="$ac_cv_prog_LD"
5655 case $host in
5656 *-darwin*)
5657 with_fontconfig=${with_fontconfig:-no}
5659 *-mingw32*|*-cygwin*)
5660 enable_win16=${enable_win16:-no}
5661 with_mingw=${with_mingw:-no}
5662 CFLAGS="$CFLAGS -D_WIN32"
5664 esac
5667 case $host in
5668 x86_64*|amd64*)
5669 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5670 then
5671 CC="$CC -m32"
5672 CXX="$CXX -m32"
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5675 $as_echo_n "checking whether $CC works... " >&6; }
5676 if ${wine_cv_cc_m32+:} false; then :
5677 $as_echo_n "(cached) " >&6
5678 else
5679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5683 main ()
5687 return 0;
5689 _ACEOF
5690 if ac_fn_c_try_link "$LINENO"; then :
5691 wine_cv_cc_m32=yes
5692 else
5693 wine_cv_cc_m32=no
5695 rm -f core conftest.err conftest.$ac_objext \
5696 conftest$ac_exeext conftest.$ac_ext
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5699 $as_echo "$wine_cv_cc_m32" >&6; }
5700 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
5701 host_cpu="i386"
5702 notice_platform="32-bit "
5703 TARGETFLAGS="$TARGETFLAGS -m32"
5704 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5705 export PKG_CONFIG_PATH
5706 enable_win16=${enable_win16:-yes}
5707 with_unwind=${with_unwind:-no}
5708 else
5709 if test "x${GCC}" = "xyes"
5710 then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5712 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5713 if ${wine_cv_builtin_ms_va_list+:} false; then :
5714 $as_echo_n "(cached) " >&6
5715 else
5716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5717 /* end confdefs.h. */
5718 #include <stdarg.h>
5720 main ()
5722 void func(__builtin_ms_va_list *args);
5724 return 0;
5726 _ACEOF
5727 if ac_fn_c_try_compile "$LINENO"; then :
5728 wine_cv_builtin_ms_va_list=yes
5729 else
5730 wine_cv_builtin_ms_va_list=no
5732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5735 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5736 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
5738 CC="$CC -m64"
5739 CXX="$CXX -m64"
5740 host_cpu="x86_64"
5741 notice_platform="64-bit "
5742 TARGETFLAGS="$TARGETFLAGS -m64"
5743 enable_wow64cpu=${enable_wow64cpu:-yes}
5746 arm*)
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
5748 $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
5749 if ${wine_cv_thumb2+:} false; then :
5750 $as_echo_n "(cached) " >&6
5751 else
5752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5753 /* end confdefs.h. */
5756 main ()
5758 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
5760 return 0;
5762 _ACEOF
5763 if ac_fn_c_try_link "$LINENO"; then :
5764 wine_cv_thumb2=yes
5765 else
5766 wine_cv_thumb2=no
5768 rm -f core conftest.err conftest.$ac_objext \
5769 conftest$ac_exeext conftest.$ac_ext
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
5772 $as_echo "$wine_cv_thumb2" >&6; }
5773 if test x"$wine_cv_thumb2" = xyes
5774 then
5775 CFLAGS="$CFLAGS -mthumb"
5776 TARGETFLAGS="$TARGETFLAGS -mthumb"
5777 else
5778 CFLAGS="$CFLAGS -marm"
5779 TARGETFLAGS="$TARGETFLAGS -marm"
5781 case $with_float_abi in
5782 soft|softfp|hard)
5783 float_abi=$with_float_abi ;;
5785 case $host_os in
5786 *eabihf)
5787 float_abi=hard ;;
5789 float_abi=softfp
5790 saved_CFLAGS=$CFLAGS
5791 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5793 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5794 if ${wine_cv_float_abi+:} false; then :
5795 $as_echo_n "(cached) " >&6
5796 else
5797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5798 /* end confdefs.h. */
5801 main ()
5803 asm("vmrs r2,fpscr");
5805 return 0;
5807 _ACEOF
5808 if ac_fn_c_try_link "$LINENO"; then :
5809 wine_cv_float_abi=yes
5810 else
5811 wine_cv_float_abi=no
5813 rm -f core conftest.err conftest.$ac_objext \
5814 conftest$ac_exeext conftest.$ac_ext
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5817 $as_echo "$wine_cv_float_abi" >&6; }
5818 if test $wine_cv_float_abi = no
5819 then
5820 float_abi=soft
5821 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5823 CFLAGS=$saved_CFLAGS
5824 esac
5826 esac
5827 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
5828 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
5830 aarch64*)
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5832 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5833 if ${wine_cv_builtin_ms_va_list+:} false; then :
5834 $as_echo_n "(cached) " >&6
5835 else
5836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5837 /* end confdefs.h. */
5838 #include <stdarg.h>
5840 main ()
5842 void func(__builtin_ms_va_list *args);
5844 return 0;
5846 _ACEOF
5847 if ac_fn_c_try_compile "$LINENO"; then :
5848 wine_cv_builtin_ms_va_list=yes
5849 else
5850 wine_cv_builtin_ms_va_list=no
5852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5855 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5856 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5858 i[3456789]86*)
5859 enable_win16=${enable_win16:-yes}
5860 with_unwind=${with_unwind:-no}
5862 esac
5864 enable_win16=${enable_win16:-no}
5865 enable_win64=${enable_win64:-no}
5866 enable_wow64cpu=${enable_wow64cpu:-no}
5868 enable_winetest=${enable_winetest:-$enable_tests}
5870 if test "x$enable_win64" = "xyes"
5871 then
5872 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5873 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5876 case $host_cpu in
5877 *i[3456789]86*) ARCH="i386"
5879 *x86_64*) ARCH="x86_64"
5881 *aarch64*) ARCH="aarch64"
5883 *arm*) ARCH="arm"
5885 *) ARCH=""
5887 esac
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5890 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5891 if ${wine_cv_toolsdir+:} false; then :
5892 $as_echo_n "(cached) " >&6
5893 else
5894 wine_cv_toolsdir="$with_wine_tools"
5895 if test -z "$with_wine_tools"; then
5896 if test "$cross_compiling" = "yes"; then
5897 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5898 elif test -n "$with_wine64"; then
5899 wine_cv_toolsdir="$with_wine64"
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5904 $as_echo "$wine_cv_toolsdir" >&6; }
5905 if test -z "$wine_cv_toolsdir"; then
5906 wine_makedep=tools/makedep
5907 TOOLSDIR="."
5909 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5910 wine_makedep=$wine_cv_toolsdir/tools/makedep
5911 TOOLSDIR=$wine_cv_toolsdir
5913 enable_tools=${enable_tools:-no}
5914 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5915 else
5916 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5918 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5919 then
5920 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5923 for ac_prog in flex
5925 # Extract the first word of "$ac_prog", so it can be a program name with args.
5926 set dummy $ac_prog; ac_word=$2
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5928 $as_echo_n "checking for $ac_word... " >&6; }
5929 if ${ac_cv_prog_FLEX+:} false; then :
5930 $as_echo_n "(cached) " >&6
5931 else
5932 if test -n "$FLEX"; then
5933 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5934 else
5935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5936 for as_dir in $PATH
5938 IFS=$as_save_IFS
5939 test -z "$as_dir" && as_dir=.
5940 for ac_exec_ext in '' $ac_executable_extensions; do
5941 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5942 ac_cv_prog_FLEX="$ac_prog"
5943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5944 break 2
5946 done
5947 done
5948 IFS=$as_save_IFS
5952 FLEX=$ac_cv_prog_FLEX
5953 if test -n "$FLEX"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5955 $as_echo "$FLEX" >&6; }
5956 else
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 $as_echo "no" >&6; }
5962 test -n "$FLEX" && break
5963 done
5964 test -n "$FLEX" || FLEX="none"
5966 if test "$FLEX" = "none"
5967 then
5968 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5971 $as_echo_n "checking whether flex is recent enough... " >&6; }
5972 if ${wine_cv_recent_flex+:} false; then :
5973 $as_echo_n "(cached) " >&6
5974 else
5975 cat >conftest.l <<EOF
5976 %top{
5977 #include "prediluvian.h"
5981 if $FLEX -t conftest.l >/dev/null 2>&5
5982 then
5983 wine_cv_recent_flex=yes
5984 else
5985 wine_cv_recent_flex=no
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5989 $as_echo "$wine_cv_recent_flex" >&6; }
5990 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
5992 for ac_prog in bison
5994 # Extract the first word of "$ac_prog", so it can be a program name with args.
5995 set dummy $ac_prog; ac_word=$2
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5997 $as_echo_n "checking for $ac_word... " >&6; }
5998 if ${ac_cv_prog_BISON+:} false; then :
5999 $as_echo_n "(cached) " >&6
6000 else
6001 if test -n "$BISON"; then
6002 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6003 else
6004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6005 for as_dir in $PATH
6007 IFS=$as_save_IFS
6008 test -z "$as_dir" && as_dir=.
6009 for ac_exec_ext in '' $ac_executable_extensions; do
6010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6011 ac_cv_prog_BISON="$ac_prog"
6012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6013 break 2
6015 done
6016 done
6017 IFS=$as_save_IFS
6021 BISON=$ac_cv_prog_BISON
6022 if test -n "$BISON"; then
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6024 $as_echo "$BISON" >&6; }
6025 else
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6027 $as_echo "no" >&6; }
6031 test -n "$BISON" && break
6032 done
6033 test -n "$BISON" || BISON="none"
6035 if test "$BISON" = "none"
6036 then
6037 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6040 $as_echo_n "checking whether bison is recent enough... " >&6; }
6041 if ${wine_cv_recent_bison+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 cat >conftest.y <<EOF
6045 %define parse.error verbose
6047 empty: ;
6049 if $BISON conftest.y >/dev/null 2>&5
6050 then
6051 wine_cv_recent_bison=yes
6052 else
6053 wine_cv_recent_bison=no
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6057 $as_echo "$wine_cv_recent_bison" >&6; }
6058 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
6060 if test -n "$ac_tool_prefix"; then
6061 for ac_prog in ar gar
6063 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6064 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6066 $as_echo_n "checking for $ac_word... " >&6; }
6067 if ${ac_cv_prog_AR+:} false; then :
6068 $as_echo_n "(cached) " >&6
6069 else
6070 if test -n "$AR"; then
6071 ac_cv_prog_AR="$AR" # Let the user override the test.
6072 else
6073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074 for as_dir in $PATH
6076 IFS=$as_save_IFS
6077 test -z "$as_dir" && as_dir=.
6078 for ac_exec_ext in '' $ac_executable_extensions; do
6079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6080 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082 break 2
6084 done
6085 done
6086 IFS=$as_save_IFS
6090 AR=$ac_cv_prog_AR
6091 if test -n "$AR"; then
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6093 $as_echo "$AR" >&6; }
6094 else
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6096 $as_echo "no" >&6; }
6100 test -n "$AR" && break
6101 done
6103 if test -z "$AR"; then
6104 ac_ct_AR=$AR
6105 for ac_prog in ar gar
6107 # Extract the first word of "$ac_prog", so it can be a program name with args.
6108 set dummy $ac_prog; ac_word=$2
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6110 $as_echo_n "checking for $ac_word... " >&6; }
6111 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6112 $as_echo_n "(cached) " >&6
6113 else
6114 if test -n "$ac_ct_AR"; then
6115 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6116 else
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 for as_dir in $PATH
6120 IFS=$as_save_IFS
6121 test -z "$as_dir" && as_dir=.
6122 for ac_exec_ext in '' $ac_executable_extensions; do
6123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6124 ac_cv_prog_ac_ct_AR="$ac_prog"
6125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 break 2
6128 done
6129 done
6130 IFS=$as_save_IFS
6134 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6135 if test -n "$ac_ct_AR"; then
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6137 $as_echo "$ac_ct_AR" >&6; }
6138 else
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6140 $as_echo "no" >&6; }
6144 test -n "$ac_ct_AR" && break
6145 done
6147 if test "x$ac_ct_AR" = x; then
6148 AR="ar"
6149 else
6150 case $cross_compiling:$ac_tool_warned in
6151 yes:)
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6154 ac_tool_warned=yes ;;
6155 esac
6156 AR=$ac_ct_AR
6160 if test -n "$ac_tool_prefix"; then
6161 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6162 set dummy ${ac_tool_prefix}strip; ac_word=$2
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6164 $as_echo_n "checking for $ac_word... " >&6; }
6165 if ${ac_cv_prog_STRIP+:} false; then :
6166 $as_echo_n "(cached) " >&6
6167 else
6168 if test -n "$STRIP"; then
6169 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6170 else
6171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6172 for as_dir in $PATH
6174 IFS=$as_save_IFS
6175 test -z "$as_dir" && as_dir=.
6176 for ac_exec_ext in '' $ac_executable_extensions; do
6177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6178 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6180 break 2
6182 done
6183 done
6184 IFS=$as_save_IFS
6188 STRIP=$ac_cv_prog_STRIP
6189 if test -n "$STRIP"; then
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6191 $as_echo "$STRIP" >&6; }
6192 else
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6194 $as_echo "no" >&6; }
6199 if test -z "$ac_cv_prog_STRIP"; then
6200 ac_ct_STRIP=$STRIP
6201 # Extract the first word of "strip", so it can be a program name with args.
6202 set dummy strip; ac_word=$2
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6204 $as_echo_n "checking for $ac_word... " >&6; }
6205 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6206 $as_echo_n "(cached) " >&6
6207 else
6208 if test -n "$ac_ct_STRIP"; then
6209 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6210 else
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 for as_dir in $PATH
6214 IFS=$as_save_IFS
6215 test -z "$as_dir" && as_dir=.
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6218 ac_cv_prog_ac_ct_STRIP="strip"
6219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6220 break 2
6222 done
6223 done
6224 IFS=$as_save_IFS
6228 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6229 if test -n "$ac_ct_STRIP"; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6231 $as_echo "$ac_ct_STRIP" >&6; }
6232 else
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6234 $as_echo "no" >&6; }
6237 if test "x$ac_ct_STRIP" = x; then
6238 STRIP="strip"
6239 else
6240 case $cross_compiling:$ac_tool_warned in
6241 yes:)
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6244 ac_tool_warned=yes ;;
6245 esac
6246 STRIP=$ac_ct_STRIP
6248 else
6249 STRIP="$ac_cv_prog_STRIP"
6252 if test -n "$ac_tool_prefix"; then
6253 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6254 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6256 $as_echo_n "checking for $ac_word... " >&6; }
6257 if ${ac_cv_prog_RANLIB+:} false; then :
6258 $as_echo_n "(cached) " >&6
6259 else
6260 if test -n "$RANLIB"; then
6261 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6262 else
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 for as_dir in $PATH
6266 IFS=$as_save_IFS
6267 test -z "$as_dir" && as_dir=.
6268 for ac_exec_ext in '' $ac_executable_extensions; do
6269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6270 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6272 break 2
6274 done
6275 done
6276 IFS=$as_save_IFS
6280 RANLIB=$ac_cv_prog_RANLIB
6281 if test -n "$RANLIB"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6283 $as_echo "$RANLIB" >&6; }
6284 else
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6286 $as_echo "no" >&6; }
6291 if test -z "$ac_cv_prog_RANLIB"; then
6292 ac_ct_RANLIB=$RANLIB
6293 # Extract the first word of "ranlib", so it can be a program name with args.
6294 set dummy ranlib; ac_word=$2
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6296 $as_echo_n "checking for $ac_word... " >&6; }
6297 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6298 $as_echo_n "(cached) " >&6
6299 else
6300 if test -n "$ac_ct_RANLIB"; then
6301 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6302 else
6303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6304 for as_dir in $PATH
6306 IFS=$as_save_IFS
6307 test -z "$as_dir" && as_dir=.
6308 for ac_exec_ext in '' $ac_executable_extensions; do
6309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6310 ac_cv_prog_ac_ct_RANLIB="ranlib"
6311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6312 break 2
6314 done
6315 done
6316 IFS=$as_save_IFS
6320 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6321 if test -n "$ac_ct_RANLIB"; then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6323 $as_echo "$ac_ct_RANLIB" >&6; }
6324 else
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6326 $as_echo "no" >&6; }
6329 if test "x$ac_ct_RANLIB" = x; then
6330 RANLIB=":"
6331 else
6332 case $cross_compiling:$ac_tool_warned in
6333 yes:)
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6336 ac_tool_warned=yes ;;
6337 esac
6338 RANLIB=$ac_ct_RANLIB
6340 else
6341 RANLIB="$ac_cv_prog_RANLIB"
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6345 $as_echo_n "checking whether ln -s works... " >&6; }
6346 LN_S=$as_ln_s
6347 if test "$LN_S" = "ln -s"; then
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6349 $as_echo "yes" >&6; }
6350 else
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6352 $as_echo "no, using $LN_S" >&6; }
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6356 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6357 if ${ac_cv_path_GREP+:} false; then :
6358 $as_echo_n "(cached) " >&6
6359 else
6360 if test -z "$GREP"; then
6361 ac_path_GREP_found=false
6362 # Loop through the user's path and test for each of PROGNAME-LIST
6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6366 IFS=$as_save_IFS
6367 test -z "$as_dir" && as_dir=.
6368 for ac_prog in grep ggrep; do
6369 for ac_exec_ext in '' $ac_executable_extensions; do
6370 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6371 as_fn_executable_p "$ac_path_GREP" || continue
6372 # Check for GNU ac_path_GREP and select it if it is found.
6373 # Check for GNU $ac_path_GREP
6374 case `"$ac_path_GREP" --version 2>&1` in
6375 *GNU*)
6376 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6378 ac_count=0
6379 $as_echo_n 0123456789 >"conftest.in"
6380 while :
6382 cat "conftest.in" "conftest.in" >"conftest.tmp"
6383 mv "conftest.tmp" "conftest.in"
6384 cp "conftest.in" "conftest.nl"
6385 $as_echo 'GREP' >> "conftest.nl"
6386 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6387 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6388 as_fn_arith $ac_count + 1 && ac_count=$as_val
6389 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6390 # Best one so far, save it but keep looking for a better one
6391 ac_cv_path_GREP="$ac_path_GREP"
6392 ac_path_GREP_max=$ac_count
6394 # 10*(2^10) chars as input seems more than enough
6395 test $ac_count -gt 10 && break
6396 done
6397 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6398 esac
6400 $ac_path_GREP_found && break 3
6401 done
6402 done
6403 done
6404 IFS=$as_save_IFS
6405 if test -z "$ac_cv_path_GREP"; then
6406 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6408 else
6409 ac_cv_path_GREP=$GREP
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6414 $as_echo "$ac_cv_path_GREP" >&6; }
6415 GREP="$ac_cv_path_GREP"
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6419 $as_echo_n "checking for egrep... " >&6; }
6420 if ${ac_cv_path_EGREP+:} false; then :
6421 $as_echo_n "(cached) " >&6
6422 else
6423 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6424 then ac_cv_path_EGREP="$GREP -E"
6425 else
6426 if test -z "$EGREP"; then
6427 ac_path_EGREP_found=false
6428 # Loop through the user's path and test for each of PROGNAME-LIST
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6432 IFS=$as_save_IFS
6433 test -z "$as_dir" && as_dir=.
6434 for ac_prog in egrep; do
6435 for ac_exec_ext in '' $ac_executable_extensions; do
6436 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6437 as_fn_executable_p "$ac_path_EGREP" || continue
6438 # Check for GNU ac_path_EGREP and select it if it is found.
6439 # Check for GNU $ac_path_EGREP
6440 case `"$ac_path_EGREP" --version 2>&1` in
6441 *GNU*)
6442 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6444 ac_count=0
6445 $as_echo_n 0123456789 >"conftest.in"
6446 while :
6448 cat "conftest.in" "conftest.in" >"conftest.tmp"
6449 mv "conftest.tmp" "conftest.in"
6450 cp "conftest.in" "conftest.nl"
6451 $as_echo 'EGREP' >> "conftest.nl"
6452 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6453 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6454 as_fn_arith $ac_count + 1 && ac_count=$as_val
6455 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6456 # Best one so far, save it but keep looking for a better one
6457 ac_cv_path_EGREP="$ac_path_EGREP"
6458 ac_path_EGREP_max=$ac_count
6460 # 10*(2^10) chars as input seems more than enough
6461 test $ac_count -gt 10 && break
6462 done
6463 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6464 esac
6466 $ac_path_EGREP_found && break 3
6467 done
6468 done
6469 done
6470 IFS=$as_save_IFS
6471 if test -z "$ac_cv_path_EGREP"; then
6472 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6474 else
6475 ac_cv_path_EGREP=$EGREP
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6481 $as_echo "$ac_cv_path_EGREP" >&6; }
6482 EGREP="$ac_cv_path_EGREP"
6485 # Extract the first word of "ldconfig", so it can be a program name with args.
6486 set dummy ldconfig; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if ${ac_cv_path_LDCONFIG+:} false; then :
6490 $as_echo_n "(cached) " >&6
6491 else
6492 case $LDCONFIG in
6493 [\\/]* | ?:[\\/]*)
6494 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498 for as_dir in /sbin /usr/sbin $PATH
6500 IFS=$as_save_IFS
6501 test -z "$as_dir" && as_dir=.
6502 for ac_exec_ext in '' $ac_executable_extensions; do
6503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6504 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6506 break 2
6508 done
6509 done
6510 IFS=$as_save_IFS
6512 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6514 esac
6516 LDCONFIG=$ac_cv_path_LDCONFIG
6517 if test -n "$LDCONFIG"; then
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6519 $as_echo "$LDCONFIG" >&6; }
6520 else
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6522 $as_echo "no" >&6; }
6526 for ac_prog in msgfmt
6528 # Extract the first word of "$ac_prog", so it can be a program name with args.
6529 set dummy $ac_prog; ac_word=$2
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6531 $as_echo_n "checking for $ac_word... " >&6; }
6532 if ${ac_cv_prog_MSGFMT+:} false; then :
6533 $as_echo_n "(cached) " >&6
6534 else
6535 if test -n "$MSGFMT"; then
6536 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6537 else
6538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6539 for as_dir in $PATH
6541 IFS=$as_save_IFS
6542 test -z "$as_dir" && as_dir=.
6543 for ac_exec_ext in '' $ac_executable_extensions; do
6544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6545 ac_cv_prog_MSGFMT="$ac_prog"
6546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6547 break 2
6549 done
6550 done
6551 IFS=$as_save_IFS
6555 MSGFMT=$ac_cv_prog_MSGFMT
6556 if test -n "$MSGFMT"; then
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6558 $as_echo "$MSGFMT" >&6; }
6559 else
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6561 $as_echo "no" >&6; }
6565 test -n "$MSGFMT" && break
6566 done
6567 test -n "$MSGFMT" || MSGFMT="false"
6569 if ${ac_tool_prefix+:} false; then :
6570 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6571 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$PKG_CONFIG"; then
6578 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6587 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6591 done
6592 done
6593 IFS=$as_save_IFS
6597 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6598 if test -n "$PKG_CONFIG"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6600 $as_echo "$PKG_CONFIG" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6608 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6609 if test "x$cross_compiling" = xyes; then :
6611 else
6612 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6613 # Extract the first word of "pkg-config", so it can be a program name with args.
6614 set dummy pkg-config; ac_word=$2
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6616 $as_echo_n "checking for $ac_word... " >&6; }
6617 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6618 $as_echo_n "(cached) " >&6
6619 else
6620 if test -n "$PKG_CONFIG"; then
6621 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6622 else
6623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6624 for as_dir in $PATH
6626 IFS=$as_save_IFS
6627 test -z "$as_dir" && as_dir=.
6628 for ac_exec_ext in '' $ac_executable_extensions; do
6629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6630 ac_cv_prog_PKG_CONFIG="pkg-config"
6631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6632 break 2
6634 done
6635 done
6636 IFS=$as_save_IFS
6640 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6641 if test -n "$PKG_CONFIG"; then
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6643 $as_echo "$PKG_CONFIG" >&6; }
6644 else
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6646 $as_echo "no" >&6; }
6651 else
6652 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6655 if test "x$enable_maintainer_mode" != "xyes"
6656 then
6657 FONTFORGE=""
6658 RSVG=""
6659 CONVERT=""
6660 ICOTOOL=""
6661 else
6662 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6663 for ac_prog in fontforge
6665 # Extract the first word of "$ac_prog", so it can be a program name with args.
6666 set dummy $ac_prog; ac_word=$2
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6668 $as_echo_n "checking for $ac_word... " >&6; }
6669 if ${ac_cv_prog_FONTFORGE+:} false; then :
6670 $as_echo_n "(cached) " >&6
6671 else
6672 if test -n "$FONTFORGE"; then
6673 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6674 else
6675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6676 for as_dir in $PATH
6678 IFS=$as_save_IFS
6679 test -z "$as_dir" && as_dir=.
6680 for ac_exec_ext in '' $ac_executable_extensions; do
6681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6682 ac_cv_prog_FONTFORGE="$ac_prog"
6683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6684 break 2
6686 done
6687 done
6688 IFS=$as_save_IFS
6692 FONTFORGE=$ac_cv_prog_FONTFORGE
6693 if test -n "$FONTFORGE"; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6695 $as_echo "$FONTFORGE" >&6; }
6696 else
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6698 $as_echo "no" >&6; }
6702 test -n "$FONTFORGE" && break
6703 done
6704 test -n "$FONTFORGE" || FONTFORGE="false"
6706 for ac_prog in rsvg-convert rsvg
6708 # Extract the first word of "$ac_prog", so it can be a program name with args.
6709 set dummy $ac_prog; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711 $as_echo_n "checking for $ac_word... " >&6; }
6712 if ${ac_cv_prog_RSVG+:} false; then :
6713 $as_echo_n "(cached) " >&6
6714 else
6715 if test -n "$RSVG"; then
6716 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6717 else
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6719 for as_dir in $PATH
6721 IFS=$as_save_IFS
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6725 ac_cv_prog_RSVG="$ac_prog"
6726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6727 break 2
6729 done
6730 done
6731 IFS=$as_save_IFS
6735 RSVG=$ac_cv_prog_RSVG
6736 if test -n "$RSVG"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6738 $as_echo "$RSVG" >&6; }
6739 else
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741 $as_echo "no" >&6; }
6745 test -n "$RSVG" && break
6746 done
6747 test -n "$RSVG" || RSVG="false"
6749 for ac_prog in convert
6751 # Extract the first word of "$ac_prog", so it can be a program name with args.
6752 set dummy $ac_prog; ac_word=$2
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754 $as_echo_n "checking for $ac_word... " >&6; }
6755 if ${ac_cv_prog_CONVERT+:} false; then :
6756 $as_echo_n "(cached) " >&6
6757 else
6758 if test -n "$CONVERT"; then
6759 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6760 else
6761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 for as_dir in $PATH
6764 IFS=$as_save_IFS
6765 test -z "$as_dir" && as_dir=.
6766 for ac_exec_ext in '' $ac_executable_extensions; do
6767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6768 ac_cv_prog_CONVERT="$ac_prog"
6769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6770 break 2
6772 done
6773 done
6774 IFS=$as_save_IFS
6778 CONVERT=$ac_cv_prog_CONVERT
6779 if test -n "$CONVERT"; then
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6781 $as_echo "$CONVERT" >&6; }
6782 else
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6784 $as_echo "no" >&6; }
6788 test -n "$CONVERT" && break
6789 done
6790 test -n "$CONVERT" || CONVERT="false"
6792 for ac_prog in icotool
6794 # Extract the first word of "$ac_prog", so it can be a program name with args.
6795 set dummy $ac_prog; ac_word=$2
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6797 $as_echo_n "checking for $ac_word... " >&6; }
6798 if ${ac_cv_prog_ICOTOOL+:} false; then :
6799 $as_echo_n "(cached) " >&6
6800 else
6801 if test -n "$ICOTOOL"; then
6802 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6803 else
6804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805 for as_dir in $PATH
6807 IFS=$as_save_IFS
6808 test -z "$as_dir" && as_dir=.
6809 for ac_exec_ext in '' $ac_executable_extensions; do
6810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6811 ac_cv_prog_ICOTOOL="$ac_prog"
6812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813 break 2
6815 done
6816 done
6817 IFS=$as_save_IFS
6821 ICOTOOL=$ac_cv_prog_ICOTOOL
6822 if test -n "$ICOTOOL"; then
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6824 $as_echo "$ICOTOOL" >&6; }
6825 else
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6827 $as_echo "no" >&6; }
6831 test -n "$ICOTOOL" && break
6832 done
6833 test -n "$ICOTOOL" || ICOTOOL="false"
6835 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6836 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6838 if test "$CONVERT" = false
6839 then
6840 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6841 else
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6843 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6844 convert_version=`convert --version | head -n1`
6845 if test "x$convert_version" != "x"
6846 then
6847 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6848 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6849 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6850 then
6851 CONVERT=false
6854 if test "$CONVERT" = false
6855 then
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6857 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6858 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6859 else
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6861 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6865 if test "$ICOTOOL" = false
6866 then
6867 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6868 else
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6870 $as_echo_n "checking for recent enough icotool... " >&6; }
6871 icotool_version=`icotool --version | head -n1`
6872 if test "x$icotool_version" != "x"
6873 then
6874 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6875 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6876 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6877 then
6878 ICOTOOL=false
6879 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6882 if test "$ICOTOOL" = false
6883 then
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6885 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6886 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6887 else
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6889 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6893 with_gettext=yes
6894 with_gettextpo=yes
6896 enable_werror=yes
6899 test "x$with_gettext" != xno || MSGFMT=false
6900 if test "$MSGFMT" != "false"
6901 then
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6903 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6904 if ${wine_cv_msgfmt_contexts+:} false; then :
6905 $as_echo_n "(cached) " >&6
6906 else
6907 cat >conftest.po <<EOF
6908 # comment
6909 msgctxt "ctxt"
6910 msgid "id"
6911 msgstr "str"
6913 if $MSGFMT -o /dev/null conftest.po 2>&5
6914 then
6915 wine_cv_msgfmt_contexts=yes
6916 else
6917 wine_cv_msgfmt_contexts=no
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6921 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6922 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6924 if test "$MSGFMT" = false; then :
6925 case "x$with_gettext" in
6926 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6927 xno) ;;
6928 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6929 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6930 esac
6931 enable_po=${enable_po:-no}
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6936 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6937 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6938 $as_echo_n "(cached) " >&6
6939 else
6940 ac_check_lib_save_LIBS=$LIBS
6941 LIBS="-li386 $LIBS"
6942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6943 /* end confdefs.h. */
6945 /* Override any GCC internal prototype to avoid an error.
6946 Use char because int might match the return type of a GCC
6947 builtin and then its argument prototype would still apply. */
6948 #ifdef __cplusplus
6949 extern "C"
6950 #endif
6951 char i386_set_ldt ();
6953 main ()
6955 return i386_set_ldt ();
6957 return 0;
6959 _ACEOF
6960 if ac_fn_c_try_link "$LINENO"; then :
6961 ac_cv_lib_i386_i386_set_ldt=yes
6962 else
6963 ac_cv_lib_i386_i386_set_ldt=no
6965 rm -f core conftest.err conftest.$ac_objext \
6966 conftest$ac_exeext conftest.$ac_ext
6967 LIBS=$ac_check_lib_save_LIBS
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6970 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6971 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6972 I386_LIBS="-li386"
6977 OPENGL_LIBS=""
6981 # Check whether --enable-largefile was given.
6982 if test "${enable_largefile+set}" = set; then :
6983 enableval=$enable_largefile;
6986 if test "$enable_largefile" != no; then
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6989 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6990 if ${ac_cv_sys_largefile_CC+:} false; then :
6991 $as_echo_n "(cached) " >&6
6992 else
6993 ac_cv_sys_largefile_CC=no
6994 if test "$GCC" != yes; then
6995 ac_save_CC=$CC
6996 while :; do
6997 # IRIX 6.2 and later do not support large files by default,
6998 # so use the C compiler's -n32 option if that helps.
6999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7000 /* end confdefs.h. */
7001 #include <sys/types.h>
7002 /* Check that off_t can represent 2**63 - 1 correctly.
7003 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7004 since some C++ compilers masquerading as C compilers
7005 incorrectly reject 9223372036854775807. */
7006 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7007 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7008 && LARGE_OFF_T % 2147483647 == 1)
7009 ? 1 : -1];
7011 main ()
7015 return 0;
7017 _ACEOF
7018 if ac_fn_c_try_compile "$LINENO"; then :
7019 break
7021 rm -f core conftest.err conftest.$ac_objext
7022 CC="$CC -n32"
7023 if ac_fn_c_try_compile "$LINENO"; then :
7024 ac_cv_sys_largefile_CC=' -n32'; break
7026 rm -f core conftest.err conftest.$ac_objext
7027 break
7028 done
7029 CC=$ac_save_CC
7030 rm -f conftest.$ac_ext
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7034 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7035 if test "$ac_cv_sys_largefile_CC" != no; then
7036 CC=$CC$ac_cv_sys_largefile_CC
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7040 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7041 if ${ac_cv_sys_file_offset_bits+:} false; then :
7042 $as_echo_n "(cached) " >&6
7043 else
7044 while :; do
7045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7046 /* end confdefs.h. */
7047 #include <sys/types.h>
7048 /* Check that off_t can represent 2**63 - 1 correctly.
7049 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7050 since some C++ compilers masquerading as C compilers
7051 incorrectly reject 9223372036854775807. */
7052 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7053 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7054 && LARGE_OFF_T % 2147483647 == 1)
7055 ? 1 : -1];
7057 main ()
7061 return 0;
7063 _ACEOF
7064 if ac_fn_c_try_compile "$LINENO"; then :
7065 ac_cv_sys_file_offset_bits=no; break
7067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7069 /* end confdefs.h. */
7070 #define _FILE_OFFSET_BITS 64
7071 #include <sys/types.h>
7072 /* Check that off_t can represent 2**63 - 1 correctly.
7073 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7074 since some C++ compilers masquerading as C compilers
7075 incorrectly reject 9223372036854775807. */
7076 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7077 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7078 && LARGE_OFF_T % 2147483647 == 1)
7079 ? 1 : -1];
7081 main ()
7085 return 0;
7087 _ACEOF
7088 if ac_fn_c_try_compile "$LINENO"; then :
7089 ac_cv_sys_file_offset_bits=64; break
7091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7092 ac_cv_sys_file_offset_bits=unknown
7093 break
7094 done
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7097 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7098 case $ac_cv_sys_file_offset_bits in #(
7099 no | unknown) ;;
7101 cat >>confdefs.h <<_ACEOF
7102 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7103 _ACEOF
7105 esac
7106 rm -rf conftest*
7107 if test $ac_cv_sys_file_offset_bits = unknown; then
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7109 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7110 if ${ac_cv_sys_large_files+:} false; then :
7111 $as_echo_n "(cached) " >&6
7112 else
7113 while :; do
7114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7115 /* end confdefs.h. */
7116 #include <sys/types.h>
7117 /* Check that off_t can represent 2**63 - 1 correctly.
7118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7119 since some C++ compilers masquerading as C compilers
7120 incorrectly reject 9223372036854775807. */
7121 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7123 && LARGE_OFF_T % 2147483647 == 1)
7124 ? 1 : -1];
7126 main ()
7130 return 0;
7132 _ACEOF
7133 if ac_fn_c_try_compile "$LINENO"; then :
7134 ac_cv_sys_large_files=no; break
7136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7138 /* end confdefs.h. */
7139 #define _LARGE_FILES 1
7140 #include <sys/types.h>
7141 /* Check that off_t can represent 2**63 - 1 correctly.
7142 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7143 since some C++ compilers masquerading as C compilers
7144 incorrectly reject 9223372036854775807. */
7145 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7146 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7147 && LARGE_OFF_T % 2147483647 == 1)
7148 ? 1 : -1];
7150 main ()
7154 return 0;
7156 _ACEOF
7157 if ac_fn_c_try_compile "$LINENO"; then :
7158 ac_cv_sys_large_files=1; break
7160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7161 ac_cv_sys_large_files=unknown
7162 break
7163 done
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7166 $as_echo "$ac_cv_sys_large_files" >&6; }
7167 case $ac_cv_sys_large_files in #(
7168 no | unknown) ;;
7170 cat >>confdefs.h <<_ACEOF
7171 #define _LARGE_FILES $ac_cv_sys_large_files
7172 _ACEOF
7174 esac
7175 rm -rf conftest*
7182 ac_ext=c
7183 ac_cpp='$CPP $CPPFLAGS'
7184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7188 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7189 # On Suns, sometimes $CPP names a directory.
7190 if test -n "$CPP" && test -d "$CPP"; then
7191 CPP=
7193 if test -z "$CPP"; then
7194 if ${ac_cv_prog_CPP+:} false; then :
7195 $as_echo_n "(cached) " >&6
7196 else
7197 # Double quotes because CPP needs to be expanded
7198 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7200 ac_preproc_ok=false
7201 for ac_c_preproc_warn_flag in '' yes
7203 # Use a header file that comes with gcc, so configuring glibc
7204 # with a fresh cross-compiler works.
7205 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7206 # <limits.h> exists even on freestanding compilers.
7207 # On the NeXT, cc -E runs the code through the compiler's parser,
7208 # not just through cpp. "Syntax error" is here to catch this case.
7209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7210 /* end confdefs.h. */
7211 #ifdef __STDC__
7212 # include <limits.h>
7213 #else
7214 # include <assert.h>
7215 #endif
7216 Syntax error
7217 _ACEOF
7218 if ac_fn_c_try_cpp "$LINENO"; then :
7220 else
7221 # Broken: fails on valid input.
7222 continue
7224 rm -f conftest.err conftest.i conftest.$ac_ext
7226 # OK, works on sane cases. Now check whether nonexistent headers
7227 # can be detected and how.
7228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7229 /* end confdefs.h. */
7230 #include <ac_nonexistent.h>
7231 _ACEOF
7232 if ac_fn_c_try_cpp "$LINENO"; then :
7233 # Broken: success on invalid input.
7234 continue
7235 else
7236 # Passes both tests.
7237 ac_preproc_ok=:
7238 break
7240 rm -f conftest.err conftest.i conftest.$ac_ext
7242 done
7243 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7244 rm -f conftest.i conftest.err conftest.$ac_ext
7245 if $ac_preproc_ok; then :
7246 break
7249 done
7250 ac_cv_prog_CPP=$CPP
7253 CPP=$ac_cv_prog_CPP
7254 else
7255 ac_cv_prog_CPP=$CPP
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7258 $as_echo "$CPP" >&6; }
7259 ac_preproc_ok=false
7260 for ac_c_preproc_warn_flag in '' yes
7262 # Use a header file that comes with gcc, so configuring glibc
7263 # with a fresh cross-compiler works.
7264 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7265 # <limits.h> exists even on freestanding compilers.
7266 # On the NeXT, cc -E runs the code through the compiler's parser,
7267 # not just through cpp. "Syntax error" is here to catch this case.
7268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7269 /* end confdefs.h. */
7270 #ifdef __STDC__
7271 # include <limits.h>
7272 #else
7273 # include <assert.h>
7274 #endif
7275 Syntax error
7276 _ACEOF
7277 if ac_fn_c_try_cpp "$LINENO"; then :
7279 else
7280 # Broken: fails on valid input.
7281 continue
7283 rm -f conftest.err conftest.i conftest.$ac_ext
7285 # OK, works on sane cases. Now check whether nonexistent headers
7286 # can be detected and how.
7287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7288 /* end confdefs.h. */
7289 #include <ac_nonexistent.h>
7290 _ACEOF
7291 if ac_fn_c_try_cpp "$LINENO"; then :
7292 # Broken: success on invalid input.
7293 continue
7294 else
7295 # Passes both tests.
7296 ac_preproc_ok=:
7297 break
7299 rm -f conftest.err conftest.i conftest.$ac_ext
7301 done
7302 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7303 rm -f conftest.i conftest.err conftest.$ac_ext
7304 if $ac_preproc_ok; then :
7306 else
7307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7309 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7310 See \`config.log' for more details" "$LINENO" 5; }
7313 ac_ext=c
7314 ac_cpp='$CPP $CPPFLAGS'
7315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7321 $as_echo_n "checking for ANSI C header files... " >&6; }
7322 if ${ac_cv_header_stdc+:} false; then :
7323 $as_echo_n "(cached) " >&6
7324 else
7325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7326 /* end confdefs.h. */
7327 #include <stdlib.h>
7328 #include <stdarg.h>
7329 #include <string.h>
7330 #include <float.h>
7333 main ()
7337 return 0;
7339 _ACEOF
7340 if ac_fn_c_try_compile "$LINENO"; then :
7341 ac_cv_header_stdc=yes
7342 else
7343 ac_cv_header_stdc=no
7345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7347 if test $ac_cv_header_stdc = yes; then
7348 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7350 /* end confdefs.h. */
7351 #include <string.h>
7353 _ACEOF
7354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7355 $EGREP "memchr" >/dev/null 2>&1; then :
7357 else
7358 ac_cv_header_stdc=no
7360 rm -f conftest*
7364 if test $ac_cv_header_stdc = yes; then
7365 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7367 /* end confdefs.h. */
7368 #include <stdlib.h>
7370 _ACEOF
7371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7372 $EGREP "free" >/dev/null 2>&1; then :
7374 else
7375 ac_cv_header_stdc=no
7377 rm -f conftest*
7381 if test $ac_cv_header_stdc = yes; then
7382 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7383 if test "$cross_compiling" = yes; then :
7385 else
7386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7387 /* end confdefs.h. */
7388 #include <ctype.h>
7389 #include <stdlib.h>
7390 #if ((' ' & 0x0FF) == 0x020)
7391 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7392 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7393 #else
7394 # define ISLOWER(c) \
7395 (('a' <= (c) && (c) <= 'i') \
7396 || ('j' <= (c) && (c) <= 'r') \
7397 || ('s' <= (c) && (c) <= 'z'))
7398 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7399 #endif
7401 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7403 main ()
7405 int i;
7406 for (i = 0; i < 256; i++)
7407 if (XOR (islower (i), ISLOWER (i))
7408 || toupper (i) != TOUPPER (i))
7409 return 2;
7410 return 0;
7412 _ACEOF
7413 if ac_fn_c_try_run "$LINENO"; then :
7415 else
7416 ac_cv_header_stdc=no
7418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7419 conftest.$ac_objext conftest.beam conftest.$ac_ext
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7425 $as_echo "$ac_cv_header_stdc" >&6; }
7426 if test $ac_cv_header_stdc = yes; then
7428 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7432 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7433 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7434 inttypes.h stdint.h unistd.h
7435 do :
7436 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7437 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7439 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7440 cat >>confdefs.h <<_ACEOF
7441 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7442 _ACEOF
7446 done
7449 for ac_header in \
7450 AL/al.h \
7451 ApplicationServices/ApplicationServices.h \
7452 AudioToolbox/AudioConverter.h \
7453 AudioUnit/AudioUnit.h \
7454 AudioUnit/AudioComponent.h \
7455 CL/cl.h \
7456 Carbon/Carbon.h \
7457 CommonCrypto/CommonCryptor.h \
7458 CoreAudio/CoreAudio.h \
7459 DiskArbitration/DiskArbitration.h \
7460 EGL/egl.h \
7461 IOKit/IOKitLib.h \
7462 IOKit/hid/IOHIDLib.h \
7463 OpenAL/al.h \
7464 OpenCL/opencl.h \
7465 QuickTime/ImageCompression.h \
7466 Security/Security.h \
7467 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7468 SystemConfiguration/SCNetworkConfiguration.h \
7469 alias.h \
7470 arpa/inet.h \
7471 arpa/nameser.h \
7472 asm/types.h \
7473 asm/user.h \
7474 dirent.h \
7475 dlfcn.h \
7476 elf.h \
7477 float.h \
7478 fnmatch.h \
7479 getopt.h \
7480 gettext-po.h \
7481 grp.h \
7482 gsm.h \
7483 gsm/gsm.h \
7484 ieeefp.h \
7485 inet/mib2.h \
7486 kstat.h \
7487 libproc.h \
7488 link.h \
7489 linux/cdrom.h \
7490 linux/filter.h \
7491 linux/hdreg.h \
7492 linux/hidraw.h \
7493 linux/input.h \
7494 linux/ioctl.h \
7495 linux/joystick.h \
7496 linux/major.h \
7497 linux/param.h \
7498 linux/serial.h \
7499 linux/types.h \
7500 linux/ucdrom.h \
7501 lwp.h \
7502 mach-o/loader.h \
7503 mach/mach.h \
7504 machine/cpu.h \
7505 machine/sysarch.h \
7506 mntent.h \
7507 netdb.h \
7508 netinet/in.h \
7509 netinet/in_systm.h \
7510 netinet/tcp.h \
7511 netinet/tcp_fsm.h \
7512 pcap/pcap.h \
7513 poll.h \
7514 port.h \
7515 pthread.h \
7516 pwd.h \
7517 sasl/sasl.h \
7518 sched.h \
7519 scsi/scsi.h \
7520 scsi/scsi_ioctl.h \
7521 scsi/sg.h \
7522 stdint.h \
7523 stropts.h \
7524 sys/attr.h \
7525 sys/auxv.h \
7526 sys/cdio.h \
7527 sys/epoll.h \
7528 sys/event.h \
7529 sys/filio.h \
7530 sys/ioctl.h \
7531 sys/ipc.h \
7532 sys/link.h \
7533 sys/mman.h \
7534 sys/modem.h \
7535 sys/msg.h \
7536 sys/mtio.h \
7537 sys/param.h \
7538 sys/poll.h \
7539 sys/prctl.h \
7540 sys/protosw.h \
7541 sys/ptrace.h \
7542 sys/queue.h \
7543 sys/random.h \
7544 sys/resource.h \
7545 sys/scsiio.h \
7546 sys/shm.h \
7547 sys/signal.h \
7548 sys/socket.h \
7549 sys/socketvar.h \
7550 sys/sockio.h \
7551 sys/statvfs.h \
7552 sys/strtio.h \
7553 sys/syscall.h \
7554 sys/sysinfo.h \
7555 sys/tihdr.h \
7556 sys/time.h \
7557 sys/timeout.h \
7558 sys/times.h \
7559 sys/uio.h \
7560 sys/user.h \
7561 sys/utsname.h \
7562 sys/vnode.h \
7563 sys/wait.h \
7564 syscall.h \
7565 termios.h \
7566 unistd.h \
7567 utime.h \
7568 valgrind/memcheck.h \
7569 valgrind/valgrind.h
7571 do :
7572 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7573 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7574 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7575 cat >>confdefs.h <<_ACEOF
7576 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7577 _ACEOF
7581 done
7583 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7584 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7586 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7591 if test $ac_cv_header_sys_mkdev_h = no; then
7592 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7593 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7595 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7602 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7603 if ${ac_cv_header_stat_broken+:} false; then :
7604 $as_echo_n "(cached) " >&6
7605 else
7606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7607 /* end confdefs.h. */
7608 #include <sys/types.h>
7609 #include <sys/stat.h>
7611 #if defined S_ISBLK && defined S_IFDIR
7612 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7613 #endif
7615 #if defined S_ISBLK && defined S_IFCHR
7616 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7617 #endif
7619 #if defined S_ISLNK && defined S_IFREG
7620 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7621 #endif
7623 #if defined S_ISSOCK && defined S_IFREG
7624 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7625 #endif
7627 _ACEOF
7628 if ac_fn_c_try_compile "$LINENO"; then :
7629 ac_cv_header_stat_broken=no
7630 else
7631 ac_cv_header_stat_broken=yes
7633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7636 $as_echo "$ac_cv_header_stat_broken" >&6; }
7637 if test $ac_cv_header_stat_broken = yes; then
7639 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7645 for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7646 do :
7647 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7648 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7649 #ifdef HAVE_SYS_PARAM_H
7650 # include <sys/param.h>
7651 #endif
7653 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7654 cat >>confdefs.h <<_ACEOF
7655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7656 _ACEOF
7660 done
7663 saved_sysctl_h_CFLAGS=$CFLAGS
7664 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
7665 for ac_header in sys/sysctl.h
7666 do :
7667 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
7668 #ifdef HAVE_SYS_PARAM_H
7669 # include <sys/param.h>
7670 #endif
7672 if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
7673 cat >>confdefs.h <<_ACEOF
7674 #define HAVE_SYS_SYSCTL_H 1
7675 _ACEOF
7679 done
7681 CFLAGS=$saved_sysctl_h_CFLAGS
7683 for ac_header in \
7684 netinet/ip.h \
7685 net/if.h \
7686 net/if_arp.h \
7687 net/if_dl.h \
7688 net/if_types.h \
7689 net/route.h \
7690 netinet/if_ether.h \
7691 netinet/if_inarp.h \
7692 netinet/in_pcb.h \
7693 netinet/ip_icmp.h \
7694 netinet/ip_var.h \
7695 netinet/udp.h \
7696 netipx/ipx.h \
7697 sys/un.h \
7699 do :
7700 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7701 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7702 #ifdef HAVE_SYS_SOCKET_H
7703 # include <sys/socket.h>
7704 #endif
7705 #ifdef HAVE_SYS_SOCKETVAR_H
7706 # include <sys/socketvar.h>
7707 #endif
7708 #ifdef HAVE_NET_ROUTE_H
7709 # include <net/route.h>
7710 #endif
7711 #ifdef HAVE_NETINET_IN_H
7712 # include <netinet/in.h>
7713 #endif
7714 #ifdef HAVE_NETINET_IN_SYSTM_H
7715 # include <netinet/in_systm.h>
7716 #endif
7717 #ifdef HAVE_NET_IF_H
7718 # include <net/if.h>
7719 #endif
7720 #ifdef HAVE_NETINET_IP_H
7721 # include <netinet/ip.h>
7722 #endif
7724 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7725 cat >>confdefs.h <<_ACEOF
7726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7727 _ACEOF
7731 done
7734 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7735 do :
7736 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7737 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7738 #ifdef HAVE_ALIAS_H
7739 # include <alias.h>
7740 #endif
7741 #ifdef HAVE_SYS_SOCKET_H
7742 # include <sys/socket.h>
7743 #endif
7744 #ifdef HAVE_SYS_SOCKETVAR_H
7745 # include <sys/socketvar.h>
7746 #endif
7747 #ifdef HAVE_SYS_TIMEOUT_H
7748 # include <sys/timeout.h>
7749 #endif
7750 #ifdef HAVE_NETINET_IN_H
7751 # include <netinet/in.h>
7752 #endif
7753 #ifdef HAVE_NETINET_IN_SYSTM_H
7754 # include <netinet/in_systm.h>
7755 #endif
7756 #ifdef HAVE_NETINET_IP_H
7757 # include <netinet/ip.h>
7758 #endif
7759 #ifdef HAVE_NETINET_IP_VAR_H
7760 # include <netinet/ip_var.h>
7761 #endif
7762 #ifdef HAVE_NETINET_IP_ICMP_H
7763 # include <netinet/ip_icmp.h>
7764 #endif
7765 #ifdef HAVE_NETINET_UDP_H
7766 # include <netinet/udp.h>
7767 #endif
7768 #ifdef HAVE_NETINET_TCP_H
7769 # include <netinet/tcp.h>
7770 #endif
7771 #ifdef HAVE_NETINET_TCP_TIMER_H
7772 #include <netinet/tcp_timer.h>
7773 #endif
7775 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7776 cat >>confdefs.h <<_ACEOF
7777 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7778 _ACEOF
7782 done
7785 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7786 do :
7787 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7788 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7789 #ifdef HAVE_ASM_TYPES_H
7790 # include <asm/types.h>
7791 #endif
7792 #ifdef HAVE_SYS_SOCKET_H
7793 # include <sys/socket.h>
7794 #endif
7795 #ifdef HAVE_LINUX_TYPES_H
7796 # include <linux/types.h>
7797 #endif
7799 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7800 cat >>confdefs.h <<_ACEOF
7801 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7802 _ACEOF
7806 done
7809 for ac_header in resolv.h
7810 do :
7811 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7812 #ifdef HAVE_SYS_SOCKET_H
7813 # include <sys/socket.h>
7814 #endif
7815 #ifdef HAVE_NETINET_IN_H
7816 # include <netinet/in.h>
7817 #endif
7818 #ifdef HAVE_ARPA_NAMESER_H
7819 # include <arpa/nameser.h>
7820 #endif
7822 if test "x$ac_cv_header_resolv_h" = xyes; then :
7823 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_RESOLV_H 1
7825 _ACEOF
7829 done
7832 for ac_header in ifaddrs.h
7833 do :
7834 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7836 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7837 cat >>confdefs.h <<_ACEOF
7838 #define HAVE_IFADDRS_H 1
7839 _ACEOF
7843 done
7846 for ac_header in sys/ucontext.h
7847 do :
7848 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7850 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7851 cat >>confdefs.h <<_ACEOF
7852 #define HAVE_SYS_UCONTEXT_H 1
7853 _ACEOF
7857 done
7860 for ac_header in sys/thr.h
7861 do :
7862 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7863 #ifdef HAVE_SYS_UCONTEXT_H
7864 #include <sys/ucontext.h>
7865 #endif
7867 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7868 cat >>confdefs.h <<_ACEOF
7869 #define HAVE_SYS_THR_H 1
7870 _ACEOF
7874 done
7877 for ac_header in pthread_np.h
7878 do :
7879 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7880 #include <pthread.h>
7881 #endif
7883 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7884 cat >>confdefs.h <<_ACEOF
7885 #define HAVE_PTHREAD_NP_H 1
7886 _ACEOF
7890 done
7893 for ac_header in linux/videodev2.h
7894 do :
7895 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7896 #include <sys/time.h>
7897 #endif
7898 #include <sys/types.h>
7899 #ifdef HAVE_ASM_TYPES_H
7900 #include <asm/types.h>
7901 #endif
7903 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7904 cat >>confdefs.h <<_ACEOF
7905 #define HAVE_LINUX_VIDEODEV2_H 1
7906 _ACEOF
7910 done
7913 for ac_header in libprocstat.h
7914 do :
7915 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7916 #include <sys/param.h>
7917 #endif
7918 #ifdef HAVE_SYS_QUEUE_H
7919 #include <sys/queue.h>
7920 #endif
7921 #ifdef HAVE_SYS_SOCKET_H
7922 #include <sys/socket.h>
7923 #endif
7925 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7926 cat >>confdefs.h <<_ACEOF
7927 #define HAVE_LIBPROCSTAT_H 1
7928 _ACEOF
7932 done
7936 DLLFLAGS="-D_REENTRANT"
7938 LDDLLFLAGS=""
7940 LDEXECFLAGS=""
7942 TOP_INSTALL_LIB=""
7944 TOP_INSTALL_DEV=""
7946 WINELOADER_LDFLAGS=""
7948 WINEPRELOADER_LDFLAGS=""
7950 LIBEXT="so"
7951 DLLEXT=".so"
7952 # Extract the first word of "ldd", so it can be a program name with args.
7953 set dummy ldd; ac_word=$2
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955 $as_echo_n "checking for $ac_word... " >&6; }
7956 if ${ac_cv_path_LDD+:} false; then :
7957 $as_echo_n "(cached) " >&6
7958 else
7959 case $LDD in
7960 [\\/]* | ?:[\\/]*)
7961 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 as_dummy="/sbin:/usr/sbin:$PATH"
7966 for as_dir in $as_dummy
7968 IFS=$as_save_IFS
7969 test -z "$as_dir" && as_dir=.
7970 for ac_exec_ext in '' $ac_executable_extensions; do
7971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7972 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7974 break 2
7976 done
7977 done
7978 IFS=$as_save_IFS
7980 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7982 esac
7984 LDD=$ac_cv_path_LDD
7985 if test -n "$LDD"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7987 $as_echo "$LDD" >&6; }
7988 else
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7994 if test -n "$ac_tool_prefix"; then
7995 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7996 set dummy ${ac_tool_prefix}otool; ac_word=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7998 $as_echo_n "checking for $ac_word... " >&6; }
7999 if ${ac_cv_prog_OTOOL+:} false; then :
8000 $as_echo_n "(cached) " >&6
8001 else
8002 if test -n "$OTOOL"; then
8003 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8004 else
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8006 for as_dir in $PATH
8008 IFS=$as_save_IFS
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8012 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8014 break 2
8016 done
8017 done
8018 IFS=$as_save_IFS
8022 OTOOL=$ac_cv_prog_OTOOL
8023 if test -n "$OTOOL"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8025 $as_echo "$OTOOL" >&6; }
8026 else
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028 $as_echo "no" >&6; }
8033 if test -z "$ac_cv_prog_OTOOL"; then
8034 ac_ct_OTOOL=$OTOOL
8035 # Extract the first word of "otool", so it can be a program name with args.
8036 set dummy otool; ac_word=$2
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8038 $as_echo_n "checking for $ac_word... " >&6; }
8039 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8040 $as_echo_n "(cached) " >&6
8041 else
8042 if test -n "$ac_ct_OTOOL"; then
8043 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8044 else
8045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8046 for as_dir in $PATH
8048 IFS=$as_save_IFS
8049 test -z "$as_dir" && as_dir=.
8050 for ac_exec_ext in '' $ac_executable_extensions; do
8051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8052 ac_cv_prog_ac_ct_OTOOL="otool"
8053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8054 break 2
8056 done
8057 done
8058 IFS=$as_save_IFS
8062 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8063 if test -n "$ac_ct_OTOOL"; then
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8065 $as_echo "$ac_ct_OTOOL" >&6; }
8066 else
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8068 $as_echo "no" >&6; }
8071 if test "x$ac_ct_OTOOL" = x; then
8072 OTOOL="otool"
8073 else
8074 case $cross_compiling:$ac_tool_warned in
8075 yes:)
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8077 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8078 ac_tool_warned=yes ;;
8079 esac
8080 OTOOL=$ac_ct_OTOOL
8082 else
8083 OTOOL="$ac_cv_prog_OTOOL"
8086 if test -n "$ac_tool_prefix"; then
8087 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
8088 set dummy ${ac_tool_prefix}readelf; ac_word=$2
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8090 $as_echo_n "checking for $ac_word... " >&6; }
8091 if ${ac_cv_prog_READELF+:} false; then :
8092 $as_echo_n "(cached) " >&6
8093 else
8094 if test -n "$READELF"; then
8095 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8096 else
8097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8098 for as_dir in $PATH
8100 IFS=$as_save_IFS
8101 test -z "$as_dir" && as_dir=.
8102 for ac_exec_ext in '' $ac_executable_extensions; do
8103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8104 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8106 break 2
8108 done
8109 done
8110 IFS=$as_save_IFS
8114 READELF=$ac_cv_prog_READELF
8115 if test -n "$READELF"; then
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8117 $as_echo "$READELF" >&6; }
8118 else
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8120 $as_echo "no" >&6; }
8125 if test -z "$ac_cv_prog_READELF"; then
8126 ac_ct_READELF=$READELF
8127 # Extract the first word of "readelf", so it can be a program name with args.
8128 set dummy readelf; ac_word=$2
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8130 $as_echo_n "checking for $ac_word... " >&6; }
8131 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8132 $as_echo_n "(cached) " >&6
8133 else
8134 if test -n "$ac_ct_READELF"; then
8135 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8136 else
8137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8138 for as_dir in $PATH
8140 IFS=$as_save_IFS
8141 test -z "$as_dir" && as_dir=.
8142 for ac_exec_ext in '' $ac_executable_extensions; do
8143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8144 ac_cv_prog_ac_ct_READELF="readelf"
8145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8146 break 2
8148 done
8149 done
8150 IFS=$as_save_IFS
8154 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8155 if test -n "$ac_ct_READELF"; then
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8157 $as_echo "$ac_ct_READELF" >&6; }
8158 else
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8160 $as_echo "no" >&6; }
8163 if test "x$ac_ct_READELF" = x; then
8164 READELF="true"
8165 else
8166 case $cross_compiling:$ac_tool_warned in
8167 yes:)
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8169 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8170 ac_tool_warned=yes ;;
8171 esac
8172 READELF=$ac_ct_READELF
8174 else
8175 READELF="$ac_cv_prog_READELF"
8178 wine_rules_file=conf$$rules.make
8179 rm -f $wine_rules_file
8180 SUBDIRS=""
8182 DISABLED_SUBDIRS=""
8184 CONFIGURE_TARGETS=""
8187 wine_fn_append_file ()
8189 as_fn_append $1 " \\$as_nl $2"
8192 wine_fn_append_rule ()
8194 $as_echo "$1" >>$wine_rules_file
8197 wine_fn_config_makefile ()
8199 wine_fn_append_file SUBDIRS $1
8200 if eval test \"x\$"$2"\" = x"no"; then :
8201 wine_fn_append_file DISABLED_SUBDIRS $1
8205 wine_fn_config_symlink ()
8207 ac_links=$@
8208 wine_fn_append_rule \
8209 "$ac_links:
8210 @./config.status \$@"
8211 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8214 wine_binary="wine"
8215 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8216 WINELOADER_PROGRAMS="$wine_binary"
8218 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8220 case $host_os in
8221 cygwin*|mingw32*)
8222 if test -n "$ac_tool_prefix"; then
8223 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8224 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8226 $as_echo_n "checking for $ac_word... " >&6; }
8227 if ${ac_cv_prog_DLLTOOL+:} false; then :
8228 $as_echo_n "(cached) " >&6
8229 else
8230 if test -n "$DLLTOOL"; then
8231 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8232 else
8233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8234 for as_dir in $PATH
8236 IFS=$as_save_IFS
8237 test -z "$as_dir" && as_dir=.
8238 for ac_exec_ext in '' $ac_executable_extensions; do
8239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8240 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8242 break 2
8244 done
8245 done
8246 IFS=$as_save_IFS
8250 DLLTOOL=$ac_cv_prog_DLLTOOL
8251 if test -n "$DLLTOOL"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8253 $as_echo "$DLLTOOL" >&6; }
8254 else
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8256 $as_echo "no" >&6; }
8261 if test -z "$ac_cv_prog_DLLTOOL"; then
8262 ac_ct_DLLTOOL=$DLLTOOL
8263 # Extract the first word of "dlltool", so it can be a program name with args.
8264 set dummy dlltool; ac_word=$2
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8266 $as_echo_n "checking for $ac_word... " >&6; }
8267 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 if test -n "$ac_ct_DLLTOOL"; then
8271 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8272 else
8273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8274 for as_dir in $PATH
8276 IFS=$as_save_IFS
8277 test -z "$as_dir" && as_dir=.
8278 for ac_exec_ext in '' $ac_executable_extensions; do
8279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8280 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8282 break 2
8284 done
8285 done
8286 IFS=$as_save_IFS
8290 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8291 if test -n "$ac_ct_DLLTOOL"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8293 $as_echo "$ac_ct_DLLTOOL" >&6; }
8294 else
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8296 $as_echo "no" >&6; }
8299 if test "x$ac_ct_DLLTOOL" = x; then
8300 DLLTOOL="false"
8301 else
8302 case $cross_compiling:$ac_tool_warned in
8303 yes:)
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8306 ac_tool_warned=yes ;;
8307 esac
8308 DLLTOOL=$ac_ct_DLLTOOL
8310 else
8311 DLLTOOL="$ac_cv_prog_DLLTOOL"
8314 LIBEXT="dll"
8315 DLLEXT=""
8316 case $host_cpu in
8317 *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
8318 $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
8319 if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
8320 $as_echo_n "(cached) " >&6
8321 else
8322 ac_wine_try_cflags_saved=$CFLAGS
8323 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
8324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8326 int main(int argc, char **argv) { return 0; }
8327 _ACEOF
8328 if ac_fn_c_try_link "$LINENO"; then :
8329 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
8330 else
8331 ac_cv_cflags__Wl___disable_stdcall_fixup=no
8333 rm -f core conftest.err conftest.$ac_objext \
8334 conftest$ac_exeext conftest.$ac_ext
8335 CFLAGS=$ac_wine_try_cflags_saved
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
8338 $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
8339 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
8340 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
8341 fi ;;
8342 esac
8343 enable_iphlpapi=${enable_iphlpapi:-no}
8344 enable_ws2_32=${enable_ws2_32:-no}
8345 enable_loader=${enable_loader:-no}
8346 enable_server=${enable_server:-no}
8347 with_x=${with_x:-no}
8348 with_pthread=${with_pthread:-no}
8351 darwin*|macosx*)
8352 ac_ext=m
8353 ac_cpp='$OBJCPP $CPPFLAGS'
8354 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8355 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8356 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8358 ac_ext=m
8359 ac_cpp='$OBJCPP $CPPFLAGS'
8360 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8361 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8362 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8363 if test -n "$ac_tool_prefix"; then
8364 for ac_prog in gcc objcc objc cc CC
8366 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8367 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8369 $as_echo_n "checking for $ac_word... " >&6; }
8370 if ${ac_cv_prog_OBJC+:} false; then :
8371 $as_echo_n "(cached) " >&6
8372 else
8373 if test -n "$OBJC"; then
8374 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8375 else
8376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8377 for as_dir in $PATH
8379 IFS=$as_save_IFS
8380 test -z "$as_dir" && as_dir=.
8381 for ac_exec_ext in '' $ac_executable_extensions; do
8382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8383 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8385 break 2
8387 done
8388 done
8389 IFS=$as_save_IFS
8393 OBJC=$ac_cv_prog_OBJC
8394 if test -n "$OBJC"; then
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8396 $as_echo "$OBJC" >&6; }
8397 else
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8399 $as_echo "no" >&6; }
8403 test -n "$OBJC" && break
8404 done
8406 if test -z "$OBJC"; then
8407 ac_ct_OBJC=$OBJC
8408 for ac_prog in gcc objcc objc cc CC
8410 # Extract the first word of "$ac_prog", so it can be a program name with args.
8411 set dummy $ac_prog; ac_word=$2
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8413 $as_echo_n "checking for $ac_word... " >&6; }
8414 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 if test -n "$ac_ct_OBJC"; then
8418 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8419 else
8420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8421 for as_dir in $PATH
8423 IFS=$as_save_IFS
8424 test -z "$as_dir" && as_dir=.
8425 for ac_exec_ext in '' $ac_executable_extensions; do
8426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8427 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8429 break 2
8431 done
8432 done
8433 IFS=$as_save_IFS
8437 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8438 if test -n "$ac_ct_OBJC"; then
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8440 $as_echo "$ac_ct_OBJC" >&6; }
8441 else
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8443 $as_echo "no" >&6; }
8447 test -n "$ac_ct_OBJC" && break
8448 done
8450 if test "x$ac_ct_OBJC" = x; then
8451 OBJC="gcc"
8452 else
8453 case $cross_compiling:$ac_tool_warned in
8454 yes:)
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8457 ac_tool_warned=yes ;;
8458 esac
8459 OBJC=$ac_ct_OBJC
8463 # Provide some information about the compiler.
8464 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8465 set X $ac_compile
8466 ac_compiler=$2
8467 for ac_option in --version -v -V -qversion; do
8468 { { ac_try="$ac_compiler $ac_option >&5"
8469 case "(($ac_try" in
8470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8471 *) ac_try_echo=$ac_try;;
8472 esac
8473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8474 $as_echo "$ac_try_echo"; } >&5
8475 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8476 ac_status=$?
8477 if test -s conftest.err; then
8478 sed '10a\
8479 ... rest of stderr output deleted ...
8480 10q' conftest.err >conftest.er1
8481 cat conftest.er1 >&5
8483 rm -f conftest.er1 conftest.err
8484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8485 test $ac_status = 0; }
8486 done
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8489 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8490 if ${ac_cv_objc_compiler_gnu+:} false; then :
8491 $as_echo_n "(cached) " >&6
8492 else
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8497 main ()
8499 #ifndef __GNUC__
8500 choke me
8501 #endif
8504 return 0;
8506 _ACEOF
8507 if ac_fn_objc_try_compile "$LINENO"; then :
8508 ac_compiler_gnu=yes
8509 else
8510 ac_compiler_gnu=no
8512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8513 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8517 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8518 if test $ac_compiler_gnu = yes; then
8519 GOBJC=yes
8520 else
8521 GOBJC=
8523 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8524 ac_save_OBJCFLAGS=$OBJCFLAGS
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8526 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8527 if ${ac_cv_prog_objc_g+:} false; then :
8528 $as_echo_n "(cached) " >&6
8529 else
8530 ac_save_objc_werror_flag=$ac_objc_werror_flag
8531 ac_objc_werror_flag=yes
8532 ac_cv_prog_objc_g=no
8533 OBJCFLAGS="-g"
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8538 main ()
8542 return 0;
8544 _ACEOF
8545 if ac_fn_objc_try_compile "$LINENO"; then :
8546 ac_cv_prog_objc_g=yes
8547 else
8548 OBJCFLAGS=""
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8553 main ()
8557 return 0;
8559 _ACEOF
8560 if ac_fn_objc_try_compile "$LINENO"; then :
8562 else
8563 ac_objc_werror_flag=$ac_save_objc_werror_flag
8564 OBJCFLAGS="-g"
8565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8566 /* end confdefs.h. */
8569 main ()
8573 return 0;
8575 _ACEOF
8576 if ac_fn_objc_try_compile "$LINENO"; then :
8577 ac_cv_prog_objc_g=yes
8579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8584 ac_objc_werror_flag=$ac_save_objc_werror_flag
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8587 $as_echo "$ac_cv_prog_objc_g" >&6; }
8588 if test "$ac_test_OBJCFLAGS" = set; then
8589 OBJCFLAGS=$ac_save_OBJCFLAGS
8590 elif test $ac_cv_prog_objc_g = yes; then
8591 if test "$GOBJC" = yes; then
8592 OBJCFLAGS="-g -O2"
8593 else
8594 OBJCFLAGS="-g"
8596 else
8597 if test "$GOBJC" = yes; then
8598 OBJCFLAGS="-O2"
8599 else
8600 OBJCFLAGS=
8603 ac_ext=m
8604 ac_cpp='$OBJCPP $CPPFLAGS'
8605 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8606 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8607 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8610 ac_ext=m
8611 ac_cpp='$OBJCPP $CPPFLAGS'
8612 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8613 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8614 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8616 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8617 if test -z "$OBJCPP"; then
8618 if ${ac_cv_prog_OBJCPP+:} false; then :
8619 $as_echo_n "(cached) " >&6
8620 else
8621 # Double quotes because OBJCPP needs to be expanded
8622 for OBJCPP in "$OBJC -E" "/lib/cpp"
8624 ac_preproc_ok=false
8625 for ac_objc_preproc_warn_flag in '' yes
8627 # Use a header file that comes with gcc, so configuring glibc
8628 # with a fresh cross-compiler works.
8629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8630 # <limits.h> exists even on freestanding compilers.
8631 # On the NeXT, cc -E runs the code through the compiler's parser,
8632 # not just through cpp. "Syntax error" is here to catch this case.
8633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8634 /* end confdefs.h. */
8635 #ifdef __STDC__
8636 # include <limits.h>
8637 #else
8638 # include <assert.h>
8639 #endif
8640 Syntax error
8641 _ACEOF
8642 if ac_fn_objc_try_cpp "$LINENO"; then :
8644 else
8645 # Broken: fails on valid input.
8646 continue
8648 rm -f conftest.err conftest.i conftest.$ac_ext
8650 # OK, works on sane cases. Now check whether nonexistent headers
8651 # can be detected and how.
8652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8653 /* end confdefs.h. */
8654 #include <ac_nonexistent.h>
8655 _ACEOF
8656 if ac_fn_objc_try_cpp "$LINENO"; then :
8657 # Broken: success on invalid input.
8658 continue
8659 else
8660 # Passes both tests.
8661 ac_preproc_ok=:
8662 break
8664 rm -f conftest.err conftest.i conftest.$ac_ext
8666 done
8667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8668 rm -f conftest.i conftest.err conftest.$ac_ext
8669 if $ac_preproc_ok; then :
8670 break
8673 done
8674 ac_cv_prog_OBJCPP=$OBJCPP
8677 OBJCPP=$ac_cv_prog_OBJCPP
8678 else
8679 ac_cv_prog_OBJCPP=$OBJCPP
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8682 $as_echo "$OBJCPP" >&6; }
8683 ac_preproc_ok=false
8684 for ac_objc_preproc_warn_flag in '' yes
8686 # Use a header file that comes with gcc, so configuring glibc
8687 # with a fresh cross-compiler works.
8688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8689 # <limits.h> exists even on freestanding compilers.
8690 # On the NeXT, cc -E runs the code through the compiler's parser,
8691 # not just through cpp. "Syntax error" is here to catch this case.
8692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8693 /* end confdefs.h. */
8694 #ifdef __STDC__
8695 # include <limits.h>
8696 #else
8697 # include <assert.h>
8698 #endif
8699 Syntax error
8700 _ACEOF
8701 if ac_fn_objc_try_cpp "$LINENO"; then :
8703 else
8704 # Broken: fails on valid input.
8705 continue
8707 rm -f conftest.err conftest.i conftest.$ac_ext
8709 # OK, works on sane cases. Now check whether nonexistent headers
8710 # can be detected and how.
8711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8713 #include <ac_nonexistent.h>
8714 _ACEOF
8715 if ac_fn_objc_try_cpp "$LINENO"; then :
8716 # Broken: success on invalid input.
8717 continue
8718 else
8719 # Passes both tests.
8720 ac_preproc_ok=:
8721 break
8723 rm -f conftest.err conftest.i conftest.$ac_ext
8725 done
8726 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8727 rm -f conftest.i conftest.err conftest.$ac_ext
8728 if $ac_preproc_ok; then :
8730 else
8731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8733 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8734 See \`config.log' for more details" "$LINENO" 5; }
8737 ac_ext=m
8738 ac_cpp='$OBJCPP $CPPFLAGS'
8739 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8740 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8741 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8744 for ac_header in Metal/Metal.h
8745 do :
8746 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8747 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8748 cat >>confdefs.h <<_ACEOF
8749 #define HAVE_METAL_METAL_H 1
8750 _ACEOF
8754 done
8756 ac_ext=c
8757 ac_cpp='$CPP $CPPFLAGS'
8758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8762 LIBEXT="dylib"
8763 DLLFLAGS="$DLLFLAGS -fPIC"
8764 LDDLLFLAGS="-fPIC"
8765 COREFOUNDATION_LIBS="-framework CoreFoundation"
8767 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8769 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8771 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8773 CORESERVICES_LIBS="-framework CoreServices"
8775 APPKIT_LIBS="-framework AppKit"
8777 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8780 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
8782 wine_can_build_preloader=yes
8783 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"
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8785 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8786 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8787 $as_echo_n "(cached) " >&6
8788 else
8789 ac_wine_try_cflags_saved=$CFLAGS
8790 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8792 /* end confdefs.h. */
8793 int main(int argc, char **argv) { return 0; }
8794 _ACEOF
8795 if ac_fn_c_try_link "$LINENO"; then :
8796 ac_cv_cflags__Wl__no_new_main__e__main=yes
8797 else
8798 ac_cv_cflags__Wl__no_new_main__e__main=no
8800 rm -f core conftest.err conftest.$ac_objext \
8801 conftest$ac_exeext conftest.$ac_ext
8802 CFLAGS=$ac_wine_try_cflags_saved
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8805 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8806 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8807 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8809 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8810 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8811 $as_echo_n "(cached) " >&6
8812 else
8813 ac_wine_try_cflags_saved=$CFLAGS
8814 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8816 /* end confdefs.h. */
8817 int main(int argc, char **argv) { return 0; }
8818 _ACEOF
8819 if ac_fn_c_try_link "$LINENO"; then :
8820 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8821 else
8822 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8824 rm -f core conftest.err conftest.$ac_objext \
8825 conftest$ac_exeext conftest.$ac_ext
8826 CFLAGS=$ac_wine_try_cflags_saved
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8829 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8830 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8831 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8832 else
8833 { $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
8834 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8835 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8836 $as_echo_n "(cached) " >&6
8837 else
8838 ac_wine_try_cflags_saved=$CFLAGS
8839 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8842 int main(int argc, char **argv) { return 0; }
8843 _ACEOF
8844 if ac_fn_c_try_link "$LINENO"; then :
8845 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8846 else
8847 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8849 rm -f core conftest.err conftest.$ac_objext \
8850 conftest$ac_exeext conftest.$ac_ext
8851 CFLAGS=$ac_wine_try_cflags_saved
8853 { $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
8854 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8855 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8856 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8857 else
8858 wine_can_build_preloader=no
8861 else
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8863 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8864 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8865 $as_echo_n "(cached) " >&6
8866 else
8867 ac_wine_try_cflags_saved=$CFLAGS
8868 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8870 /* end confdefs.h. */
8871 int main(int argc, char **argv) { return 0; }
8872 _ACEOF
8873 if ac_fn_c_try_link "$LINENO"; then :
8874 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8875 else
8876 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8878 rm -f core conftest.err conftest.$ac_objext \
8879 conftest$ac_exeext conftest.$ac_ext
8880 CFLAGS=$ac_wine_try_cflags_saved
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8883 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8884 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8885 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8886 else
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8888 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8889 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8890 $as_echo_n "(cached) " >&6
8891 else
8892 ac_wine_try_cflags_saved=$CFLAGS
8893 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8895 /* end confdefs.h. */
8896 int main(int argc, char **argv) { return 0; }
8897 _ACEOF
8898 if ac_fn_c_try_link "$LINENO"; then :
8899 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8900 else
8901 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8903 rm -f core conftest.err conftest.$ac_objext \
8904 conftest$ac_exeext conftest.$ac_ext
8905 CFLAGS=$ac_wine_try_cflags_saved
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8908 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8909 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8910 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8911 else
8912 wine_can_build_preloader=no
8916 if test "$wine_can_build_preloader" = "yes"
8917 then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8919 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8920 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8921 $as_echo_n "(cached) " >&6
8922 else
8923 ac_wine_try_cflags_saved=$CFLAGS
8924 CFLAGS="$CFLAGS -Wl,-no_pie"
8925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8926 /* end confdefs.h. */
8927 int main(int argc, char **argv) { return 0; }
8928 _ACEOF
8929 if ac_fn_c_try_link "$LINENO"; then :
8930 ac_cv_cflags__Wl__no_pie=yes
8931 else
8932 ac_cv_cflags__Wl__no_pie=no
8934 rm -f core conftest.err conftest.$ac_objext \
8935 conftest$ac_exeext conftest.$ac_ext
8936 CFLAGS=$ac_wine_try_cflags_saved
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8939 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8940 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8941 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8943 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8944 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8945 else
8946 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8949 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8950 then
8951 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8954 if test "$ac_cv_header_Security_Security_h" = "yes"
8955 then
8956 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8958 ac_save_LIBS="$LIBS"
8959 LIBS="$LIBS $SECURITY_LIBS"
8960 for ac_func in SSLCopyPeerCertificates
8961 do :
8962 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8963 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8964 cat >>confdefs.h <<_ACEOF
8965 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8966 _ACEOF
8969 done
8971 LIBS="$ac_save_LIBS"
8973 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8974 then
8975 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8976 then
8977 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8979 else
8980 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8983 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8984 ac_save_LIBS="$LIBS"
8985 LIBS="$LIBS $COREAUDIO_LIBS"
8986 for ac_func in AUGraphAddNode
8987 do :
8988 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8989 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8990 cat >>confdefs.h <<_ACEOF
8991 #define HAVE_AUGRAPHADDNODE 1
8992 _ACEOF
8995 done
8997 LIBS="$ac_save_LIBS"
8999 if test "$ac_cv_header_OpenAL_al_h" = "yes"
9000 then
9001 OPENAL_LIBS="-framework OpenAL"
9004 cat >>confdefs.h <<_ACEOF
9005 #define HAVE_OPENAL 1
9006 _ACEOF
9008 ac_cv_lib_openal=yes
9010 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9011 then
9012 OPENCL_LIBS="-framework OpenCL"
9014 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9016 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9017 then
9018 ac_save_LIBS="$LIBS"
9019 LIBS="$LIBS $IOKIT_LIBS"
9020 for ac_func in IOHIDManagerCreate
9021 do :
9022 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9023 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
9024 cat >>confdefs.h <<_ACEOF
9025 #define HAVE_IOHIDMANAGERCREATE 1
9026 _ACEOF
9029 done
9031 LIBS="$ac_save_LIBS"
9034 if test "x$with_quicktime" != "xno"
9035 then
9036 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
9037 then
9038 ac_save_LIBS="$LIBS"
9039 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
9041 $as_echo_n "checking for the QuickTime framework... " >&6; }
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 #include <QuickTime/ImageCompression.h>
9046 main ()
9048 CodecManagerVersion(NULL);
9050 return 0;
9052 _ACEOF
9053 if ac_fn_c_try_link "$LINENO"; then :
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9055 $as_echo "yes" >&6; }
9056 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
9058 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
9059 else
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9061 $as_echo "no" >&6; }
9062 ac_cv_header_QuickTime_ImageCompression_h=no
9064 rm -f core conftest.err conftest.$ac_objext \
9065 conftest$ac_exeext conftest.$ac_ext
9066 LIBS="$ac_save_LIBS"
9069 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
9070 case "x$with_quicktime" in
9071 x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
9072 xno) ;;
9073 *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
9074 This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
9075 esac
9079 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9080 then
9081 CARBON_LIBS="-framework Carbon"
9084 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9085 then
9086 METAL_LIBS="-framework Metal -framework QuartzCore"
9090 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9091 then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9093 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
9094 ac_ext=m
9095 ac_cpp='$OBJCPP $CPPFLAGS'
9096 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9097 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9098 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9102 #include <Metal/Metal.h>
9104 main ()
9106 id<MTLDevice> device; device.registryID;
9108 return 0;
9110 _ACEOF
9111 if ac_fn_objc_try_compile "$LINENO"; then :
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9113 $as_echo "yes" >&6; }
9115 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9117 else
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9119 $as_echo "no" >&6; }
9121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9122 ac_ext=c
9123 ac_cpp='$CPP $CPPFLAGS'
9124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9130 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9131 then
9132 ac_save_LIBS="$LIBS"
9133 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9134 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9135 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9136 enable_winemac_drv=${enable_winemac_drv:-yes}
9139 LIBS="$ac_save_LIBS"
9142 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9144 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9146 WINELOADER_DEPENDS="wine_info.plist"
9148 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9151 linux-android*)
9152 DLLFLAGS="$DLLFLAGS -fPIC"
9153 LDDLLFLAGS="-fPIC"
9154 LDEXECFLAGS="-Wl,-pie"
9155 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9157 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9158 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9159 $as_echo_n "(cached) " >&6
9160 else
9161 ac_wine_try_cflags_saved=$CFLAGS
9162 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9164 /* end confdefs.h. */
9165 int main(int argc, char **argv) { return 0; }
9166 _ACEOF
9167 if ac_fn_c_try_link "$LINENO"; then :
9168 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9169 else
9170 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9172 rm -f core conftest.err conftest.$ac_objext \
9173 conftest$ac_exeext conftest.$ac_ext
9174 CFLAGS=$ac_wine_try_cflags_saved
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9177 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9178 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9179 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9181 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9184 $as_echo_n "checking for -lEGL... " >&6; }
9185 if ${ac_cv_lib_soname_EGL+:} false; then :
9186 $as_echo_n "(cached) " >&6
9187 else
9188 ac_check_soname_save_LIBS=$LIBS
9189 LIBS="-lEGL $LIBS"
9190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9191 /* end confdefs.h. */
9193 /* Override any GCC internal prototype to avoid an error.
9194 Use char because int might match the return type of a GCC
9195 builtin and then its argument prototype would still apply. */
9196 #ifdef __cplusplus
9197 extern "C"
9198 #endif
9199 char eglGetProcAddress ();
9201 main ()
9203 return eglGetProcAddress ();
9205 return 0;
9207 _ACEOF
9208 if ac_fn_c_try_link "$LINENO"; then :
9209 case "$LIBEXT" in
9210 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9211 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'` ;;
9212 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9213 if ${ac_cv_lib_soname_EGL:+false} :; then :
9214 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9215 fi ;;
9216 esac
9217 else
9218 ac_cv_lib_soname_EGL=
9220 rm -f core conftest.err conftest.$ac_objext \
9221 conftest$ac_exeext conftest.$ac_ext
9222 LIBS=$ac_check_soname_save_LIBS
9224 if ${ac_cv_lib_soname_EGL:+false} :; then :
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9226 $as_echo "not found" >&6; }
9228 else
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9230 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9232 cat >>confdefs.h <<_ACEOF
9233 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9234 _ACEOF
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9239 $as_echo_n "checking for -lGLESv2... " >&6; }
9240 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9241 $as_echo_n "(cached) " >&6
9242 else
9243 ac_check_soname_save_LIBS=$LIBS
9244 LIBS="-lGLESv2 $LIBS"
9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9248 /* Override any GCC internal prototype to avoid an error.
9249 Use char because int might match the return type of a GCC
9250 builtin and then its argument prototype would still apply. */
9251 #ifdef __cplusplus
9252 extern "C"
9253 #endif
9254 char glFlush ();
9256 main ()
9258 return glFlush ();
9260 return 0;
9262 _ACEOF
9263 if ac_fn_c_try_link "$LINENO"; then :
9264 case "$LIBEXT" in
9265 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9266 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'` ;;
9267 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9268 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9269 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9270 fi ;;
9271 esac
9272 else
9273 ac_cv_lib_soname_GLESv2=
9275 rm -f core conftest.err conftest.$ac_objext \
9276 conftest$ac_exeext conftest.$ac_ext
9277 LIBS=$ac_check_soname_save_LIBS
9279 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9281 $as_echo "not found" >&6; }
9283 else
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9285 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9287 cat >>confdefs.h <<_ACEOF
9288 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9289 _ACEOF
9294 if test "x$exec_prefix" = xNONE
9295 then
9296 case $host_cpu in
9297 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9298 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9299 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9300 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9301 esac
9306 case $host_cpu in
9307 *i[3456789]86*)
9308 DLLFLAGS="$DLLFLAGS -fno-PIC"
9309 LDDLLFLAGS="-fno-PIC"
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
9311 $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
9312 if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
9313 $as_echo_n "(cached) " >&6
9314 else
9315 ac_wine_try_cflags_saved=$CFLAGS
9316 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
9317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h. */
9319 int main(int argc, char **argv) { return 0; }
9320 _ACEOF
9321 if ac_fn_c_try_link "$LINENO"; then :
9322 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
9323 else
9324 ac_cv_cflags__fno_PIC__Wl__z_notext=no
9326 rm -f core conftest.err conftest.$ac_objext \
9327 conftest$ac_exeext conftest.$ac_ext
9328 CFLAGS=$ac_wine_try_cflags_saved
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
9331 $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
9332 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
9333 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
9337 DLLFLAGS="$DLLFLAGS -fPIC"
9338 LDDLLFLAGS="-fPIC" ;;
9339 esac
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9341 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9342 if ${ac_cv_c_dll_gnuelf+:} false; then :
9343 $as_echo_n "(cached) " >&6
9344 else
9345 ac_wine_try_cflags_saved=$CFLAGS
9346 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9348 /* end confdefs.h. */
9349 void myfunc() {}
9350 _ACEOF
9351 if ac_fn_c_try_link "$LINENO"; then :
9352 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9353 else
9354 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9356 rm -f core conftest.err conftest.$ac_objext \
9357 conftest$ac_exeext conftest.$ac_ext
9358 CFLAGS=$ac_wine_try_cflags_saved
9359 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9360 ac_cv_c_dll_gnuelf="yes"
9361 else
9362 ac_cv_c_dll_gnuelf="no"
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9366 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9367 if test "$ac_cv_c_dll_gnuelf" = "yes"
9368 then
9369 LIBWINE_LDFLAGS="-shared"
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9371 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9372 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9373 $as_echo_n "(cached) " >&6
9374 else
9375 ac_wine_try_cflags_saved=$CFLAGS
9376 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h. */
9379 int main(int argc, char **argv) { return 0; }
9380 _ACEOF
9381 if ac_fn_c_try_link "$LINENO"; then :
9382 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9383 else
9384 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9386 rm -f core conftest.err conftest.$ac_objext \
9387 conftest$ac_exeext conftest.$ac_ext
9388 CFLAGS=$ac_wine_try_cflags_saved
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9391 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9392 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9393 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9394 else
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9396 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9397 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9398 $as_echo_n "(cached) " >&6
9399 else
9400 ac_wine_try_cflags_saved=$CFLAGS
9401 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9403 /* end confdefs.h. */
9404 int main(int argc, char **argv) { return 0; }
9405 _ACEOF
9406 if ac_fn_c_try_link "$LINENO"; then :
9407 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9408 else
9409 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9411 rm -f core conftest.err conftest.$ac_objext \
9412 conftest$ac_exeext conftest.$ac_ext
9413 CFLAGS=$ac_wine_try_cflags_saved
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9416 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9417 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9418 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9422 echo '{ global: *; };' >conftest.map
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9424 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9425 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9426 $as_echo_n "(cached) " >&6
9427 else
9428 ac_wine_try_cflags_saved=$CFLAGS
9429 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9431 /* end confdefs.h. */
9432 int main(int argc, char **argv) { return 0; }
9433 _ACEOF
9434 if ac_fn_c_try_link "$LINENO"; then :
9435 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9436 else
9437 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9439 rm -f core conftest.err conftest.$ac_objext \
9440 conftest$ac_exeext conftest.$ac_ext
9441 CFLAGS=$ac_wine_try_cflags_saved
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9444 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9445 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9446 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9448 rm -f conftest.map
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9451 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9452 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9453 $as_echo_n "(cached) " >&6
9454 else
9455 ac_wine_try_cflags_saved=$CFLAGS
9456 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9459 int main(int argc, char **argv) { return 0; }
9460 _ACEOF
9461 if ac_fn_c_try_link "$LINENO"; then :
9462 ac_cv_cflags__Wl___export_dynamic=yes
9463 else
9464 ac_cv_cflags__Wl___export_dynamic=no
9466 rm -f core conftest.err conftest.$ac_objext \
9467 conftest$ac_exeext conftest.$ac_ext
9468 CFLAGS=$ac_wine_try_cflags_saved
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9471 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9472 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9473 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9475 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9477 case $host_cpu in
9478 *i[3456789]86* | x86_64 | *aarch64*)
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9480 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9481 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9482 $as_echo_n "(cached) " >&6
9483 else
9484 ac_wine_try_cflags_saved=$CFLAGS
9485 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9487 /* end confdefs.h. */
9488 int main(int argc, char **argv) { return 0; }
9489 _ACEOF
9490 if ac_fn_c_try_link "$LINENO"; then :
9491 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9492 else
9493 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9495 rm -f core conftest.err conftest.$ac_objext \
9496 conftest$ac_exeext conftest.$ac_ext
9497 CFLAGS=$ac_wine_try_cflags_saved
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9500 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9501 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9502 case $host_os in
9503 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9504 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
9505 esac
9506 else
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
9508 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
9509 if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
9510 $as_echo_n "(cached) " >&6
9511 else
9512 ac_wine_try_cflags_saved=$CFLAGS
9513 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
9514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9516 int main(int argc, char **argv) { return 0; }
9517 _ACEOF
9518 if ac_fn_c_try_link "$LINENO"; then :
9519 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
9520 else
9521 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
9523 rm -f core conftest.err conftest.$ac_objext \
9524 conftest$ac_exeext conftest.$ac_ext
9525 CFLAGS=$ac_wine_try_cflags_saved
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
9528 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
9529 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
9530 case $host_os in
9531 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9532 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
9533 esac
9535 # Extract the first word of "prelink", so it can be a program name with args.
9536 set dummy prelink; ac_word=$2
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9538 $as_echo_n "checking for $ac_word... " >&6; }
9539 if ${ac_cv_path_PRELINK+:} false; then :
9540 $as_echo_n "(cached) " >&6
9541 else
9542 case $PRELINK in
9543 [\\/]* | ?:[\\/]*)
9544 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9548 for as_dir in /sbin /usr/sbin $PATH
9550 IFS=$as_save_IFS
9551 test -z "$as_dir" && as_dir=.
9552 for ac_exec_ext in '' $ac_executable_extensions; do
9553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9554 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9556 break 2
9558 done
9559 done
9560 IFS=$as_save_IFS
9562 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9564 esac
9566 PRELINK=$ac_cv_path_PRELINK
9567 if test -n "$PRELINK"; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9569 $as_echo "$PRELINK" >&6; }
9570 else
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9572 $as_echo "no" >&6; }
9576 if test "x$PRELINK" = xfalse
9577 then
9578 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9582 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9583 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9584 $as_echo_n "(cached) " >&6
9585 else
9586 ac_wine_try_cflags_saved=$CFLAGS
9587 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9590 int main(int argc, char **argv) { return 0; }
9591 _ACEOF
9592 if ac_fn_c_try_link "$LINENO"; then :
9593 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9594 else
9595 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9597 rm -f core conftest.err conftest.$ac_objext \
9598 conftest$ac_exeext conftest.$ac_ext
9599 CFLAGS=$ac_wine_try_cflags_saved
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9602 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9603 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9604 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9607 esac
9609 else
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9611 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9612 if ${ac_cv_c_dll_unixware+:} false; then :
9613 $as_echo_n "(cached) " >&6
9614 else
9615 ac_wine_try_cflags_saved=$CFLAGS
9616 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9619 void myfunc() {}
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9622 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9623 else
9624 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9626 rm -f core conftest.err conftest.$ac_objext \
9627 conftest$ac_exeext conftest.$ac_ext
9628 CFLAGS=$ac_wine_try_cflags_saved
9629 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9630 ac_cv_c_dll_unixware="yes"
9631 else
9632 ac_cv_c_dll_unixware="no"
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9636 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9637 if test "$ac_cv_c_dll_unixware" = "yes"
9638 then
9639 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9642 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9644 LIBWINE_DEPENDS="wine.map"
9646 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9648 esac
9650 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9651 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9652 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9653 enable_winemac_drv=${enable_winemac_drv:-no}
9654 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9657 if test "x$with_mingw" != xno
9658 then
9659 case "x$with_mingw" in
9660 x|xyes) case "$host_cpu" in
9661 aarch64*)
9662 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9663 arm*)
9664 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9665 i[3456789]86*)
9666 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
9667 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9668 mingw32-gcc" ;;
9669 x86_64)
9670 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
9671 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9673 ac_prefix_list="" ;;
9674 esac
9675 for ac_prog in $ac_prefix_list
9677 # Extract the first word of "$ac_prog", so it can be a program name with args.
9678 set dummy $ac_prog; ac_word=$2
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9680 $as_echo_n "checking for $ac_word... " >&6; }
9681 if ${ac_cv_prog_CROSSCC+:} false; then :
9682 $as_echo_n "(cached) " >&6
9683 else
9684 if test -n "$CROSSCC"; then
9685 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9686 else
9687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9688 for as_dir in $PATH
9690 IFS=$as_save_IFS
9691 test -z "$as_dir" && as_dir=.
9692 for ac_exec_ext in '' $ac_executable_extensions; do
9693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9694 ac_cv_prog_CROSSCC="$ac_prog"
9695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9696 break 2
9698 done
9699 done
9700 IFS=$as_save_IFS
9704 CROSSCC=$ac_cv_prog_CROSSCC
9705 if test -n "$CROSSCC"; then
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9707 $as_echo "$CROSSCC" >&6; }
9708 else
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9710 $as_echo "no" >&6; }
9714 test -n "$CROSSCC" && break
9715 done
9716 test -n "$CROSSCC" || CROSSCC="false"
9718 *) CROSSCC=$with_mingw ;;
9719 esac
9720 if test "$CROSSCC" != "false"
9721 then
9722 ac_save_CC="$CC"
9723 saved_CFLAGS=$CFLAGS
9724 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9726 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9730 CC="$CROSSCC"
9731 CFLAGS=$CROSSCFLAGS
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9733 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9734 if ${wine_cv_crosscc+:} false; then :
9735 $as_echo_n "(cached) " >&6
9736 else
9737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9741 main ()
9745 return 0;
9747 _ACEOF
9748 if ac_fn_c_try_compile "$LINENO"; then :
9749 wine_cv_crosscc=yes
9750 else
9751 wine_cv_crosscc=no
9753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9756 $as_echo "$wine_cv_crosscc" >&6; }
9757 if test $wine_cv_crosscc = yes
9758 then
9759 set x $CROSSCC
9760 shift
9761 while test $# -ge 1
9763 case "$1" in
9764 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9765 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9766 esac
9767 shift
9768 done
9770 llvm_target=$CROSSTARGET
9771 llvm_cflags="-fuse-ld=lld"
9772 if test -z "$llvm_target"
9773 then
9774 case $host_cpu in
9775 *i[3456789]86*) llvm_target=i686-windows ;;
9776 *) llvm_target=$host_cpu-windows ;;
9777 esac
9779 case $llvm_target in
9780 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
9781 esac
9782 as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
9784 $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
9785 if eval \${$as_ac_var+:} false; then :
9786 $as_echo_n "(cached) " >&6
9787 else
9788 ac_wine_try_cflags_saved=$CFLAGS
9789 ac_wine_try_cflags_saved_cc=$CC
9790 ac_wine_try_cflags_saved_exeext=$ac_exeext
9791 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
9792 CC="$CROSSCC"
9793 ac_exeext=".exe"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9796 int __cdecl mainCRTStartup(void) { return 0; }
9797 _ACEOF
9798 if ac_fn_c_try_link "$LINENO"; then :
9799 eval "$as_ac_var=yes"
9800 else
9801 eval "$as_ac_var=no"
9803 rm -f core conftest.err conftest.$ac_objext \
9804 conftest$ac_exeext conftest.$ac_ext
9805 CFLAGS=$ac_wine_try_cflags_saved
9806 CC=$ac_wine_try_cflags_saved_cc
9807 ac_exeext=$ac_wine_try_cflags_saved_exeext
9809 eval ac_res=\$$as_ac_var
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9811 $as_echo "$ac_res" >&6; }
9812 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9813 CROSSTARGET=$llvm_target
9814 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
9815 DELAYLOADFLAG="-Wl,-delayload,"
9817 CFLAGS="$CFLAGS $llvm_cflags"
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9821 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9822 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9823 $as_echo_n "(cached) " >&6
9824 else
9825 ac_wine_try_cflags_saved=$CFLAGS
9826 ac_wine_try_cflags_saved_cc=$CC
9827 ac_wine_try_cflags_saved_exeext=$ac_exeext
9828 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
9829 CC="$CROSSCC"
9830 ac_exeext=".exe"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9833 int __cdecl mainCRTStartup(void) { return 0; }
9834 _ACEOF
9835 if ac_fn_c_try_link "$LINENO"; then :
9836 ac_cv_crosscflags__fno_strict_aliasing=yes
9837 else
9838 ac_cv_crosscflags__fno_strict_aliasing=no
9840 rm -f core conftest.err conftest.$ac_objext \
9841 conftest$ac_exeext conftest.$ac_ext
9842 CFLAGS=$ac_wine_try_cflags_saved
9843 CC=$ac_wine_try_cflags_saved_cc
9844 ac_exeext=$ac_wine_try_cflags_saved_exeext
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9847 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9848 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9849 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9852 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9853 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9854 $as_echo_n "(cached) " >&6
9855 else
9856 ac_wine_try_cflags_saved=$CFLAGS
9857 ac_wine_try_cflags_saved_cc=$CC
9858 ac_wine_try_cflags_saved_exeext=$ac_exeext
9859 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
9860 CC="$CROSSCC"
9861 ac_exeext=".exe"
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9864 int __cdecl mainCRTStartup(void) { return 0; }
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9868 else
9869 ac_cv_crosscflags__Werror_unknown_warning_option=no
9871 rm -f core conftest.err conftest.$ac_objext \
9872 conftest$ac_exeext conftest.$ac_ext
9873 CFLAGS=$ac_wine_try_cflags_saved
9874 CC=$ac_wine_try_cflags_saved_cc
9875 ac_exeext=$ac_wine_try_cflags_saved_exeext
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9878 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9879 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9880 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
9883 $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
9884 if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
9885 $as_echo_n "(cached) " >&6
9886 else
9887 ac_wine_try_cflags_saved=$CFLAGS
9888 ac_wine_try_cflags_saved_cc=$CC
9889 ac_wine_try_cflags_saved_exeext=$ac_exeext
9890 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
9891 CC="$CROSSCC"
9892 ac_exeext=".exe"
9893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9895 int __cdecl mainCRTStartup(void) { return 0; }
9896 _ACEOF
9897 if ac_fn_c_try_link "$LINENO"; then :
9898 ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
9899 else
9900 ac_cv_crosscflags__Werror_ignored_optimization_argument=no
9902 rm -f core conftest.err conftest.$ac_objext \
9903 conftest$ac_exeext conftest.$ac_ext
9904 CFLAGS=$ac_wine_try_cflags_saved
9905 CC=$ac_wine_try_cflags_saved_cc
9906 ac_exeext=$ac_wine_try_cflags_saved_exeext
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
9909 $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
9910 if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
9911 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9914 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9915 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9916 $as_echo_n "(cached) " >&6
9917 else
9918 ac_wine_try_cflags_saved=$CFLAGS
9919 ac_wine_try_cflags_saved_cc=$CC
9920 ac_wine_try_cflags_saved_exeext=$ac_exeext
9921 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
9922 CC="$CROSSCC"
9923 ac_exeext=".exe"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926 int __cdecl mainCRTStartup(void) { return 0; }
9927 _ACEOF
9928 if ac_fn_c_try_link "$LINENO"; then :
9929 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9930 else
9931 ac_cv_crosscflags__Wdeclaration_after_statement=no
9933 rm -f core conftest.err conftest.$ac_objext \
9934 conftest$ac_exeext conftest.$ac_ext
9935 CFLAGS=$ac_wine_try_cflags_saved
9936 CC=$ac_wine_try_cflags_saved_cc
9937 ac_exeext=$ac_wine_try_cflags_saved_exeext
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9940 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9941 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9942 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9945 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9946 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9947 $as_echo_n "(cached) " >&6
9948 else
9949 ac_wine_try_cflags_saved=$CFLAGS
9950 ac_wine_try_cflags_saved_cc=$CC
9951 ac_wine_try_cflags_saved_exeext=$ac_exeext
9952 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
9953 CC="$CROSSCC"
9954 ac_exeext=".exe"
9955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9956 /* end confdefs.h. */
9957 int __cdecl mainCRTStartup(void) { return 0; }
9958 _ACEOF
9959 if ac_fn_c_try_link "$LINENO"; then :
9960 ac_cv_crosscflags__Wempty_body=yes
9961 else
9962 ac_cv_crosscflags__Wempty_body=no
9964 rm -f core conftest.err conftest.$ac_objext \
9965 conftest$ac_exeext conftest.$ac_ext
9966 CFLAGS=$ac_wine_try_cflags_saved
9967 CC=$ac_wine_try_cflags_saved_cc
9968 ac_exeext=$ac_wine_try_cflags_saved_exeext
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9971 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9972 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9973 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9976 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9977 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9978 $as_echo_n "(cached) " >&6
9979 else
9980 ac_wine_try_cflags_saved=$CFLAGS
9981 ac_wine_try_cflags_saved_cc=$CC
9982 ac_wine_try_cflags_saved_exeext=$ac_exeext
9983 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
9984 CC="$CROSSCC"
9985 ac_exeext=".exe"
9986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9988 int __cdecl mainCRTStartup(void) { return 0; }
9989 _ACEOF
9990 if ac_fn_c_try_link "$LINENO"; then :
9991 ac_cv_crosscflags__Wignored_qualifiers=yes
9992 else
9993 ac_cv_crosscflags__Wignored_qualifiers=no
9995 rm -f core conftest.err conftest.$ac_objext \
9996 conftest$ac_exeext conftest.$ac_ext
9997 CFLAGS=$ac_wine_try_cflags_saved
9998 CC=$ac_wine_try_cflags_saved_cc
9999 ac_exeext=$ac_wine_try_cflags_saved_exeext
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
10002 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
10003 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
10004 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
10007 $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
10008 if ${ac_cv_crosscflags__Winit_self+:} false; then :
10009 $as_echo_n "(cached) " >&6
10010 else
10011 ac_wine_try_cflags_saved=$CFLAGS
10012 ac_wine_try_cflags_saved_cc=$CC
10013 ac_wine_try_cflags_saved_exeext=$ac_exeext
10014 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
10015 CC="$CROSSCC"
10016 ac_exeext=".exe"
10017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10018 /* end confdefs.h. */
10019 int __cdecl mainCRTStartup(void) { return 0; }
10020 _ACEOF
10021 if ac_fn_c_try_link "$LINENO"; then :
10022 ac_cv_crosscflags__Winit_self=yes
10023 else
10024 ac_cv_crosscflags__Winit_self=no
10026 rm -f core conftest.err conftest.$ac_objext \
10027 conftest$ac_exeext conftest.$ac_ext
10028 CFLAGS=$ac_wine_try_cflags_saved
10029 CC=$ac_wine_try_cflags_saved_cc
10030 ac_exeext=$ac_wine_try_cflags_saved_exeext
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
10033 $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
10034 if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
10035 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
10038 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
10039 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
10040 $as_echo_n "(cached) " >&6
10041 else
10042 ac_wine_try_cflags_saved=$CFLAGS
10043 ac_wine_try_cflags_saved_cc=$CC
10044 ac_wine_try_cflags_saved_exeext=$ac_exeext
10045 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
10046 CC="$CROSSCC"
10047 ac_exeext=".exe"
10048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10049 /* end confdefs.h. */
10050 int __cdecl mainCRTStartup(void) { return 0; }
10051 _ACEOF
10052 if ac_fn_c_try_link "$LINENO"; then :
10053 ac_cv_crosscflags__Wpacked_not_aligned=yes
10054 else
10055 ac_cv_crosscflags__Wpacked_not_aligned=no
10057 rm -f core conftest.err conftest.$ac_objext \
10058 conftest$ac_exeext conftest.$ac_ext
10059 CFLAGS=$ac_wine_try_cflags_saved
10060 CC=$ac_wine_try_cflags_saved_cc
10061 ac_exeext=$ac_wine_try_cflags_saved_exeext
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10064 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10065 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10066 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10069 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10070 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10071 $as_echo_n "(cached) " >&6
10072 else
10073 ac_wine_try_cflags_saved=$CFLAGS
10074 ac_wine_try_cflags_saved_cc=$CC
10075 ac_wine_try_cflags_saved_exeext=$ac_exeext
10076 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
10077 CC="$CROSSCC"
10078 ac_exeext=".exe"
10079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10080 /* end confdefs.h. */
10081 int __cdecl mainCRTStartup(void) { return 0; }
10082 _ACEOF
10083 if ac_fn_c_try_link "$LINENO"; then :
10084 ac_cv_crosscflags__Wpragma_pack=yes
10085 else
10086 ac_cv_crosscflags__Wpragma_pack=no
10088 rm -f core conftest.err conftest.$ac_objext \
10089 conftest$ac_exeext conftest.$ac_ext
10090 CFLAGS=$ac_wine_try_cflags_saved
10091 CC=$ac_wine_try_cflags_saved_cc
10092 ac_exeext=$ac_wine_try_cflags_saved_exeext
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10095 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10096 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10097 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10100 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10101 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10102 $as_echo_n "(cached) " >&6
10103 else
10104 ac_wine_try_cflags_saved=$CFLAGS
10105 ac_wine_try_cflags_saved_cc=$CC
10106 ac_wine_try_cflags_saved_exeext=$ac_exeext
10107 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
10108 CC="$CROSSCC"
10109 ac_exeext=".exe"
10110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10111 /* end confdefs.h. */
10112 int __cdecl mainCRTStartup(void) { return 0; }
10113 _ACEOF
10114 if ac_fn_c_try_link "$LINENO"; then :
10115 ac_cv_crosscflags__Wshift_overflow_2=yes
10116 else
10117 ac_cv_crosscflags__Wshift_overflow_2=no
10119 rm -f core conftest.err conftest.$ac_objext \
10120 conftest$ac_exeext conftest.$ac_ext
10121 CFLAGS=$ac_wine_try_cflags_saved
10122 CC=$ac_wine_try_cflags_saved_cc
10123 ac_exeext=$ac_wine_try_cflags_saved_exeext
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10126 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10127 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10128 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10131 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10132 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10133 $as_echo_n "(cached) " >&6
10134 else
10135 ac_wine_try_cflags_saved=$CFLAGS
10136 ac_wine_try_cflags_saved_cc=$CC
10137 ac_wine_try_cflags_saved_exeext=$ac_exeext
10138 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
10139 CC="$CROSSCC"
10140 ac_exeext=".exe"
10141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10143 int __cdecl mainCRTStartup(void) { return 0; }
10144 _ACEOF
10145 if ac_fn_c_try_link "$LINENO"; then :
10146 ac_cv_crosscflags__Wstrict_prototypes=yes
10147 else
10148 ac_cv_crosscflags__Wstrict_prototypes=no
10150 rm -f core conftest.err conftest.$ac_objext \
10151 conftest$ac_exeext conftest.$ac_ext
10152 CFLAGS=$ac_wine_try_cflags_saved
10153 CC=$ac_wine_try_cflags_saved_cc
10154 ac_exeext=$ac_wine_try_cflags_saved_exeext
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10157 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10158 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10159 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10162 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10163 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10164 $as_echo_n "(cached) " >&6
10165 else
10166 ac_wine_try_cflags_saved=$CFLAGS
10167 ac_wine_try_cflags_saved_cc=$CC
10168 ac_wine_try_cflags_saved_exeext=$ac_exeext
10169 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
10170 CC="$CROSSCC"
10171 ac_exeext=".exe"
10172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10173 /* end confdefs.h. */
10174 int __cdecl mainCRTStartup(void) { return 0; }
10175 _ACEOF
10176 if ac_fn_c_try_link "$LINENO"; then :
10177 ac_cv_crosscflags__Wtype_limits=yes
10178 else
10179 ac_cv_crosscflags__Wtype_limits=no
10181 rm -f core conftest.err conftest.$ac_objext \
10182 conftest$ac_exeext conftest.$ac_ext
10183 CFLAGS=$ac_wine_try_cflags_saved
10184 CC=$ac_wine_try_cflags_saved_cc
10185 ac_exeext=$ac_wine_try_cflags_saved_exeext
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10188 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10189 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10190 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10193 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10194 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10195 $as_echo_n "(cached) " >&6
10196 else
10197 ac_wine_try_cflags_saved=$CFLAGS
10198 ac_wine_try_cflags_saved_cc=$CC
10199 ac_wine_try_cflags_saved_exeext=$ac_exeext
10200 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
10201 CC="$CROSSCC"
10202 ac_exeext=".exe"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10205 int __cdecl mainCRTStartup(void) { return 0; }
10206 _ACEOF
10207 if ac_fn_c_try_link "$LINENO"; then :
10208 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10209 else
10210 ac_cv_crosscflags__Wunused_but_set_parameter=no
10212 rm -f core conftest.err conftest.$ac_objext \
10213 conftest$ac_exeext conftest.$ac_ext
10214 CFLAGS=$ac_wine_try_cflags_saved
10215 CC=$ac_wine_try_cflags_saved_cc
10216 ac_exeext=$ac_wine_try_cflags_saved_exeext
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10219 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10220 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10221 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10224 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10225 if ${ac_cv_crosscflags__Wvla+:} false; then :
10226 $as_echo_n "(cached) " >&6
10227 else
10228 ac_wine_try_cflags_saved=$CFLAGS
10229 ac_wine_try_cflags_saved_cc=$CC
10230 ac_wine_try_cflags_saved_exeext=$ac_exeext
10231 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
10232 CC="$CROSSCC"
10233 ac_exeext=".exe"
10234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10235 /* end confdefs.h. */
10236 int __cdecl mainCRTStartup(void) { return 0; }
10237 _ACEOF
10238 if ac_fn_c_try_link "$LINENO"; then :
10239 ac_cv_crosscflags__Wvla=yes
10240 else
10241 ac_cv_crosscflags__Wvla=no
10243 rm -f core conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 CFLAGS=$ac_wine_try_cflags_saved
10246 CC=$ac_wine_try_cflags_saved_cc
10247 ac_exeext=$ac_wine_try_cflags_saved_exeext
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10250 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10251 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10252 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10255 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10256 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10257 $as_echo_n "(cached) " >&6
10258 else
10259 ac_wine_try_cflags_saved=$CFLAGS
10260 ac_wine_try_cflags_saved_cc=$CC
10261 ac_wine_try_cflags_saved_exeext=$ac_exeext
10262 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
10263 CC="$CROSSCC"
10264 ac_exeext=".exe"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10267 int __cdecl mainCRTStartup(void) { return 0; }
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"; then :
10270 ac_cv_crosscflags__Wwrite_strings=yes
10271 else
10272 ac_cv_crosscflags__Wwrite_strings=no
10274 rm -f core conftest.err conftest.$ac_objext \
10275 conftest$ac_exeext conftest.$ac_ext
10276 CFLAGS=$ac_wine_try_cflags_saved
10277 CC=$ac_wine_try_cflags_saved_cc
10278 ac_exeext=$ac_wine_try_cflags_saved_exeext
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10281 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10282 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10283 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10286 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10287 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10288 $as_echo_n "(cached) " >&6
10289 else
10290 ac_wine_try_cflags_saved=$CFLAGS
10291 ac_wine_try_cflags_saved_cc=$CC
10292 ac_wine_try_cflags_saved_exeext=$ac_exeext
10293 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
10294 CC="$CROSSCC"
10295 ac_exeext=".exe"
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10298 int __cdecl mainCRTStartup(void) { return 0; }
10299 _ACEOF
10300 if ac_fn_c_try_link "$LINENO"; then :
10301 ac_cv_crosscflags__Wpointer_arith=yes
10302 else
10303 ac_cv_crosscflags__Wpointer_arith=no
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 CFLAGS=$ac_wine_try_cflags_saved
10308 CC=$ac_wine_try_cflags_saved_cc
10309 ac_exeext=$ac_wine_try_cflags_saved_exeext
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10312 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10313 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10314 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10317 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10318 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10319 $as_echo_n "(cached) " >&6
10320 else
10321 ac_wine_try_cflags_saved=$CFLAGS
10322 ac_wine_try_cflags_saved_cc=$CC
10323 ac_wine_try_cflags_saved_exeext=$ac_exeext
10324 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
10325 CC="$CROSSCC"
10326 ac_exeext=".exe"
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10329 int __cdecl mainCRTStartup(void) { return 0; }
10330 _ACEOF
10331 if ac_fn_c_try_link "$LINENO"; then :
10332 ac_cv_crosscflags__Wlogical_op=yes
10333 else
10334 ac_cv_crosscflags__Wlogical_op=no
10336 rm -f core conftest.err conftest.$ac_objext \
10337 conftest$ac_exeext conftest.$ac_ext
10338 CFLAGS=$ac_wine_try_cflags_saved
10339 CC=$ac_wine_try_cflags_saved_cc
10340 ac_exeext=$ac_wine_try_cflags_saved_exeext
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10343 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10344 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10345 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
10348 $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
10349 if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
10350 $as_echo_n "(cached) " >&6
10351 else
10352 ac_wine_try_cflags_saved=$CFLAGS
10353 ac_wine_try_cflags_saved_cc=$CC
10354 ac_wine_try_cflags_saved_exeext=$ac_exeext
10355 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
10356 CC="$CROSSCC"
10357 ac_exeext=".exe"
10358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10359 /* end confdefs.h. */
10360 int __cdecl mainCRTStartup(void) { return 0; }
10361 _ACEOF
10362 if ac_fn_c_try_link "$LINENO"; then :
10363 ac_cv_crosscflags__Wabsolute_value=yes
10364 else
10365 ac_cv_crosscflags__Wabsolute_value=no
10367 rm -f core conftest.err conftest.$ac_objext \
10368 conftest$ac_exeext conftest.$ac_ext
10369 CFLAGS=$ac_wine_try_cflags_saved
10370 CC=$ac_wine_try_cflags_saved_cc
10371 ac_exeext=$ac_wine_try_cflags_saved_exeext
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
10374 $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
10375 if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
10376 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
10379 case $host_cpu in
10380 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10381 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10382 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10383 $as_echo_n "(cached) " >&6
10384 else
10385 ac_wine_try_cflags_saved=$CFLAGS
10386 ac_wine_try_cflags_saved_cc=$CC
10387 ac_wine_try_cflags_saved_exeext=$ac_exeext
10388 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
10389 CC="$CROSSCC"
10390 ac_exeext=".exe"
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10393 int __cdecl mainCRTStartup(void) { return 0; }
10394 _ACEOF
10395 if ac_fn_c_try_link "$LINENO"; then :
10396 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10397 else
10398 ac_cv_crosscflags__fno_omit_frame_pointer=no
10400 rm -f core conftest.err conftest.$ac_objext \
10401 conftest$ac_exeext conftest.$ac_ext
10402 CFLAGS=$ac_wine_try_cflags_saved
10403 CC=$ac_wine_try_cflags_saved_cc
10404 ac_exeext=$ac_wine_try_cflags_saved_exeext
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10407 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10408 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10409 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10410 fi ;;
10411 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10412 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10413 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10414 $as_echo_n "(cached) " >&6
10415 else
10416 ac_wine_try_cflags_saved=$CFLAGS
10417 ac_wine_try_cflags_saved_cc=$CC
10418 ac_wine_try_cflags_saved_exeext=$ac_exeext
10419 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10420 CC="$CROSSCC"
10421 ac_exeext=".exe"
10422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10423 /* end confdefs.h. */
10424 int __cdecl mainCRTStartup(void) { return 0; }
10425 _ACEOF
10426 if ac_fn_c_try_link "$LINENO"; then :
10427 ac_cv_crosscflags__Wno_format=yes
10428 else
10429 ac_cv_crosscflags__Wno_format=no
10431 rm -f core conftest.err conftest.$ac_objext \
10432 conftest$ac_exeext conftest.$ac_ext
10433 CFLAGS=$ac_wine_try_cflags_saved
10434 CC=$ac_wine_try_cflags_saved_cc
10435 ac_exeext=$ac_wine_try_cflags_saved_exeext
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10438 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10439 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10440 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
10443 $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
10444 if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
10445 $as_echo_n "(cached) " >&6
10446 else
10447 ac_wine_try_cflags_saved=$CFLAGS
10448 ac_wine_try_cflags_saved_cc=$CC
10449 ac_wine_try_cflags_saved_exeext=$ac_exeext
10450 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
10451 CC="$CROSSCC"
10452 ac_exeext=".exe"
10453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10455 int __cdecl mainCRTStartup(void) { return 0; }
10456 _ACEOF
10457 if ac_fn_c_try_link "$LINENO"; then :
10458 ac_cv_crosscflags__Wformat_overflow=yes
10459 else
10460 ac_cv_crosscflags__Wformat_overflow=no
10462 rm -f core conftest.err conftest.$ac_objext \
10463 conftest$ac_exeext conftest.$ac_ext
10464 CFLAGS=$ac_wine_try_cflags_saved
10465 CC=$ac_wine_try_cflags_saved_cc
10466 ac_exeext=$ac_wine_try_cflags_saved_exeext
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
10469 $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
10470 if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
10471 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
10474 $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
10475 if ${ac_cv_crosscflags__Wnonnull+:} false; then :
10476 $as_echo_n "(cached) " >&6
10477 else
10478 ac_wine_try_cflags_saved=$CFLAGS
10479 ac_wine_try_cflags_saved_cc=$CC
10480 ac_wine_try_cflags_saved_exeext=$ac_exeext
10481 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
10482 CC="$CROSSCC"
10483 ac_exeext=".exe"
10484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10485 /* end confdefs.h. */
10486 int __cdecl mainCRTStartup(void) { return 0; }
10487 _ACEOF
10488 if ac_fn_c_try_link "$LINENO"; then :
10489 ac_cv_crosscflags__Wnonnull=yes
10490 else
10491 ac_cv_crosscflags__Wnonnull=no
10493 rm -f core conftest.err conftest.$ac_objext \
10494 conftest$ac_exeext conftest.$ac_ext
10495 CFLAGS=$ac_wine_try_cflags_saved
10496 CC=$ac_wine_try_cflags_saved_cc
10497 ac_exeext=$ac_wine_try_cflags_saved_exeext
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
10500 $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
10501 if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
10502 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
10505 $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
10506 if ${ac_cv_crosscflags__mcx16+:} false; then :
10507 $as_echo_n "(cached) " >&6
10508 else
10509 ac_wine_try_cflags_saved=$CFLAGS
10510 ac_wine_try_cflags_saved_cc=$CC
10511 ac_wine_try_cflags_saved_exeext=$ac_exeext
10512 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
10513 CC="$CROSSCC"
10514 ac_exeext=".exe"
10515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10516 /* end confdefs.h. */
10517 int __cdecl mainCRTStartup(void) { return 0; }
10518 _ACEOF
10519 if ac_fn_c_try_link "$LINENO"; then :
10520 ac_cv_crosscflags__mcx16=yes
10521 else
10522 ac_cv_crosscflags__mcx16=no
10524 rm -f core conftest.err conftest.$ac_objext \
10525 conftest$ac_exeext conftest.$ac_ext
10526 CFLAGS=$ac_wine_try_cflags_saved
10527 CC=$ac_wine_try_cflags_saved_cc
10528 ac_exeext=$ac_wine_try_cflags_saved_exeext
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
10531 $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
10532 if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
10533 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
10534 fi ;;
10535 aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10536 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10537 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10538 $as_echo_n "(cached) " >&6
10539 else
10540 ac_wine_try_cflags_saved=$CFLAGS
10541 ac_wine_try_cflags_saved_cc=$CC
10542 ac_wine_try_cflags_saved_exeext=$ac_exeext
10543 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
10544 CC="$CROSSCC"
10545 ac_exeext=".exe"
10546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10548 int __cdecl mainCRTStartup(void) { return 0; }
10549 _ACEOF
10550 if ac_fn_c_try_link "$LINENO"; then :
10551 ac_cv_crosscflags__Wno_format=yes
10552 else
10553 ac_cv_crosscflags__Wno_format=no
10555 rm -f core conftest.err conftest.$ac_objext \
10556 conftest$ac_exeext conftest.$ac_ext
10557 CFLAGS=$ac_wine_try_cflags_saved
10558 CC=$ac_wine_try_cflags_saved_cc
10559 ac_exeext=$ac_wine_try_cflags_saved_exeext
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10562 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10563 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10564 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10565 fi ;;
10566 esac
10569 if test -z "$CROSSDEBUG"
10570 then
10571 for ac_flag in $CROSSCFLAGS; do
10572 case $ac_flag in
10573 -gdwarf*) CROSSDEBUG=dwarf ;;
10574 -gcodeview) CROSSDEBUG=pdb ;;
10575 -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
10576 esac
10577 done
10579 case $CROSSDEBUG in
10580 *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10581 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10582 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10583 $as_echo_n "(cached) " >&6
10584 else
10585 ac_wine_try_cflags_saved=$CFLAGS
10586 ac_wine_try_cflags_saved_cc=$CC
10587 ac_wine_try_cflags_saved_exeext=$ac_exeext
10588 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
10589 CC="$CROSSCC"
10590 ac_exeext=".exe"
10591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10592 /* end confdefs.h. */
10593 int __cdecl mainCRTStartup(void) { return 0; }
10594 _ACEOF
10595 if ac_fn_c_try_link "$LINENO"; then :
10596 ac_cv_crosscflags__gdwarf_2=yes
10597 else
10598 ac_cv_crosscflags__gdwarf_2=no
10600 rm -f core conftest.err conftest.$ac_objext \
10601 conftest$ac_exeext conftest.$ac_ext
10602 CFLAGS=$ac_wine_try_cflags_saved
10603 CC=$ac_wine_try_cflags_saved_cc
10604 ac_exeext=$ac_wine_try_cflags_saved_exeext
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10607 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10608 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10609 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10612 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10613 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10614 $as_echo_n "(cached) " >&6
10615 else
10616 ac_wine_try_cflags_saved=$CFLAGS
10617 ac_wine_try_cflags_saved_cc=$CC
10618 ac_wine_try_cflags_saved_exeext=$ac_exeext
10619 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
10620 CC="$CROSSCC"
10621 ac_exeext=".exe"
10622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10623 /* end confdefs.h. */
10624 int __cdecl mainCRTStartup(void) { return 0; }
10625 _ACEOF
10626 if ac_fn_c_try_link "$LINENO"; then :
10627 ac_cv_crosscflags__gstrict_dwarf=yes
10628 else
10629 ac_cv_crosscflags__gstrict_dwarf=no
10631 rm -f core conftest.err conftest.$ac_objext \
10632 conftest$ac_exeext conftest.$ac_ext
10633 CFLAGS=$ac_wine_try_cflags_saved
10634 CC=$ac_wine_try_cflags_saved_cc
10635 ac_exeext=$ac_wine_try_cflags_saved_exeext
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10638 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10639 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10640 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10641 fi ;;
10642 pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
10643 $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
10644 if ${ac_cv_crosscflags__gcodeview+:} false; then :
10645 $as_echo_n "(cached) " >&6
10646 else
10647 ac_wine_try_cflags_saved=$CFLAGS
10648 ac_wine_try_cflags_saved_cc=$CC
10649 ac_wine_try_cflags_saved_exeext=$ac_exeext
10650 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
10651 CC="$CROSSCC"
10652 ac_exeext=".exe"
10653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10654 /* end confdefs.h. */
10655 int __cdecl mainCRTStartup(void) { return 0; }
10656 _ACEOF
10657 if ac_fn_c_try_link "$LINENO"; then :
10658 ac_cv_crosscflags__gcodeview=yes
10659 else
10660 ac_cv_crosscflags__gcodeview=no
10662 rm -f core conftest.err conftest.$ac_objext \
10663 conftest$ac_exeext conftest.$ac_ext
10664 CFLAGS=$ac_wine_try_cflags_saved
10665 CC=$ac_wine_try_cflags_saved_cc
10666 ac_exeext=$ac_wine_try_cflags_saved_exeext
10668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
10669 $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
10670 if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
10671 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
10672 fi ;;
10673 esac
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
10676 $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
10677 if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
10678 $as_echo_n "(cached) " >&6
10679 else
10680 ac_wine_try_cflags_saved=$CFLAGS
10681 ac_wine_try_cflags_saved_cc=$CC
10682 ac_wine_try_cflags_saved_exeext=$ac_exeext
10683 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
10684 CC="$CROSSCC"
10685 ac_exeext=".exe"
10686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10687 /* end confdefs.h. */
10688 int __cdecl mainCRTStartup(void) { return 0; }
10689 _ACEOF
10690 if ac_fn_c_try_link "$LINENO"; then :
10691 ac_cv_crosscflags__fexcess_precision_standard=yes
10692 else
10693 ac_cv_crosscflags__fexcess_precision_standard=no
10695 rm -f core conftest.err conftest.$ac_objext \
10696 conftest$ac_exeext conftest.$ac_ext
10697 CFLAGS=$ac_wine_try_cflags_saved
10698 CC=$ac_wine_try_cflags_saved_cc
10699 ac_exeext=$ac_wine_try_cflags_saved_exeext
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
10702 $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
10703 if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
10704 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
10708 if test "x$enable_werror" = "xyes"
10709 then
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10711 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10712 if ${ac_cv_crosscflags__Werror+:} false; then :
10713 $as_echo_n "(cached) " >&6
10714 else
10715 ac_wine_try_cflags_saved=$CFLAGS
10716 ac_wine_try_cflags_saved_cc=$CC
10717 ac_wine_try_cflags_saved_exeext=$ac_exeext
10718 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
10719 CC="$CROSSCC"
10720 ac_exeext=".exe"
10721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10723 int __cdecl mainCRTStartup(void) { return 0; }
10724 _ACEOF
10725 if ac_fn_c_try_link "$LINENO"; then :
10726 ac_cv_crosscflags__Werror=yes
10727 else
10728 ac_cv_crosscflags__Werror=no
10730 rm -f core conftest.err conftest.$ac_objext \
10731 conftest$ac_exeext conftest.$ac_ext
10732 CFLAGS=$ac_wine_try_cflags_saved
10733 CC=$ac_wine_try_cflags_saved_cc
10734 ac_exeext=$ac_wine_try_cflags_saved_exeext
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10737 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10738 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10739 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10742 if test "x$enable_build_id" = "xyes"
10743 then
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
10745 $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
10746 if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
10747 $as_echo_n "(cached) " >&6
10748 else
10749 ac_wine_try_cflags_saved=$CFLAGS
10750 ac_wine_try_cflags_saved_cc=$CC
10751 ac_wine_try_cflags_saved_exeext=$ac_exeext
10752 CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
10753 CC="$CROSSCC"
10754 ac_exeext=".exe"
10755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10756 /* end confdefs.h. */
10757 int __cdecl mainCRTStartup(void) { return 0; }
10758 _ACEOF
10759 if ac_fn_c_try_link "$LINENO"; then :
10760 ac_cv_crosscflags__Wl___build_id=yes
10761 else
10762 ac_cv_crosscflags__Wl___build_id=no
10764 rm -f core conftest.err conftest.$ac_objext \
10765 conftest$ac_exeext conftest.$ac_ext
10766 CFLAGS=$ac_wine_try_cflags_saved
10767 CC=$ac_wine_try_cflags_saved_cc
10768 ac_exeext=$ac_wine_try_cflags_saved_exeext
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
10771 $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
10772 if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
10773 CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
10774 CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
10778 CFLAGS=$saved_CFLAGS
10779 CC="$ac_save_CC"
10782 if test "x$CROSSTARGET" = "x"; then :
10783 case "x$with_mingw" in
10784 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10785 xno) ;;
10786 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10787 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10788 esac
10793 if test "$ac_cv_header_pthread_h" = "yes"
10794 then
10795 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10796 if test "x$ac_cv_func_pthread_create" = xyes; then :
10798 else
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10800 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10801 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10802 $as_echo_n "(cached) " >&6
10803 else
10804 ac_check_lib_save_LIBS=$LIBS
10805 LIBS="-lpthread $LIBS"
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10809 /* Override any GCC internal prototype to avoid an error.
10810 Use char because int might match the return type of a GCC
10811 builtin and then its argument prototype would still apply. */
10812 #ifdef __cplusplus
10813 extern "C"
10814 #endif
10815 char pthread_create ();
10817 main ()
10819 return pthread_create ();
10821 return 0;
10823 _ACEOF
10824 if ac_fn_c_try_link "$LINENO"; then :
10825 ac_cv_lib_pthread_pthread_create=yes
10826 else
10827 ac_cv_lib_pthread_pthread_create=no
10829 rm -f core conftest.err conftest.$ac_objext \
10830 conftest$ac_exeext conftest.$ac_ext
10831 LIBS=$ac_check_lib_save_LIBS
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10834 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10835 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10836 PTHREAD_LIBS="-lpthread"
10843 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10844 case "x$with_pthread" in
10845 xno) ;;
10846 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10847 Wine cannot support threads without libpthread.
10848 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10849 esac
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10855 $as_echo_n "checking for X... " >&6; }
10858 # Check whether --with-x was given.
10859 if test "${with_x+set}" = set; then :
10860 withval=$with_x;
10863 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10864 if test "x$with_x" = xno; then
10865 # The user explicitly disabled X.
10866 have_x=disabled
10867 else
10868 case $x_includes,$x_libraries in #(
10869 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10870 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10871 $as_echo_n "(cached) " >&6
10872 else
10873 # One or both of the vars are not set, and there is no cached value.
10874 ac_x_includes=no ac_x_libraries=no
10875 rm -f -r conftest.dir
10876 if mkdir conftest.dir; then
10877 cd conftest.dir
10878 cat >Imakefile <<'_ACEOF'
10879 incroot:
10880 @echo incroot='${INCROOT}'
10881 usrlibdir:
10882 @echo usrlibdir='${USRLIBDIR}'
10883 libdir:
10884 @echo libdir='${LIBDIR}'
10885 _ACEOF
10886 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10887 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10888 for ac_var in incroot usrlibdir libdir; do
10889 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10890 done
10891 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10892 for ac_extension in a so sl dylib la dll; do
10893 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10894 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10895 ac_im_usrlibdir=$ac_im_libdir; break
10897 done
10898 # Screen out bogus values from the imake configuration. They are
10899 # bogus both because they are the default anyway, and because
10900 # using them would break gcc on systems where it needs fixed includes.
10901 case $ac_im_incroot in
10902 /usr/include) ac_x_includes= ;;
10903 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10904 esac
10905 case $ac_im_usrlibdir in
10906 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10907 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10908 esac
10910 cd ..
10911 rm -f -r conftest.dir
10914 # Standard set of common directories for X headers.
10915 # Check X11 before X11Rn because it is often a symlink to the current release.
10916 ac_x_header_dirs='
10917 /usr/X11/include
10918 /usr/X11R7/include
10919 /usr/X11R6/include
10920 /usr/X11R5/include
10921 /usr/X11R4/include
10923 /usr/include/X11
10924 /usr/include/X11R7
10925 /usr/include/X11R6
10926 /usr/include/X11R5
10927 /usr/include/X11R4
10929 /usr/local/X11/include
10930 /usr/local/X11R7/include
10931 /usr/local/X11R6/include
10932 /usr/local/X11R5/include
10933 /usr/local/X11R4/include
10935 /usr/local/include/X11
10936 /usr/local/include/X11R7
10937 /usr/local/include/X11R6
10938 /usr/local/include/X11R5
10939 /usr/local/include/X11R4
10941 /usr/X386/include
10942 /usr/x386/include
10943 /usr/XFree86/include/X11
10945 /usr/include
10946 /usr/local/include
10947 /usr/unsupported/include
10948 /usr/athena/include
10949 /usr/local/x11r5/include
10950 /usr/lpp/Xamples/include
10952 /usr/openwin/include
10953 /usr/openwin/share/include'
10955 if test "$ac_x_includes" = no; then
10956 # Guess where to find include files, by looking for Xlib.h.
10957 # First, try using that file with no special directory specified.
10958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10959 /* end confdefs.h. */
10960 #include <X11/Xlib.h>
10961 _ACEOF
10962 if ac_fn_c_try_cpp "$LINENO"; then :
10963 # We can compile using X headers with no special include directory.
10964 ac_x_includes=
10965 else
10966 for ac_dir in $ac_x_header_dirs; do
10967 if test -r "$ac_dir/X11/Xlib.h"; then
10968 ac_x_includes=$ac_dir
10969 break
10971 done
10973 rm -f conftest.err conftest.i conftest.$ac_ext
10974 fi # $ac_x_includes = no
10976 if test "$ac_x_libraries" = no; then
10977 # Check for the libraries.
10978 # See if we find them without any special options.
10979 # Don't add to $LIBS permanently.
10980 ac_save_LIBS=$LIBS
10981 LIBS="-lX11 $LIBS"
10982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10984 #include <X11/Xlib.h>
10986 main ()
10988 XrmInitialize ()
10990 return 0;
10992 _ACEOF
10993 if ac_fn_c_try_link "$LINENO"; then :
10994 LIBS=$ac_save_LIBS
10995 # We can link X programs with no special library path.
10996 ac_x_libraries=
10997 else
10998 LIBS=$ac_save_LIBS
10999 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11001 # Don't even attempt the hair of trying to link an X program!
11002 for ac_extension in a so sl dylib la dll; do
11003 if test -r "$ac_dir/libX11.$ac_extension"; then
11004 ac_x_libraries=$ac_dir
11005 break 2
11007 done
11008 done
11010 rm -f core conftest.err conftest.$ac_objext \
11011 conftest$ac_exeext conftest.$ac_ext
11012 fi # $ac_x_libraries = no
11014 case $ac_x_includes,$ac_x_libraries in #(
11015 no,* | *,no | *\'*)
11016 # Didn't find X, or a directory has "'" in its name.
11017 ac_cv_have_x="have_x=no";; #(
11019 # Record where we found X for the cache.
11020 ac_cv_have_x="have_x=yes\
11021 ac_x_includes='$ac_x_includes'\
11022 ac_x_libraries='$ac_x_libraries'"
11023 esac
11025 ;; #(
11026 *) have_x=yes;;
11027 esac
11028 eval "$ac_cv_have_x"
11029 fi # $with_x != no
11031 if test "$have_x" != yes; then
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11033 $as_echo "$have_x" >&6; }
11034 no_x=yes
11035 else
11036 # If each of the values was on the command line, it overrides each guess.
11037 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11038 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11039 # Update the cache value to reflect the command line values.
11040 ac_cv_have_x="have_x=yes\
11041 ac_x_includes='$x_includes'\
11042 ac_x_libraries='$x_libraries'"
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11044 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11047 if test "$no_x" = yes; then
11048 # Not all programs may use this symbol, but it does not hurt to define it.
11050 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
11052 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
11053 else
11054 if test -n "$x_includes"; then
11055 X_CFLAGS="$X_CFLAGS -I$x_includes"
11058 # It would also be nice to do this for all -L options, not just this one.
11059 if test -n "$x_libraries"; then
11060 X_LIBS="$X_LIBS -L$x_libraries"
11061 # For Solaris; some versions of Sun CC require a space after -R and
11062 # others require no space. Words are not sufficient . . . .
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
11064 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
11065 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
11066 ac_xsave_c_werror_flag=$ac_c_werror_flag
11067 ac_c_werror_flag=yes
11068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11072 main ()
11076 return 0;
11078 _ACEOF
11079 if ac_fn_c_try_link "$LINENO"; then :
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11081 $as_echo "no" >&6; }
11082 X_LIBS="$X_LIBS -R$x_libraries"
11083 else
11084 LIBS="$ac_xsave_LIBS -R $x_libraries"
11085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h. */
11089 main ()
11093 return 0;
11095 _ACEOF
11096 if ac_fn_c_try_link "$LINENO"; then :
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11098 $as_echo "yes" >&6; }
11099 X_LIBS="$X_LIBS -R $x_libraries"
11100 else
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
11102 $as_echo "neither works" >&6; }
11104 rm -f core conftest.err conftest.$ac_objext \
11105 conftest$ac_exeext conftest.$ac_ext
11107 rm -f core conftest.err conftest.$ac_objext \
11108 conftest$ac_exeext conftest.$ac_ext
11109 ac_c_werror_flag=$ac_xsave_c_werror_flag
11110 LIBS=$ac_xsave_LIBS
11113 # Check for system-dependent libraries X programs must link with.
11114 # Do this before checking for the system-independent R6 libraries
11115 # (-lICE), since we may need -lsocket or whatever for X linking.
11117 if test "$ISC" = yes; then
11118 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
11119 else
11120 # Martyn Johnson says this is needed for Ultrix, if the X
11121 # libraries were built with DECnet support. And Karl Berry says
11122 # the Alpha needs dnet_stub (dnet does not exist).
11123 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
11124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11127 /* Override any GCC internal prototype to avoid an error.
11128 Use char because int might match the return type of a GCC
11129 builtin and then its argument prototype would still apply. */
11130 #ifdef __cplusplus
11131 extern "C"
11132 #endif
11133 char XOpenDisplay ();
11135 main ()
11137 return XOpenDisplay ();
11139 return 0;
11141 _ACEOF
11142 if ac_fn_c_try_link "$LINENO"; then :
11144 else
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
11146 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
11147 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
11148 $as_echo_n "(cached) " >&6
11149 else
11150 ac_check_lib_save_LIBS=$LIBS
11151 LIBS="-ldnet $LIBS"
11152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11153 /* end confdefs.h. */
11155 /* Override any GCC internal prototype to avoid an error.
11156 Use char because int might match the return type of a GCC
11157 builtin and then its argument prototype would still apply. */
11158 #ifdef __cplusplus
11159 extern "C"
11160 #endif
11161 char dnet_ntoa ();
11163 main ()
11165 return dnet_ntoa ();
11167 return 0;
11169 _ACEOF
11170 if ac_fn_c_try_link "$LINENO"; then :
11171 ac_cv_lib_dnet_dnet_ntoa=yes
11172 else
11173 ac_cv_lib_dnet_dnet_ntoa=no
11175 rm -f core conftest.err conftest.$ac_objext \
11176 conftest$ac_exeext conftest.$ac_ext
11177 LIBS=$ac_check_lib_save_LIBS
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
11180 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
11181 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
11182 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
11185 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
11187 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
11188 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
11189 $as_echo_n "(cached) " >&6
11190 else
11191 ac_check_lib_save_LIBS=$LIBS
11192 LIBS="-ldnet_stub $LIBS"
11193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11194 /* end confdefs.h. */
11196 /* Override any GCC internal prototype to avoid an error.
11197 Use char because int might match the return type of a GCC
11198 builtin and then its argument prototype would still apply. */
11199 #ifdef __cplusplus
11200 extern "C"
11201 #endif
11202 char dnet_ntoa ();
11204 main ()
11206 return dnet_ntoa ();
11208 return 0;
11210 _ACEOF
11211 if ac_fn_c_try_link "$LINENO"; then :
11212 ac_cv_lib_dnet_stub_dnet_ntoa=yes
11213 else
11214 ac_cv_lib_dnet_stub_dnet_ntoa=no
11216 rm -f core conftest.err conftest.$ac_objext \
11217 conftest$ac_exeext conftest.$ac_ext
11218 LIBS=$ac_check_lib_save_LIBS
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
11221 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
11222 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
11223 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
11228 rm -f core conftest.err conftest.$ac_objext \
11229 conftest$ac_exeext conftest.$ac_ext
11230 LIBS="$ac_xsave_LIBS"
11232 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11233 # to get the SysV transport functions.
11234 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
11235 # needs -lnsl.
11236 # The nsl library prevents programs from opening the X display
11237 # on Irix 5.2, according to T.E. Dickey.
11238 # The functions gethostbyname, getservbyname, and inet_addr are
11239 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
11240 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11241 if test "x$ac_cv_func_gethostbyname" = xyes; then :
11245 if test $ac_cv_func_gethostbyname = no; then
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11247 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11248 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11249 $as_echo_n "(cached) " >&6
11250 else
11251 ac_check_lib_save_LIBS=$LIBS
11252 LIBS="-lnsl $LIBS"
11253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11254 /* end confdefs.h. */
11256 /* Override any GCC internal prototype to avoid an error.
11257 Use char because int might match the return type of a GCC
11258 builtin and then its argument prototype would still apply. */
11259 #ifdef __cplusplus
11260 extern "C"
11261 #endif
11262 char gethostbyname ();
11264 main ()
11266 return gethostbyname ();
11268 return 0;
11270 _ACEOF
11271 if ac_fn_c_try_link "$LINENO"; then :
11272 ac_cv_lib_nsl_gethostbyname=yes
11273 else
11274 ac_cv_lib_nsl_gethostbyname=no
11276 rm -f core conftest.err conftest.$ac_objext \
11277 conftest$ac_exeext conftest.$ac_ext
11278 LIBS=$ac_check_lib_save_LIBS
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11281 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11282 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11283 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11286 if test $ac_cv_lib_nsl_gethostbyname = no; then
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11288 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11289 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11290 $as_echo_n "(cached) " >&6
11291 else
11292 ac_check_lib_save_LIBS=$LIBS
11293 LIBS="-lbsd $LIBS"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char gethostbyname ();
11305 main ()
11307 return gethostbyname ();
11309 return 0;
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 ac_cv_lib_bsd_gethostbyname=yes
11314 else
11315 ac_cv_lib_bsd_gethostbyname=no
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11322 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11323 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11324 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11330 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11331 # socket/setsockopt and other routines are undefined under SCO ODT
11332 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11333 # on later versions), says Simon Leinen: it contains gethostby*
11334 # variants that don't use the name server (or something). -lsocket
11335 # must be given before -lnsl if both are needed. We assume that
11336 # if connect needs -lnsl, so does gethostbyname.
11337 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11338 if test "x$ac_cv_func_connect" = xyes; then :
11342 if test $ac_cv_func_connect = no; then
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11344 $as_echo_n "checking for connect in -lsocket... " >&6; }
11345 if ${ac_cv_lib_socket_connect+:} false; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351 /* end confdefs.h. */
11353 /* Override any GCC internal prototype to avoid an error.
11354 Use char because int might match the return type of a GCC
11355 builtin and then its argument prototype would still apply. */
11356 #ifdef __cplusplus
11357 extern "C"
11358 #endif
11359 char connect ();
11361 main ()
11363 return connect ();
11365 return 0;
11367 _ACEOF
11368 if ac_fn_c_try_link "$LINENO"; then :
11369 ac_cv_lib_socket_connect=yes
11370 else
11371 ac_cv_lib_socket_connect=no
11373 rm -f core conftest.err conftest.$ac_objext \
11374 conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_lib_save_LIBS
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11378 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11379 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11380 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11385 # Guillermo Gomez says -lposix is necessary on A/UX.
11386 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11387 if test "x$ac_cv_func_remove" = xyes; then :
11391 if test $ac_cv_func_remove = no; then
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11393 $as_echo_n "checking for remove in -lposix... " >&6; }
11394 if ${ac_cv_lib_posix_remove+:} false; then :
11395 $as_echo_n "(cached) " >&6
11396 else
11397 ac_check_lib_save_LIBS=$LIBS
11398 LIBS="-lposix $LIBS"
11399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11402 /* Override any GCC internal prototype to avoid an error.
11403 Use char because int might match the return type of a GCC
11404 builtin and then its argument prototype would still apply. */
11405 #ifdef __cplusplus
11406 extern "C"
11407 #endif
11408 char remove ();
11410 main ()
11412 return remove ();
11414 return 0;
11416 _ACEOF
11417 if ac_fn_c_try_link "$LINENO"; then :
11418 ac_cv_lib_posix_remove=yes
11419 else
11420 ac_cv_lib_posix_remove=no
11422 rm -f core conftest.err conftest.$ac_objext \
11423 conftest$ac_exeext conftest.$ac_ext
11424 LIBS=$ac_check_lib_save_LIBS
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11427 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11428 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11429 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11434 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11435 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11436 if test "x$ac_cv_func_shmat" = xyes; then :
11440 if test $ac_cv_func_shmat = no; then
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11442 $as_echo_n "checking for shmat in -lipc... " >&6; }
11443 if ${ac_cv_lib_ipc_shmat+:} false; then :
11444 $as_echo_n "(cached) " >&6
11445 else
11446 ac_check_lib_save_LIBS=$LIBS
11447 LIBS="-lipc $LIBS"
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11454 #ifdef __cplusplus
11455 extern "C"
11456 #endif
11457 char shmat ();
11459 main ()
11461 return shmat ();
11463 return 0;
11465 _ACEOF
11466 if ac_fn_c_try_link "$LINENO"; then :
11467 ac_cv_lib_ipc_shmat=yes
11468 else
11469 ac_cv_lib_ipc_shmat=no
11471 rm -f core conftest.err conftest.$ac_objext \
11472 conftest$ac_exeext conftest.$ac_ext
11473 LIBS=$ac_check_lib_save_LIBS
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11476 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11477 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11478 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11484 # Check for libraries that X11R6 Xt/Xaw programs need.
11485 ac_save_LDFLAGS=$LDFLAGS
11486 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11487 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11488 # check for ICE first), but we must link in the order -lSM -lICE or
11489 # we get undefined symbols. So assume we have SM if we have ICE.
11490 # These have to be linked with before -lX11, unlike the other
11491 # libraries we check for below, so use a different variable.
11492 # John Interrante, Karl Berry
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11494 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11495 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11496 $as_echo_n "(cached) " >&6
11497 else
11498 ac_check_lib_save_LIBS=$LIBS
11499 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11501 /* end confdefs.h. */
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11506 #ifdef __cplusplus
11507 extern "C"
11508 #endif
11509 char IceConnectionNumber ();
11511 main ()
11513 return IceConnectionNumber ();
11515 return 0;
11517 _ACEOF
11518 if ac_fn_c_try_link "$LINENO"; then :
11519 ac_cv_lib_ICE_IceConnectionNumber=yes
11520 else
11521 ac_cv_lib_ICE_IceConnectionNumber=no
11523 rm -f core conftest.err conftest.$ac_objext \
11524 conftest$ac_exeext conftest.$ac_ext
11525 LIBS=$ac_check_lib_save_LIBS
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11528 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11529 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11530 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11533 LDFLAGS=$ac_save_LDFLAGS
11538 if test "$have_x" = "yes"
11539 then
11540 ac_save_CPPFLAGS="$CPPFLAGS"
11541 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11544 $as_echo_n "checking for -lX11... " >&6; }
11545 if ${ac_cv_lib_soname_X11+:} false; then :
11546 $as_echo_n "(cached) " >&6
11547 else
11548 ac_check_soname_save_LIBS=$LIBS
11549 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11551 /* end confdefs.h. */
11553 /* Override any GCC internal prototype to avoid an error.
11554 Use char because int might match the return type of a GCC
11555 builtin and then its argument prototype would still apply. */
11556 #ifdef __cplusplus
11557 extern "C"
11558 #endif
11559 char XCreateWindow ();
11561 main ()
11563 return XCreateWindow ();
11565 return 0;
11567 _ACEOF
11568 if ac_fn_c_try_link "$LINENO"; then :
11569 case "$LIBEXT" in
11570 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11571 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'` ;;
11572 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11573 if ${ac_cv_lib_soname_X11:+false} :; then :
11574 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11575 fi ;;
11576 esac
11577 else
11578 ac_cv_lib_soname_X11=
11580 rm -f core conftest.err conftest.$ac_objext \
11581 conftest$ac_exeext conftest.$ac_ext
11582 LIBS=$ac_check_soname_save_LIBS
11584 if ${ac_cv_lib_soname_X11:+false} :; then :
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11586 $as_echo "not found" >&6; }
11588 else
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11590 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11592 cat >>confdefs.h <<_ACEOF
11593 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11594 _ACEOF
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11599 $as_echo_n "checking for -lXext... " >&6; }
11600 if ${ac_cv_lib_soname_Xext+:} false; then :
11601 $as_echo_n "(cached) " >&6
11602 else
11603 ac_check_soname_save_LIBS=$LIBS
11604 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11606 /* end confdefs.h. */
11608 /* Override any GCC internal prototype to avoid an error.
11609 Use char because int might match the return type of a GCC
11610 builtin and then its argument prototype would still apply. */
11611 #ifdef __cplusplus
11612 extern "C"
11613 #endif
11614 char XextCreateExtension ();
11616 main ()
11618 return XextCreateExtension ();
11620 return 0;
11622 _ACEOF
11623 if ac_fn_c_try_link "$LINENO"; then :
11624 case "$LIBEXT" in
11625 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11626 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'` ;;
11627 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11628 if ${ac_cv_lib_soname_Xext:+false} :; then :
11629 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11630 fi ;;
11631 esac
11632 else
11633 ac_cv_lib_soname_Xext=
11635 rm -f core conftest.err conftest.$ac_objext \
11636 conftest$ac_exeext conftest.$ac_ext
11637 LIBS=$ac_check_soname_save_LIBS
11639 if ${ac_cv_lib_soname_Xext:+false} :; then :
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11641 $as_echo "not found" >&6; }
11643 else
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11645 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11647 cat >>confdefs.h <<_ACEOF
11648 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11649 _ACEOF
11651 X_LIBS="$X_LIBS -lXext"
11653 X_LIBS="$X_LIBS -lX11"
11655 for ac_header in X11/Xlib.h \
11656 X11/XKBlib.h \
11657 X11/Xutil.h \
11658 X11/Xcursor/Xcursor.h \
11659 X11/extensions/shape.h \
11660 X11/extensions/XInput.h \
11661 X11/extensions/XInput2.h \
11662 X11/extensions/XShm.h \
11663 X11/extensions/Xcomposite.h \
11664 X11/extensions/Xfixes.h \
11665 X11/extensions/Xinerama.h \
11666 X11/extensions/Xrandr.h \
11667 X11/extensions/Xrender.h \
11668 X11/extensions/xf86vmode.h \
11669 X11/extensions/xf86vmproto.h
11670 do :
11671 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11672 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11673 # include <X11/Xlib.h>
11674 #endif
11675 #ifdef HAVE_X11_XUTIL_H
11676 # include <X11/Xutil.h>
11677 #endif
11679 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11680 cat >>confdefs.h <<_ACEOF
11681 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11682 _ACEOF
11686 done
11689 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11690 then
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11692 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11693 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11694 $as_echo_n "(cached) " >&6
11695 else
11696 ac_check_lib_save_LIBS=$LIBS
11697 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11699 /* end confdefs.h. */
11701 /* Override any GCC internal prototype to avoid an error.
11702 Use char because int might match the return type of a GCC
11703 builtin and then its argument prototype would still apply. */
11704 #ifdef __cplusplus
11705 extern "C"
11706 #endif
11707 char XkbQueryExtension ();
11709 main ()
11711 return XkbQueryExtension ();
11713 return 0;
11715 _ACEOF
11716 if ac_fn_c_try_link "$LINENO"; then :
11717 ac_cv_lib_X11_XkbQueryExtension=yes
11718 else
11719 ac_cv_lib_X11_XkbQueryExtension=no
11721 rm -f core conftest.err conftest.$ac_objext \
11722 conftest$ac_exeext conftest.$ac_ext
11723 LIBS=$ac_check_lib_save_LIBS
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11726 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11727 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11729 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11735 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11736 then
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11738 $as_echo_n "checking for -lXcursor... " >&6; }
11739 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11740 $as_echo_n "(cached) " >&6
11741 else
11742 ac_check_soname_save_LIBS=$LIBS
11743 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745 /* end confdefs.h. */
11747 /* Override any GCC internal prototype to avoid an error.
11748 Use char because int might match the return type of a GCC
11749 builtin and then its argument prototype would still apply. */
11750 #ifdef __cplusplus
11751 extern "C"
11752 #endif
11753 char XcursorImageLoadCursor ();
11755 main ()
11757 return XcursorImageLoadCursor ();
11759 return 0;
11761 _ACEOF
11762 if ac_fn_c_try_link "$LINENO"; then :
11763 case "$LIBEXT" in
11764 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11765 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'` ;;
11766 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11767 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11768 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11769 fi ;;
11770 esac
11771 else
11772 ac_cv_lib_soname_Xcursor=
11774 rm -f core conftest.err conftest.$ac_objext \
11775 conftest$ac_exeext conftest.$ac_ext
11776 LIBS=$ac_check_soname_save_LIBS
11778 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11780 $as_echo "not found" >&6; }
11782 else
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11784 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11786 cat >>confdefs.h <<_ACEOF
11787 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11788 _ACEOF
11793 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11794 case "x$with_xcursor" in
11795 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11796 xno) ;;
11797 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11798 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11799 esac
11803 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11804 then
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11806 $as_echo_n "checking for -lXi... " >&6; }
11807 if ${ac_cv_lib_soname_Xi+:} false; then :
11808 $as_echo_n "(cached) " >&6
11809 else
11810 ac_check_soname_save_LIBS=$LIBS
11811 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11815 /* Override any GCC internal prototype to avoid an error.
11816 Use char because int might match the return type of a GCC
11817 builtin and then its argument prototype would still apply. */
11818 #ifdef __cplusplus
11819 extern "C"
11820 #endif
11821 char XOpenDevice ();
11823 main ()
11825 return XOpenDevice ();
11827 return 0;
11829 _ACEOF
11830 if ac_fn_c_try_link "$LINENO"; then :
11831 case "$LIBEXT" in
11832 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11833 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'` ;;
11834 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11835 if ${ac_cv_lib_soname_Xi:+false} :; then :
11836 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11837 fi ;;
11838 esac
11839 else
11840 ac_cv_lib_soname_Xi=
11842 rm -f core conftest.err conftest.$ac_objext \
11843 conftest$ac_exeext conftest.$ac_ext
11844 LIBS=$ac_check_soname_save_LIBS
11846 if ${ac_cv_lib_soname_Xi:+false} :; then :
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11848 $as_echo "not found" >&6; }
11850 else
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11852 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11854 cat >>confdefs.h <<_ACEOF
11855 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11856 _ACEOF
11861 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11862 case "x$with_xinput" in
11863 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11864 xno) ;;
11865 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11866 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11867 esac
11871 if test "x$ac_cv_lib_soname_Xi" != x
11872 then
11873 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11874 case "x$with_xinput2" in
11875 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11876 xno) ;;
11877 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11878 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11879 esac
11884 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11885 then
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11887 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11888 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11889 $as_echo_n "(cached) " >&6
11890 else
11891 ac_check_lib_save_LIBS=$LIBS
11892 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11899 #ifdef __cplusplus
11900 extern "C"
11901 #endif
11902 char XShmQueryExtension ();
11904 main ()
11906 return XShmQueryExtension ();
11908 return 0;
11910 _ACEOF
11911 if ac_fn_c_try_link "$LINENO"; then :
11912 ac_cv_lib_Xext_XShmQueryExtension=yes
11913 else
11914 ac_cv_lib_Xext_XShmQueryExtension=no
11916 rm -f core conftest.err conftest.$ac_objext \
11917 conftest$ac_exeext conftest.$ac_ext
11918 LIBS=$ac_check_lib_save_LIBS
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11921 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11922 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11924 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11929 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11930 case "x$with_xshm" in
11931 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11932 xno) ;;
11933 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11934 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11935 esac
11939 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11940 then
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11942 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11943 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11944 $as_echo_n "(cached) " >&6
11945 else
11946 ac_check_lib_save_LIBS=$LIBS
11947 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11951 /* Override any GCC internal prototype to avoid an error.
11952 Use char because int might match the return type of a GCC
11953 builtin and then its argument prototype would still apply. */
11954 #ifdef __cplusplus
11955 extern "C"
11956 #endif
11957 char XShapeQueryExtension ();
11959 main ()
11961 return XShapeQueryExtension ();
11963 return 0;
11965 _ACEOF
11966 if ac_fn_c_try_link "$LINENO"; then :
11967 ac_cv_lib_Xext_XShapeQueryExtension=yes
11968 else
11969 ac_cv_lib_Xext_XShapeQueryExtension=no
11971 rm -f core conftest.err conftest.$ac_objext \
11972 conftest$ac_exeext conftest.$ac_ext
11973 LIBS=$ac_check_lib_save_LIBS
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11976 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11977 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11979 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11984 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11985 case "x$with_xshape" in
11986 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11987 xno) ;;
11988 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11989 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11990 esac
11994 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11995 then
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11997 $as_echo_n "checking for -lXxf86vm... " >&6; }
11998 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11999 $as_echo_n "(cached) " >&6
12000 else
12001 ac_check_soname_save_LIBS=$LIBS
12002 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
12003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12004 /* end confdefs.h. */
12006 /* Override any GCC internal prototype to avoid an error.
12007 Use char because int might match the return type of a GCC
12008 builtin and then its argument prototype would still apply. */
12009 #ifdef __cplusplus
12010 extern "C"
12011 #endif
12012 char XF86VidModeQueryExtension ();
12014 main ()
12016 return XF86VidModeQueryExtension ();
12018 return 0;
12020 _ACEOF
12021 if ac_fn_c_try_link "$LINENO"; then :
12022 case "$LIBEXT" in
12023 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12024 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'` ;;
12025 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12026 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12027 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12028 fi ;;
12029 esac
12030 else
12031 ac_cv_lib_soname_Xxf86vm=
12033 rm -f core conftest.err conftest.$ac_objext \
12034 conftest$ac_exeext conftest.$ac_ext
12035 LIBS=$ac_check_soname_save_LIBS
12037 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12039 $as_echo "not found" >&6; }
12041 else
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
12043 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
12045 cat >>confdefs.h <<_ACEOF
12046 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
12047 _ACEOF
12052 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
12053 case "x$with_xxf86vm" in
12054 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
12055 xno) ;;
12056 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
12057 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
12058 esac
12062 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
12063 then
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
12065 $as_echo_n "checking for -lXrender... " >&6; }
12066 if ${ac_cv_lib_soname_Xrender+:} false; then :
12067 $as_echo_n "(cached) " >&6
12068 else
12069 ac_check_soname_save_LIBS=$LIBS
12070 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12074 /* Override any GCC internal prototype to avoid an error.
12075 Use char because int might match the return type of a GCC
12076 builtin and then its argument prototype would still apply. */
12077 #ifdef __cplusplus
12078 extern "C"
12079 #endif
12080 char XRenderQueryExtension ();
12082 main ()
12084 return XRenderQueryExtension ();
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_link "$LINENO"; then :
12090 case "$LIBEXT" in
12091 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12092 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'` ;;
12093 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12094 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12095 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12096 fi ;;
12097 esac
12098 else
12099 ac_cv_lib_soname_Xrender=
12101 rm -f core conftest.err conftest.$ac_objext \
12102 conftest$ac_exeext conftest.$ac_ext
12103 LIBS=$ac_check_soname_save_LIBS
12105 if ${ac_cv_lib_soname_Xrender:+false} :; then :
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12107 $as_echo "not found" >&6; }
12109 else
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
12111 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
12113 cat >>confdefs.h <<_ACEOF
12114 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12115 _ACEOF
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
12118 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
12119 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
12120 $as_echo_n "(cached) " >&6
12121 else
12122 ac_check_lib_save_LIBS=$LIBS
12123 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12127 /* Override any GCC internal prototype to avoid an error.
12128 Use char because int might match the return type of a GCC
12129 builtin and then its argument prototype would still apply. */
12130 #ifdef __cplusplus
12131 extern "C"
12132 #endif
12133 char XRenderSetPictureTransform ();
12135 main ()
12137 return XRenderSetPictureTransform ();
12139 return 0;
12141 _ACEOF
12142 if ac_fn_c_try_link "$LINENO"; then :
12143 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
12144 else
12145 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
12147 rm -f core conftest.err conftest.$ac_objext \
12148 conftest$ac_exeext conftest.$ac_ext
12149 LIBS=$ac_check_lib_save_LIBS
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
12152 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
12153 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
12155 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
12160 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
12161 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
12162 $as_echo_n "(cached) " >&6
12163 else
12164 ac_check_lib_save_LIBS=$LIBS
12165 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12169 /* Override any GCC internal prototype to avoid an error.
12170 Use char because int might match the return type of a GCC
12171 builtin and then its argument prototype would still apply. */
12172 #ifdef __cplusplus
12173 extern "C"
12174 #endif
12175 char XRenderCreateLinearGradient ();
12177 main ()
12179 return XRenderCreateLinearGradient ();
12181 return 0;
12183 _ACEOF
12184 if ac_fn_c_try_link "$LINENO"; then :
12185 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
12186 else
12187 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
12189 rm -f core conftest.err conftest.$ac_objext \
12190 conftest$ac_exeext conftest.$ac_ext
12191 LIBS=$ac_check_lib_save_LIBS
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
12194 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
12195 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
12197 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
12204 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
12205 case "x$with_xrender" in
12206 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
12207 xno) ;;
12208 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
12209 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
12210 esac
12214 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
12215 then
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h. */
12218 #include <X11/Xlib.h>
12219 #include <X11/extensions/Xrandr.h>
12221 main ()
12223 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
12225 return 0;
12227 _ACEOF
12228 if ac_fn_c_try_compile "$LINENO"; then :
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
12230 $as_echo_n "checking for -lXrandr... " >&6; }
12231 if ${ac_cv_lib_soname_Xrandr+:} false; then :
12232 $as_echo_n "(cached) " >&6
12233 else
12234 ac_check_soname_save_LIBS=$LIBS
12235 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
12236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12237 /* end confdefs.h. */
12239 /* Override any GCC internal prototype to avoid an error.
12240 Use char because int might match the return type of a GCC
12241 builtin and then its argument prototype would still apply. */
12242 #ifdef __cplusplus
12243 extern "C"
12244 #endif
12245 char XRRQueryExtension ();
12247 main ()
12249 return XRRQueryExtension ();
12251 return 0;
12253 _ACEOF
12254 if ac_fn_c_try_link "$LINENO"; then :
12255 case "$LIBEXT" in
12256 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12257 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'` ;;
12258 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12259 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12260 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12261 fi ;;
12262 esac
12263 else
12264 ac_cv_lib_soname_Xrandr=
12266 rm -f core conftest.err conftest.$ac_objext \
12267 conftest$ac_exeext conftest.$ac_ext
12268 LIBS=$ac_check_soname_save_LIBS
12270 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12272 $as_echo "not found" >&6; }
12274 else
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12276 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12278 cat >>confdefs.h <<_ACEOF
12279 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12280 _ACEOF
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12284 #include <X11/Xlib.h>
12285 #include <X11/extensions/Xrandr.h>
12287 main ()
12289 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12291 return 0;
12293 _ACEOF
12294 if ac_fn_c_try_compile "$LINENO"; then :
12296 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12298 else
12299 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12306 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12307 case "x$with_xrandr" in
12308 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12309 xno) ;;
12310 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12311 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12312 esac
12316 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12317 then
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12320 #include <X11/Xlib.h>
12321 #include <X11/extensions/Xfixes.h>
12323 main ()
12325 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12327 return 0;
12329 _ACEOF
12330 if ac_fn_c_try_compile "$LINENO"; then :
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12332 $as_echo_n "checking for -lXfixes... " >&6; }
12333 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12334 $as_echo_n "(cached) " >&6
12335 else
12336 ac_check_soname_save_LIBS=$LIBS
12337 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12344 #ifdef __cplusplus
12345 extern "C"
12346 #endif
12347 char XFixesQueryVersion ();
12349 main ()
12351 return XFixesQueryVersion ();
12353 return 0;
12355 _ACEOF
12356 if ac_fn_c_try_link "$LINENO"; then :
12357 case "$LIBEXT" in
12358 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12359 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'` ;;
12360 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12361 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12362 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12363 fi ;;
12364 esac
12365 else
12366 ac_cv_lib_soname_Xfixes=
12368 rm -f core conftest.err conftest.$ac_objext \
12369 conftest$ac_exeext conftest.$ac_ext
12370 LIBS=$ac_check_soname_save_LIBS
12372 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12374 $as_echo "not found" >&6; }
12376 else
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12378 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12380 cat >>confdefs.h <<_ACEOF
12381 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12382 _ACEOF
12387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12389 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12390 case "x$with_xfixes" in
12391 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12392 xno) ;;
12393 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12394 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12395 esac
12399 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12400 then
12401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12402 /* end confdefs.h. */
12403 #include <X11/Xlib.h>
12404 #include <X11/extensions/Xinerama.h>
12406 main ()
12408 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12410 return 0;
12412 _ACEOF
12413 if ac_fn_c_try_compile "$LINENO"; then :
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12415 $as_echo_n "checking for -lXinerama... " >&6; }
12416 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12417 $as_echo_n "(cached) " >&6
12418 else
12419 ac_check_soname_save_LIBS=$LIBS
12420 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12422 /* end confdefs.h. */
12424 /* Override any GCC internal prototype to avoid an error.
12425 Use char because int might match the return type of a GCC
12426 builtin and then its argument prototype would still apply. */
12427 #ifdef __cplusplus
12428 extern "C"
12429 #endif
12430 char XineramaQueryScreens ();
12432 main ()
12434 return XineramaQueryScreens ();
12436 return 0;
12438 _ACEOF
12439 if ac_fn_c_try_link "$LINENO"; then :
12440 case "$LIBEXT" in
12441 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12442 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'` ;;
12443 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12444 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12445 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12446 fi ;;
12447 esac
12448 else
12449 ac_cv_lib_soname_Xinerama=
12451 rm -f core conftest.err conftest.$ac_objext \
12452 conftest$ac_exeext conftest.$ac_ext
12453 LIBS=$ac_check_soname_save_LIBS
12455 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12457 $as_echo "not found" >&6; }
12459 else
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12461 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12463 cat >>confdefs.h <<_ACEOF
12464 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12465 _ACEOF
12470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12472 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12473 case "x$with_xinerama" in
12474 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12475 xno) ;;
12476 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12477 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12478 esac
12482 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12483 then
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12485 $as_echo_n "checking for -lXcomposite... " >&6; }
12486 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12487 $as_echo_n "(cached) " >&6
12488 else
12489 ac_check_soname_save_LIBS=$LIBS
12490 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12494 /* Override any GCC internal prototype to avoid an error.
12495 Use char because int might match the return type of a GCC
12496 builtin and then its argument prototype would still apply. */
12497 #ifdef __cplusplus
12498 extern "C"
12499 #endif
12500 char XCompositeRedirectWindow ();
12502 main ()
12504 return XCompositeRedirectWindow ();
12506 return 0;
12508 _ACEOF
12509 if ac_fn_c_try_link "$LINENO"; then :
12510 case "$LIBEXT" in
12511 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12512 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'` ;;
12513 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12514 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12515 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12516 fi ;;
12517 esac
12518 else
12519 ac_cv_lib_soname_Xcomposite=
12521 rm -f core conftest.err conftest.$ac_objext \
12522 conftest$ac_exeext conftest.$ac_ext
12523 LIBS=$ac_check_soname_save_LIBS
12525 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12527 $as_echo "not found" >&6; }
12529 else
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12531 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12533 cat >>confdefs.h <<_ACEOF
12534 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12535 _ACEOF
12540 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12541 case "x$with_xcomposite" in
12542 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12543 xno) ;;
12544 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12545 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12546 esac
12550 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12551 #include <X11/Xlib.h>
12552 #endif
12554 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12556 cat >>confdefs.h <<_ACEOF
12557 #define HAVE_XICCALLBACK_CALLBACK 1
12558 _ACEOF
12562 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12563 #include <X11/Xlib.h>
12564 #endif
12566 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12568 cat >>confdefs.h <<_ACEOF
12569 #define HAVE_XEVENT_XCOOKIE 1
12570 _ACEOF
12577 opengl_msg=""
12578 if test "x$with_opengl" != "xno"
12579 then
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12581 $as_echo_n "checking for -lGL... " >&6; }
12582 if ${ac_cv_lib_soname_GL+:} false; then :
12583 $as_echo_n "(cached) " >&6
12584 else
12585 ac_check_soname_save_LIBS=$LIBS
12586 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12588 /* end confdefs.h. */
12590 /* Override any GCC internal prototype to avoid an error.
12591 Use char because int might match the return type of a GCC
12592 builtin and then its argument prototype would still apply. */
12593 #ifdef __cplusplus
12594 extern "C"
12595 #endif
12596 char glXCreateContext ();
12598 main ()
12600 return glXCreateContext ();
12602 return 0;
12604 _ACEOF
12605 if ac_fn_c_try_link "$LINENO"; then :
12606 case "$LIBEXT" in
12607 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12608 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'` ;;
12609 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12610 if ${ac_cv_lib_soname_GL:+false} :; then :
12611 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12612 fi ;;
12613 esac
12614 else
12615 ac_cv_lib_soname_GL=
12617 rm -f core conftest.err conftest.$ac_objext \
12618 conftest$ac_exeext conftest.$ac_ext
12619 LIBS=$ac_check_soname_save_LIBS
12621 if ${ac_cv_lib_soname_GL:+false} :; then :
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12623 $as_echo "not found" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12625 $as_echo_n "checking for -lGL... " >&6; }
12626 if ${ac_cv_lib_soname_GL+:} false; then :
12627 $as_echo_n "(cached) " >&6
12628 else
12629 ac_check_soname_save_LIBS=$LIBS
12630 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"
12631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12632 /* end confdefs.h. */
12634 /* Override any GCC internal prototype to avoid an error.
12635 Use char because int might match the return type of a GCC
12636 builtin and then its argument prototype would still apply. */
12637 #ifdef __cplusplus
12638 extern "C"
12639 #endif
12640 char glXCreateContext ();
12642 main ()
12644 return glXCreateContext ();
12646 return 0;
12648 _ACEOF
12649 if ac_fn_c_try_link "$LINENO"; then :
12650 case "$LIBEXT" in
12651 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12652 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'` ;;
12653 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12654 if ${ac_cv_lib_soname_GL:+false} :; then :
12655 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12656 fi ;;
12657 esac
12658 else
12659 ac_cv_lib_soname_GL=
12661 rm -f core conftest.err conftest.$ac_objext \
12662 conftest$ac_exeext conftest.$ac_ext
12663 LIBS=$ac_check_soname_save_LIBS
12665 if ${ac_cv_lib_soname_GL:+false} :; then :
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12667 $as_echo "not found" >&6; }
12668 if test -f /usr/X11R6/lib/libGL.a
12669 then
12670 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12671 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12672 else
12673 opengl_msg="No OpenGL library found on this system."
12675 else
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12677 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12679 cat >>confdefs.h <<_ACEOF
12680 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12681 _ACEOF
12683 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"
12685 else
12686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12687 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12689 cat >>confdefs.h <<_ACEOF
12690 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12691 _ACEOF
12693 OPENGL_LIBS="-lGL"
12695 if test "x$with_osmesa" != "xno"
12696 then
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12698 $as_echo_n "checking for -lOSMesa... " >&6; }
12699 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12700 $as_echo_n "(cached) " >&6
12701 else
12702 ac_check_soname_save_LIBS=$LIBS
12703 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12705 /* end confdefs.h. */
12707 /* Override any GCC internal prototype to avoid an error.
12708 Use char because int might match the return type of a GCC
12709 builtin and then its argument prototype would still apply. */
12710 #ifdef __cplusplus
12711 extern "C"
12712 #endif
12713 char OSMesaGetProcAddress ();
12715 main ()
12717 return OSMesaGetProcAddress ();
12719 return 0;
12721 _ACEOF
12722 if ac_fn_c_try_link "$LINENO"; then :
12723 case "$LIBEXT" in
12724 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12725 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'` ;;
12726 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12727 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12728 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12729 fi ;;
12730 esac
12731 else
12732 ac_cv_lib_soname_OSMesa=
12734 rm -f core conftest.err conftest.$ac_objext \
12735 conftest$ac_exeext conftest.$ac_ext
12736 LIBS=$ac_check_soname_save_LIBS
12738 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12740 $as_echo "not found" >&6; }
12742 else
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12744 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12746 cat >>confdefs.h <<_ACEOF
12747 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12748 _ACEOF
12752 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12753 case "x$with_osmesa" in
12754 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12755 xno) ;;
12756 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12757 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12758 esac
12763 if test -n "$opengl_msg"; then :
12764 case "x$with_opengl" in
12765 x) as_fn_append wine_warnings "|$opengl_msg
12766 OpenGL and Direct3D won't be supported." ;;
12767 xno) ;;
12768 *) as_fn_error $? "$opengl_msg
12769 OpenGL and Direct3D won't be supported.
12770 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12771 esac
12775 CPPFLAGS="$ac_save_CPPFLAGS"
12776 else
12777 X_CFLAGS=""
12778 X_LIBS=""
12781 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12782 then
12783 if test "x$X_LIBS" = "x"; then :
12784 case "x$with_x" in
12785 xno) ;;
12786 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12787 without X support, which probably isn't what you want. You will need
12788 to install ${notice_platform}development packages of Xlib at the very least.
12789 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12790 esac
12791 enable_winex11_drv=${enable_winex11_drv:-no}
12793 else
12794 if test "x$X_LIBS" = "x"; then :
12795 case "x$with_x" in
12796 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12797 xno) ;;
12798 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12799 This is an error since --with-x was requested." "$LINENO" 5 ;;
12800 esac
12801 enable_winex11_drv=${enable_winex11_drv:-no}
12805 if test "$ac_cv_header_CL_cl_h" = "yes"
12806 then
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12808 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12809 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12810 $as_echo_n "(cached) " >&6
12811 else
12812 ac_check_lib_save_LIBS=$LIBS
12813 LIBS="-lOpenCL $LIBS"
12814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12817 /* Override any GCC internal prototype to avoid an error.
12818 Use char because int might match the return type of a GCC
12819 builtin and then its argument prototype would still apply. */
12820 #ifdef __cplusplus
12821 extern "C"
12822 #endif
12823 char clGetPlatformInfo ();
12825 main ()
12827 return clGetPlatformInfo ();
12829 return 0;
12831 _ACEOF
12832 if ac_fn_c_try_link "$LINENO"; then :
12833 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12834 else
12835 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12837 rm -f core conftest.err conftest.$ac_objext \
12838 conftest$ac_exeext conftest.$ac_ext
12839 LIBS=$ac_check_lib_save_LIBS
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12842 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12843 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12844 OPENCL_LIBS="-lOpenCL"
12849 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12850 case "x$with_opencl" in
12851 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12852 xno) ;;
12853 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12854 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12855 esac
12856 enable_opencl=${enable_opencl:-no}
12859 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12860 then
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12862 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12863 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12864 $as_echo_n "(cached) " >&6
12865 else
12866 ac_check_lib_save_LIBS=$LIBS
12867 LIBS="-lpcap $LIBS"
12868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12869 /* end confdefs.h. */
12871 /* Override any GCC internal prototype to avoid an error.
12872 Use char because int might match the return type of a GCC
12873 builtin and then its argument prototype would still apply. */
12874 #ifdef __cplusplus
12875 extern "C"
12876 #endif
12877 char pcap_create ();
12879 main ()
12881 return pcap_create ();
12883 return 0;
12885 _ACEOF
12886 if ac_fn_c_try_link "$LINENO"; then :
12887 ac_cv_lib_pcap_pcap_create=yes
12888 else
12889 ac_cv_lib_pcap_pcap_create=no
12891 rm -f core conftest.err conftest.$ac_objext \
12892 conftest$ac_exeext conftest.$ac_ext
12893 LIBS=$ac_check_lib_save_LIBS
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12896 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12897 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12898 PCAP_LIBS="-lpcap"
12903 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12904 case "x$with_pcap" in
12905 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12906 xno) ;;
12907 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12908 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12909 esac
12910 enable_wpcap=${enable_wpcap:-no}
12914 if test "x$with_xml" != "xno"
12915 then
12916 if ${XML2_CFLAGS:+false} :; then :
12917 if ${PKG_CONFIG+:} false; then :
12918 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12921 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12922 if ${XML2_LIBS:+false} :; then :
12923 if ${PKG_CONFIG+:} false; then :
12924 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12927 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12928 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12929 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12930 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12931 ac_save_CPPFLAGS=$CPPFLAGS
12932 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12933 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12934 do :
12935 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12936 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12937 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12938 cat >>confdefs.h <<_ACEOF
12939 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12940 _ACEOF
12944 done
12946 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"
12947 then
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12949 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12950 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12951 $as_echo_n "(cached) " >&6
12952 else
12953 ac_check_lib_save_LIBS=$LIBS
12954 LIBS="-lxml2 $XML2_LIBS $LIBS"
12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12956 /* end confdefs.h. */
12958 /* Override any GCC internal prototype to avoid an error.
12959 Use char because int might match the return type of a GCC
12960 builtin and then its argument prototype would still apply. */
12961 #ifdef __cplusplus
12962 extern "C"
12963 #endif
12964 char xmlParseMemory ();
12966 main ()
12968 return xmlParseMemory ();
12970 return 0;
12972 _ACEOF
12973 if ac_fn_c_try_link "$LINENO"; then :
12974 ac_cv_lib_xml2_xmlParseMemory=yes
12975 else
12976 ac_cv_lib_xml2_xmlParseMemory=no
12978 rm -f core conftest.err conftest.$ac_objext \
12979 conftest$ac_exeext conftest.$ac_ext
12980 LIBS=$ac_check_lib_save_LIBS
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12983 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12984 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12986 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12988 else
12989 XML2_LIBS=""
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12993 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12994 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12995 $as_echo_n "(cached) " >&6
12996 else
12997 ac_check_lib_save_LIBS=$LIBS
12998 LIBS="-lxml2 $XML2_LIBS $LIBS"
12999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13000 /* end confdefs.h. */
13002 /* Override any GCC internal prototype to avoid an error.
13003 Use char because int might match the return type of a GCC
13004 builtin and then its argument prototype would still apply. */
13005 #ifdef __cplusplus
13006 extern "C"
13007 #endif
13008 char xmlReadMemory ();
13010 main ()
13012 return xmlReadMemory ();
13014 return 0;
13016 _ACEOF
13017 if ac_fn_c_try_link "$LINENO"; then :
13018 ac_cv_lib_xml2_xmlReadMemory=yes
13019 else
13020 ac_cv_lib_xml2_xmlReadMemory=no
13022 rm -f core conftest.err conftest.$ac_objext \
13023 conftest$ac_exeext conftest.$ac_ext
13024 LIBS=$ac_check_lib_save_LIBS
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
13027 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
13028 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
13030 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
13035 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
13036 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
13037 $as_echo_n "(cached) " >&6
13038 else
13039 ac_check_lib_save_LIBS=$LIBS
13040 LIBS="-lxml2 $XML2_LIBS $LIBS"
13041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13042 /* end confdefs.h. */
13044 /* Override any GCC internal prototype to avoid an error.
13045 Use char because int might match the return type of a GCC
13046 builtin and then its argument prototype would still apply. */
13047 #ifdef __cplusplus
13048 extern "C"
13049 #endif
13050 char xmlNewDocPI ();
13052 main ()
13054 return xmlNewDocPI ();
13056 return 0;
13058 _ACEOF
13059 if ac_fn_c_try_link "$LINENO"; then :
13060 ac_cv_lib_xml2_xmlNewDocPI=yes
13061 else
13062 ac_cv_lib_xml2_xmlNewDocPI=no
13064 rm -f core conftest.err conftest.$ac_objext \
13065 conftest$ac_exeext conftest.$ac_ext
13066 LIBS=$ac_check_lib_save_LIBS
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
13069 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
13070 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
13072 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
13077 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
13078 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
13079 $as_echo_n "(cached) " >&6
13080 else
13081 ac_check_lib_save_LIBS=$LIBS
13082 LIBS="-lxml2 $XML2_LIBS $LIBS"
13083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13084 /* end confdefs.h. */
13086 /* Override any GCC internal prototype to avoid an error.
13087 Use char because int might match the return type of a GCC
13088 builtin and then its argument prototype would still apply. */
13089 #ifdef __cplusplus
13090 extern "C"
13091 #endif
13092 char xmlSchemaSetParserStructuredErrors ();
13094 main ()
13096 return xmlSchemaSetParserStructuredErrors ();
13098 return 0;
13100 _ACEOF
13101 if ac_fn_c_try_link "$LINENO"; then :
13102 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
13103 else
13104 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
13106 rm -f core conftest.err conftest.$ac_objext \
13107 conftest$ac_exeext conftest.$ac_ext
13108 LIBS=$ac_check_lib_save_LIBS
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
13111 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
13112 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
13114 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
13119 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
13120 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
13121 $as_echo_n "(cached) " >&6
13122 else
13123 ac_check_lib_save_LIBS=$LIBS
13124 LIBS="-lxml2 $XML2_LIBS $LIBS"
13125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13126 /* end confdefs.h. */
13128 /* Override any GCC internal prototype to avoid an error.
13129 Use char because int might match the return type of a GCC
13130 builtin and then its argument prototype would still apply. */
13131 #ifdef __cplusplus
13132 extern "C"
13133 #endif
13134 char xmlSchemaSetValidStructuredErrors ();
13136 main ()
13138 return xmlSchemaSetValidStructuredErrors ();
13140 return 0;
13142 _ACEOF
13143 if ac_fn_c_try_link "$LINENO"; then :
13144 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
13145 else
13146 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
13148 rm -f core conftest.err conftest.$ac_objext \
13149 conftest$ac_exeext conftest.$ac_ext
13150 LIBS=$ac_check_lib_save_LIBS
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
13153 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
13154 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
13156 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
13161 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
13162 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
13163 $as_echo_n "(cached) " >&6
13164 else
13165 ac_check_lib_save_LIBS=$LIBS
13166 LIBS="-lxml2 $XML2_LIBS $LIBS"
13167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13168 /* end confdefs.h. */
13170 /* Override any GCC internal prototype to avoid an error.
13171 Use char because int might match the return type of a GCC
13172 builtin and then its argument prototype would still apply. */
13173 #ifdef __cplusplus
13174 extern "C"
13175 #endif
13176 char xmlFirstElementChild ();
13178 main ()
13180 return xmlFirstElementChild ();
13182 return 0;
13184 _ACEOF
13185 if ac_fn_c_try_link "$LINENO"; then :
13186 ac_cv_lib_xml2_xmlFirstElementChild=yes
13187 else
13188 ac_cv_lib_xml2_xmlFirstElementChild=no
13190 rm -f core conftest.err conftest.$ac_objext \
13191 conftest$ac_exeext conftest.$ac_ext
13192 LIBS=$ac_check_lib_save_LIBS
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13195 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13196 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13198 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13202 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13204 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13206 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13210 else
13211 XML2_CFLAGS=""
13212 XML2_LIBS=""
13214 CPPFLAGS=$ac_save_CPPFLAGS
13217 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13218 case "x$with_xml" in
13219 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13220 xno) ;;
13221 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13222 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13223 esac
13227 if test "x$with_xslt" != "xno"
13228 then
13229 if ${XSLT_CFLAGS:+false} :; then :
13230 if ${PKG_CONFIG+:} false; then :
13231 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13234 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13235 if ${XSLT_LIBS:+false} :; then :
13236 if ${PKG_CONFIG+:} false; then :
13237 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13240 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13241 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13242 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13243 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13244 ac_save_CPPFLAGS=$CPPFLAGS
13245 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13246 for ac_header in libxslt/pattern.h libxslt/transform.h
13247 do :
13248 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13249 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13250 # include <libxslt/pattern.h>
13251 #endif
13253 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13254 cat >>confdefs.h <<_ACEOF
13255 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13256 _ACEOF
13260 done
13262 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13263 then
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13265 $as_echo_n "checking for -lxslt... " >&6; }
13266 if ${ac_cv_lib_soname_xslt+:} false; then :
13267 $as_echo_n "(cached) " >&6
13268 else
13269 ac_check_soname_save_LIBS=$LIBS
13270 LIBS="-lxslt $XSLT_LIBS $LIBS"
13271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13272 /* end confdefs.h. */
13274 /* Override any GCC internal prototype to avoid an error.
13275 Use char because int might match the return type of a GCC
13276 builtin and then its argument prototype would still apply. */
13277 #ifdef __cplusplus
13278 extern "C"
13279 #endif
13280 char xsltCompilePattern ();
13282 main ()
13284 return xsltCompilePattern ();
13286 return 0;
13288 _ACEOF
13289 if ac_fn_c_try_link "$LINENO"; then :
13290 case "$LIBEXT" in
13291 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13292 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'` ;;
13293 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13294 if ${ac_cv_lib_soname_xslt:+false} :; then :
13295 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13296 fi ;;
13297 esac
13298 else
13299 ac_cv_lib_soname_xslt=
13301 rm -f core conftest.err conftest.$ac_objext \
13302 conftest$ac_exeext conftest.$ac_ext
13303 LIBS=$ac_check_soname_save_LIBS
13305 if ${ac_cv_lib_soname_xslt:+false} :; then :
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13307 $as_echo "not found" >&6; }
13309 else
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13311 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13313 cat >>confdefs.h <<_ACEOF
13314 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13315 _ACEOF
13319 else
13320 XSLT_CFLAGS=""
13322 CPPFLAGS=$ac_save_CPPFLAGS
13325 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13326 case "x$with_xslt" in
13327 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13328 xno) ;;
13329 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13330 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13331 esac
13335 if test "x$with_inotify" != "xno"
13336 then
13337 if ${INOTIFY_CFLAGS:+false} :; then :
13338 if ${PKG_CONFIG+:} false; then :
13339 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13343 if ${INOTIFY_LIBS:+false} :; then :
13344 if ${PKG_CONFIG+:} false; then :
13345 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13350 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13351 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13352 ac_save_CPPFLAGS=$CPPFLAGS
13353 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13354 for ac_header in sys/inotify.h
13355 do :
13356 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13357 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13358 cat >>confdefs.h <<_ACEOF
13359 #define HAVE_SYS_INOTIFY_H 1
13360 _ACEOF
13364 done
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13367 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13368 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13369 $as_echo_n "(cached) " >&6
13370 else
13371 ac_check_lib_save_LIBS=$LIBS
13372 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13374 /* end confdefs.h. */
13376 /* Override any GCC internal prototype to avoid an error.
13377 Use char because int might match the return type of a GCC
13378 builtin and then its argument prototype would still apply. */
13379 #ifdef __cplusplus
13380 extern "C"
13381 #endif
13382 char inotify_add_watch ();
13384 main ()
13386 return inotify_add_watch ();
13388 return 0;
13390 _ACEOF
13391 if ac_fn_c_try_link "$LINENO"; then :
13392 ac_cv_lib_inotify_inotify_add_watch=yes
13393 else
13394 ac_cv_lib_inotify_inotify_add_watch=no
13396 rm -f core conftest.err conftest.$ac_objext \
13397 conftest$ac_exeext conftest.$ac_ext
13398 LIBS=$ac_check_lib_save_LIBS
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13401 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13402 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13404 else
13405 INOTIFY_LIBS=""
13408 CPPFLAGS=$ac_save_CPPFLAGS
13411 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13412 case "x$with_inotify" in
13413 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13414 xno) ;;
13415 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13416 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13417 esac
13421 if test "x$with_dbus" != "xno"
13422 then
13423 if ${DBUS_CFLAGS:+false} :; then :
13424 if ${PKG_CONFIG+:} false; then :
13425 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13429 if ${DBUS_LIBS:+false} :; then :
13430 if ${PKG_CONFIG+:} false; then :
13431 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13436 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13437 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13438 ac_save_CPPFLAGS=$CPPFLAGS
13439 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13440 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13441 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13443 $as_echo_n "checking for -ldbus-1... " >&6; }
13444 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13445 $as_echo_n "(cached) " >&6
13446 else
13447 ac_check_soname_save_LIBS=$LIBS
13448 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13452 /* Override any GCC internal prototype to avoid an error.
13453 Use char because int might match the return type of a GCC
13454 builtin and then its argument prototype would still apply. */
13455 #ifdef __cplusplus
13456 extern "C"
13457 #endif
13458 char dbus_connection_close ();
13460 main ()
13462 return dbus_connection_close ();
13464 return 0;
13466 _ACEOF
13467 if ac_fn_c_try_link "$LINENO"; then :
13468 case "$LIBEXT" in
13469 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13470 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'` ;;
13471 *) 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'`
13472 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13473 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13474 fi ;;
13475 esac
13476 else
13477 ac_cv_lib_soname_dbus_1=
13479 rm -f core conftest.err conftest.$ac_objext \
13480 conftest$ac_exeext conftest.$ac_ext
13481 LIBS=$ac_check_soname_save_LIBS
13483 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13485 $as_echo "not found" >&6; }
13486 DBUS_CFLAGS=""
13487 else
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13489 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13491 cat >>confdefs.h <<_ACEOF
13492 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13493 _ACEOF
13497 else
13498 DBUS_CFLAGS=""
13502 CPPFLAGS=$ac_save_CPPFLAGS
13505 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13506 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13507 case "x$with_dbus" in
13508 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13509 xno) ;;
13510 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13511 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13512 esac
13516 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13517 then
13518 if ${HAL_CFLAGS:+false} :; then :
13519 if ${PKG_CONFIG+:} false; then :
13520 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13524 if ${HAL_LIBS:+false} :; then :
13525 if ${PKG_CONFIG+:} false; then :
13526 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13530 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13531 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13532 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13533 ac_save_CPPFLAGS=$CPPFLAGS
13534 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13535 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13536 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13538 $as_echo_n "checking for -lhal... " >&6; }
13539 if ${ac_cv_lib_soname_hal+:} false; then :
13540 $as_echo_n "(cached) " >&6
13541 else
13542 ac_check_soname_save_LIBS=$LIBS
13543 LIBS="-lhal $HAL_LIBS $LIBS"
13544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13547 /* Override any GCC internal prototype to avoid an error.
13548 Use char because int might match the return type of a GCC
13549 builtin and then its argument prototype would still apply. */
13550 #ifdef __cplusplus
13551 extern "C"
13552 #endif
13553 char libhal_ctx_new ();
13555 main ()
13557 return libhal_ctx_new ();
13559 return 0;
13561 _ACEOF
13562 if ac_fn_c_try_link "$LINENO"; then :
13563 case "$LIBEXT" in
13564 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13565 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'` ;;
13566 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13567 if ${ac_cv_lib_soname_hal:+false} :; then :
13568 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13569 fi ;;
13570 esac
13571 else
13572 ac_cv_lib_soname_hal=
13574 rm -f core conftest.err conftest.$ac_objext \
13575 conftest$ac_exeext conftest.$ac_ext
13576 LIBS=$ac_check_soname_save_LIBS
13578 if ${ac_cv_lib_soname_hal:+false} :; then :
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13580 $as_echo "not found" >&6; }
13581 HAL_CFLAGS=""
13582 else
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13584 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13586 cat >>confdefs.h <<_ACEOF
13587 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13588 _ACEOF
13592 else
13593 HAL_CFLAGS=""
13597 CPPFLAGS=$ac_save_CPPFLAGS
13599 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13600 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13601 case "x$with_hal" in
13602 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13603 xno) ;;
13604 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13605 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13606 esac
13611 if test "x$with_gnutls" != "xno"
13612 then
13613 if ${GNUTLS_CFLAGS:+false} :; then :
13614 if ${PKG_CONFIG+:} false; then :
13615 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13619 if ${GNUTLS_LIBS:+false} :; then :
13620 if ${PKG_CONFIG+:} false; then :
13621 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13625 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
13626 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13627 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13628 ac_save_CPPFLAGS=$CPPFLAGS
13629 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13630 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13631 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13634 #include <gnutls/gnutls.h>
13635 #include <gnutls/crypto.h>
13637 main ()
13639 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13641 return 0;
13643 _ACEOF
13644 if ac_fn_c_try_compile "$LINENO"; then :
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13646 $as_echo_n "checking for -lgnutls... " >&6; }
13647 if ${ac_cv_lib_soname_gnutls+:} false; then :
13648 $as_echo_n "(cached) " >&6
13649 else
13650 ac_check_soname_save_LIBS=$LIBS
13651 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13653 /* end confdefs.h. */
13655 /* Override any GCC internal prototype to avoid an error.
13656 Use char because int might match the return type of a GCC
13657 builtin and then its argument prototype would still apply. */
13658 #ifdef __cplusplus
13659 extern "C"
13660 #endif
13661 char gnutls_global_init ();
13663 main ()
13665 return gnutls_global_init ();
13667 return 0;
13669 _ACEOF
13670 if ac_fn_c_try_link "$LINENO"; then :
13671 case "$LIBEXT" in
13672 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13673 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'` ;;
13674 *) 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'`
13675 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13676 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'`
13677 fi ;;
13678 esac
13679 else
13680 ac_cv_lib_soname_gnutls=
13682 rm -f core conftest.err conftest.$ac_objext \
13683 conftest$ac_exeext conftest.$ac_ext
13684 LIBS=$ac_check_soname_save_LIBS
13686 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13688 $as_echo "not found" >&6; }
13689 GNUTLS_CFLAGS=""
13690 else
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13692 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13694 cat >>confdefs.h <<_ACEOF
13695 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13696 _ACEOF
13700 ac_wine_check_funcs_save_LIBS="$LIBS"
13701 LIBS="$LIBS $GNUTLS_LIBS"
13702 for ac_func in gnutls_cipher_init
13703 do :
13704 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13705 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13706 cat >>confdefs.h <<_ACEOF
13707 #define HAVE_GNUTLS_CIPHER_INIT 1
13708 _ACEOF
13710 else
13711 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13713 done
13715 LIBS="$ac_wine_check_funcs_save_LIBS"
13717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13718 else
13719 GNUTLS_CFLAGS=""
13723 CPPFLAGS=$ac_save_CPPFLAGS
13726 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13727 case "x$with_gnutls" in
13728 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13729 xno) ;;
13730 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13731 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13732 esac
13736 if test "x$with_sane" != "xno"
13737 then
13738 if ${SANE_CFLAGS:+false} :; then :
13739 if ${PKG_CONFIG+:} false; then :
13740 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
13743 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13744 if ${SANE_LIBS:+false} :; then :
13745 if ${PKG_CONFIG+:} false; then :
13746 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
13749 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13751 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
13752 $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
13753 ac_save_CPPFLAGS=$CPPFLAGS
13754 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13755 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13756 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13758 $as_echo_n "checking for -lsane... " >&6; }
13759 if ${ac_cv_lib_soname_sane+:} false; then :
13760 $as_echo_n "(cached) " >&6
13761 else
13762 ac_check_soname_save_LIBS=$LIBS
13763 LIBS="-lsane $SANE_LIBS $LIBS"
13764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13765 /* end confdefs.h. */
13767 /* Override any GCC internal prototype to avoid an error.
13768 Use char because int might match the return type of a GCC
13769 builtin and then its argument prototype would still apply. */
13770 #ifdef __cplusplus
13771 extern "C"
13772 #endif
13773 char sane_init ();
13775 main ()
13777 return sane_init ();
13779 return 0;
13781 _ACEOF
13782 if ac_fn_c_try_link "$LINENO"; then :
13783 case "$LIBEXT" in
13784 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13785 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'` ;;
13786 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13787 if ${ac_cv_lib_soname_sane:+false} :; then :
13788 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13789 fi ;;
13790 esac
13791 else
13792 ac_cv_lib_soname_sane=
13794 rm -f core conftest.err conftest.$ac_objext \
13795 conftest$ac_exeext conftest.$ac_ext
13796 LIBS=$ac_check_soname_save_LIBS
13798 if ${ac_cv_lib_soname_sane:+false} :; then :
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13800 $as_echo "not found" >&6; }
13801 SANE_CFLAGS=""
13802 else
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13804 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13806 cat >>confdefs.h <<_ACEOF
13807 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13808 _ACEOF
13812 else
13813 SANE_CFLAGS=""
13817 CPPFLAGS=$ac_save_CPPFLAGS
13820 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13821 case "x$with_sane" in
13822 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13823 xno) ;;
13824 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13825 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13826 esac
13830 if test "x$with_usb" != "xno"
13831 then
13832 if ${USB_CFLAGS:+false} :; then :
13833 if ${PKG_CONFIG+:} false; then :
13834 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
13838 if ${USB_LIBS:+false} :; then :
13839 if ${PKG_CONFIG+:} false; then :
13840 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
13844 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
13845 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
13846 $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
13847 ac_save_CPPFLAGS=$CPPFLAGS
13848 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
13849 ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
13850 if test "x$ac_cv_header_libusb_h" = xyes; then :
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
13852 $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
13853 if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
13854 $as_echo_n "(cached) " >&6
13855 else
13856 ac_check_lib_save_LIBS=$LIBS
13857 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
13858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13859 /* end confdefs.h. */
13861 /* Override any GCC internal prototype to avoid an error.
13862 Use char because int might match the return type of a GCC
13863 builtin and then its argument prototype would still apply. */
13864 #ifdef __cplusplus
13865 extern "C"
13866 #endif
13867 char libusb_interrupt_event_handler ();
13869 main ()
13871 return libusb_interrupt_event_handler ();
13873 return 0;
13875 _ACEOF
13876 if ac_fn_c_try_link "$LINENO"; then :
13877 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
13878 else
13879 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
13881 rm -f core conftest.err conftest.$ac_objext \
13882 conftest$ac_exeext conftest.$ac_ext
13883 LIBS=$ac_check_lib_save_LIBS
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
13886 $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
13887 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
13889 else
13890 USB_LIBS=""
13893 else
13894 USB_LIBS=""
13898 CPPFLAGS=$ac_save_CPPFLAGS
13901 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
13902 case "x$with_usb" in
13903 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
13904 xno) ;;
13905 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
13906 This is an error since --with-usb was requested." "$LINENO" 5 ;;
13907 esac
13908 enable_wineusb_sys=${enable_wineusb_sys:-no}
13911 if test "x$with_v4l2" != "xno"
13912 then
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13914 $as_echo_n "checking for -lv4l2... " >&6; }
13915 if ${ac_cv_lib_soname_v4l2+:} false; then :
13916 $as_echo_n "(cached) " >&6
13917 else
13918 ac_check_soname_save_LIBS=$LIBS
13919 LIBS="-lv4l2 $LIBS"
13920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13921 /* end confdefs.h. */
13923 /* Override any GCC internal prototype to avoid an error.
13924 Use char because int might match the return type of a GCC
13925 builtin and then its argument prototype would still apply. */
13926 #ifdef __cplusplus
13927 extern "C"
13928 #endif
13929 char v4l2_open ();
13931 main ()
13933 return v4l2_open ();
13935 return 0;
13937 _ACEOF
13938 if ac_fn_c_try_link "$LINENO"; then :
13939 case "$LIBEXT" in
13940 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13941 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'` ;;
13942 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13943 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13944 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13945 fi ;;
13946 esac
13947 else
13948 ac_cv_lib_soname_v4l2=
13950 rm -f core conftest.err conftest.$ac_objext \
13951 conftest$ac_exeext conftest.$ac_ext
13952 LIBS=$ac_check_soname_save_LIBS
13954 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13956 $as_echo "not found" >&6; }
13958 else
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13960 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13962 cat >>confdefs.h <<_ACEOF
13963 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13964 _ACEOF
13969 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13970 case "x$with_v4l2" in
13971 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13972 xno) ;;
13973 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13974 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13975 esac
13979 if test "x$with_gphoto" != "xno"
13980 then
13981 if ${GPHOTO2_CFLAGS:+false} :; then :
13982 if ${PKG_CONFIG+:} false; then :
13983 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13986 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13987 if ${GPHOTO2_LIBS:+false} :; then :
13988 if ${PKG_CONFIG+:} false; then :
13989 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13992 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13993 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13994 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13995 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13996 ac_save_CPPFLAGS=$CPPFLAGS
13997 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13998 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13999 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
14001 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
14002 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
14003 $as_echo_n "(cached) " >&6
14004 else
14005 ac_check_lib_save_LIBS=$LIBS
14006 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
14007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14008 /* end confdefs.h. */
14010 /* Override any GCC internal prototype to avoid an error.
14011 Use char because int might match the return type of a GCC
14012 builtin and then its argument prototype would still apply. */
14013 #ifdef __cplusplus
14014 extern "C"
14015 #endif
14016 char gp_camera_new ();
14018 main ()
14020 return gp_camera_new ();
14022 return 0;
14024 _ACEOF
14025 if ac_fn_c_try_link "$LINENO"; then :
14026 ac_cv_lib_gphoto2_gp_camera_new=yes
14027 else
14028 ac_cv_lib_gphoto2_gp_camera_new=no
14030 rm -f core conftest.err conftest.$ac_objext \
14031 conftest$ac_exeext conftest.$ac_ext
14032 LIBS=$ac_check_lib_save_LIBS
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
14035 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
14036 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
14038 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
14040 else
14041 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14044 else
14045 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
14049 CPPFLAGS=$ac_save_CPPFLAGS
14051 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
14052 if ${PKG_CONFIG+:} false; then :
14053 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
14056 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
14057 if ${GPHOTO2_PORT_LIBS:+false} :; then :
14058 if ${PKG_CONFIG+:} false; then :
14059 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
14062 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
14063 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
14064 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
14065 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
14066 ac_save_CPPFLAGS=$CPPFLAGS
14067 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
14068 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
14069 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
14071 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
14072 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
14073 $as_echo_n "(cached) " >&6
14074 else
14075 ac_check_lib_save_LIBS=$LIBS
14076 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
14077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14078 /* end confdefs.h. */
14080 /* Override any GCC internal prototype to avoid an error.
14081 Use char because int might match the return type of a GCC
14082 builtin and then its argument prototype would still apply. */
14083 #ifdef __cplusplus
14084 extern "C"
14085 #endif
14086 char gp_port_info_list_new ();
14088 main ()
14090 return gp_port_info_list_new ();
14092 return 0;
14094 _ACEOF
14095 if ac_fn_c_try_link "$LINENO"; then :
14096 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
14097 else
14098 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
14100 rm -f core conftest.err conftest.$ac_objext \
14101 conftest$ac_exeext conftest.$ac_ext
14102 LIBS=$ac_check_lib_save_LIBS
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
14105 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
14106 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
14108 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
14110 else
14111 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14114 else
14115 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14119 CPPFLAGS=$ac_save_CPPFLAGS
14122 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14123 case "x$with_gphoto" in
14124 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14125 xno) ;;
14126 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14127 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14128 esac
14131 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14132 case "x$with_gphoto" in
14133 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14134 xno) ;;
14135 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14136 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14137 esac
14142 if test "$ac_cv_header_resolv_h" = "yes"
14143 then
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14145 $as_echo_n "checking for resolver library... " >&6; }
14146 if ${ac_cv_have_resolv+:} false; then :
14147 $as_echo_n "(cached) " >&6
14148 else
14149 ac_save_LIBS="$LIBS"
14150 for lib in '' -lresolv
14152 LIBS="$lib $ac_save_LIBS"
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14155 #ifdef HAVE_NETINET_IN_H
14156 #include <netinet/in.h>
14157 #endif
14158 #include <resolv.h>
14160 main ()
14162 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14164 return 0;
14166 _ACEOF
14167 if ac_fn_c_try_link "$LINENO"; then :
14168 ac_cv_have_resolv=${lib:-"none required"}
14169 else
14170 ac_cv_have_resolv="not found"
14172 rm -f core conftest.err conftest.$ac_objext \
14173 conftest$ac_exeext conftest.$ac_ext
14174 test "x$ac_cv_have_resolv" = "xnot found" || break
14175 done
14176 LIBS="$ac_save_LIBS"
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14179 $as_echo "$ac_cv_have_resolv" >&6; }
14181 case "$ac_cv_have_resolv" in
14182 "not found") ;;
14183 "none required")
14185 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14188 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14190 RESOLV_LIBS=$ac_cv_have_resolv
14192 esac
14194 if test "x$ac_cv_have_resolv" != "xnot found"
14195 then
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
14197 $as_echo_n "checking for res_getservers... " >&6; }
14198 if ${ac_cv_have_res_getservers+:} false; then :
14199 $as_echo_n "(cached) " >&6
14200 else
14201 ac_save_LIBS="$LIBS"
14202 LIBS="$RESOLV_LIBS $LIBS"
14203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14205 #include <resolv.h>
14207 main ()
14209 res_getservers(NULL, NULL, 0);
14211 return 0;
14213 _ACEOF
14214 if ac_fn_c_try_link "$LINENO"; then :
14215 ac_cv_have_res_getservers=yes
14216 else
14217 ac_cv_have_res_getservers=no
14219 rm -f core conftest.err conftest.$ac_objext \
14220 conftest$ac_exeext conftest.$ac_ext
14221 LIBS="$ac_save_LIBS"
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
14224 $as_echo "$ac_cv_have_res_getservers" >&6; }
14225 if test "$ac_cv_have_res_getservers" = "yes"
14226 then
14228 $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
14234 if test "x$with_cms" != "xno"
14235 then
14236 if ${LCMS2_CFLAGS:+false} :; then :
14237 if ${PKG_CONFIG+:} false; then :
14238 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14242 if ${LCMS2_LIBS:+false} :; then :
14243 if ${PKG_CONFIG+:} false; then :
14244 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14248 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14249 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14250 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14251 ac_save_CPPFLAGS=$CPPFLAGS
14252 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14253 for ac_header in lcms2.h
14254 do :
14255 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14256 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14257 cat >>confdefs.h <<_ACEOF
14258 #define HAVE_LCMS2_H 1
14259 _ACEOF
14263 done
14265 if test "$ac_cv_header_lcms2_h" = "yes"
14266 then
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14268 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14269 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14270 $as_echo_n "(cached) " >&6
14271 else
14272 ac_check_lib_save_LIBS=$LIBS
14273 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14275 /* end confdefs.h. */
14277 /* Override any GCC internal prototype to avoid an error.
14278 Use char because int might match the return type of a GCC
14279 builtin and then its argument prototype would still apply. */
14280 #ifdef __cplusplus
14281 extern "C"
14282 #endif
14283 char cmsOpenProfileFromFile ();
14285 main ()
14287 return cmsOpenProfileFromFile ();
14289 return 0;
14291 _ACEOF
14292 if ac_fn_c_try_link "$LINENO"; then :
14293 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14294 else
14295 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14297 rm -f core conftest.err conftest.$ac_objext \
14298 conftest$ac_exeext conftest.$ac_ext
14299 LIBS=$ac_check_lib_save_LIBS
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14302 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14303 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14305 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14307 else
14308 LCMS2_LIBS=""
14311 else
14312 LCMS2_CFLAGS=""
14313 LCMS2_LIBS=""
14315 CPPFLAGS=$ac_save_CPPFLAGS
14318 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14319 case "x$with_cms" in
14320 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14321 xno) ;;
14322 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14323 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14324 esac
14328 if test "x$with_freetype" != "xno"
14329 then
14330 if ${FREETYPE_CFLAGS:+false} :; then :
14331 if ${PKG_CONFIG+:} false; then :
14332 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14335 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14336 if ${FREETYPE_LIBS:+false} :; then :
14337 if ${PKG_CONFIG+:} false; then :
14338 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14341 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14342 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14343 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14344 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14345 ac_save_CPPFLAGS=$CPPFLAGS
14346 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14347 for ac_header in ft2build.h
14348 do :
14349 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14350 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14351 cat >>confdefs.h <<_ACEOF
14352 #define HAVE_FT2BUILD_H 1
14353 _ACEOF
14357 done
14359 if test "$ac_cv_header_ft2build_h" = "yes"
14360 then
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14362 $as_echo_n "checking for -lfreetype... " >&6; }
14363 if ${ac_cv_lib_soname_freetype+:} false; then :
14364 $as_echo_n "(cached) " >&6
14365 else
14366 ac_check_soname_save_LIBS=$LIBS
14367 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14369 /* end confdefs.h. */
14371 /* Override any GCC internal prototype to avoid an error.
14372 Use char because int might match the return type of a GCC
14373 builtin and then its argument prototype would still apply. */
14374 #ifdef __cplusplus
14375 extern "C"
14376 #endif
14377 char FT_Init_FreeType ();
14379 main ()
14381 return FT_Init_FreeType ();
14383 return 0;
14385 _ACEOF
14386 if ac_fn_c_try_link "$LINENO"; then :
14387 case "$LIBEXT" in
14388 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14389 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'` ;;
14390 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14391 if ${ac_cv_lib_soname_freetype:+false} :; then :
14392 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14393 fi ;;
14394 esac
14395 else
14396 ac_cv_lib_soname_freetype=
14398 rm -f core conftest.err conftest.$ac_objext \
14399 conftest$ac_exeext conftest.$ac_ext
14400 LIBS=$ac_check_soname_save_LIBS
14402 if ${ac_cv_lib_soname_freetype:+false} :; then :
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14404 $as_echo "not found" >&6; }
14405 FREETYPE_LIBS=""
14406 else
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14408 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14410 cat >>confdefs.h <<_ACEOF
14411 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14412 _ACEOF
14415 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14417 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14418 #include FT_MODULE_H
14420 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14422 cat >>confdefs.h <<_ACEOF
14423 #define HAVE_FT_TRUETYPEENGINETYPE 1
14424 _ACEOF
14430 else
14431 FREETYPE_CFLAGS=""
14432 FREETYPE_LIBS=""
14434 CPPFLAGS=$ac_save_CPPFLAGS
14437 if test "x$ac_cv_lib_soname_freetype" = x; then :
14438 case "x$with_freetype" in
14439 xno) ;;
14440 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14441 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14442 esac
14443 enable_fonts=${enable_fonts:-no}
14446 ac_wine_check_funcs_save_LIBS="$LIBS"
14447 LIBS="$LIBS $PTHREAD_LIBS"
14448 for ac_func in \
14449 pthread_getthreadid_np
14450 do :
14451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14453 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14454 cat >>confdefs.h <<_ACEOF
14455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14456 _ACEOF
14459 done
14461 LIBS="$ac_wine_check_funcs_save_LIBS"
14463 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14464 then
14465 if test "$ac_cv_header_gettext_po_h" = "yes"
14466 then
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14468 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14469 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14470 $as_echo_n "(cached) " >&6
14471 else
14472 ac_check_lib_save_LIBS=$LIBS
14473 LIBS="-lgettextpo $LIBS"
14474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14475 /* end confdefs.h. */
14477 /* Override any GCC internal prototype to avoid an error.
14478 Use char because int might match the return type of a GCC
14479 builtin and then its argument prototype would still apply. */
14480 #ifdef __cplusplus
14481 extern "C"
14482 #endif
14483 char po_message_msgctxt ();
14485 main ()
14487 return po_message_msgctxt ();
14489 return 0;
14491 _ACEOF
14492 if ac_fn_c_try_link "$LINENO"; then :
14493 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14494 else
14495 ac_cv_lib_gettextpo_po_message_msgctxt=no
14497 rm -f core conftest.err conftest.$ac_objext \
14498 conftest$ac_exeext conftest.$ac_ext
14499 LIBS=$ac_check_lib_save_LIBS
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14502 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14503 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14505 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14507 GETTEXTPO_LIBS="-lgettextpo"
14512 if test "x$GETTEXTPO_LIBS" = "x"; then :
14513 case "x$with_gettextpo" in
14514 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14515 xno) ;;
14516 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14517 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14518 esac
14521 if test "$srcdir" != .; then :
14522 case "x$with_gettextpo" in
14523 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14524 xno) ;;
14525 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14526 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14527 esac
14532 if test "x$with_pulse" != "xno";
14533 then
14534 if ${PULSE_CFLAGS:+false} :; then :
14535 if ${PKG_CONFIG+:} false; then :
14536 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14540 if ${PULSE_LIBS:+false} :; then :
14541 if ${PKG_CONFIG+:} false; then :
14542 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14547 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14548 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14549 ac_save_CPPFLAGS=$CPPFLAGS
14550 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14551 for ac_header in pulse/pulseaudio.h
14552 do :
14553 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14554 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14555 cat >>confdefs.h <<_ACEOF
14556 #define HAVE_PULSE_PULSEAUDIO_H 1
14557 _ACEOF
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14559 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14560 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14561 $as_echo_n "(cached) " >&6
14562 else
14563 ac_check_lib_save_LIBS=$LIBS
14564 LIBS="-lpulse $PULSE_LIBS $LIBS"
14565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14566 /* end confdefs.h. */
14568 /* Override any GCC internal prototype to avoid an error.
14569 Use char because int might match the return type of a GCC
14570 builtin and then its argument prototype would still apply. */
14571 #ifdef __cplusplus
14572 extern "C"
14573 #endif
14574 char pa_stream_is_corked ();
14576 main ()
14578 return pa_stream_is_corked ();
14580 return 0;
14582 _ACEOF
14583 if ac_fn_c_try_link "$LINENO"; then :
14584 ac_cv_lib_pulse_pa_stream_is_corked=yes
14585 else
14586 ac_cv_lib_pulse_pa_stream_is_corked=no
14588 rm -f core conftest.err conftest.$ac_objext \
14589 conftest$ac_exeext conftest.$ac_ext
14590 LIBS=$ac_check_lib_save_LIBS
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14593 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14594 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14596 else
14597 PULSE_LIBS=""
14600 else
14601 PULSE_LIBS=""
14604 done
14606 CPPFLAGS=$ac_save_CPPFLAGS
14609 if test -z "$PULSE_LIBS"; then :
14610 case "x$with_pulse" in
14611 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14612 xno) ;;
14613 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14614 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14615 esac
14616 enable_winepulse_drv=${enable_winepulse_drv:-no}
14619 if test "x$with_gstreamer" != "xno"
14620 then
14621 if ${GSTREAMER_CFLAGS:+false} :; then :
14622 if ${PKG_CONFIG+:} false; then :
14623 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14627 if ${GSTREAMER_LIBS:+false} :; then :
14628 if ${PKG_CONFIG+:} false; then :
14629 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14634 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14635 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14636 ac_save_CPPFLAGS=$CPPFLAGS
14637 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14638 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14639 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14641 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14643 /* end confdefs.h. */
14644 #include <gst/gst.h>
14646 main ()
14648 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14650 return 0;
14652 _ACEOF
14653 if ac_fn_c_try_compile "$LINENO"; then :
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14655 $as_echo "yes" >&6; }
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14657 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14658 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14659 $as_echo_n "(cached) " >&6
14660 else
14661 ac_check_lib_save_LIBS=$LIBS
14662 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14664 /* end confdefs.h. */
14666 /* Override any GCC internal prototype to avoid an error.
14667 Use char because int might match the return type of a GCC
14668 builtin and then its argument prototype would still apply. */
14669 #ifdef __cplusplus
14670 extern "C"
14671 #endif
14672 char gst_pad_new ();
14674 main ()
14676 return gst_pad_new ();
14678 return 0;
14680 _ACEOF
14681 if ac_fn_c_try_link "$LINENO"; then :
14682 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14683 else
14684 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14686 rm -f core conftest.err conftest.$ac_objext \
14687 conftest$ac_exeext conftest.$ac_ext
14688 LIBS=$ac_check_lib_save_LIBS
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14691 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14692 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14696 else
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14698 $as_echo "no" >&6; }
14699 ac_glib2_broken=yes
14700 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14706 CPPFLAGS=$ac_save_CPPFLAGS
14709 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 :
14710 case "x$with_gstreamer" in
14711 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14712 xno) ;;
14713 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14714 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14715 esac
14718 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14720 ALSA_LIBS=""
14722 if test "x$with_alsa" != "xno"
14723 then
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14725 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14726 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14727 $as_echo_n "(cached) " >&6
14728 else
14729 ac_check_lib_save_LIBS=$LIBS
14730 LIBS="-lasound $LIBS"
14731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14732 /* end confdefs.h. */
14734 /* Override any GCC internal prototype to avoid an error.
14735 Use char because int might match the return type of a GCC
14736 builtin and then its argument prototype would still apply. */
14737 #ifdef __cplusplus
14738 extern "C"
14739 #endif
14740 char snd_pcm_hw_params_get_access_mask ();
14742 main ()
14744 return snd_pcm_hw_params_get_access_mask ();
14746 return 0;
14748 _ACEOF
14749 if ac_fn_c_try_link "$LINENO"; then :
14750 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14751 else
14752 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14754 rm -f core conftest.err conftest.$ac_objext \
14755 conftest$ac_exeext conftest.$ac_ext
14756 LIBS=$ac_check_lib_save_LIBS
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14759 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14760 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14763 #include <alsa/asoundlib.h>
14765 main ()
14767 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14769 return 0;
14771 _ACEOF
14772 if ac_fn_c_try_compile "$LINENO"; then :
14773 ALSA_LIBS="-lasound"
14775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14779 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14781 if test "x$with_oss" != xno
14782 then
14783 ac_save_CPPFLAGS="$CPPFLAGS"
14784 if test -f /etc/oss.conf
14785 then
14786 . /etc/oss.conf
14788 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14789 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14790 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14791 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14792 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14794 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14796 cat >>confdefs.h <<_ACEOF
14797 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14798 _ACEOF
14800 OSS4_CFLAGS="$ac_oss_incl"
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14803 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14804 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14805 $as_echo_n "(cached) " >&6
14806 else
14807 ac_check_lib_save_LIBS=$LIBS
14808 LIBS="-lossaudio $LIBS"
14809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14810 /* end confdefs.h. */
14812 /* Override any GCC internal prototype to avoid an error.
14813 Use char because int might match the return type of a GCC
14814 builtin and then its argument prototype would still apply. */
14815 #ifdef __cplusplus
14816 extern "C"
14817 #endif
14818 char _oss_ioctl ();
14820 main ()
14822 return _oss_ioctl ();
14824 return 0;
14826 _ACEOF
14827 if ac_fn_c_try_link "$LINENO"; then :
14828 ac_cv_lib_ossaudio__oss_ioctl=yes
14829 else
14830 ac_cv_lib_ossaudio__oss_ioctl=no
14832 rm -f core conftest.err conftest.$ac_objext \
14833 conftest$ac_exeext conftest.$ac_ext
14834 LIBS=$ac_check_lib_save_LIBS
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14837 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14838 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14839 OSS4_LIBS="-lossaudio"
14848 CPPFLAGS="$ac_save_CPPFLAGS"
14850 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14851 case "x$with_oss" in
14852 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14853 xno) ;;
14854 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14855 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14856 esac
14857 enable_wineoss_drv=${enable_wineoss_drv:-no}
14860 if test "x$with_udev" != "xno"
14861 then
14862 if ${UDEV_CFLAGS:+false} :; then :
14863 if ${PKG_CONFIG+:} false; then :
14864 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14868 if ${UDEV_LIBS:+false} :; then :
14869 if ${PKG_CONFIG+:} false; then :
14870 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14874 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14875 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14876 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14877 ac_save_CPPFLAGS=$CPPFLAGS
14878 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14879 for ac_header in libudev.h
14880 do :
14881 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14882 if test "x$ac_cv_header_libudev_h" = xyes; then :
14883 cat >>confdefs.h <<_ACEOF
14884 #define HAVE_LIBUDEV_H 1
14885 _ACEOF
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14887 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14888 if ${ac_cv_lib_udev_udev_new+:} false; then :
14889 $as_echo_n "(cached) " >&6
14890 else
14891 ac_check_lib_save_LIBS=$LIBS
14892 LIBS="-ludev $UDEV_LIBS $LIBS"
14893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14896 /* Override any GCC internal prototype to avoid an error.
14897 Use char because int might match the return type of a GCC
14898 builtin and then its argument prototype would still apply. */
14899 #ifdef __cplusplus
14900 extern "C"
14901 #endif
14902 char udev_new ();
14904 main ()
14906 return udev_new ();
14908 return 0;
14910 _ACEOF
14911 if ac_fn_c_try_link "$LINENO"; then :
14912 ac_cv_lib_udev_udev_new=yes
14913 else
14914 ac_cv_lib_udev_udev_new=no
14916 rm -f core conftest.err conftest.$ac_objext \
14917 conftest$ac_exeext conftest.$ac_ext
14918 LIBS=$ac_check_lib_save_LIBS
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14921 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14922 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14924 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14926 else
14927 UDEV_LIBS=""
14930 else
14931 UDEV_LIBS=""
14934 done
14936 CPPFLAGS=$ac_save_CPPFLAGS
14939 if test "x$UDEV_LIBS" = "x"; then :
14940 case "x$with_udev" in
14941 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14942 xno) ;;
14943 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14944 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14945 esac
14949 if test "x$with_unwind" != xno
14950 then
14951 if ${UNWIND_CFLAGS:+false} :; then :
14952 if ${PKG_CONFIG+:} false; then :
14953 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14957 if ${UNWIND_LIBS:+false} :; then :
14958 if ${PKG_CONFIG+:} false; then :
14959 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14963 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14964 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14965 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14966 ac_save_CPPFLAGS=$CPPFLAGS
14967 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14969 $as_echo_n "checking for unw_step... " >&6; }
14970 if ${wine_cv_have_unw_step+:} false; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14974 /* end confdefs.h. */
14975 #define UNW_LOCAL_ONLY
14976 #include <libunwind.h>
14978 main ()
14980 unw_cursor_t cursor; unw_step( &cursor );
14982 return 0;
14984 _ACEOF
14985 if ac_fn_c_try_link "$LINENO"; then :
14986 wine_cv_have_unw_step="yes"
14987 else
14988 wine_cv_have_unw_step="no"
14990 rm -f core conftest.err conftest.$ac_objext \
14991 conftest$ac_exeext conftest.$ac_ext
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14994 $as_echo "$wine_cv_have_unw_step" >&6; }
14995 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14996 then
14997 save_libs=$LIBS
14998 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
14999 LIBS="$UNWIND_LIBS $LIBS"
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
15001 $as_echo_n "checking for unw_step in libunwind... " >&6; }
15002 if ${wine_cv_have_libunwind_unw_step+:} false; then :
15003 $as_echo_n "(cached) " >&6
15004 else
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15007 #define UNW_LOCAL_ONLY
15008 #include <libunwind.h>
15010 main ()
15012 unw_cursor_t cursor; unw_step( &cursor );
15014 return 0;
15016 _ACEOF
15017 if ac_fn_c_try_link "$LINENO"; then :
15018 wine_cv_have_libunwind_unw_step="yes"
15019 else
15020 wine_cv_have_libunwind_unw_step="no"
15022 rm -f core conftest.err conftest.$ac_objext \
15023 conftest$ac_exeext conftest.$ac_ext
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15026 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15027 LIBS=$save_libs
15029 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15030 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15031 then
15033 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15036 CPPFLAGS=$ac_save_CPPFLAGS
15039 case $host in
15040 aarch64*|*-darwin*)
15041 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15042 case "x$with_unwind" in
15043 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15044 xno) ;;
15045 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15046 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15047 esac
15049 fi ;;
15050 esac
15052 if test "x$with_sdl" != "xno"
15053 then
15054 if ${SDL2_CFLAGS:+false} :; then :
15055 if ${PKG_CONFIG+:} false; then :
15056 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15060 if ${SDL2_LIBS:+false} :; then :
15061 if ${PKG_CONFIG+:} false; then :
15062 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15066 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15067 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15068 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15069 ac_save_CPPFLAGS=$CPPFLAGS
15070 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15071 for ac_header in SDL.h
15072 do :
15073 ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
15074 if test "x$ac_cv_header_SDL_h" = xyes; then :
15075 cat >>confdefs.h <<_ACEOF
15076 #define HAVE_SDL_H 1
15077 _ACEOF
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15079 $as_echo_n "checking for -lSDL2... " >&6; }
15080 if ${ac_cv_lib_soname_SDL2+:} false; then :
15081 $as_echo_n "(cached) " >&6
15082 else
15083 ac_check_soname_save_LIBS=$LIBS
15084 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15088 /* Override any GCC internal prototype to avoid an error.
15089 Use char because int might match the return type of a GCC
15090 builtin and then its argument prototype would still apply. */
15091 #ifdef __cplusplus
15092 extern "C"
15093 #endif
15094 char SDL_Init ();
15096 main ()
15098 return SDL_Init ();
15100 return 0;
15102 _ACEOF
15103 if ac_fn_c_try_link "$LINENO"; then :
15104 case "$LIBEXT" in
15105 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15106 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'` ;;
15107 *) 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'`
15108 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15109 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15110 fi ;;
15111 esac
15112 else
15113 ac_cv_lib_soname_SDL2=
15115 rm -f core conftest.err conftest.$ac_objext \
15116 conftest$ac_exeext conftest.$ac_ext
15117 LIBS=$ac_check_soname_save_LIBS
15119 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15121 $as_echo "not found" >&6; }
15123 else
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15125 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15127 cat >>confdefs.h <<_ACEOF
15128 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15129 _ACEOF
15135 done
15137 CPPFLAGS=$ac_save_CPPFLAGS
15140 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15141 case "x$with_sdl" in
15142 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15143 xno) ;;
15144 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15145 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15146 esac
15150 if test "x$with_faudio" != "xno"
15151 then
15152 if ${FAUDIO_CFLAGS:+false} :; then :
15153 if ${PKG_CONFIG+:} false; then :
15154 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
15158 if ${FAUDIO_LIBS:+false} :; then :
15159 if ${PKG_CONFIG+:} false; then :
15160 FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
15164 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15165 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
15166 $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
15167 ac_save_CPPFLAGS=$CPPFLAGS
15168 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15169 for ac_header in FAudio.h
15170 do :
15171 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15172 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15173 cat >>confdefs.h <<_ACEOF
15174 #define HAVE_FAUDIO_H 1
15175 _ACEOF
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15177 $as_echo_n "checking for -lFAudio... " >&6; }
15178 if ${ac_cv_lib_soname_FAudio+:} false; then :
15179 $as_echo_n "(cached) " >&6
15180 else
15181 ac_check_soname_save_LIBS=$LIBS
15182 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15186 /* Override any GCC internal prototype to avoid an error.
15187 Use char because int might match the return type of a GCC
15188 builtin and then its argument prototype would still apply. */
15189 #ifdef __cplusplus
15190 extern "C"
15191 #endif
15192 char FAudioCreate ();
15194 main ()
15196 return FAudioCreate ();
15198 return 0;
15200 _ACEOF
15201 if ac_fn_c_try_link "$LINENO"; then :
15202 case "$LIBEXT" in
15203 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15204 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'` ;;
15205 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15206 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15207 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15208 fi ;;
15209 esac
15210 else
15211 ac_cv_lib_soname_FAudio=
15213 rm -f core conftest.err conftest.$ac_objext \
15214 conftest$ac_exeext conftest.$ac_ext
15215 LIBS=$ac_check_soname_save_LIBS
15217 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15219 $as_echo "not found" >&6; }
15221 else
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15223 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15225 cat >>confdefs.h <<_ACEOF
15226 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15227 _ACEOF
15233 done
15235 ac_wine_check_funcs_save_LIBS="$LIBS"
15236 LIBS="$LIBS $FAUDIO_LIBS"
15237 for ac_func in FAudio_CommitOperationSet \
15238 F3DAudioInitialize8 \
15239 FAudioLinkedVersion \
15240 FAudioCreateReverb9WithCustomAllocatorEXT
15241 do :
15242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15244 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15245 cat >>confdefs.h <<_ACEOF
15246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15247 _ACEOF
15250 done
15252 LIBS="$ac_wine_check_funcs_save_LIBS"
15254 CPPFLAGS=$ac_save_CPPFLAGS
15257 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15258 case "x$with_faudio" in
15259 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15260 xno) ;;
15261 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15262 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15263 esac
15267 if test "x$with_capi" != "xno"
15268 then
15269 if ${CAPI20_CFLAGS:+false} :; then :
15270 if ${PKG_CONFIG+:} false; then :
15271 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15275 if ${CAPI20_LIBS:+false} :; then :
15276 if ${PKG_CONFIG+:} false; then :
15277 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15282 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15283 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15284 ac_save_CPPFLAGS=$CPPFLAGS
15285 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15286 for ac_header in capi20.h linux/capi.h
15287 do :
15288 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15289 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15292 cat >>confdefs.h <<_ACEOF
15293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15294 _ACEOF
15298 done
15300 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15301 then
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15303 $as_echo_n "checking for -lcapi20... " >&6; }
15304 if ${ac_cv_lib_soname_capi20+:} false; then :
15305 $as_echo_n "(cached) " >&6
15306 else
15307 ac_check_soname_save_LIBS=$LIBS
15308 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15310 /* end confdefs.h. */
15312 /* Override any GCC internal prototype to avoid an error.
15313 Use char because int might match the return type of a GCC
15314 builtin and then its argument prototype would still apply. */
15315 #ifdef __cplusplus
15316 extern "C"
15317 #endif
15318 char capi20_register ();
15320 main ()
15322 return capi20_register ();
15324 return 0;
15326 _ACEOF
15327 if ac_fn_c_try_link "$LINENO"; then :
15328 case "$LIBEXT" in
15329 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15330 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'` ;;
15331 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15332 if ${ac_cv_lib_soname_capi20:+false} :; then :
15333 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15334 fi ;;
15335 esac
15336 else
15337 ac_cv_lib_soname_capi20=
15339 rm -f core conftest.err conftest.$ac_objext \
15340 conftest$ac_exeext conftest.$ac_ext
15341 LIBS=$ac_check_soname_save_LIBS
15343 if ${ac_cv_lib_soname_capi20:+false} :; then :
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15345 $as_echo "not found" >&6; }
15347 else
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15349 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15351 cat >>confdefs.h <<_ACEOF
15352 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15353 _ACEOF
15358 CPPFLAGS=$ac_save_CPPFLAGS
15361 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15362 case "x$with_capi" in
15363 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15364 xno) ;;
15365 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15366 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15367 esac
15371 if test "x$with_cups" != "xno"
15372 then
15373 if ${CUPS_CFLAGS:+false} :; then :
15374 if ${PKG_CONFIG+:} false; then :
15375 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15378 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15379 if ${CUPS_LIBS:+false} :; then :
15380 if ${PKG_CONFIG+:} false; then :
15381 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15384 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15385 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15386 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15387 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15388 ac_save_CPPFLAGS=$CPPFLAGS
15389 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15390 for ac_header in cups/cups.h cups/ppd.h
15391 do :
15392 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15393 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15394 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15395 cat >>confdefs.h <<_ACEOF
15396 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15397 _ACEOF
15401 done
15403 if test "$ac_cv_header_cups_cups_h" = "yes"
15404 then
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15406 $as_echo_n "checking for -lcups... " >&6; }
15407 if ${ac_cv_lib_soname_cups+:} false; then :
15408 $as_echo_n "(cached) " >&6
15409 else
15410 ac_check_soname_save_LIBS=$LIBS
15411 LIBS="-lcups $CUPS_LIBS $LIBS"
15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15413 /* end confdefs.h. */
15415 /* Override any GCC internal prototype to avoid an error.
15416 Use char because int might match the return type of a GCC
15417 builtin and then its argument prototype would still apply. */
15418 #ifdef __cplusplus
15419 extern "C"
15420 #endif
15421 char cupsGetDefault ();
15423 main ()
15425 return cupsGetDefault ();
15427 return 0;
15429 _ACEOF
15430 if ac_fn_c_try_link "$LINENO"; then :
15431 case "$LIBEXT" in
15432 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15433 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'` ;;
15434 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15435 if ${ac_cv_lib_soname_cups:+false} :; then :
15436 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15437 fi ;;
15438 esac
15439 else
15440 ac_cv_lib_soname_cups=
15442 rm -f core conftest.err conftest.$ac_objext \
15443 conftest$ac_exeext conftest.$ac_ext
15444 LIBS=$ac_check_soname_save_LIBS
15446 if ${ac_cv_lib_soname_cups:+false} :; then :
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15448 $as_echo "not found" >&6; }
15449 CUPS_LIBS=""
15450 else
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15452 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15454 cat >>confdefs.h <<_ACEOF
15455 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15456 _ACEOF
15460 else
15461 CUPS_CFLAGS=""
15462 CUPS_LIBS=""
15464 CPPFLAGS=$ac_save_CPPFLAGS
15467 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15468 case "x$with_cups" in
15469 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15470 xno) ;;
15471 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15472 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15473 esac
15477 if test "x$with_fontconfig" != "xno"
15478 then
15479 if ${FONTCONFIG_CFLAGS:+false} :; then :
15480 if ${PKG_CONFIG+:} false; then :
15481 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15484 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15485 if ${FONTCONFIG_LIBS:+false} :; then :
15486 if ${PKG_CONFIG+:} false; then :
15487 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15490 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15492 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15493 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15494 ac_save_CPPFLAGS=$CPPFLAGS
15495 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15496 for ac_header in fontconfig/fontconfig.h
15497 do :
15498 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15499 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15500 cat >>confdefs.h <<_ACEOF
15501 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15502 _ACEOF
15506 done
15508 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15509 then
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15511 $as_echo_n "checking for -lfontconfig... " >&6; }
15512 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15513 $as_echo_n "(cached) " >&6
15514 else
15515 ac_check_soname_save_LIBS=$LIBS
15516 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15518 /* end confdefs.h. */
15520 /* Override any GCC internal prototype to avoid an error.
15521 Use char because int might match the return type of a GCC
15522 builtin and then its argument prototype would still apply. */
15523 #ifdef __cplusplus
15524 extern "C"
15525 #endif
15526 char FcInit ();
15528 main ()
15530 return FcInit ();
15532 return 0;
15534 _ACEOF
15535 if ac_fn_c_try_link "$LINENO"; then :
15536 case "$LIBEXT" in
15537 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15538 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'` ;;
15539 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15540 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15541 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15542 fi ;;
15543 esac
15544 else
15545 ac_cv_lib_soname_fontconfig=
15547 rm -f core conftest.err conftest.$ac_objext \
15548 conftest$ac_exeext conftest.$ac_ext
15549 LIBS=$ac_check_soname_save_LIBS
15551 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15553 $as_echo "not found" >&6; }
15554 FONTCONFIG_CFLAGS=""
15555 else
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15557 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15559 cat >>confdefs.h <<_ACEOF
15560 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15561 _ACEOF
15565 else
15566 FONTCONFIG_CFLAGS=""
15568 CPPFLAGS=$ac_save_CPPFLAGS
15571 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15572 case "x$with_fontconfig" in
15573 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15574 xno) ;;
15575 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15576 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15577 esac
15581 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15582 then
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15584 $as_echo_n "checking for -lgsm... " >&6; }
15585 if ${ac_cv_lib_soname_gsm+:} false; then :
15586 $as_echo_n "(cached) " >&6
15587 else
15588 ac_check_soname_save_LIBS=$LIBS
15589 LIBS="-lgsm $LIBS"
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15593 /* Override any GCC internal prototype to avoid an error.
15594 Use char because int might match the return type of a GCC
15595 builtin and then its argument prototype would still apply. */
15596 #ifdef __cplusplus
15597 extern "C"
15598 #endif
15599 char gsm_create ();
15601 main ()
15603 return gsm_create ();
15605 return 0;
15607 _ACEOF
15608 if ac_fn_c_try_link "$LINENO"; then :
15609 case "$LIBEXT" in
15610 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15611 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'` ;;
15612 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15613 if ${ac_cv_lib_soname_gsm:+false} :; then :
15614 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15615 fi ;;
15616 esac
15617 else
15618 ac_cv_lib_soname_gsm=
15620 rm -f core conftest.err conftest.$ac_objext \
15621 conftest$ac_exeext conftest.$ac_ext
15622 LIBS=$ac_check_soname_save_LIBS
15624 if ${ac_cv_lib_soname_gsm:+false} :; then :
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15626 $as_echo "not found" >&6; }
15628 else
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15630 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15632 cat >>confdefs.h <<_ACEOF
15633 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15634 _ACEOF
15639 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15640 case "x$with_gsm" in
15641 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15642 xno) ;;
15643 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15644 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15645 esac
15649 if test "x$with_krb5" != "xno"
15650 then
15651 if ${KRB5_CFLAGS:+false} :; then :
15652 if ${PKG_CONFIG+:} false; then :
15653 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15656 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15657 if ${KRB5_LIBS:+false} :; then :
15658 if ${PKG_CONFIG+:} false; then :
15659 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15662 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15664 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15665 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15666 ac_save_CPPFLAGS=$CPPFLAGS
15667 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15668 for ac_header in krb5/krb5.h
15669 do :
15670 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15671 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15672 cat >>confdefs.h <<_ACEOF
15673 #define HAVE_KRB5_KRB5_H 1
15674 _ACEOF
15678 done
15680 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15681 then
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15683 $as_echo_n "checking for -lkrb5... " >&6; }
15684 if ${ac_cv_lib_soname_krb5+:} false; then :
15685 $as_echo_n "(cached) " >&6
15686 else
15687 ac_check_soname_save_LIBS=$LIBS
15688 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 /* Override any GCC internal prototype to avoid an error.
15693 Use char because int might match the return type of a GCC
15694 builtin and then its argument prototype would still apply. */
15695 #ifdef __cplusplus
15696 extern "C"
15697 #endif
15698 char krb5_is_config_principal ();
15700 main ()
15702 return krb5_is_config_principal ();
15704 return 0;
15706 _ACEOF
15707 if ac_fn_c_try_link "$LINENO"; then :
15708 case "$LIBEXT" in
15709 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15710 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'` ;;
15711 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15712 if ${ac_cv_lib_soname_krb5:+false} :; then :
15713 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15714 fi ;;
15715 esac
15716 else
15717 ac_cv_lib_soname_krb5=
15719 rm -f core conftest.err conftest.$ac_objext \
15720 conftest$ac_exeext conftest.$ac_ext
15721 LIBS=$ac_check_soname_save_LIBS
15723 if ${ac_cv_lib_soname_krb5:+false} :; then :
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15725 $as_echo "not found" >&6; }
15726 KRB5_CFLAGS=""
15727 else
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15729 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15731 cat >>confdefs.h <<_ACEOF
15732 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15733 _ACEOF
15737 else
15738 KRB5_CFLAGS=""
15740 CPPFLAGS=$ac_save_CPPFLAGS
15743 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15744 case "x$with_krb5" in
15745 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15746 xno) ;;
15747 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15748 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15749 esac
15752 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15754 if test "x$with_gssapi" != "xno"
15755 then
15756 if ${GSSAPI_CFLAGS:+false} :; then :
15757 if ${PKG_CONFIG+:} false; then :
15758 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15761 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15762 if ${GSSAPI_LIBS:+false} :; then :
15763 if ${PKG_CONFIG+:} false; then :
15764 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15767 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15769 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15770 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15771 ac_save_CPPFLAGS=$CPPFLAGS
15772 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15773 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15774 do :
15775 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15776 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15777 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15778 cat >>confdefs.h <<_ACEOF
15779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15780 _ACEOF
15784 done
15786 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15787 then
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15789 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15790 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15791 $as_echo_n "(cached) " >&6
15792 else
15793 ac_check_soname_save_LIBS=$LIBS
15794 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15796 /* end confdefs.h. */
15798 /* Override any GCC internal prototype to avoid an error.
15799 Use char because int might match the return type of a GCC
15800 builtin and then its argument prototype would still apply. */
15801 #ifdef __cplusplus
15802 extern "C"
15803 #endif
15804 char gss_init_sec_context ();
15806 main ()
15808 return gss_init_sec_context ();
15810 return 0;
15812 _ACEOF
15813 if ac_fn_c_try_link "$LINENO"; then :
15814 case "$LIBEXT" in
15815 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15816 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'` ;;
15817 *) 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'`
15818 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15819 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15820 fi ;;
15821 esac
15822 else
15823 ac_cv_lib_soname_gssapi_krb5=
15825 rm -f core conftest.err conftest.$ac_objext \
15826 conftest$ac_exeext conftest.$ac_ext
15827 LIBS=$ac_check_soname_save_LIBS
15829 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15831 $as_echo "not found" >&6; }
15832 GSSAPI_CFLAGS=""
15833 else
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15835 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15837 cat >>confdefs.h <<_ACEOF
15838 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15839 _ACEOF
15843 else
15844 GSSAPI_CFLAGS=""
15846 CPPFLAGS=$ac_save_CPPFLAGS
15849 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15850 case "x$with_gssapi" in
15851 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15852 xno) ;;
15853 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15854 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15855 esac
15859 if test "x$with_jpeg" != "xno"
15860 then
15861 if ${JPEG_CFLAGS:+false} :; then :
15862 if ${PKG_CONFIG+:} false; then :
15863 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15867 if ${JPEG_LIBS:+false} :; then :
15868 if ${PKG_CONFIG+:} false; then :
15869 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15874 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15875 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15876 ac_save_CPPFLAGS=$CPPFLAGS
15877 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15878 for ac_header in jpeglib.h
15879 do :
15880 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15881 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15882 cat >>confdefs.h <<_ACEOF
15883 #define HAVE_JPEGLIB_H 1
15884 _ACEOF
15888 done
15890 if test "$ac_cv_header_jpeglib_h" = "yes"
15891 then
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15893 $as_echo_n "checking for -ljpeg... " >&6; }
15894 if ${ac_cv_lib_soname_jpeg+:} false; then :
15895 $as_echo_n "(cached) " >&6
15896 else
15897 ac_check_soname_save_LIBS=$LIBS
15898 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15902 /* Override any GCC internal prototype to avoid an error.
15903 Use char because int might match the return type of a GCC
15904 builtin and then its argument prototype would still apply. */
15905 #ifdef __cplusplus
15906 extern "C"
15907 #endif
15908 char jpeg_start_decompress ();
15910 main ()
15912 return jpeg_start_decompress ();
15914 return 0;
15916 _ACEOF
15917 if ac_fn_c_try_link "$LINENO"; then :
15918 case "$LIBEXT" in
15919 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15920 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'` ;;
15921 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15922 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15923 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15924 fi ;;
15925 esac
15926 else
15927 ac_cv_lib_soname_jpeg=
15929 rm -f core conftest.err conftest.$ac_objext \
15930 conftest$ac_exeext conftest.$ac_ext
15931 LIBS=$ac_check_soname_save_LIBS
15933 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15935 $as_echo "not found" >&6; }
15936 JPEG_CFLAGS=""
15937 else
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15939 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15941 cat >>confdefs.h <<_ACEOF
15942 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15943 _ACEOF
15947 else
15948 JPEG_CFLAGS=""
15950 CPPFLAGS=$ac_save_CPPFLAGS
15953 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15954 case "x$with_jpeg" in
15955 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15956 xno) ;;
15957 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15958 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15959 esac
15963 if test "x$with_jxrlib" != "xno"
15964 then
15965 if ${JXRLIB_CFLAGS:+false} :; then :
15966 if ${PKG_CONFIG+:} false; then :
15967 JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
15970 test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
15971 if ${JXRLIB_LIBS:+false} :; then :
15972 if ${PKG_CONFIG+:} false; then :
15973 JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
15978 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
15979 $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
15980 ac_save_CPPFLAGS=$CPPFLAGS
15981 CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
15982 for ac_header in JXRGlue.h
15983 do :
15984 ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
15986 if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
15987 cat >>confdefs.h <<_ACEOF
15988 #define HAVE_JXRGLUE_H 1
15989 _ACEOF
15993 done
15995 if test "$ac_cv_header_JXRGlue_h" = "yes"
15996 then
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
15998 $as_echo_n "checking for -ljxrglue... " >&6; }
15999 if ${ac_cv_lib_soname_jxrglue+:} false; then :
16000 $as_echo_n "(cached) " >&6
16001 else
16002 ac_check_soname_save_LIBS=$LIBS
16003 LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
16004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16007 /* Override any GCC internal prototype to avoid an error.
16008 Use char because int might match the return type of a GCC
16009 builtin and then its argument prototype would still apply. */
16010 #ifdef __cplusplus
16011 extern "C"
16012 #endif
16013 char PKImageDecode_Create_WMP ();
16015 main ()
16017 return PKImageDecode_Create_WMP ();
16019 return 0;
16021 _ACEOF
16022 if ac_fn_c_try_link "$LINENO"; then :
16023 case "$LIBEXT" in
16024 dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16025 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'` ;;
16026 *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16027 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16028 ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16029 fi ;;
16030 esac
16031 else
16032 ac_cv_lib_soname_jxrglue=
16034 rm -f core conftest.err conftest.$ac_objext \
16035 conftest$ac_exeext conftest.$ac_ext
16036 LIBS=$ac_check_soname_save_LIBS
16038 if ${ac_cv_lib_soname_jxrglue:+false} :; then :
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16040 $as_echo "not found" >&6; }
16041 JXRLIB_CFLAGS=""
16042 else
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
16044 $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
16046 cat >>confdefs.h <<_ACEOF
16047 #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
16048 _ACEOF
16052 else
16053 JXRLIB_CFLAGS=""
16055 CPPFLAGS=$ac_save_CPPFLAGS
16058 if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
16059 case "x$with_jxrlib" in
16060 x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
16061 xno) ;;
16062 *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
16063 This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
16064 esac
16068 if test "x$with_png" != "xno"
16069 then
16070 if ${PNG_CFLAGS:+false} :; then :
16071 if ${PKG_CONFIG+:} false; then :
16072 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
16075 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
16076 if ${PNG_LIBS:+false} :; then :
16077 if ${PKG_CONFIG+:} false; then :
16078 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
16081 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
16083 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
16084 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
16085 ac_save_CPPFLAGS=$CPPFLAGS
16086 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
16087 for ac_header in png.h
16088 do :
16089 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
16090 if test "x$ac_cv_header_png_h" = xyes; then :
16091 cat >>confdefs.h <<_ACEOF
16092 #define HAVE_PNG_H 1
16093 _ACEOF
16097 done
16099 if test "$ac_cv_header_png_h" = "yes"
16100 then
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16102 $as_echo_n "checking for -lpng... " >&6; }
16103 if ${ac_cv_lib_soname_png+:} false; then :
16104 $as_echo_n "(cached) " >&6
16105 else
16106 ac_check_soname_save_LIBS=$LIBS
16107 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h. */
16111 /* Override any GCC internal prototype to avoid an error.
16112 Use char because int might match the return type of a GCC
16113 builtin and then its argument prototype would still apply. */
16114 #ifdef __cplusplus
16115 extern "C"
16116 #endif
16117 char png_create_read_struct ();
16119 main ()
16121 return png_create_read_struct ();
16123 return 0;
16125 _ACEOF
16126 if ac_fn_c_try_link "$LINENO"; then :
16127 case "$LIBEXT" in
16128 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16129 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'` ;;
16130 *) 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'`
16131 if ${ac_cv_lib_soname_png:+false} :; then :
16132 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16133 fi ;;
16134 esac
16135 else
16136 ac_cv_lib_soname_png=
16138 rm -f core conftest.err conftest.$ac_objext \
16139 conftest$ac_exeext conftest.$ac_ext
16140 LIBS=$ac_check_soname_save_LIBS
16142 if ${ac_cv_lib_soname_png:+false} :; then :
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16144 $as_echo "not found" >&6; }
16145 PNG_CFLAGS=""
16146 else
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16148 $as_echo "$ac_cv_lib_soname_png" >&6; }
16150 cat >>confdefs.h <<_ACEOF
16151 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16152 _ACEOF
16156 else
16157 PNG_CFLAGS=""
16159 CPPFLAGS=$ac_save_CPPFLAGS
16162 if test "x$ac_cv_lib_soname_png" = "x"; then :
16163 case "x$with_png" in
16164 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16165 xno) ;;
16166 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16167 This is an error since --with-png was requested." "$LINENO" 5 ;;
16168 esac
16172 if test "x$with_tiff" != "xno"
16173 then
16174 if ${TIFF_CFLAGS:+false} :; then :
16175 if ${PKG_CONFIG+:} false; then :
16176 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16180 if ${TIFF_LIBS:+false} :; then :
16181 if ${PKG_CONFIG+:} false; then :
16182 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16187 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16188 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16189 ac_save_CPPFLAGS=$CPPFLAGS
16190 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16191 for ac_header in tiffio.h
16192 do :
16193 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16194 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16195 cat >>confdefs.h <<_ACEOF
16196 #define HAVE_TIFFIO_H 1
16197 _ACEOF
16201 done
16203 if test "$ac_cv_header_tiffio_h" = "yes"
16204 then
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16206 $as_echo_n "checking for -ltiff... " >&6; }
16207 if ${ac_cv_lib_soname_tiff+:} false; then :
16208 $as_echo_n "(cached) " >&6
16209 else
16210 ac_check_soname_save_LIBS=$LIBS
16211 LIBS="-ltiff $TIFF_LIBS $LIBS"
16212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16213 /* end confdefs.h. */
16215 /* Override any GCC internal prototype to avoid an error.
16216 Use char because int might match the return type of a GCC
16217 builtin and then its argument prototype would still apply. */
16218 #ifdef __cplusplus
16219 extern "C"
16220 #endif
16221 char TIFFClientOpen ();
16223 main ()
16225 return TIFFClientOpen ();
16227 return 0;
16229 _ACEOF
16230 if ac_fn_c_try_link "$LINENO"; then :
16231 case "$LIBEXT" in
16232 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16233 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'` ;;
16234 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16235 if ${ac_cv_lib_soname_tiff:+false} :; then :
16236 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16237 fi ;;
16238 esac
16239 else
16240 ac_cv_lib_soname_tiff=
16242 rm -f core conftest.err conftest.$ac_objext \
16243 conftest$ac_exeext conftest.$ac_ext
16244 LIBS=$ac_check_soname_save_LIBS
16246 if ${ac_cv_lib_soname_tiff:+false} :; then :
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16248 $as_echo "not found" >&6; }
16250 else
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16252 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16254 cat >>confdefs.h <<_ACEOF
16255 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16256 _ACEOF
16261 CPPFLAGS=$ac_save_CPPFLAGS
16264 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16265 case "x$with_tiff" in
16266 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16267 xno) ;;
16268 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16269 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16270 esac
16274 if test "x$with_mpg123" != "xno"
16275 then
16276 if ${MPG123_CFLAGS:+false} :; then :
16277 if ${PKG_CONFIG+:} false; then :
16278 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16282 if ${MPG123_LIBS:+false} :; then :
16283 if ${PKG_CONFIG+:} false; then :
16284 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16288 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16289 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16290 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16291 ac_save_CPPFLAGS=$CPPFLAGS
16292 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16293 for ac_header in mpg123.h
16294 do :
16295 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16296 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16297 cat >>confdefs.h <<_ACEOF
16298 #define HAVE_MPG123_H 1
16299 _ACEOF
16303 done
16305 if test "$ac_cv_header_mpg123_h" = "yes"
16306 then
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16308 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16309 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16310 $as_echo_n "(cached) " >&6
16311 else
16312 ac_check_lib_save_LIBS=$LIBS
16313 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16315 /* end confdefs.h. */
16317 /* Override any GCC internal prototype to avoid an error.
16318 Use char because int might match the return type of a GCC
16319 builtin and then its argument prototype would still apply. */
16320 #ifdef __cplusplus
16321 extern "C"
16322 #endif
16323 char mpg123_feed ();
16325 main ()
16327 return mpg123_feed ();
16329 return 0;
16331 _ACEOF
16332 if ac_fn_c_try_link "$LINENO"; then :
16333 ac_cv_lib_mpg123_mpg123_feed=yes
16334 else
16335 ac_cv_lib_mpg123_mpg123_feed=no
16337 rm -f core conftest.err conftest.$ac_objext \
16338 conftest$ac_exeext conftest.$ac_ext
16339 LIBS=$ac_check_lib_save_LIBS
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16342 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16343 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16345 else
16346 MPG123_LIBS=""
16349 else
16350 MPG123_CFLAGS=""
16351 MPG123_LIBS=""
16353 CPPFLAGS=$ac_save_CPPFLAGS
16356 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16357 case "x$with_mpg123" in
16358 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16359 xno) ;;
16360 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16361 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16362 esac
16363 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16365 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16367 if test "$ac_cv_header_AL_al_h" = "yes"
16368 then
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16370 $as_echo_n "checking for -lopenal... " >&6; }
16371 if ${ac_cv_lib_soname_openal+:} false; then :
16372 $as_echo_n "(cached) " >&6
16373 else
16374 ac_check_soname_save_LIBS=$LIBS
16375 LIBS="-lopenal $LIBS"
16376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16377 /* end confdefs.h. */
16379 /* Override any GCC internal prototype to avoid an error.
16380 Use char because int might match the return type of a GCC
16381 builtin and then its argument prototype would still apply. */
16382 #ifdef __cplusplus
16383 extern "C"
16384 #endif
16385 char alGetSource3i ();
16387 main ()
16389 return alGetSource3i ();
16391 return 0;
16393 _ACEOF
16394 if ac_fn_c_try_link "$LINENO"; then :
16395 case "$LIBEXT" in
16396 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16397 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'` ;;
16398 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16399 if ${ac_cv_lib_soname_openal:+false} :; then :
16400 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16401 fi ;;
16402 esac
16403 else
16404 ac_cv_lib_soname_openal=
16406 rm -f core conftest.err conftest.$ac_objext \
16407 conftest$ac_exeext conftest.$ac_ext
16408 LIBS=$ac_check_soname_save_LIBS
16410 if ${ac_cv_lib_soname_openal:+false} :; then :
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16412 $as_echo "not found" >&6; }
16414 else
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16416 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16418 cat >>confdefs.h <<_ACEOF
16419 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16420 _ACEOF
16422 OPENAL_LIBS="-lopenal"
16424 ac_cv_lib_openal=yes
16426 cat >>confdefs.h <<_ACEOF
16427 #define HAVE_OPENAL 1
16428 _ACEOF
16432 if test "x$ac_cv_lib_openal" != xyes; then :
16433 case "x$with_openal" in
16434 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16435 xno) ;;
16436 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16437 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16438 esac
16439 enable_openal32=${enable_openal32:-no}
16442 if test "x$ac_cv_lib_soname_FAudio" = "x"
16443 then
16444 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16445 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16446 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16447 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16448 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16449 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16450 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16451 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16452 enable_xactengine2_0=${enable_xactengine2_0:-no}
16453 enable_xactengine2_4=${enable_xactengine2_4:-no}
16454 enable_xactengine2_7=${enable_xactengine2_7:-no}
16455 enable_xactengine2_9=${enable_xactengine2_9:-no}
16456 enable_xactengine3_0=${enable_xactengine3_0:-no}
16457 enable_xactengine3_1=${enable_xactengine3_1:-no}
16458 enable_xactengine3_2=${enable_xactengine3_2:-no}
16459 enable_xactengine3_3=${enable_xactengine3_3:-no}
16460 enable_xactengine3_4=${enable_xactengine3_4:-no}
16461 enable_xactengine3_5=${enable_xactengine3_5:-no}
16462 enable_xactengine3_6=${enable_xactengine3_6:-no}
16463 enable_xactengine3_7=${enable_xactengine3_7:-no}
16464 enable_xapofx1_1=${enable_xapofx1_1:-no}
16465 enable_xapofx1_2=${enable_xapofx1_2:-no}
16466 enable_xapofx1_3=${enable_xapofx1_3:-no}
16467 enable_xapofx1_4=${enable_xapofx1_4:-no}
16468 enable_xapofx1_5=${enable_xapofx1_5:-no}
16469 enable_xaudio2_0=${enable_xaudio2_0:-no}
16470 enable_xaudio2_1=${enable_xaudio2_1:-no}
16471 enable_xaudio2_2=${enable_xaudio2_2:-no}
16472 enable_xaudio2_3=${enable_xaudio2_3:-no}
16473 enable_xaudio2_4=${enable_xaudio2_4:-no}
16474 enable_xaudio2_5=${enable_xaudio2_5:-no}
16475 enable_xaudio2_6=${enable_xaudio2_6:-no}
16476 enable_xaudio2_7=${enable_xaudio2_7:-no}
16477 enable_xaudio2_8=${enable_xaudio2_8:-no}
16478 enable_xaudio2_9=${enable_xaudio2_9:-no}
16481 if test "$ac_cv_header_kstat_h" = "yes"
16482 then
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16484 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16485 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16486 $as_echo_n "(cached) " >&6
16487 else
16488 ac_check_lib_save_LIBS=$LIBS
16489 LIBS="-lkstat $LIBS"
16490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16491 /* end confdefs.h. */
16493 /* Override any GCC internal prototype to avoid an error.
16494 Use char because int might match the return type of a GCC
16495 builtin and then its argument prototype would still apply. */
16496 #ifdef __cplusplus
16497 extern "C"
16498 #endif
16499 char kstat_open ();
16501 main ()
16503 return kstat_open ();
16505 return 0;
16507 _ACEOF
16508 if ac_fn_c_try_link "$LINENO"; then :
16509 ac_cv_lib_kstat_kstat_open=yes
16510 else
16511 ac_cv_lib_kstat_kstat_open=no
16513 rm -f core conftest.err conftest.$ac_objext \
16514 conftest$ac_exeext conftest.$ac_ext
16515 LIBS=$ac_check_lib_save_LIBS
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16518 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16519 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16521 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16523 KSTAT_LIBS="-lkstat"
16529 if test "$ac_cv_header_libprocstat_h" = "yes"
16530 then
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16532 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16533 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16534 $as_echo_n "(cached) " >&6
16535 else
16536 ac_check_lib_save_LIBS=$LIBS
16537 LIBS="-lprocstat $LIBS"
16538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16539 /* end confdefs.h. */
16541 /* Override any GCC internal prototype to avoid an error.
16542 Use char because int might match the return type of a GCC
16543 builtin and then its argument prototype would still apply. */
16544 #ifdef __cplusplus
16545 extern "C"
16546 #endif
16547 char procstat_open_sysctl ();
16549 main ()
16551 return procstat_open_sysctl ();
16553 return 0;
16555 _ACEOF
16556 if ac_fn_c_try_link "$LINENO"; then :
16557 ac_cv_lib_procstat_procstat_open_sysctl=yes
16558 else
16559 ac_cv_lib_procstat_procstat_open_sysctl=no
16561 rm -f core conftest.err conftest.$ac_objext \
16562 conftest$ac_exeext conftest.$ac_ext
16563 LIBS=$ac_check_lib_save_LIBS
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16566 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16567 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16569 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16571 PROCSTAT_LIBS="-lprocstat"
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16578 $as_echo_n "checking for -lodbc... " >&6; }
16579 if ${ac_cv_lib_soname_odbc+:} false; then :
16580 $as_echo_n "(cached) " >&6
16581 else
16582 ac_check_soname_save_LIBS=$LIBS
16583 LIBS="-lodbc $LIBS"
16584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16585 /* end confdefs.h. */
16587 /* Override any GCC internal prototype to avoid an error.
16588 Use char because int might match the return type of a GCC
16589 builtin and then its argument prototype would still apply. */
16590 #ifdef __cplusplus
16591 extern "C"
16592 #endif
16593 char SQLConnect ();
16595 main ()
16597 return SQLConnect ();
16599 return 0;
16601 _ACEOF
16602 if ac_fn_c_try_link "$LINENO"; then :
16603 case "$LIBEXT" in
16604 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16605 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'` ;;
16606 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16607 if ${ac_cv_lib_soname_odbc:+false} :; then :
16608 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16609 fi ;;
16610 esac
16611 else
16612 ac_cv_lib_soname_odbc=
16614 rm -f core conftest.err conftest.$ac_objext \
16615 conftest$ac_exeext conftest.$ac_ext
16616 LIBS=$ac_check_soname_save_LIBS
16618 if ${ac_cv_lib_soname_odbc:+false} :; then :
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16620 $as_echo "not found" >&6; }
16621 cat >>confdefs.h <<_ACEOF
16622 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16623 _ACEOF
16625 else
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16627 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16629 cat >>confdefs.h <<_ACEOF
16630 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16631 _ACEOF
16636 if test "x$with_netapi" != "xno"
16637 then
16638 if ${NETAPI_CFLAGS:+false} :; then :
16639 if ${PKG_CONFIG+:} false; then :
16640 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16644 if ${NETAPI_LIBS:+false} :; then :
16645 if ${PKG_CONFIG+:} false; then :
16646 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16651 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16652 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16653 ac_save_CPPFLAGS=$CPPFLAGS
16654 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16656 $as_echo_n "checking for -lnetapi... " >&6; }
16657 if ${ac_cv_lib_soname_netapi+:} false; then :
16658 $as_echo_n "(cached) " >&6
16659 else
16660 ac_check_soname_save_LIBS=$LIBS
16661 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16663 /* end confdefs.h. */
16665 /* Override any GCC internal prototype to avoid an error.
16666 Use char because int might match the return type of a GCC
16667 builtin and then its argument prototype would still apply. */
16668 #ifdef __cplusplus
16669 extern "C"
16670 #endif
16671 char libnetapi_init ();
16673 main ()
16675 return libnetapi_init ();
16677 return 0;
16679 _ACEOF
16680 if ac_fn_c_try_link "$LINENO"; then :
16681 case "$LIBEXT" in
16682 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16683 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'` ;;
16684 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16685 if ${ac_cv_lib_soname_netapi:+false} :; then :
16686 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16687 fi ;;
16688 esac
16689 else
16690 ac_cv_lib_soname_netapi=
16692 rm -f core conftest.err conftest.$ac_objext \
16693 conftest$ac_exeext conftest.$ac_ext
16694 LIBS=$ac_check_soname_save_LIBS
16696 if ${ac_cv_lib_soname_netapi:+false} :; then :
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16698 $as_echo "not found" >&6; }
16699 cat >>confdefs.h <<_ACEOF
16700 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16701 _ACEOF
16703 else
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16705 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16707 cat >>confdefs.h <<_ACEOF
16708 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16709 _ACEOF
16713 CPPFLAGS=$ac_save_CPPFLAGS
16717 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16718 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16719 then
16720 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16723 if test "x$with_vulkan" != "xno"
16724 then
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16726 $as_echo_n "checking for -lvulkan... " >&6; }
16727 if ${ac_cv_lib_soname_vulkan+:} false; then :
16728 $as_echo_n "(cached) " >&6
16729 else
16730 ac_check_soname_save_LIBS=$LIBS
16731 LIBS="-lvulkan $LIBS"
16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h. */
16735 /* Override any GCC internal prototype to avoid an error.
16736 Use char because int might match the return type of a GCC
16737 builtin and then its argument prototype would still apply. */
16738 #ifdef __cplusplus
16739 extern "C"
16740 #endif
16741 char vkGetInstanceProcAddr ();
16743 main ()
16745 return vkGetInstanceProcAddr ();
16747 return 0;
16749 _ACEOF
16750 if ac_fn_c_try_link "$LINENO"; then :
16751 case "$LIBEXT" in
16752 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16753 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'` ;;
16754 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16755 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16756 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16757 fi ;;
16758 esac
16759 else
16760 ac_cv_lib_soname_vulkan=
16762 rm -f core conftest.err conftest.$ac_objext \
16763 conftest$ac_exeext conftest.$ac_ext
16764 LIBS=$ac_check_soname_save_LIBS
16766 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16768 $as_echo "not found" >&6; }
16770 else
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16772 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16774 cat >>confdefs.h <<_ACEOF
16775 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16776 _ACEOF
16780 if test "x$ac_cv_lib_soname_vulkan" = "x"
16781 then
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16783 $as_echo_n "checking for -lMoltenVK... " >&6; }
16784 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16785 $as_echo_n "(cached) " >&6
16786 else
16787 ac_check_soname_save_LIBS=$LIBS
16788 LIBS="-lMoltenVK $LIBS"
16789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16792 /* Override any GCC internal prototype to avoid an error.
16793 Use char because int might match the return type of a GCC
16794 builtin and then its argument prototype would still apply. */
16795 #ifdef __cplusplus
16796 extern "C"
16797 #endif
16798 char vkGetInstanceProcAddr ();
16800 main ()
16802 return vkGetInstanceProcAddr ();
16804 return 0;
16806 _ACEOF
16807 if ac_fn_c_try_link "$LINENO"; then :
16808 case "$LIBEXT" in
16809 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16810 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'` ;;
16811 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16812 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16813 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16814 fi ;;
16815 esac
16816 else
16817 ac_cv_lib_soname_MoltenVK=
16819 rm -f core conftest.err conftest.$ac_objext \
16820 conftest$ac_exeext conftest.$ac_ext
16821 LIBS=$ac_check_soname_save_LIBS
16823 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16825 $as_echo "not found" >&6; }
16827 else
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16829 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16831 cat >>confdefs.h <<_ACEOF
16832 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16833 _ACEOF
16839 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16840 case "x$with_vulkan" in
16841 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16842 xno) ;;
16843 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16844 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16845 esac
16849 if test "x$with_vkd3d" != "xno"
16850 then
16851 if ${VKD3D_CFLAGS:+false} :; then :
16852 if ${PKG_CONFIG+:} false; then :
16853 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16857 if ${VKD3D_LIBS:+false} :; then :
16858 if ${PKG_CONFIG+:} false; then :
16859 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16864 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16865 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16866 ac_save_CPPFLAGS=$CPPFLAGS
16867 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16869 $as_echo_n "checking for -lvkd3d... " >&6; }
16870 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16871 $as_echo_n "(cached) " >&6
16872 else
16873 ac_check_soname_save_LIBS=$LIBS
16874 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h. */
16878 /* Override any GCC internal prototype to avoid an error.
16879 Use char because int might match the return type of a GCC
16880 builtin and then its argument prototype would still apply. */
16881 #ifdef __cplusplus
16882 extern "C"
16883 #endif
16884 char vkd3d_serialize_versioned_root_signature ();
16886 main ()
16888 return vkd3d_serialize_versioned_root_signature ();
16890 return 0;
16892 _ACEOF
16893 if ac_fn_c_try_link "$LINENO"; then :
16894 case "$LIBEXT" in
16895 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16896 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'` ;;
16897 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16898 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16899 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16900 fi ;;
16901 esac
16902 else
16903 ac_cv_lib_soname_vkd3d=
16905 rm -f core conftest.err conftest.$ac_objext \
16906 conftest$ac_exeext conftest.$ac_ext
16907 LIBS=$ac_check_soname_save_LIBS
16909 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16911 $as_echo "not found" >&6; }
16913 else
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16915 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16917 cat >>confdefs.h <<_ACEOF
16918 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16919 _ACEOF
16923 CPPFLAGS=$ac_save_CPPFLAGS
16925 if ${VKD3D_SHADER_CFLAGS:+false} :; then :
16926 if ${PKG_CONFIG+:} false; then :
16927 VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
16931 if ${VKD3D_SHADER_LIBS:+false} :; then :
16932 if ${PKG_CONFIG+:} false; then :
16933 VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
16938 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
16939 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
16940 ac_save_CPPFLAGS=$CPPFLAGS
16941 CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
16943 $as_echo_n "checking for -lvkd3d-shader... " >&6; }
16944 if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
16945 $as_echo_n "(cached) " >&6
16946 else
16947 ac_check_soname_save_LIBS=$LIBS
16948 LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
16949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16950 /* end confdefs.h. */
16952 /* Override any GCC internal prototype to avoid an error.
16953 Use char because int might match the return type of a GCC
16954 builtin and then its argument prototype would still apply. */
16955 #ifdef __cplusplus
16956 extern "C"
16957 #endif
16958 char vkd3d_shader_compile ();
16960 main ()
16962 return vkd3d_shader_compile ();
16964 return 0;
16966 _ACEOF
16967 if ac_fn_c_try_link "$LINENO"; then :
16968 case "$LIBEXT" in
16969 dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16970 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'` ;;
16971 *) 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'`
16972 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16973 ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16974 fi ;;
16975 esac
16976 else
16977 ac_cv_lib_soname_vkd3d_shader=
16979 rm -f core conftest.err conftest.$ac_objext \
16980 conftest$ac_exeext conftest.$ac_ext
16981 LIBS=$ac_check_soname_save_LIBS
16983 if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16985 $as_echo "not found" >&6; }
16987 else
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
16989 $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
16991 cat >>confdefs.h <<_ACEOF
16992 #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
16993 _ACEOF
16997 CPPFLAGS=$ac_save_CPPFLAGS
17000 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
17001 case "x$with_vkd3d" in
17002 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
17003 xno) ;;
17004 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
17005 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
17006 esac
17009 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
17012 EXTRACFLAGS=""
17014 if test "x${GCC}" = "xyes"
17015 then
17016 EXTRACFLAGS="-Wall -pipe"
17018 saved_CFLAGS=$CFLAGS
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
17020 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
17021 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
17022 $as_echo_n "(cached) " >&6
17023 else
17024 ac_wine_try_cflags_saved=$CFLAGS
17025 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17028 int main(int argc, char **argv) { return 0; }
17029 _ACEOF
17030 if ac_fn_c_try_link "$LINENO"; then :
17031 ac_cv_cflags__Werror_unknown_warning_option=yes
17032 else
17033 ac_cv_cflags__Werror_unknown_warning_option=no
17035 rm -f core conftest.err conftest.$ac_objext \
17036 conftest$ac_exeext conftest.$ac_ext
17037 CFLAGS=$ac_wine_try_cflags_saved
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
17040 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
17041 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
17042 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
17045 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
17046 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
17047 $as_echo_n "(cached) " >&6
17048 else
17049 ac_wine_try_cflags_saved=$CFLAGS
17050 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17052 /* end confdefs.h. */
17053 int main(int argc, char **argv) { return 0; }
17054 _ACEOF
17055 if ac_fn_c_try_link "$LINENO"; then :
17056 ac_cv_cflags__Werror_unused_command_line_argument=yes
17057 else
17058 ac_cv_cflags__Werror_unused_command_line_argument=no
17060 rm -f core conftest.err conftest.$ac_objext \
17061 conftest$ac_exeext conftest.$ac_ext
17062 CFLAGS=$ac_wine_try_cflags_saved
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
17065 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
17066 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
17067 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
17070 $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
17071 if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
17072 $as_echo_n "(cached) " >&6
17073 else
17074 ac_wine_try_cflags_saved=$CFLAGS
17075 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 int main(int argc, char **argv) { return 0; }
17079 _ACEOF
17080 if ac_fn_c_try_link "$LINENO"; then :
17081 ac_cv_cflags__Werror_ignored_optimization_argument=yes
17082 else
17083 ac_cv_cflags__Werror_ignored_optimization_argument=no
17085 rm -f core conftest.err conftest.$ac_objext \
17086 conftest$ac_exeext conftest.$ac_ext
17087 CFLAGS=$ac_wine_try_cflags_saved
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
17090 $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
17091 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
17092 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
17095 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
17096 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
17097 $as_echo_n "(cached) " >&6
17098 else
17099 ac_wine_try_cflags_saved=$CFLAGS
17100 CFLAGS="$CFLAGS -fcf-protection=none"
17101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17102 /* end confdefs.h. */
17103 int main(int argc, char **argv) { return 0; }
17104 _ACEOF
17105 if ac_fn_c_try_link "$LINENO"; then :
17106 ac_cv_cflags__fcf_protection_none=yes
17107 else
17108 ac_cv_cflags__fcf_protection_none=no
17110 rm -f core conftest.err conftest.$ac_objext \
17111 conftest$ac_exeext conftest.$ac_ext
17112 CFLAGS=$ac_wine_try_cflags_saved
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
17115 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
17116 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
17117 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
17120 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
17121 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
17122 $as_echo_n "(cached) " >&6
17123 else
17124 ac_wine_try_cflags_saved=$CFLAGS
17125 CFLAGS="$CFLAGS -fno-stack-protector"
17126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17127 /* end confdefs.h. */
17128 int main(int argc, char **argv) { return 0; }
17129 _ACEOF
17130 if ac_fn_c_try_link "$LINENO"; then :
17131 ac_cv_cflags__fno_stack_protector=yes
17132 else
17133 ac_cv_cflags__fno_stack_protector=no
17135 rm -f core conftest.err conftest.$ac_objext \
17136 conftest$ac_exeext conftest.$ac_ext
17137 CFLAGS=$ac_wine_try_cflags_saved
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
17140 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
17141 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
17142 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
17145 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
17146 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
17147 $as_echo_n "(cached) " >&6
17148 else
17149 ac_wine_try_cflags_saved=$CFLAGS
17150 CFLAGS="$CFLAGS -fno-strict-aliasing"
17151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17153 int main(int argc, char **argv) { return 0; }
17154 _ACEOF
17155 if ac_fn_c_try_link "$LINENO"; then :
17156 ac_cv_cflags__fno_strict_aliasing=yes
17157 else
17158 ac_cv_cflags__fno_strict_aliasing=no
17160 rm -f core conftest.err conftest.$ac_objext \
17161 conftest$ac_exeext conftest.$ac_ext
17162 CFLAGS=$ac_wine_try_cflags_saved
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
17165 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
17166 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
17167 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
17170 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17171 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17172 $as_echo_n "(cached) " >&6
17173 else
17174 ac_wine_try_cflags_saved=$CFLAGS
17175 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17178 int main(int argc, char **argv) { return 0; }
17179 _ACEOF
17180 if ac_fn_c_try_link "$LINENO"; then :
17181 ac_cv_cflags__Wdeclaration_after_statement=yes
17182 else
17183 ac_cv_cflags__Wdeclaration_after_statement=no
17185 rm -f core conftest.err conftest.$ac_objext \
17186 conftest$ac_exeext conftest.$ac_ext
17187 CFLAGS=$ac_wine_try_cflags_saved
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17190 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17191 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17192 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17195 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17196 if ${ac_cv_cflags__Wempty_body+:} false; then :
17197 $as_echo_n "(cached) " >&6
17198 else
17199 ac_wine_try_cflags_saved=$CFLAGS
17200 CFLAGS="$CFLAGS -Wempty-body"
17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h. */
17203 int main(int argc, char **argv) { return 0; }
17204 _ACEOF
17205 if ac_fn_c_try_link "$LINENO"; then :
17206 ac_cv_cflags__Wempty_body=yes
17207 else
17208 ac_cv_cflags__Wempty_body=no
17210 rm -f core conftest.err conftest.$ac_objext \
17211 conftest$ac_exeext conftest.$ac_ext
17212 CFLAGS=$ac_wine_try_cflags_saved
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17215 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17216 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17217 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17220 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17221 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17222 $as_echo_n "(cached) " >&6
17223 else
17224 ac_wine_try_cflags_saved=$CFLAGS
17225 CFLAGS="$CFLAGS -Wignored-qualifiers"
17226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17228 int main(int argc, char **argv) { return 0; }
17229 _ACEOF
17230 if ac_fn_c_try_link "$LINENO"; then :
17231 ac_cv_cflags__Wignored_qualifiers=yes
17232 else
17233 ac_cv_cflags__Wignored_qualifiers=no
17235 rm -f core conftest.err conftest.$ac_objext \
17236 conftest$ac_exeext conftest.$ac_ext
17237 CFLAGS=$ac_wine_try_cflags_saved
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17240 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17241 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17242 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
17245 $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
17246 if ${ac_cv_cflags__Winit_self+:} false; then :
17247 $as_echo_n "(cached) " >&6
17248 else
17249 ac_wine_try_cflags_saved=$CFLAGS
17250 CFLAGS="$CFLAGS -Winit-self"
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17253 int main(int argc, char **argv) { return 0; }
17254 _ACEOF
17255 if ac_fn_c_try_link "$LINENO"; then :
17256 ac_cv_cflags__Winit_self=yes
17257 else
17258 ac_cv_cflags__Winit_self=no
17260 rm -f core conftest.err conftest.$ac_objext \
17261 conftest$ac_exeext conftest.$ac_ext
17262 CFLAGS=$ac_wine_try_cflags_saved
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
17265 $as_echo "$ac_cv_cflags__Winit_self" >&6; }
17266 if test "x$ac_cv_cflags__Winit_self" = xyes; then :
17267 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17270 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17271 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17272 $as_echo_n "(cached) " >&6
17273 else
17274 ac_wine_try_cflags_saved=$CFLAGS
17275 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17278 int main(int argc, char **argv) { return 0; }
17279 _ACEOF
17280 if ac_fn_c_try_link "$LINENO"; then :
17281 ac_cv_cflags__Wpacked_not_aligned=yes
17282 else
17283 ac_cv_cflags__Wpacked_not_aligned=no
17285 rm -f core conftest.err conftest.$ac_objext \
17286 conftest$ac_exeext conftest.$ac_ext
17287 CFLAGS=$ac_wine_try_cflags_saved
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17290 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17291 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17292 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17295 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17296 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17297 $as_echo_n "(cached) " >&6
17298 else
17299 ac_wine_try_cflags_saved=$CFLAGS
17300 CFLAGS="$CFLAGS -Wpragma-pack"
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17303 int main(int argc, char **argv) { return 0; }
17304 _ACEOF
17305 if ac_fn_c_try_link "$LINENO"; then :
17306 ac_cv_cflags__Wpragma_pack=yes
17307 else
17308 ac_cv_cflags__Wpragma_pack=no
17310 rm -f core conftest.err conftest.$ac_objext \
17311 conftest$ac_exeext conftest.$ac_ext
17312 CFLAGS=$ac_wine_try_cflags_saved
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17315 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17316 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17317 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17320 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17321 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17322 $as_echo_n "(cached) " >&6
17323 else
17324 ac_wine_try_cflags_saved=$CFLAGS
17325 CFLAGS="$CFLAGS -Wshift-overflow=2"
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 int main(int argc, char **argv) { return 0; }
17329 _ACEOF
17330 if ac_fn_c_try_link "$LINENO"; then :
17331 ac_cv_cflags__Wshift_overflow_2=yes
17332 else
17333 ac_cv_cflags__Wshift_overflow_2=no
17335 rm -f core conftest.err conftest.$ac_objext \
17336 conftest$ac_exeext conftest.$ac_ext
17337 CFLAGS=$ac_wine_try_cflags_saved
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17340 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17341 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17342 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17345 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17346 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17347 $as_echo_n "(cached) " >&6
17348 else
17349 ac_wine_try_cflags_saved=$CFLAGS
17350 CFLAGS="$CFLAGS -Wstrict-prototypes"
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17353 int main(int argc, char **argv) { return 0; }
17354 _ACEOF
17355 if ac_fn_c_try_link "$LINENO"; then :
17356 ac_cv_cflags__Wstrict_prototypes=yes
17357 else
17358 ac_cv_cflags__Wstrict_prototypes=no
17360 rm -f core conftest.err conftest.$ac_objext \
17361 conftest$ac_exeext conftest.$ac_ext
17362 CFLAGS=$ac_wine_try_cflags_saved
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17365 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17366 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17367 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17370 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17371 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17372 $as_echo_n "(cached) " >&6
17373 else
17374 ac_wine_try_cflags_saved=$CFLAGS
17375 CFLAGS="$CFLAGS -Wtype-limits"
17376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17377 /* end confdefs.h. */
17378 int main(int argc, char **argv) { return 0; }
17379 _ACEOF
17380 if ac_fn_c_try_link "$LINENO"; then :
17381 ac_cv_cflags__Wtype_limits=yes
17382 else
17383 ac_cv_cflags__Wtype_limits=no
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17387 CFLAGS=$ac_wine_try_cflags_saved
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17390 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17391 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17392 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17395 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17396 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17397 $as_echo_n "(cached) " >&6
17398 else
17399 ac_wine_try_cflags_saved=$CFLAGS
17400 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17402 /* end confdefs.h. */
17403 int main(int argc, char **argv) { return 0; }
17404 _ACEOF
17405 if ac_fn_c_try_link "$LINENO"; then :
17406 ac_cv_cflags__Wunused_but_set_parameter=yes
17407 else
17408 ac_cv_cflags__Wunused_but_set_parameter=no
17410 rm -f core conftest.err conftest.$ac_objext \
17411 conftest$ac_exeext conftest.$ac_ext
17412 CFLAGS=$ac_wine_try_cflags_saved
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17415 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17416 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17417 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17420 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17421 if ${ac_cv_cflags__Wvla+:} false; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424 ac_wine_try_cflags_saved=$CFLAGS
17425 CFLAGS="$CFLAGS -Wvla"
17426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17427 /* end confdefs.h. */
17428 int main(int argc, char **argv) { return 0; }
17429 _ACEOF
17430 if ac_fn_c_try_link "$LINENO"; then :
17431 ac_cv_cflags__Wvla=yes
17432 else
17433 ac_cv_cflags__Wvla=no
17435 rm -f core conftest.err conftest.$ac_objext \
17436 conftest$ac_exeext conftest.$ac_ext
17437 CFLAGS=$ac_wine_try_cflags_saved
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17440 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17441 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17442 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17445 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17446 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17447 $as_echo_n "(cached) " >&6
17448 else
17449 ac_wine_try_cflags_saved=$CFLAGS
17450 CFLAGS="$CFLAGS -Wwrite-strings"
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 int main(int argc, char **argv) { return 0; }
17454 _ACEOF
17455 if ac_fn_c_try_link "$LINENO"; then :
17456 ac_cv_cflags__Wwrite_strings=yes
17457 else
17458 ac_cv_cflags__Wwrite_strings=no
17460 rm -f core conftest.err conftest.$ac_objext \
17461 conftest$ac_exeext conftest.$ac_ext
17462 CFLAGS=$ac_wine_try_cflags_saved
17464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17465 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17466 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17467 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17470 if test -z "$CROSSTARGET"
17471 then
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
17473 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
17474 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
17475 $as_echo_n "(cached) " >&6
17476 else
17477 ac_wine_try_cflags_saved=$CFLAGS
17478 CFLAGS="$CFLAGS -fexcess-precision=standard"
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 int main(int argc, char **argv) { return 0; }
17482 _ACEOF
17483 if ac_fn_c_try_link "$LINENO"; then :
17484 ac_cv_cflags__fexcess_precision_standard=yes
17485 else
17486 ac_cv_cflags__fexcess_precision_standard=no
17488 rm -f core conftest.err conftest.$ac_objext \
17489 conftest$ac_exeext conftest.$ac_ext
17490 CFLAGS=$ac_wine_try_cflags_saved
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
17493 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
17494 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
17495 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17501 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17502 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17503 $as_echo_n "(cached) " >&6
17504 else
17505 ac_wine_try_cflags_saved=$CFLAGS
17506 CFLAGS="$CFLAGS -Wpointer-arith"
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 int main(int argc, char **argv) { return 0; }
17510 _ACEOF
17511 if ac_fn_c_try_link "$LINENO"; then :
17512 ac_cv_cflags__Wpointer_arith=yes
17513 else
17514 ac_cv_cflags__Wpointer_arith=no
17516 rm -f core conftest.err conftest.$ac_objext \
17517 conftest$ac_exeext conftest.$ac_ext
17518 CFLAGS=$ac_wine_try_cflags_saved
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17521 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17522 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17523 saved_string_h_CFLAGS=$CFLAGS
17524 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17526 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17527 if ${ac_cv_c_string_h_warnings+:} false; then :
17528 $as_echo_n "(cached) " >&6
17529 else
17530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17531 /* end confdefs.h. */
17532 #include <string.h>
17534 main ()
17538 return 0;
17540 _ACEOF
17541 if ac_fn_c_try_compile "$LINENO"; then :
17542 ac_cv_c_string_h_warnings=no
17543 else
17544 ac_cv_c_string_h_warnings=yes
17546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17549 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17550 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17551 CFLAGS=$saved_string_h_CFLAGS
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17555 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17556 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17557 $as_echo_n "(cached) " >&6
17558 else
17559 ac_wine_try_cflags_saved=$CFLAGS
17560 CFLAGS="$CFLAGS -Wlogical-op"
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17563 int main(int argc, char **argv) { return 0; }
17564 _ACEOF
17565 if ac_fn_c_try_link "$LINENO"; then :
17566 ac_cv_cflags__Wlogical_op=yes
17567 else
17568 ac_cv_cflags__Wlogical_op=no
17570 rm -f core conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17572 CFLAGS=$ac_wine_try_cflags_saved
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17575 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17576 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17577 saved_string_h_CFLAGS=$CFLAGS
17578 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17580 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17581 if ${ac_cv_c_logicalop_noisy+:} false; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17585 /* end confdefs.h. */
17586 #include <string.h>
17587 char*f(const char *h,char n) {return strchr(h,n);}
17589 main ()
17593 return 0;
17595 _ACEOF
17596 if ac_fn_c_try_compile "$LINENO"; then :
17597 ac_cv_c_logicalop_noisy=no
17598 else
17599 ac_cv_c_logicalop_noisy=yes
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17604 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17605 CFLAGS=$saved_string_h_CFLAGS
17606 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
17610 $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
17611 if ${wine_cv_64bit_compare_swap+:} false; then :
17612 $as_echo_n "(cached) " >&6
17613 else
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17617 #error no
17618 #endif
17620 main ()
17624 return 0;
17626 _ACEOF
17627 if ac_fn_c_try_compile "$LINENO"; then :
17628 wine_cv_64bit_compare_swap="none needed"
17629 else
17630 case $host_cpu in
17631 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
17632 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
17633 *) wine_cv_64bit_compare_swap="unknown" ;;
17634 esac
17635 if test "x$wine_cv_64bit_compare_swap" != xunknown
17636 then
17637 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
17641 #error no
17642 #endif
17644 main ()
17648 return 0;
17650 _ACEOF
17651 if ac_fn_c_try_compile "$LINENO"; then :
17653 else
17654 wine_cv_64bit_compare_swap="unknown"
17656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657 CFLAGS=$saved_CFLAGS
17660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
17663 $as_echo "$wine_cv_64bit_compare_swap" >&6; }
17664 case "$wine_cv_64bit_compare_swap" in
17665 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
17666 "none needed") ;;
17667 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
17668 esac
17670 for ac_flag in $CFLAGS; do
17671 case $ac_flag in
17672 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17673 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17674 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17677 ac_wine_try_cflags_saved=$CFLAGS
17678 CFLAGS="$CFLAGS -gdwarf-2"
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 int main(int argc, char **argv) { return 0; }
17682 _ACEOF
17683 if ac_fn_c_try_link "$LINENO"; then :
17684 ac_cv_cflags__gdwarf_2=yes
17685 else
17686 ac_cv_cflags__gdwarf_2=no
17688 rm -f core conftest.err conftest.$ac_objext \
17689 conftest$ac_exeext conftest.$ac_ext
17690 CFLAGS=$ac_wine_try_cflags_saved
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17693 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17694 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17695 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17698 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17699 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17700 $as_echo_n "(cached) " >&6
17701 else
17702 ac_wine_try_cflags_saved=$CFLAGS
17703 CFLAGS="$CFLAGS -gstrict-dwarf"
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706 int main(int argc, char **argv) { return 0; }
17707 _ACEOF
17708 if ac_fn_c_try_link "$LINENO"; then :
17709 ac_cv_cflags__gstrict_dwarf=yes
17710 else
17711 ac_cv_cflags__gstrict_dwarf=no
17713 rm -f core conftest.err conftest.$ac_objext \
17714 conftest$ac_exeext conftest.$ac_ext
17715 CFLAGS=$ac_wine_try_cflags_saved
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17718 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17719 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17720 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17721 fi ;;
17722 esac
17723 done
17725 MSVCRTFLAGS=""
17727 case $host_os in
17728 mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
17729 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
17730 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
17731 $as_echo_n "(cached) " >&6
17732 else
17733 ac_wine_try_cflags_saved=$CFLAGS
17734 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
17735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17736 /* end confdefs.h. */
17737 int main(int argc, char **argv) { return 0; }
17738 _ACEOF
17739 if ac_fn_c_try_link "$LINENO"; then :
17740 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
17741 else
17742 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
17744 rm -f core conftest.err conftest.$ac_objext \
17745 conftest$ac_exeext conftest.$ac_ext
17746 CFLAGS=$ac_wine_try_cflags_saved
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
17749 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
17750 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
17751 DELAYLOADFLAG="-Wl,-delayload,"
17753 fi ;;
17754 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17755 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17756 if ${ac_cv_cflags__fno_builtin+:} false; then :
17757 $as_echo_n "(cached) " >&6
17758 else
17759 ac_wine_try_cflags_saved=$CFLAGS
17760 CFLAGS="$CFLAGS -fno-builtin"
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17763 int main(int argc, char **argv) { return 0; }
17764 _ACEOF
17765 if ac_fn_c_try_link "$LINENO"; then :
17766 ac_cv_cflags__fno_builtin=yes
17767 else
17768 ac_cv_cflags__fno_builtin=no
17770 rm -f core conftest.err conftest.$ac_objext \
17771 conftest$ac_exeext conftest.$ac_ext
17772 CFLAGS=$ac_wine_try_cflags_saved
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17775 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17776 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17777 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17780 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17781 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17782 $as_echo_n "(cached) " >&6
17783 else
17784 ac_wine_try_cflags_saved=$CFLAGS
17785 CFLAGS="$CFLAGS -fshort-wchar"
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17788 int main(int argc, char **argv) { return 0; }
17789 _ACEOF
17790 if ac_fn_c_try_link "$LINENO"; then :
17791 ac_cv_cflags__fshort_wchar=yes
17792 else
17793 ac_cv_cflags__fshort_wchar=no
17795 rm -f core conftest.err conftest.$ac_objext \
17796 conftest$ac_exeext conftest.$ac_ext
17797 CFLAGS=$ac_wine_try_cflags_saved
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17800 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17801 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17802 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17803 fi ;;
17804 esac
17806 case $host_cpu in
17807 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17808 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17809 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17810 $as_echo_n "(cached) " >&6
17811 else
17812 ac_wine_try_cflags_saved=$CFLAGS
17813 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17816 int main(int argc, char **argv) { return 0; }
17817 _ACEOF
17818 if ac_fn_c_try_link "$LINENO"; then :
17819 ac_cv_cflags__fno_omit_frame_pointer=yes
17820 else
17821 ac_cv_cflags__fno_omit_frame_pointer=no
17823 rm -f core conftest.err conftest.$ac_objext \
17824 conftest$ac_exeext conftest.$ac_ext
17825 CFLAGS=$ac_wine_try_cflags_saved
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17828 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17829 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17830 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17831 fi ;;
17832 *x86_64*)
17833 case $host_os in
17834 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17835 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17836 if ${ac_cv_cflags__Wno_format+:} false; then :
17837 $as_echo_n "(cached) " >&6
17838 else
17839 ac_wine_try_cflags_saved=$CFLAGS
17840 CFLAGS="$CFLAGS -Wno-format"
17841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17842 /* end confdefs.h. */
17843 int main(int argc, char **argv) { return 0; }
17844 _ACEOF
17845 if ac_fn_c_try_link "$LINENO"; then :
17846 ac_cv_cflags__Wno_format=yes
17847 else
17848 ac_cv_cflags__Wno_format=no
17850 rm -f core conftest.err conftest.$ac_objext \
17851 conftest$ac_exeext conftest.$ac_ext
17852 CFLAGS=$ac_wine_try_cflags_saved
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17855 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17856 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17857 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17858 fi ;;
17859 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17860 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17861 if ${ac_cv_cflags__mabi_ms+:} false; then :
17862 $as_echo_n "(cached) " >&6
17863 else
17864 ac_wine_try_cflags_saved=$CFLAGS
17865 CFLAGS="$CFLAGS -mabi=ms"
17866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17867 /* end confdefs.h. */
17868 int main(int argc, char **argv) { return 0; }
17869 _ACEOF
17870 if ac_fn_c_try_link "$LINENO"; then :
17871 ac_cv_cflags__mabi_ms=yes
17872 else
17873 ac_cv_cflags__mabi_ms=no
17875 rm -f core conftest.err conftest.$ac_objext \
17876 conftest$ac_exeext conftest.$ac_ext
17877 CFLAGS=$ac_wine_try_cflags_saved
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17880 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17881 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17882 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17883 fi ;;
17884 esac ;;
17885 esac
17887 CFLAGS=$saved_CFLAGS
17889 if test "x$enable_werror" = "xyes"
17890 then
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17892 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17893 if ${ac_cv_cflags__Werror+:} false; then :
17894 $as_echo_n "(cached) " >&6
17895 else
17896 ac_wine_try_cflags_saved=$CFLAGS
17897 CFLAGS="$CFLAGS -Werror"
17898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17899 /* end confdefs.h. */
17900 int main(int argc, char **argv) { return 0; }
17901 _ACEOF
17902 if ac_fn_c_try_link "$LINENO"; then :
17903 ac_cv_cflags__Werror=yes
17904 else
17905 ac_cv_cflags__Werror=no
17907 rm -f core conftest.err conftest.$ac_objext \
17908 conftest$ac_exeext conftest.$ac_ext
17909 CFLAGS=$ac_wine_try_cflags_saved
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17912 $as_echo "$ac_cv_cflags__Werror" >&6; }
17913 if test "x$ac_cv_cflags__Werror" = xyes; then :
17914 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17917 if test "x$enable_build_id" = "xyes"
17918 then
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
17920 $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
17921 if ${ac_cv_cflags__Wl___build_id+:} false; then :
17922 $as_echo_n "(cached) " >&6
17923 else
17924 ac_wine_try_cflags_saved=$CFLAGS
17925 CFLAGS="$CFLAGS -Wl,--build-id"
17926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17927 /* end confdefs.h. */
17928 int main(int argc, char **argv) { return 0; }
17929 _ACEOF
17930 if ac_fn_c_try_link "$LINENO"; then :
17931 ac_cv_cflags__Wl___build_id=yes
17932 else
17933 ac_cv_cflags__Wl___build_id=no
17935 rm -f core conftest.err conftest.$ac_objext \
17936 conftest$ac_exeext conftest.$ac_ext
17937 CFLAGS=$ac_wine_try_cflags_saved
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
17940 $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
17941 if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
17942 CFLAGS="$CFLAGS -Wl,--build-id"
17943 LDFLAGS="$LDFLAGS -Wl,--build-id"
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17950 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17951 if ${ac_cv_c_fortify_enabled+:} false; then :
17952 $as_echo_n "(cached) " >&6
17953 else
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17956 #include <string.h>
17958 main ()
17960 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17961 #error Fortify enabled
17962 #endif
17964 return 0;
17966 _ACEOF
17967 if ac_fn_c_try_compile "$LINENO"; then :
17968 ac_cv_c_fortify_enabled=no
17969 else
17970 ac_cv_c_fortify_enabled=yes
17972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17975 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17976 if test "$ac_cv_c_fortify_enabled" = yes
17977 then
17978 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17983 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17984 if ${ac_cv_c_cfi_support+:} false; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17988 /* end confdefs.h. */
17989 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17991 main ()
17995 return 0;
17997 _ACEOF
17998 if ac_fn_c_try_compile "$LINENO"; then :
17999 ac_cv_c_cfi_support="yes"
18000 else
18001 ac_cv_c_cfi_support="no"
18003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
18006 $as_echo "$ac_cv_c_cfi_support" >&6; }
18007 if test "$ac_cv_c_cfi_support" = "yes"
18008 then
18009 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
18010 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
18011 else
18012 if test "x$enable_win64" = "xyes"
18013 then
18014 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
18019 case $build_os in
18020 cygwin*|mingw32*) TOOLSEXT=".exe"
18022 esac
18024 case $host_os in
18025 linux*)
18026 case $host_cpu in
18027 *i[3456789]86*|x86_64*|*aarch64*)
18028 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
18029 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
18031 esac
18033 esac
18036 ac_save_CFLAGS="$CFLAGS"
18037 CFLAGS="$CFLAGS $BUILTINFLAG"
18038 for ac_func in \
18039 __res_get_state \
18040 __res_getservers \
18041 _spawnvp \
18042 epoll_create \
18043 fnmatch \
18044 fork \
18045 fstatfs \
18046 futimens \
18047 futimes \
18048 futimesat \
18049 getattrlist \
18050 getauxval \
18051 getifaddrs \
18052 getopt_long_only \
18053 getrandom \
18054 kqueue \
18055 lstat \
18056 mach_continuous_time \
18057 pipe2 \
18058 poll \
18059 port_create \
18060 prctl \
18061 pread \
18062 proc_pidinfo \
18063 pwrite \
18064 readlink \
18065 sched_yield \
18066 setproctitle \
18067 setprogname \
18068 sigprocmask \
18069 symlink \
18070 tcdrain \
18071 thr_kill2
18073 do :
18074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18076 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18077 cat >>confdefs.h <<_ACEOF
18078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18079 _ACEOF
18082 done
18084 CFLAGS="$ac_save_CFLAGS"
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18087 $as_echo_n "checking for library containing dlopen... " >&6; }
18088 if ${ac_cv_search_dlopen+:} false; then :
18089 $as_echo_n "(cached) " >&6
18090 else
18091 ac_func_search_save_LIBS=$LIBS
18092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18093 /* end confdefs.h. */
18095 /* Override any GCC internal prototype to avoid an error.
18096 Use char because int might match the return type of a GCC
18097 builtin and then its argument prototype would still apply. */
18098 #ifdef __cplusplus
18099 extern "C"
18100 #endif
18101 char dlopen ();
18103 main ()
18105 return dlopen ();
18107 return 0;
18109 _ACEOF
18110 for ac_lib in '' dl; do
18111 if test -z "$ac_lib"; then
18112 ac_res="none required"
18113 else
18114 ac_res=-l$ac_lib
18115 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18117 if ac_fn_c_try_link "$LINENO"; then :
18118 ac_cv_search_dlopen=$ac_res
18120 rm -f core conftest.err conftest.$ac_objext \
18121 conftest$ac_exeext
18122 if ${ac_cv_search_dlopen+:} false; then :
18123 break
18125 done
18126 if ${ac_cv_search_dlopen+:} false; then :
18128 else
18129 ac_cv_search_dlopen=no
18131 rm conftest.$ac_ext
18132 LIBS=$ac_func_search_save_LIBS
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18135 $as_echo "$ac_cv_search_dlopen" >&6; }
18136 ac_res=$ac_cv_search_dlopen
18137 if test "$ac_res" != no; then :
18138 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18142 ac_wine_check_funcs_save_LIBS="$LIBS"
18143 LIBS="$LIBS $DL_LIBS"
18144 for ac_func in dladdr dlinfo
18145 do :
18146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18148 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18149 cat >>confdefs.h <<_ACEOF
18150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18151 _ACEOF
18154 done
18156 LIBS="$ac_wine_check_funcs_save_LIBS"
18158 if test "$ac_cv_func_poll" = no
18159 then
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
18161 $as_echo_n "checking for poll in -lpoll... " >&6; }
18162 if ${ac_cv_lib_poll_poll+:} false; then :
18163 $as_echo_n "(cached) " >&6
18164 else
18165 ac_check_lib_save_LIBS=$LIBS
18166 LIBS="-lpoll $LIBS"
18167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18170 /* Override any GCC internal prototype to avoid an error.
18171 Use char because int might match the return type of a GCC
18172 builtin and then its argument prototype would still apply. */
18173 #ifdef __cplusplus
18174 extern "C"
18175 #endif
18176 char poll ();
18178 main ()
18180 return poll ();
18182 return 0;
18184 _ACEOF
18185 if ac_fn_c_try_link "$LINENO"; then :
18186 ac_cv_lib_poll_poll=yes
18187 else
18188 ac_cv_lib_poll_poll=no
18190 rm -f core conftest.err conftest.$ac_objext \
18191 conftest$ac_exeext conftest.$ac_ext
18192 LIBS=$ac_check_lib_save_LIBS
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
18195 $as_echo "$ac_cv_lib_poll_poll" >&6; }
18196 if test "x$ac_cv_lib_poll_poll" = xyes; then :
18197 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18198 POLL_LIBS="-lpoll"
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18205 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18206 if ${ac_cv_search_gethostbyname+:} false; then :
18207 $as_echo_n "(cached) " >&6
18208 else
18209 ac_func_search_save_LIBS=$LIBS
18210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18211 /* end confdefs.h. */
18213 /* Override any GCC internal prototype to avoid an error.
18214 Use char because int might match the return type of a GCC
18215 builtin and then its argument prototype would still apply. */
18216 #ifdef __cplusplus
18217 extern "C"
18218 #endif
18219 char gethostbyname ();
18221 main ()
18223 return gethostbyname ();
18225 return 0;
18227 _ACEOF
18228 for ac_lib in '' nsl; do
18229 if test -z "$ac_lib"; then
18230 ac_res="none required"
18231 else
18232 ac_res=-l$ac_lib
18233 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18235 if ac_fn_c_try_link "$LINENO"; then :
18236 ac_cv_search_gethostbyname=$ac_res
18238 rm -f core conftest.err conftest.$ac_objext \
18239 conftest$ac_exeext
18240 if ${ac_cv_search_gethostbyname+:} false; then :
18241 break
18243 done
18244 if ${ac_cv_search_gethostbyname+:} false; then :
18246 else
18247 ac_cv_search_gethostbyname=no
18249 rm conftest.$ac_ext
18250 LIBS=$ac_func_search_save_LIBS
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18253 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18254 ac_res=$ac_cv_search_gethostbyname
18255 if test "$ac_res" != no; then :
18256 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
18262 $as_echo_n "checking for library containing connect... " >&6; }
18263 if ${ac_cv_search_connect+:} false; then :
18264 $as_echo_n "(cached) " >&6
18265 else
18266 ac_func_search_save_LIBS=$LIBS
18267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18268 /* end confdefs.h. */
18270 /* Override any GCC internal prototype to avoid an error.
18271 Use char because int might match the return type of a GCC
18272 builtin and then its argument prototype would still apply. */
18273 #ifdef __cplusplus
18274 extern "C"
18275 #endif
18276 char connect ();
18278 main ()
18280 return connect ();
18282 return 0;
18284 _ACEOF
18285 for ac_lib in '' socket; do
18286 if test -z "$ac_lib"; then
18287 ac_res="none required"
18288 else
18289 ac_res=-l$ac_lib
18290 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18292 if ac_fn_c_try_link "$LINENO"; then :
18293 ac_cv_search_connect=$ac_res
18295 rm -f core conftest.err conftest.$ac_objext \
18296 conftest$ac_exeext
18297 if ${ac_cv_search_connect+:} false; then :
18298 break
18300 done
18301 if ${ac_cv_search_connect+:} false; then :
18303 else
18304 ac_cv_search_connect=no
18306 rm conftest.$ac_ext
18307 LIBS=$ac_func_search_save_LIBS
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
18310 $as_echo "$ac_cv_search_connect" >&6; }
18311 ac_res=$ac_cv_search_connect
18312 if test "$ac_res" != no; then :
18313 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
18319 $as_echo_n "checking for library containing inet_aton... " >&6; }
18320 if ${ac_cv_search_inet_aton+:} false; then :
18321 $as_echo_n "(cached) " >&6
18322 else
18323 ac_func_search_save_LIBS=$LIBS
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18327 /* Override any GCC internal prototype to avoid an error.
18328 Use char because int might match the return type of a GCC
18329 builtin and then its argument prototype would still apply. */
18330 #ifdef __cplusplus
18331 extern "C"
18332 #endif
18333 char inet_aton ();
18335 main ()
18337 return inet_aton ();
18339 return 0;
18341 _ACEOF
18342 for ac_lib in '' resolv; do
18343 if test -z "$ac_lib"; then
18344 ac_res="none required"
18345 else
18346 ac_res=-l$ac_lib
18347 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18349 if ac_fn_c_try_link "$LINENO"; then :
18350 ac_cv_search_inet_aton=$ac_res
18352 rm -f core conftest.err conftest.$ac_objext \
18353 conftest$ac_exeext
18354 if ${ac_cv_search_inet_aton+:} false; then :
18355 break
18357 done
18358 if ${ac_cv_search_inet_aton+:} false; then :
18360 else
18361 ac_cv_search_inet_aton=no
18363 rm conftest.$ac_ext
18364 LIBS=$ac_func_search_save_LIBS
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18367 $as_echo "$ac_cv_search_inet_aton" >&6; }
18368 ac_res=$ac_cv_search_inet_aton
18369 if test "$ac_res" != no; then :
18370 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18375 for ac_func in \
18376 getaddrinfo \
18377 getnameinfo \
18378 getservbyport \
18380 do :
18381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18384 cat >>confdefs.h <<_ACEOF
18385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18386 _ACEOF
18389 done
18392 case $host_os in
18393 darwin*|macosx*) ;;
18394 *) ac_save_LIBS=$LIBS
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18396 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18397 if ${ac_cv_search_clock_gettime+:} false; then :
18398 $as_echo_n "(cached) " >&6
18399 else
18400 ac_func_search_save_LIBS=$LIBS
18401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18402 /* end confdefs.h. */
18404 /* Override any GCC internal prototype to avoid an error.
18405 Use char because int might match the return type of a GCC
18406 builtin and then its argument prototype would still apply. */
18407 #ifdef __cplusplus
18408 extern "C"
18409 #endif
18410 char clock_gettime ();
18412 main ()
18414 return clock_gettime ();
18416 return 0;
18418 _ACEOF
18419 for ac_lib in '' rt; do
18420 if test -z "$ac_lib"; then
18421 ac_res="none required"
18422 else
18423 ac_res=-l$ac_lib
18424 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18426 if ac_fn_c_try_link "$LINENO"; then :
18427 ac_cv_search_clock_gettime=$ac_res
18429 rm -f core conftest.err conftest.$ac_objext \
18430 conftest$ac_exeext
18431 if ${ac_cv_search_clock_gettime+:} false; then :
18432 break
18434 done
18435 if ${ac_cv_search_clock_gettime+:} false; then :
18437 else
18438 ac_cv_search_clock_gettime=no
18440 rm conftest.$ac_ext
18441 LIBS=$ac_func_search_save_LIBS
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18444 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18445 ac_res=$ac_cv_search_clock_gettime
18446 if test "$ac_res" != no; then :
18447 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18449 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18451 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18455 LIBS=$ac_save_LIBS
18457 esac
18459 if test "x$with_ldap" != "xno"
18460 then
18461 if ${LDAP_CFLAGS:+false} :; then :
18462 if ${PKG_CONFIG+:} false; then :
18463 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18467 if ${LDAP_LIBS:+false} :; then :
18468 if ${PKG_CONFIG+:} false; then :
18469 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18473 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18474 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18475 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18476 ac_save_CPPFLAGS=$CPPFLAGS
18477 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18478 for ac_header in ldap.h lber.h
18479 do :
18480 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18481 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18482 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18483 cat >>confdefs.h <<_ACEOF
18484 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18485 _ACEOF
18489 done
18491 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18492 then
18493 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18495 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18497 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18498 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18499 $as_echo_n "(cached) " >&6
18500 else
18501 ac_check_lib_save_LIBS=$LIBS
18502 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18506 /* Override any GCC internal prototype to avoid an error.
18507 Use char because int might match the return type of a GCC
18508 builtin and then its argument prototype would still apply. */
18509 #ifdef __cplusplus
18510 extern "C"
18511 #endif
18512 char ldap_initialize ();
18514 main ()
18516 return ldap_initialize ();
18518 return 0;
18520 _ACEOF
18521 if ac_fn_c_try_link "$LINENO"; then :
18522 ac_cv_lib_ldap_r_ldap_initialize=yes
18523 else
18524 ac_cv_lib_ldap_r_ldap_initialize=no
18526 rm -f core conftest.err conftest.$ac_objext \
18527 conftest$ac_exeext conftest.$ac_ext
18528 LIBS=$ac_check_lib_save_LIBS
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18531 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18532 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18534 $as_echo_n "checking for ber_init in -llber... " >&6; }
18535 if ${ac_cv_lib_lber_ber_init+:} false; then :
18536 $as_echo_n "(cached) " >&6
18537 else
18538 ac_check_lib_save_LIBS=$LIBS
18539 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18541 /* end confdefs.h. */
18543 /* Override any GCC internal prototype to avoid an error.
18544 Use char because int might match the return type of a GCC
18545 builtin and then its argument prototype would still apply. */
18546 #ifdef __cplusplus
18547 extern "C"
18548 #endif
18549 char ber_init ();
18551 main ()
18553 return ber_init ();
18555 return 0;
18557 _ACEOF
18558 if ac_fn_c_try_link "$LINENO"; then :
18559 ac_cv_lib_lber_ber_init=yes
18560 else
18561 ac_cv_lib_lber_ber_init=no
18563 rm -f core conftest.err conftest.$ac_objext \
18564 conftest$ac_exeext conftest.$ac_ext
18565 LIBS=$ac_check_lib_save_LIBS
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18568 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18569 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18571 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18573 else
18574 LDAP_LIBS=""
18577 else
18578 LDAP_LIBS=""
18581 else
18582 LDAP_LIBS=""
18585 ac_wine_check_funcs_save_LIBS="$LIBS"
18586 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18587 for ac_func in \
18588 ldap_count_references \
18589 ldap_first_reference \
18590 ldap_next_reference \
18591 ldap_parse_reference \
18592 ldap_parse_sort_control \
18593 ldap_parse_sortresponse_control \
18594 ldap_parse_vlv_control \
18595 ldap_parse_vlvresponse_control
18596 do :
18597 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18598 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18599 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18600 cat >>confdefs.h <<_ACEOF
18601 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18602 _ACEOF
18605 done
18607 LIBS="$ac_wine_check_funcs_save_LIBS"
18608 else
18609 LDAP_LIBS=""
18611 CPPFLAGS=$ac_save_CPPFLAGS
18614 if test "x$LDAP_LIBS" = "x"; then :
18615 case "x$with_ldap" in
18616 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18617 xno) ;;
18618 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18619 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18620 esac
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18625 $as_echo_n "checking for sched_setaffinity... " >&6; }
18626 if ${wine_cv_have_sched_setaffinity+:} false; then :
18627 $as_echo_n "(cached) " >&6
18628 else
18629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18630 /* end confdefs.h. */
18631 #define _GNU_SOURCE
18632 #include <sched.h>
18634 main ()
18636 sched_setaffinity(0, 0, 0);
18638 return 0;
18640 _ACEOF
18641 if ac_fn_c_try_link "$LINENO"; then :
18642 wine_cv_have_sched_setaffinity=yes
18643 else
18644 wine_cv_have_sched_setaffinity=no
18646 rm -f core conftest.err conftest.$ac_objext \
18647 conftest$ac_exeext conftest.$ac_ext
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18650 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18651 if test "$wine_cv_have_sched_setaffinity" = "yes"
18652 then
18654 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18659 $as_echo_n "checking for fallocate... " >&6; }
18660 if ${wine_cv_have_fallocate+:} false; then :
18661 $as_echo_n "(cached) " >&6
18662 else
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18665 #define _GNU_SOURCE
18666 #include <fcntl.h>
18668 main ()
18670 fallocate(-1, 0, 0, 0);
18672 return 0;
18674 _ACEOF
18675 if ac_fn_c_try_link "$LINENO"; then :
18676 wine_cv_have_fallocate=yes
18677 else
18678 wine_cv_have_fallocate=no
18680 rm -f core conftest.err conftest.$ac_objext \
18681 conftest$ac_exeext conftest.$ac_ext
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18684 $as_echo "$wine_cv_have_fallocate" >&6; }
18685 if test "$wine_cv_have_fallocate" = "yes"
18686 then
18688 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18694 $as_echo_n "checking for inline... " >&6; }
18695 if ${ac_cv_c_inline+:} false; then :
18696 $as_echo_n "(cached) " >&6
18697 else
18698 ac_cv_c_inline=no
18699 for ac_kw in inline __inline__ __inline; do
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h. */
18702 #ifndef __cplusplus
18703 typedef int foo_t;
18704 static $ac_kw foo_t static_foo () {return 0; }
18705 $ac_kw foo_t foo () {return 0; }
18706 #endif
18708 _ACEOF
18709 if ac_fn_c_try_compile "$LINENO"; then :
18710 ac_cv_c_inline=$ac_kw
18712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18713 test "$ac_cv_c_inline" != no && break
18714 done
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18718 $as_echo "$ac_cv_c_inline" >&6; }
18720 case $ac_cv_c_inline in
18721 inline | yes) ;;
18723 case $ac_cv_c_inline in
18724 no) ac_val=;;
18725 *) ac_val=$ac_cv_c_inline;;
18726 esac
18727 cat >>confdefs.h <<_ACEOF
18728 #ifndef __cplusplus
18729 #define inline $ac_val
18730 #endif
18731 _ACEOF
18733 esac
18735 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18736 #include <signal.h>
18738 if test "x$ac_cv_type_sigset_t" = xyes; then :
18740 cat >>confdefs.h <<_ACEOF
18741 #define HAVE_SIGSET_T 1
18742 _ACEOF
18747 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18749 if test "x$ac_cv_type_request_sense" = xyes; then :
18751 cat >>confdefs.h <<_ACEOF
18752 #define HAVE_REQUEST_SENSE 1
18753 _ACEOF
18759 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18760 #ifdef HAVE_SYS_SOCKET_H
18761 #include <sys/socket.h>
18762 #endif
18763 #ifdef HAVE_SYS_SOCKETVAR_H
18764 #include <sys/socketvar.h>
18765 #endif
18766 #ifdef HAVE_NET_ROUTE_H
18767 #include <net/route.h>
18768 #endif
18769 #ifdef HAVE_NETINET_IN_H
18770 #include <netinet/in.h>
18771 #endif
18772 #ifdef HAVE_NETINET_IN_SYSTM_H
18773 #include <netinet/in_systm.h>
18774 #endif
18775 #ifdef HAVE_NETINET_IP_H
18776 #include <netinet/ip.h>
18777 #endif
18778 #ifdef HAVE_NETINET_IN_PCB_H
18779 #include <netinet/in_pcb.h>
18780 #endif
18782 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18784 cat >>confdefs.h <<_ACEOF
18785 #define HAVE_STRUCT_XINPGEN 1
18786 _ACEOF
18792 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18793 #include <linux/input.h>
18794 #endif
18796 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18798 cat >>confdefs.h <<_ACEOF
18799 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18800 _ACEOF
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18807 $as_echo_n "checking for if_nameindex... " >&6; }
18808 if ${wine_cv_have_if_nameindex+:} false; then :
18809 $as_echo_n "(cached) " >&6
18810 else
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #ifdef HAVE_SYS_TYPES_H
18814 #include <sys/types.h>
18815 #endif
18816 #ifdef HAVE_SYS_SOCKET_H
18817 #include <sys/socket.h>
18818 #endif
18819 #ifdef HAVE_NET_IF_H
18820 # include <net/if.h>
18821 #endif
18823 main ()
18825 struct if_nameindex *p = if_nameindex(); return p->if_index;
18827 return 0;
18829 _ACEOF
18830 if ac_fn_c_try_link "$LINENO"; then :
18831 wine_cv_have_if_nameindex=yes
18832 else
18833 wine_cv_have_if_nameindex=no
18835 rm -f core conftest.err conftest.$ac_objext \
18836 conftest$ac_exeext conftest.$ac_ext
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18839 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18840 if test "$wine_cv_have_if_nameindex" = "yes"
18841 then
18843 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18848 $as_echo_n "checking for sigaddset... " >&6; }
18849 if ${wine_cv_have_sigaddset+:} false; then :
18850 $as_echo_n "(cached) " >&6
18851 else
18852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18853 /* end confdefs.h. */
18854 #include <signal.h>
18856 main ()
18858 sigset_t set; sigaddset(&set,SIGTERM);
18860 return 0;
18862 _ACEOF
18863 if ac_fn_c_try_link "$LINENO"; then :
18864 wine_cv_have_sigaddset=yes
18865 else
18866 wine_cv_have_sigaddset=no
18868 rm -f core conftest.err conftest.$ac_objext \
18869 conftest$ac_exeext conftest.$ac_ext
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18872 $as_echo "$wine_cv_have_sigaddset" >&6; }
18873 if test "$wine_cv_have_sigaddset" = "yes"
18874 then
18876 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18882 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18883 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18884 $as_echo_n "(cached) " >&6
18885 else
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h. */
18888 #include <netdb.h>
18890 main ()
18893 char *name=0;
18894 struct hostent he;
18895 struct hostent *result;
18896 char *buf=0;
18897 int bufsize=0;
18898 int errnr;
18899 char *addr=0;
18900 int addrlen=0;
18901 int addrtype=0;
18902 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18903 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18906 return 0;
18908 _ACEOF
18909 if ac_fn_c_try_link "$LINENO"; then :
18910 wine_cv_linux_gethostbyname_r_6=yes
18911 else
18912 wine_cv_linux_gethostbyname_r_6=no
18915 rm -f core conftest.err conftest.$ac_objext \
18916 conftest$ac_exeext conftest.$ac_ext
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18920 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18921 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18922 then
18924 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18928 if test "$ac_cv_header_linux_joystick_h" = "yes"
18929 then
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18931 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18932 if ${wine_cv_linux_joystick_22_api+:} false; then :
18933 $as_echo_n "(cached) " >&6
18934 else
18935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18936 /* end confdefs.h. */
18938 #include <sys/ioctl.h>
18939 #include <sys/types.h>
18940 #include <linux/joystick.h>
18942 struct js_event blub;
18943 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18944 #error "no 2.2 header"
18945 #endif
18948 main ()
18950 /*empty*/
18952 return 0;
18954 _ACEOF
18955 if ac_fn_c_try_compile "$LINENO"; then :
18956 wine_cv_linux_joystick_22_api=yes
18957 else
18958 wine_cv_linux_joystick_22_api=no
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18964 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18965 if test "$wine_cv_linux_joystick_22_api" = "yes"
18966 then
18968 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18973 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18974 #ifdef HAVE_SYS_SOCKET_H
18975 # include <sys/socket.h>
18976 #endif
18977 #ifdef HAVE_SYS_UN_H
18978 # include <sys/un.h>
18979 #endif
18981 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18983 cat >>confdefs.h <<_ACEOF
18984 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18985 _ACEOF
18989 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18990 #ifdef HAVE_SYS_SOCKET_H
18991 # include <sys/socket.h>
18992 #endif
18993 #ifdef HAVE_SYS_UN_H
18994 # include <sys/un.h>
18995 #endif
18997 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18999 cat >>confdefs.h <<_ACEOF
19000 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19001 _ACEOF
19005 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
19006 #ifdef HAVE_SYS_SOCKET_H
19007 # include <sys/socket.h>
19008 #endif
19009 #ifdef HAVE_SYS_UN_H
19010 # include <sys/un.h>
19011 #endif
19013 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
19015 cat >>confdefs.h <<_ACEOF
19016 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19017 _ACEOF
19023 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
19024 #ifdef HAVE_SCSI_SG_H
19025 #include <scsi/sg.h>
19026 #endif
19028 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
19030 cat >>confdefs.h <<_ACEOF
19031 #define HAVE_SCSIREQ_T_CMD 1
19032 _ACEOF
19036 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>
19037 #ifdef HAVE_SCSI_SG_H
19038 #include <scsi/sg.h>
19039 #endif
19041 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
19043 cat >>confdefs.h <<_ACEOF
19044 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19045 _ACEOF
19051 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
19053 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
19055 cat >>confdefs.h <<_ACEOF
19056 #define HAVE_SIGINFO_T_SI_FD 1
19057 _ACEOF
19063 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
19064 #ifdef HAVE_SYS_MTIO_H
19065 #include <sys/mtio.h>
19066 #endif
19068 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19072 _ACEOF
19076 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
19077 #ifdef HAVE_SYS_MTIO_H
19078 #include <sys/mtio.h>
19079 #endif
19081 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
19083 cat >>confdefs.h <<_ACEOF
19084 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19085 _ACEOF
19089 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
19090 #ifdef HAVE_SYS_MTIO_H
19091 #include <sys/mtio.h>
19092 #endif
19094 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
19096 cat >>confdefs.h <<_ACEOF
19097 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19098 _ACEOF
19104 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
19105 #include <getopt.h>
19106 #endif
19108 if test "x$ac_cv_member_struct_option_name" = xyes; then :
19110 cat >>confdefs.h <<_ACEOF
19111 #define HAVE_STRUCT_OPTION_NAME 1
19112 _ACEOF
19118 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19119 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19121 cat >>confdefs.h <<_ACEOF
19122 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19123 _ACEOF
19127 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19128 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19130 cat >>confdefs.h <<_ACEOF
19131 #define HAVE_STRUCT_STAT_ST_MTIM 1
19132 _ACEOF
19136 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19137 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19139 cat >>confdefs.h <<_ACEOF
19140 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19141 _ACEOF
19145 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19146 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STRUCT_STAT_ST_CTIM 1
19150 _ACEOF
19154 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19155 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19157 cat >>confdefs.h <<_ACEOF
19158 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19159 _ACEOF
19163 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19164 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19166 cat >>confdefs.h <<_ACEOF
19167 #define HAVE_STRUCT_STAT_ST_ATIM 1
19168 _ACEOF
19172 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19173 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19175 cat >>confdefs.h <<_ACEOF
19176 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19177 _ACEOF
19181 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19182 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19184 cat >>confdefs.h <<_ACEOF
19185 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19186 _ACEOF
19190 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19191 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19193 cat >>confdefs.h <<_ACEOF
19194 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19195 _ACEOF
19199 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19200 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19202 cat >>confdefs.h <<_ACEOF
19203 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19204 _ACEOF
19208 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19209 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19211 cat >>confdefs.h <<_ACEOF
19212 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19213 _ACEOF
19217 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19218 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19220 cat >>confdefs.h <<_ACEOF
19221 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19222 _ACEOF
19228 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
19229 #include <sys/types.h>
19230 #endif
19231 #ifdef HAVE_NETINET_IN_H
19232 #include <netinet/in.h>
19233 #endif
19235 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19237 cat >>confdefs.h <<_ACEOF
19238 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19239 _ACEOF
19245 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19246 #include <sys/types.h>
19247 #endif
19248 #ifdef HAVE_NETINET_IN_H
19249 #include <netinet/in.h>
19250 #endif
19251 #ifdef HAVE_RESOLV_H
19252 #include <resolv.h>
19253 #endif
19255 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19257 cat >>confdefs.h <<_ACEOF
19258 #define HAVE_STRUCT___RES_STATE 1
19259 _ACEOF
19265 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
19266 #include <resolv.h>
19267 #endif
19269 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19273 _ACEOF
19279 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19280 #include <sys/types.h>
19281 #endif
19282 #ifdef HAVE_NETINET_IN_H
19283 # include <netinet/in.h>
19284 #endif
19285 #ifdef HAVE_ARPA_NAMESER_H
19286 # include <arpa/nameser.h>
19287 #endif
19289 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19291 cat >>confdefs.h <<_ACEOF
19292 #define HAVE_NS_MSG__MSG_PTR 1
19293 _ACEOF
19299 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19300 #include <sys/types.h>
19301 #endif
19302 #ifdef HAVE_NETINET_IN_H
19303 #include <netinet/in.h>
19304 #endif
19305 #ifdef HAVE_NETINET_IP_H
19306 #include <netinet/ip.h>
19307 #endif
19308 #ifdef HAVE_NETINET_IP_ICMP_H
19309 #include <netinet/ip_icmp.h>
19310 #endif
19311 #ifdef HAVE_NETINET_ICMP_VAR_H
19312 #include <netinet/icmp_var.h>
19313 #endif
19315 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19317 cat >>confdefs.h <<_ACEOF
19318 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19319 _ACEOF
19325 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19326 #include <sys/types.h>
19327 #endif
19328 #ifdef HAVE_ALIAS_H
19329 #include <alias.h>
19330 #endif
19331 #ifdef HAVE_SYS_SOCKET_H
19332 #include <sys/socket.h>
19333 #endif
19334 #ifdef HAVE_SYS_SOCKETVAR_H
19335 #include <sys/socketvar.h>
19336 #endif
19337 #ifdef HAVE_SYS_TIMEOUT_H
19338 #include <sys/timeout.h>
19339 #endif
19340 #ifdef HAVE_NETINET_IN_H
19341 #include <netinet/in.h>
19342 #endif
19343 #ifdef HAVE_NETINET_IN_SYSTM_H
19344 #include <netinet/in_systm.h>
19345 #endif
19346 #ifdef HAVE_NETINET_IP_H
19347 #include <netinet/ip.h>
19348 #endif
19349 #ifdef HAVE_NETINET_IP_VAR_H
19350 #include <netinet/ip_var.h>
19351 #endif
19352 #ifdef HAVE_NETINET_IP_ICMP_H
19353 #include <netinet/ip_icmp.h>
19354 #endif
19355 #ifdef HAVE_NETINET_ICMP_VAR_H
19356 #include <netinet/icmp_var.h>
19357 #endif
19359 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19361 cat >>confdefs.h <<_ACEOF
19362 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19363 _ACEOF
19369 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19370 #include <sys/types.h>
19371 #endif
19372 #ifdef HAVE_SYS_SOCKETVAR_H
19373 #include <sys/socketvar.h>
19374 #endif
19375 #ifdef HAVE_NETINET_IN_H
19376 #include <netinet/in.h>
19377 #endif
19378 #ifdef HAVE_NETINET_IP_VAR_H
19379 #include <netinet/ip_var.h>
19380 #endif
19382 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19384 cat >>confdefs.h <<_ACEOF
19385 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19386 _ACEOF
19392 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
19393 #include <netinet/ip_var.h>
19394 #endif
19396 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19398 cat >>confdefs.h <<_ACEOF
19399 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19400 _ACEOF
19406 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19407 #include <sys/types.h>
19408 #endif
19409 #ifdef HAVE_SYS_SOCKETVAR_H
19410 #include <sys/socketvar.h>
19411 #endif
19412 #ifdef HAVE_NETINET_IN_H
19413 #include <netinet/in.h>
19414 #endif
19415 #ifdef HAVE_NETINET_TCP_H
19416 #include <netinet/tcp.h>
19417 #endif
19418 #ifdef HAVE_NETINET_TCP_VAR_H
19419 #include <netinet/tcp_var.h>
19420 #endif
19422 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19424 cat >>confdefs.h <<_ACEOF
19425 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19426 _ACEOF
19432 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
19433 #include <netinet/tcp_var.h>
19434 #endif
19436 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19438 cat >>confdefs.h <<_ACEOF
19439 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19440 _ACEOF
19446 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19447 #include <sys/types.h>
19448 #endif
19449 #ifdef HAVE_NETINET_IN_H
19450 #include <netinet/in.h>
19451 #endif
19452 #ifdef HAVE_NETINET_IP_VAR_H
19453 #include <netinet/ip_var.h>
19454 #endif
19455 #ifdef HAVE_NETINET_UDP_H
19456 #include <netinet/udp.h>
19457 #endif
19458 #ifdef HAVE_NETINET_UDP_VAR_H
19459 #include <netinet/udp_var.h>
19460 #endif
19462 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19464 cat >>confdefs.h <<_ACEOF
19465 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19466 _ACEOF
19472 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19473 #include <sys/types.h>
19474 #endif
19475 #ifdef HAVE_NET_IF_H
19476 # include <net/if.h>
19477 #endif
19479 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19481 cat >>confdefs.h <<_ACEOF
19482 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19483 _ACEOF
19489 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
19490 # include <sys/sysinfo.h>
19491 #endif
19493 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
19495 cat >>confdefs.h <<_ACEOF
19496 #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
19497 _ACEOF
19501 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
19502 # include <sys/sysinfo.h>
19503 #endif
19505 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
19507 cat >>confdefs.h <<_ACEOF
19508 #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
19509 _ACEOF
19515 ac_save_LIBS="$LIBS"
19516 LIBS="$LIBS -lm"
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19518 $as_echo_n "checking for isfinite... " >&6; }
19519 if ${ac_cv_have_isfinite+:} false; then :
19520 $as_echo_n "(cached) " >&6
19521 else
19522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19523 /* end confdefs.h. */
19524 #define _GNU_SOURCE
19525 #include <math.h>
19527 main ()
19529 float f = 0.0; return isfinite(f)
19531 return 0;
19533 _ACEOF
19534 if ac_fn_c_try_link "$LINENO"; then :
19535 ac_cv_have_isfinite="yes"
19536 else
19537 ac_cv_have_isfinite="no"
19539 rm -f core conftest.err conftest.$ac_objext \
19540 conftest$ac_exeext conftest.$ac_ext
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19543 $as_echo "$ac_cv_have_isfinite" >&6; }
19544 if test "$ac_cv_have_isfinite" = "yes"
19545 then
19547 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19552 $as_echo_n "checking for isinf... " >&6; }
19553 if ${ac_cv_have_isinf+:} false; then :
19554 $as_echo_n "(cached) " >&6
19555 else
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19558 #include <math.h>
19560 main ()
19562 float f = 0.0; return isinf(f)
19564 return 0;
19566 _ACEOF
19567 if ac_fn_c_try_link "$LINENO"; then :
19568 ac_cv_have_isinf="yes"
19569 else
19570 ac_cv_have_isinf="no"
19572 rm -f core conftest.err conftest.$ac_objext \
19573 conftest$ac_exeext conftest.$ac_ext
19575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19576 $as_echo "$ac_cv_have_isinf" >&6; }
19577 if test "$ac_cv_have_isinf" = "yes"
19578 then
19580 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19585 $as_echo_n "checking for isnan... " >&6; }
19586 if ${ac_cv_have_isnan+:} false; then :
19587 $as_echo_n "(cached) " >&6
19588 else
19589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19590 /* end confdefs.h. */
19591 #include <math.h>
19593 main ()
19595 float f = 0.0; return isnan(f)
19597 return 0;
19599 _ACEOF
19600 if ac_fn_c_try_link "$LINENO"; then :
19601 ac_cv_have_isnan="yes"
19602 else
19603 ac_cv_have_isnan="no"
19605 rm -f core conftest.err conftest.$ac_objext \
19606 conftest$ac_exeext conftest.$ac_ext
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19609 $as_echo "$ac_cv_have_isnan" >&6; }
19610 if test "$ac_cv_have_isnan" = "yes"
19611 then
19613 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19617 for ac_func in \
19618 acosh \
19619 acoshf \
19620 asinh \
19621 asinhf \
19622 atanh \
19623 atanhf \
19624 cbrt \
19625 cbrtf \
19626 erf \
19627 erfc \
19628 erfcf \
19629 erff \
19630 exp2 \
19631 exp2f \
19632 expm1 \
19633 expm1f \
19634 fma \
19635 fmaf \
19636 lgamma \
19637 lgammaf \
19638 llrint \
19639 llrintf \
19640 log1p \
19641 log1pf \
19642 log2 \
19643 log2f \
19644 lrint \
19645 lrintf \
19646 nearbyint \
19647 nearbyintf \
19648 nexttoward \
19649 nexttowardf \
19650 remainder \
19651 remainderf \
19652 remquo \
19653 remquof \
19654 rint \
19655 rintf \
19656 tgamma \
19657 tgammaf \
19658 trunc \
19659 truncf
19661 do :
19662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19664 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19665 cat >>confdefs.h <<_ACEOF
19666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19667 _ACEOF
19670 done
19672 LIBS="$ac_save_LIBS"
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19675 $as_echo_n "checking for __builtin_popcount... " >&6; }
19676 if ${ac_cv_have___builtin_popcount+:} false; then :
19677 $as_echo_n "(cached) " >&6
19678 else
19679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19680 /* end confdefs.h. */
19683 main ()
19685 return __builtin_popcount(1)
19687 return 0;
19689 _ACEOF
19690 if ac_fn_c_try_link "$LINENO"; then :
19691 ac_cv_have___builtin_popcount="yes"
19692 else
19693 ac_cv_have___builtin_popcount="no"
19695 rm -f core conftest.err conftest.$ac_objext \
19696 conftest$ac_exeext conftest.$ac_ext
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19699 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19700 if test "$ac_cv_have___builtin_popcount" = "yes"
19701 then
19703 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19708 $as_echo_n "checking for __clear_cache... " >&6; }
19709 if ${ac_cv_have___clear_cache+:} false; then :
19710 $as_echo_n "(cached) " >&6
19711 else
19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19716 main ()
19718 __clear_cache((void*)0, (void*)0); return 0;
19720 return 0;
19722 _ACEOF
19723 if ac_fn_c_try_link "$LINENO"; then :
19724 ac_cv_have___clear_cache="yes"
19725 else
19726 ac_cv_have___clear_cache="no"
19728 rm -f core conftest.err conftest.$ac_objext \
19729 conftest$ac_exeext conftest.$ac_ext
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19732 $as_echo "$ac_cv_have___clear_cache" >&6; }
19733 if test "$ac_cv_have___clear_cache" = "yes"
19734 then
19736 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19741 case $host_cpu in
19742 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19743 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19744 if ${ac_cv_cpp_def___i386__+:} false; then :
19745 $as_echo_n "(cached) " >&6
19746 else
19747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19748 /* end confdefs.h. */
19749 #ifndef __i386__
19751 #endif
19752 _ACEOF
19753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19754 $EGREP "yes" >/dev/null 2>&1; then :
19755 ac_cv_cpp_def___i386__=yes
19756 else
19757 ac_cv_cpp_def___i386__=no
19759 rm -f conftest*
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19763 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19764 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19765 CFLAGS="$CFLAGS -D__i386__"
19766 LINTFLAGS="$LINTFLAGS -D__i386__"
19767 fi ;;
19768 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19769 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19770 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19771 $as_echo_n "(cached) " >&6
19772 else
19773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19774 /* end confdefs.h. */
19775 #ifndef __x86_64__
19777 #endif
19778 _ACEOF
19779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19780 $EGREP "yes" >/dev/null 2>&1; then :
19781 ac_cv_cpp_def___x86_64__=yes
19782 else
19783 ac_cv_cpp_def___x86_64__=no
19785 rm -f conftest*
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19789 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19790 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19791 CFLAGS="$CFLAGS -D__x86_64__"
19792 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19793 fi ;;
19794 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19795 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19796 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19797 $as_echo_n "(cached) " >&6
19798 else
19799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19801 #ifndef __sparc64__
19803 #endif
19804 _ACEOF
19805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19806 $EGREP "yes" >/dev/null 2>&1; then :
19807 ac_cv_cpp_def___sparc64__=yes
19808 else
19809 ac_cv_cpp_def___sparc64__=no
19811 rm -f conftest*
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19815 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19816 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19817 CFLAGS="$CFLAGS -D__sparc64__"
19818 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19819 fi ;;
19820 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19821 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19822 if ${ac_cv_cpp_def___sparc__+:} false; then :
19823 $as_echo_n "(cached) " >&6
19824 else
19825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19826 /* end confdefs.h. */
19827 #ifndef __sparc__
19829 #endif
19830 _ACEOF
19831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19832 $EGREP "yes" >/dev/null 2>&1; then :
19833 ac_cv_cpp_def___sparc__=yes
19834 else
19835 ac_cv_cpp_def___sparc__=no
19837 rm -f conftest*
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19841 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19842 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19843 CFLAGS="$CFLAGS -D__sparc__"
19844 LINTFLAGS="$LINTFLAGS -D__sparc__"
19845 fi ;;
19846 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19847 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19848 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19849 $as_echo_n "(cached) " >&6
19850 else
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19853 #ifndef __powerpc64__
19855 #endif
19856 _ACEOF
19857 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19858 $EGREP "yes" >/dev/null 2>&1; then :
19859 ac_cv_cpp_def___powerpc64__=yes
19860 else
19861 ac_cv_cpp_def___powerpc64__=no
19863 rm -f conftest*
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19867 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19868 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19869 CFLAGS="$CFLAGS -D__powerpc64__"
19870 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19871 fi ;;
19872 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19873 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19874 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19875 $as_echo_n "(cached) " >&6
19876 else
19877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19878 /* end confdefs.h. */
19879 #ifndef __powerpc__
19881 #endif
19882 _ACEOF
19883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19884 $EGREP "yes" >/dev/null 2>&1; then :
19885 ac_cv_cpp_def___powerpc__=yes
19886 else
19887 ac_cv_cpp_def___powerpc__=no
19889 rm -f conftest*
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19893 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19894 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19895 CFLAGS="$CFLAGS -D__powerpc__"
19896 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19897 fi ;;
19898 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19899 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19900 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19901 $as_echo_n "(cached) " >&6
19902 else
19903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19905 #ifndef __aarch64__
19907 #endif
19908 _ACEOF
19909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19910 $EGREP "yes" >/dev/null 2>&1; then :
19911 ac_cv_cpp_def___aarch64__=yes
19912 else
19913 ac_cv_cpp_def___aarch64__=no
19915 rm -f conftest*
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19919 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19920 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19921 CFLAGS="$CFLAGS -D__aarch64__"
19922 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19923 fi ;;
19924 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19925 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19926 if ${ac_cv_cpp_def___arm__+:} false; then :
19927 $as_echo_n "(cached) " >&6
19928 else
19929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19931 #ifndef __arm__
19933 #endif
19934 _ACEOF
19935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19936 $EGREP "yes" >/dev/null 2>&1; then :
19937 ac_cv_cpp_def___arm__=yes
19938 else
19939 ac_cv_cpp_def___arm__=no
19941 rm -f conftest*
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19945 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19946 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19947 CFLAGS="$CFLAGS -D__arm__"
19948 LINTFLAGS="$LINTFLAGS -D__arm__"
19949 fi ;;
19950 esac
19952 case $host_vendor in
19953 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19954 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19955 if ${ac_cv_cpp_def___sun__+:} false; then :
19956 $as_echo_n "(cached) " >&6
19957 else
19958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19960 #ifndef __sun__
19962 #endif
19963 _ACEOF
19964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19965 $EGREP "yes" >/dev/null 2>&1; then :
19966 ac_cv_cpp_def___sun__=yes
19967 else
19968 ac_cv_cpp_def___sun__=no
19970 rm -f conftest*
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19974 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19975 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19976 CFLAGS="$CFLAGS -D__sun__"
19977 LINTFLAGS="$LINTFLAGS -D__sun__"
19978 fi ;;
19979 esac
19985 ac_config_commands="$ac_config_commands include/stamp-h"
19987 $as_echo_n "creating Makefile rules..." >&6
19989 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19990 OPENGL_LIBS = $OPENGL_LIBS
19991 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19992 IOKIT_LIBS = $IOKIT_LIBS
19993 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19994 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19995 CORESERVICES_LIBS = $CORESERVICES_LIBS
19996 APPKIT_LIBS = $APPKIT_LIBS
19997 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19998 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19999 SECURITY_LIBS = $SECURITY_LIBS
20000 COREAUDIO_LIBS = $COREAUDIO_LIBS
20001 OPENAL_LIBS = $OPENAL_LIBS
20002 OPENCL_LIBS = $OPENCL_LIBS
20003 QUICKTIME_LIBS = $QUICKTIME_LIBS
20004 CARBON_LIBS = $CARBON_LIBS
20005 METAL_LIBS = $METAL_LIBS
20006 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
20007 PTHREAD_LIBS = $PTHREAD_LIBS
20008 X_CFLAGS = $X_CFLAGS
20009 X_PRE_LIBS = $X_PRE_LIBS
20010 X_LIBS = $X_LIBS
20011 X_EXTRA_LIBS = $X_EXTRA_LIBS
20012 PCAP_LIBS = $PCAP_LIBS
20013 XML2_CFLAGS = $XML2_CFLAGS
20014 XML2_LIBS = $XML2_LIBS
20015 XSLT_CFLAGS = $XSLT_CFLAGS
20016 XSLT_LIBS = $XSLT_LIBS
20017 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
20018 INOTIFY_LIBS = $INOTIFY_LIBS
20019 DBUS_CFLAGS = $DBUS_CFLAGS
20020 DBUS_LIBS = $DBUS_LIBS
20021 HAL_CFLAGS = $HAL_CFLAGS
20022 HAL_LIBS = $HAL_LIBS
20023 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
20024 GNUTLS_LIBS = $GNUTLS_LIBS
20025 SANE_CFLAGS = $SANE_CFLAGS
20026 SANE_LIBS = $SANE_LIBS
20027 USB_CFLAGS = $USB_CFLAGS
20028 USB_LIBS = $USB_LIBS
20029 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
20030 GPHOTO2_LIBS = $GPHOTO2_LIBS
20031 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
20032 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
20033 RESOLV_LIBS = $RESOLV_LIBS
20034 LCMS2_CFLAGS = $LCMS2_CFLAGS
20035 LCMS2_LIBS = $LCMS2_LIBS
20036 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
20037 FREETYPE_LIBS = $FREETYPE_LIBS
20038 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
20039 PULSE_CFLAGS = $PULSE_CFLAGS
20040 PULSE_LIBS = $PULSE_LIBS
20041 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
20042 GSTREAMER_LIBS = $GSTREAMER_LIBS
20043 ALSA_LIBS = $ALSA_LIBS
20044 OSS4_CFLAGS = $OSS4_CFLAGS
20045 OSS4_LIBS = $OSS4_LIBS
20046 UDEV_CFLAGS = $UDEV_CFLAGS
20047 UDEV_LIBS = $UDEV_LIBS
20048 UNWIND_CFLAGS = $UNWIND_CFLAGS
20049 UNWIND_LIBS = $UNWIND_LIBS
20050 SDL2_CFLAGS = $SDL2_CFLAGS
20051 SDL2_LIBS = $SDL2_LIBS
20052 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
20053 FAUDIO_LIBS = $FAUDIO_LIBS
20054 CAPI20_CFLAGS = $CAPI20_CFLAGS
20055 CAPI20_LIBS = $CAPI20_LIBS
20056 CUPS_CFLAGS = $CUPS_CFLAGS
20057 CUPS_LIBS = $CUPS_LIBS
20058 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
20059 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
20060 KRB5_CFLAGS = $KRB5_CFLAGS
20061 KRB5_LIBS = $KRB5_LIBS
20062 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
20063 GSSAPI_LIBS = $GSSAPI_LIBS
20064 JPEG_CFLAGS = $JPEG_CFLAGS
20065 JPEG_LIBS = $JPEG_LIBS
20066 JXRLIB_CFLAGS = $JXRLIB_CFLAGS
20067 JXRLIB_LIBS = $JXRLIB_LIBS
20068 PNG_CFLAGS = $PNG_CFLAGS
20069 PNG_LIBS = $PNG_LIBS
20070 TIFF_CFLAGS = $TIFF_CFLAGS
20071 TIFF_LIBS = $TIFF_LIBS
20072 MPG123_CFLAGS = $MPG123_CFLAGS
20073 MPG123_LIBS = $MPG123_LIBS
20074 KSTAT_LIBS = $KSTAT_LIBS
20075 PROCSTAT_LIBS = $PROCSTAT_LIBS
20076 NETAPI_CFLAGS = $NETAPI_CFLAGS
20077 NETAPI_LIBS = $NETAPI_LIBS
20078 VKD3D_CFLAGS = $VKD3D_CFLAGS
20079 VKD3D_LIBS = $VKD3D_LIBS
20080 VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
20081 VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
20082 POLL_LIBS = $POLL_LIBS
20083 RT_LIBS = $RT_LIBS
20084 LDAP_CFLAGS = $LDAP_CFLAGS
20085 LDAP_LIBS = $LDAP_LIBS
20089 makedep_flags=""
20090 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20093 wine_fn_append_rule "
20094 # Rules automatically generated by configure
20096 .INIT: Makefile
20097 .MAKEFILEDEPS:
20098 all: Makefile
20099 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
20100 @./config.status Make.tmp Makefile
20101 depend: \$(MAKEDEP)
20102 \$(MAKEDEP)$makedep_flags
20103 dummy:
20104 .PHONY: depend dummy"
20106 ac_config_links="$ac_config_links wine:tools/winewrapper"
20107 wine_fn_config_symlink wine
20108 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
20109 ac_config_links="$ac_config_links wine64:tools/winewrapper"
20110 wine_fn_config_symlink wine64
20113 wine_fn_config_makefile dlls/acledit enable_acledit
20114 wine_fn_config_makefile dlls/aclui enable_aclui
20115 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
20116 wine_fn_config_makefile dlls/activeds enable_activeds
20117 wine_fn_config_makefile dlls/activeds/tests enable_tests
20118 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
20119 wine_fn_config_makefile dlls/adsiid enable_adsiid
20120 wine_fn_config_makefile dlls/adsldp enable_adsldp
20121 wine_fn_config_makefile dlls/adsldp/tests enable_tests
20122 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
20123 wine_fn_config_makefile dlls/advapi32 enable_advapi32
20124 wine_fn_config_makefile dlls/advapi32/tests enable_tests
20125 wine_fn_config_makefile dlls/advpack enable_advpack
20126 wine_fn_config_makefile dlls/advpack/tests enable_tests
20127 wine_fn_config_makefile dlls/amsi enable_amsi
20128 wine_fn_config_makefile dlls/amstream enable_amstream
20129 wine_fn_config_makefile dlls/amstream/tests enable_tests
20130 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
20132 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
20133 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
20135 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20140 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20148 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20150 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20152 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20155 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20156 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20158 wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20162 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20163 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20164 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20166 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20167 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20170 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20174 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20180 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
20181 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20182 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20185 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20186 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20187 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20188 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20191 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20192 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
20193 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20196 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20197 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20199 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20201 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20202 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
20203 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
20204 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20207 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20208 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20209 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20210 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20211 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20212 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20213 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20214 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20215 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20216 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20217 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20218 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20219 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20220 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20221 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20222 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20223 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20224 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20225 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20226 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20227 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
20228 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20229 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20230 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20231 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20232 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20233 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20234 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20235 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20236 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20237 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20238 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20239 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20240 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20241 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20242 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20243 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20244 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20245 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20246 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20247 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20248 wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
20249 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20250 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20251 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20252 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20253 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20254 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20255 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20256 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20257 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20258 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20259 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20260 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20261 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20262 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20263 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20264 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20265 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20266 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20267 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20268 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20269 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20270 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20271 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20272 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20273 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20274 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20275 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20276 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20277 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20278 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20279 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20280 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20281 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20282 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20283 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20284 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20285 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20286 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20287 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20288 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20289 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20290 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20291 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20292 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20293 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20294 wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
20295 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20296 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20297 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20298 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20299 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20300 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20301 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20302 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20303 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20304 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20305 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20306 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20307 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20308 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20309 wine_fn_config_makefile dlls/api-ms-win-gaming-tcui-l1-1-0 enable_api_ms_win_gaming_tcui_l1_1_0
20310 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20311 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20312 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20313 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20314 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20315 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20316 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20317 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20318 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20319 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20320 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20321 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20322 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20323 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20324 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20325 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20326 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20327 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20328 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20329 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20330 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20331 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20332 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20333 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20334 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20335 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20336 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20337 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20338 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20339 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20340 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20341 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20342 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20343 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20344 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20345 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20346 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20347 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20348 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20349 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20350 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20351 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20352 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
20353 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20354 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20355 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
20356 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20357 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20358 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20359 wine_fn_config_makefile dlls/apphelp enable_apphelp
20360 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20361 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20362 wine_fn_config_makefile dlls/atl enable_atl
20363 wine_fn_config_makefile dlls/atl/tests enable_tests
20364 wine_fn_config_makefile dlls/atl100 enable_atl100
20365 wine_fn_config_makefile dlls/atl100/tests enable_tests
20366 wine_fn_config_makefile dlls/atl110 enable_atl110
20367 wine_fn_config_makefile dlls/atl80 enable_atl80
20368 wine_fn_config_makefile dlls/atl80/tests enable_tests
20369 wine_fn_config_makefile dlls/atl90 enable_atl90
20370 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20371 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20372 wine_fn_config_makefile dlls/atmlib enable_atmlib
20373 wine_fn_config_makefile dlls/authz enable_authz
20374 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20375 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20376 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20377 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20378 wine_fn_config_makefile dlls/avrt enable_avrt
20379 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20380 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20381 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20382 wine_fn_config_makefile dlls/browseui enable_browseui
20383 wine_fn_config_makefile dlls/browseui/tests enable_tests
20384 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20385 wine_fn_config_makefile dlls/cabinet enable_cabinet
20386 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20387 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20388 wine_fn_config_makefile dlls/cards enable_cards
20389 wine_fn_config_makefile dlls/cdosys enable_cdosys
20390 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20391 wine_fn_config_makefile dlls/clusapi enable_clusapi
20392 wine_fn_config_makefile dlls/combase enable_combase
20393 wine_fn_config_makefile dlls/combase/tests enable_tests
20394 wine_fn_config_makefile dlls/comcat enable_comcat
20395 wine_fn_config_makefile dlls/comcat/tests enable_tests
20396 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20397 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20398 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20399 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20400 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20401 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20402 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20403 wine_fn_config_makefile dlls/compstui enable_compstui
20404 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20405 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20406 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20407 wine_fn_config_makefile dlls/concrt140/tests enable_tests
20408 wine_fn_config_makefile dlls/connect enable_connect
20409 wine_fn_config_makefile dlls/credui enable_credui
20410 wine_fn_config_makefile dlls/credui/tests enable_tests
20411 wine_fn_config_makefile dlls/crtdll enable_crtdll
20412 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20413 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20414 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20415 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20416 wine_fn_config_makefile dlls/cryptext enable_cryptext
20417 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20418 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20419 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
20420 wine_fn_config_makefile dlls/cryptui enable_cryptui
20421 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20422 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20423 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20424 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20425 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20426 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20427 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20428 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20429 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20430 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20431 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20432 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20433 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20434 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20435 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20436 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20437 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20438 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20439 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20440 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
20441 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20442 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20443 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20444 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20445 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20446 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20447 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20448 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20449 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20450 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20451 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20452 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20453 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20454 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20455 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20456 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20457 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20458 wine_fn_config_makefile dlls/d3dim enable_d3dim
20459 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
20460 wine_fn_config_makefile dlls/d3drm enable_d3drm
20461 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20462 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20463 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20464 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20465 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20466 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20467 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20468 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20469 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20470 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20471 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20472 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20473 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20474 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20475 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20476 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20477 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20478 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20479 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20480 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20481 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20482 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20483 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20484 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20485 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20486 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20487 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20488 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20489 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20490 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20491 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20492 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20493 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20494 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20495 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20496 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20497 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20498 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20499 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20500 wine_fn_config_makefile dlls/davclnt enable_davclnt
20501 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20502 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20503 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20504 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20505 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20506 wine_fn_config_makefile dlls/dcomp enable_dcomp
20507 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20508 wine_fn_config_makefile dlls/ddraw enable_ddraw
20509 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20510 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20511 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20512 wine_fn_config_makefile dlls/devenum enable_devenum
20513 wine_fn_config_makefile dlls/devenum/tests enable_tests
20514 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20515 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20516 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20517 wine_fn_config_makefile dlls/difxapi enable_difxapi
20518 wine_fn_config_makefile dlls/dinput enable_dinput
20519 wine_fn_config_makefile dlls/dinput/tests enable_tests
20520 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20521 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20522 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
20523 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
20524 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20525 wine_fn_config_makefile dlls/dispex enable_dispex
20526 wine_fn_config_makefile dlls/dispex/tests enable_tests
20527 wine_fn_config_makefile dlls/display.drv16 enable_win16
20528 wine_fn_config_makefile dlls/dmband enable_dmband
20529 wine_fn_config_makefile dlls/dmband/tests enable_tests
20530 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20531 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20532 wine_fn_config_makefile dlls/dmime enable_dmime
20533 wine_fn_config_makefile dlls/dmime/tests enable_tests
20534 wine_fn_config_makefile dlls/dmloader enable_dmloader
20535 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20536 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20537 wine_fn_config_makefile dlls/dmscript enable_dmscript
20538 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20539 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20540 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20541 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20542 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20543 wine_fn_config_makefile dlls/dmusic enable_dmusic
20544 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20545 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20546 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20547 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20548 wine_fn_config_makefile dlls/dplay enable_dplay
20549 wine_fn_config_makefile dlls/dplayx enable_dplayx
20550 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20551 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20552 wine_fn_config_makefile dlls/dpnet enable_dpnet
20553 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20554 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20555 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20556 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20557 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20558 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20559 wine_fn_config_makefile dlls/drmclien enable_drmclien
20560 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20561 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
20562 wine_fn_config_makefile dlls/dsound enable_dsound
20563 wine_fn_config_makefile dlls/dsound/tests enable_tests
20564 wine_fn_config_makefile dlls/dsquery enable_dsquery
20565 wine_fn_config_makefile dlls/dssenh enable_dssenh
20566 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20567 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
20568 wine_fn_config_makefile dlls/dswave enable_dswave
20569 wine_fn_config_makefile dlls/dswave/tests enable_tests
20570 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20571 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
20572 wine_fn_config_makefile dlls/dwrite enable_dwrite
20573 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20574 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20575 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20576 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20577 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20578 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20579 wine_fn_config_makefile dlls/dxgi enable_dxgi
20580 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20581 wine_fn_config_makefile dlls/dxguid enable_dxguid
20582 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20583 wine_fn_config_makefile dlls/dxva2/tests enable_tests
20584 wine_fn_config_makefile dlls/esent enable_esent
20585 wine_fn_config_makefile dlls/evr enable_evr
20586 wine_fn_config_makefile dlls/evr/tests enable_tests
20587 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20588 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20589 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20590 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20591 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20592 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20593 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20594 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20595 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20596 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20597 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20598 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20599 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20600 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20601 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20602 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20603 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20604 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20605 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20606 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20607 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20608 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20609 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20610 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20611 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20612 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20613 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20614 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20615 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20616 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20617 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20618 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20619 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20620 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20621 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20622 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20623 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20624 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20625 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20626 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20627 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20628 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20629 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
20630 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20631 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20632 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20633 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20634 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20635 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20636 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20637 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20638 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20639 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20640 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20641 wine_fn_config_makefile dlls/faultrep enable_faultrep
20642 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20643 wine_fn_config_makefile dlls/feclient enable_feclient
20644 wine_fn_config_makefile dlls/fltlib enable_fltlib
20645 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20646 wine_fn_config_makefile dlls/fntcache enable_fntcache
20647 wine_fn_config_makefile dlls/fontsub enable_fontsub
20648 wine_fn_config_makefile dlls/fusion enable_fusion
20649 wine_fn_config_makefile dlls/fusion/tests enable_tests
20650 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20651 wine_fn_config_makefile dlls/gameux enable_gameux
20652 wine_fn_config_makefile dlls/gameux/tests enable_tests
20653 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
20654 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20655 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20656 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20657 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20658 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20659 wine_fn_config_makefile dlls/glu32 enable_glu32
20660 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20661 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20662 wine_fn_config_makefile dlls/hal enable_hal
20663 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20664 wine_fn_config_makefile dlls/hid enable_hid
20665 wine_fn_config_makefile dlls/hid/tests enable_tests
20666 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20667 wine_fn_config_makefile dlls/hlink enable_hlink
20668 wine_fn_config_makefile dlls/hlink/tests enable_tests
20669 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20670 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20671 wine_fn_config_makefile dlls/http.sys enable_http_sys
20672 wine_fn_config_makefile dlls/httpapi enable_httpapi
20673 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20674 wine_fn_config_makefile dlls/iccvid enable_iccvid
20675 wine_fn_config_makefile dlls/icmp enable_icmp
20676 wine_fn_config_makefile dlls/ieframe enable_ieframe
20677 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20678 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20679 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20680 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20681 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20682 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20683 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20684 wine_fn_config_makefile dlls/imm32 enable_imm32
20685 wine_fn_config_makefile dlls/imm32/tests enable_tests
20686 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20687 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20688 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20689 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20690 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20691 wine_fn_config_makefile dlls/infosoft enable_infosoft
20692 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20693 wine_fn_config_makefile dlls/initpki enable_initpki
20694 wine_fn_config_makefile dlls/inkobj enable_inkobj
20695 wine_fn_config_makefile dlls/inseng enable_inseng
20696 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20697 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20698 wine_fn_config_makefile dlls/iprop enable_iprop
20699 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20700 wine_fn_config_makefile dlls/itircl enable_itircl
20701 wine_fn_config_makefile dlls/itss enable_itss
20702 wine_fn_config_makefile dlls/itss/tests enable_tests
20703 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20704 wine_fn_config_makefile dlls/jscript enable_jscript
20705 wine_fn_config_makefile dlls/jscript/tests enable_tests
20706 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20707 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20708 wine_fn_config_makefile dlls/kerberos enable_kerberos
20709 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20710 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20711 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20712 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20713 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20714 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20715 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20716 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
20717 wine_fn_config_makefile dlls/ksuser enable_ksuser
20718 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20719 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20720 wine_fn_config_makefile dlls/loadperf enable_loadperf
20721 wine_fn_config_makefile dlls/localspl enable_localspl
20722 wine_fn_config_makefile dlls/localspl/tests enable_tests
20723 wine_fn_config_makefile dlls/localui enable_localui
20724 wine_fn_config_makefile dlls/localui/tests enable_tests
20725 wine_fn_config_makefile dlls/lz32 enable_lz32
20726 wine_fn_config_makefile dlls/lz32/tests enable_tests
20727 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20728 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20729 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20730 wine_fn_config_makefile dlls/mapistub enable_mapistub
20731 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20732 wine_fn_config_makefile dlls/mcicda enable_mcicda
20733 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20734 wine_fn_config_makefile dlls/mciseq enable_mciseq
20735 wine_fn_config_makefile dlls/mciwave enable_mciwave
20736 wine_fn_config_makefile dlls/mf enable_mf
20737 wine_fn_config_makefile dlls/mf/tests enable_tests
20738 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20739 wine_fn_config_makefile dlls/mferror enable_mferror
20740 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20741 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20742 wine_fn_config_makefile dlls/mfplat enable_mfplat
20743 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20744 wine_fn_config_makefile dlls/mfplay enable_mfplay
20745 wine_fn_config_makefile dlls/mfplay/tests enable_tests
20746 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20747 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20748 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20749 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20750 wine_fn_config_makefile dlls/midimap enable_midimap
20751 wine_fn_config_makefile dlls/mlang enable_mlang
20752 wine_fn_config_makefile dlls/mlang/tests enable_tests
20753 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20754 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20755 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20756 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20757 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20758 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20759 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20760 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20761 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20762 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20763 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20764 wine_fn_config_makefile dlls/mpr enable_mpr
20765 wine_fn_config_makefile dlls/mpr/tests enable_tests
20766 wine_fn_config_makefile dlls/mprapi enable_mprapi
20767 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20768 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20769 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20770 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20771 wine_fn_config_makefile dlls/msado15 enable_msado15
20772 wine_fn_config_makefile dlls/msado15/tests enable_tests
20773 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20774 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20775 wine_fn_config_makefile dlls/msasn1/tests enable_tests
20776 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20777 wine_fn_config_makefile dlls/mscms enable_mscms
20778 wine_fn_config_makefile dlls/mscms/tests enable_tests
20779 wine_fn_config_makefile dlls/mscoree enable_mscoree
20780 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20781 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20782 wine_fn_config_makefile dlls/msctf enable_msctf
20783 wine_fn_config_makefile dlls/msctf/tests enable_tests
20784 wine_fn_config_makefile dlls/msctfp enable_msctfp
20785 wine_fn_config_makefile dlls/msdaps enable_msdaps
20786 wine_fn_config_makefile dlls/msdelta enable_msdelta
20787 wine_fn_config_makefile dlls/msdmo enable_msdmo
20788 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20789 wine_fn_config_makefile dlls/msdrm enable_msdrm
20790 wine_fn_config_makefile dlls/msftedit enable_msftedit
20791 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20792 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20793 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20794 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20795 wine_fn_config_makefile dlls/mshtml enable_mshtml
20796 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20797 wine_fn_config_makefile dlls/msi enable_msi
20798 wine_fn_config_makefile dlls/msi/tests enable_tests
20799 wine_fn_config_makefile dlls/msident enable_msident
20800 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20801 wine_fn_config_makefile dlls/msimsg enable_msimsg
20802 wine_fn_config_makefile dlls/msimtf enable_msimtf
20803 wine_fn_config_makefile dlls/msisip enable_msisip
20804 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20805 wine_fn_config_makefile dlls/msls31 enable_msls31
20806 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20807 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20808 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20809 wine_fn_config_makefile dlls/msports enable_msports
20810 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20811 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20812 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20813 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20814 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20815 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20816 wine_fn_config_makefile dlls/mstask enable_mstask
20817 wine_fn_config_makefile dlls/mstask/tests enable_tests
20818 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
20819 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20820 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20821 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20822 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20823 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20824 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20825 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20826 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20827 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20828 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20829 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20830 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20831 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20832 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
20833 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
20834 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20835 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20836 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20837 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20838 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20839 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20840 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20841 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20842 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20843 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20844 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20845 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20846 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20847 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20848 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20849 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20850 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20851 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20852 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20853 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20854 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20855 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20856 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20857 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20858 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20859 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20860 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20861 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20862 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20863 wine_fn_config_makefile dlls/mswsock enable_mswsock
20864 wine_fn_config_makefile dlls/msxml enable_msxml
20865 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20866 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20867 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20868 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20869 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20870 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20871 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20872 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20873 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20874 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
20875 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20876 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20877 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20878 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20879 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
20880 wine_fn_config_makefile dlls/netprofm enable_netprofm
20881 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20882 wine_fn_config_makefile dlls/netutils enable_netutils
20883 wine_fn_config_makefile dlls/newdev enable_newdev
20884 wine_fn_config_makefile dlls/ninput enable_ninput
20885 wine_fn_config_makefile dlls/ninput/tests enable_tests
20886 wine_fn_config_makefile dlls/normaliz enable_normaliz
20887 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20888 wine_fn_config_makefile dlls/npptools enable_npptools
20889 wine_fn_config_makefile dlls/ntdll enable_ntdll
20890 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20891 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20892 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20893 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20894 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20895 wine_fn_config_makefile dlls/ntprint enable_ntprint
20896 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20897 wine_fn_config_makefile dlls/objsel enable_objsel
20898 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20899 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20900 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20901 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20902 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20903 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20904 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20905 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20906 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20907 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20908 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20909 wine_fn_config_makefile dlls/ole32 enable_ole32
20910 wine_fn_config_makefile dlls/ole32/tests enable_tests
20911 wine_fn_config_makefile dlls/oleacc enable_oleacc
20912 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20913 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20914 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20915 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20916 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20917 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20918 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20919 wine_fn_config_makefile dlls/oledlg enable_oledlg
20920 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20921 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20922 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20923 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20924 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20925 wine_fn_config_makefile dlls/opcservices enable_opcservices
20926 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20927 wine_fn_config_makefile dlls/openal32 enable_openal32
20928 wine_fn_config_makefile dlls/opencl enable_opencl
20929 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20930 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20931 wine_fn_config_makefile dlls/packager enable_packager
20932 wine_fn_config_makefile dlls/packager/tests enable_tests
20933 wine_fn_config_makefile dlls/pdh enable_pdh
20934 wine_fn_config_makefile dlls/pdh/tests enable_tests
20935 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20936 wine_fn_config_makefile dlls/pidgen enable_pidgen
20937 wine_fn_config_makefile dlls/powrprof enable_powrprof
20938 wine_fn_config_makefile dlls/printui enable_printui
20939 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20940 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
20941 wine_fn_config_makefile dlls/propsys enable_propsys
20942 wine_fn_config_makefile dlls/propsys/tests enable_tests
20943 wine_fn_config_makefile dlls/psapi enable_psapi
20944 wine_fn_config_makefile dlls/psapi/tests enable_tests
20945 wine_fn_config_makefile dlls/pstorec enable_pstorec
20946 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20947 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
20948 wine_fn_config_makefile dlls/qasf enable_qasf
20949 wine_fn_config_makefile dlls/qasf/tests enable_tests
20950 wine_fn_config_makefile dlls/qcap enable_qcap
20951 wine_fn_config_makefile dlls/qcap/tests enable_tests
20952 wine_fn_config_makefile dlls/qdvd enable_qdvd
20953 wine_fn_config_makefile dlls/qdvd/tests enable_tests
20954 wine_fn_config_makefile dlls/qedit enable_qedit
20955 wine_fn_config_makefile dlls/qedit/tests enable_tests
20956 wine_fn_config_makefile dlls/qmgr enable_qmgr
20957 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20958 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20959 wine_fn_config_makefile dlls/quartz enable_quartz
20960 wine_fn_config_makefile dlls/quartz/tests enable_tests
20961 wine_fn_config_makefile dlls/query enable_query
20962 wine_fn_config_makefile dlls/qwave enable_qwave
20963 wine_fn_config_makefile dlls/qwave/tests enable_tests
20964 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20965 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20966 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20967 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20968 wine_fn_config_makefile dlls/regapi enable_regapi
20969 wine_fn_config_makefile dlls/resutils enable_resutils
20970 wine_fn_config_makefile dlls/riched20 enable_riched20
20971 wine_fn_config_makefile dlls/riched20/tests enable_tests
20972 wine_fn_config_makefile dlls/riched32 enable_riched32
20973 wine_fn_config_makefile dlls/riched32/tests enable_tests
20974 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20975 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20976 wine_fn_config_makefile dlls/rsabase enable_rsabase
20977 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20978 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20979 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20980 wine_fn_config_makefile dlls/rtutils enable_rtutils
20981 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20982 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
20983 wine_fn_config_makefile dlls/samlib enable_samlib
20984 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20985 wine_fn_config_makefile dlls/sapi enable_sapi
20986 wine_fn_config_makefile dlls/sapi/tests enable_tests
20987 wine_fn_config_makefile dlls/sas enable_sas
20988 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20989 wine_fn_config_makefile dlls/sccbase enable_sccbase
20990 wine_fn_config_makefile dlls/schannel enable_schannel
20991 wine_fn_config_makefile dlls/schannel/tests enable_tests
20992 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20993 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20994 wine_fn_config_makefile dlls/scrobj enable_scrobj
20995 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20996 wine_fn_config_makefile dlls/scrrun enable_scrrun
20997 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20998 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20999 wine_fn_config_makefile dlls/sechost enable_sechost
21000 wine_fn_config_makefile dlls/secur32 enable_secur32
21001 wine_fn_config_makefile dlls/secur32/tests enable_tests
21002 wine_fn_config_makefile dlls/security enable_security
21003 wine_fn_config_makefile dlls/sensapi enable_sensapi
21004 wine_fn_config_makefile dlls/serialui enable_serialui
21005 wine_fn_config_makefile dlls/serialui/tests enable_tests
21006 wine_fn_config_makefile dlls/setupapi enable_setupapi
21007 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21008 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21009 wine_fn_config_makefile dlls/sfc enable_sfc
21010 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21011 wine_fn_config_makefile dlls/shcore enable_shcore
21012 wine_fn_config_makefile dlls/shcore/tests enable_tests
21013 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21014 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21015 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21016 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21017 wine_fn_config_makefile dlls/shell32 enable_shell32
21018 wine_fn_config_makefile dlls/shell32/tests enable_tests
21019 wine_fn_config_makefile dlls/shfolder enable_shfolder
21020 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21021 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21022 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21023 wine_fn_config_makefile dlls/slc enable_slc
21024 wine_fn_config_makefile dlls/slc/tests enable_tests
21025 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21026 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21027 wine_fn_config_makefile dlls/softpub enable_softpub
21028 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21029 wine_fn_config_makefile dlls/spoolss enable_spoolss
21030 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21031 wine_fn_config_makefile dlls/srclient enable_srclient
21032 wine_fn_config_makefile dlls/srvcli enable_srvcli
21033 wine_fn_config_makefile dlls/sspicli enable_sspicli
21034 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21035 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21036 wine_fn_config_makefile dlls/sti enable_sti
21037 wine_fn_config_makefile dlls/sti/tests enable_tests
21038 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21039 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21040 wine_fn_config_makefile dlls/strmbase enable_strmbase
21041 wine_fn_config_makefile dlls/strmdll enable_strmdll
21042 wine_fn_config_makefile dlls/strmiids enable_strmiids
21043 wine_fn_config_makefile dlls/svrapi enable_svrapi
21044 wine_fn_config_makefile dlls/sxs enable_sxs
21045 wine_fn_config_makefile dlls/sxs/tests enable_tests
21046 wine_fn_config_makefile dlls/system.drv16 enable_win16
21047 wine_fn_config_makefile dlls/t2embed enable_t2embed
21048 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21049 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21050 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21051 wine_fn_config_makefile dlls/taskschd enable_taskschd
21052 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21053 wine_fn_config_makefile dlls/tdh enable_tdh
21054 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21055 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21056 wine_fn_config_makefile dlls/traffic enable_traffic
21057 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21058 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21059 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21060 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21061 wine_fn_config_makefile dlls/tzres enable_tzres
21062 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21063 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21064 wine_fn_config_makefile dlls/uianimation enable_uianimation
21065 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21066 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21067 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21068 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21069 wine_fn_config_makefile dlls/unicows enable_unicows
21070 wine_fn_config_makefile dlls/updspapi enable_updspapi
21071 wine_fn_config_makefile dlls/url enable_url
21072 wine_fn_config_makefile dlls/urlmon enable_urlmon
21073 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21074 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21075 wine_fn_config_makefile dlls/user.exe16 enable_win16
21076 wine_fn_config_makefile dlls/user32 enable_user32
21077 wine_fn_config_makefile dlls/user32/tests enable_tests
21078 wine_fn_config_makefile dlls/userenv enable_userenv
21079 wine_fn_config_makefile dlls/userenv/tests enable_tests
21080 wine_fn_config_makefile dlls/usp10 enable_usp10
21081 wine_fn_config_makefile dlls/usp10/tests enable_tests
21082 wine_fn_config_makefile dlls/utildll enable_utildll
21083 wine_fn_config_makefile dlls/uuid enable_uuid
21084 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21085 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21086 wine_fn_config_makefile dlls/vbscript enable_vbscript
21087 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21088 wine_fn_config_makefile dlls/vcomp enable_vcomp
21089 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21090 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21091 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21092 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21093 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21094 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21095 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21096 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21097 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21098 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21099 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21100 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21101 wine_fn_config_makefile dlls/version enable_version
21102 wine_fn_config_makefile dlls/version/tests enable_tests
21103 wine_fn_config_makefile dlls/vga enable_vga
21104 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21105 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21106 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21107 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21108 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21109 wine_fn_config_makefile dlls/vssapi enable_vssapi
21110 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21111 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21112 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21113 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21114 wine_fn_config_makefile dlls/w32skrnl enable_win16
21115 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21116 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21117 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21118 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21119 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21120 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
21121 wine_fn_config_makefile dlls/wdscore enable_wdscore
21122 wine_fn_config_makefile dlls/webservices enable_webservices
21123 wine_fn_config_makefile dlls/webservices/tests enable_tests
21124 wine_fn_config_makefile dlls/websocket enable_websocket
21125 wine_fn_config_makefile dlls/wer enable_wer
21126 wine_fn_config_makefile dlls/wer/tests enable_tests
21127 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21128 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21129 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21130 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21131 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21132 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21133 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21134 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21135 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21136 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21137 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21138 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21139 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21140 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21141 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21142 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21143 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21144 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21145 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21146 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21147 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21148 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21149 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21150 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21151 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21152 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21153 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21154 wine_fn_config_makefile dlls/wined3d enable_wined3d
21155 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21156 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21157 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
21158 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21159 wine_fn_config_makefile dlls/winemapi enable_winemapi
21160 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21161 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21162 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21163 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21164 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
21165 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21166 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21167 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21168 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21169 wine_fn_config_makefile dlls/wing32 enable_wing32
21170 wine_fn_config_makefile dlls/winhttp enable_winhttp
21171 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21172 wine_fn_config_makefile dlls/wininet enable_wininet
21173 wine_fn_config_makefile dlls/wininet/tests enable_tests
21174 wine_fn_config_makefile dlls/winmm enable_winmm
21175 wine_fn_config_makefile dlls/winmm/tests enable_tests
21176 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21177 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21178 wine_fn_config_makefile dlls/winscard enable_winscard
21179 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21180 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21181 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21182 wine_fn_config_makefile dlls/winsta enable_winsta
21183 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21184 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21185 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21186 wine_fn_config_makefile dlls/wintrust enable_wintrust
21187 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21188 wine_fn_config_makefile dlls/winusb enable_winusb
21189 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21190 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21191 wine_fn_config_makefile dlls/wlanui enable_wlanui
21192 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21193 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21194 wine_fn_config_makefile dlls/wmasf enable_wmasf
21195 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21196 wine_fn_config_makefile dlls/wmi enable_wmi
21197 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21198 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21199 wine_fn_config_makefile dlls/wmp enable_wmp
21200 wine_fn_config_makefile dlls/wmp/tests enable_tests
21201 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21202 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21203 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21204 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21205 wine_fn_config_makefile dlls/wow32 enable_win16
21206 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21207 wine_fn_config_makefile dlls/wpc enable_wpc
21208 wine_fn_config_makefile dlls/wpc/tests enable_tests
21209 wine_fn_config_makefile dlls/wpcap enable_wpcap
21210 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21211 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21212 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21213 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21214 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21215 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21216 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21217 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21218 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21219 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21220 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21221 wine_fn_config_makefile dlls/wuapi enable_wuapi
21222 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21223 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21224 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21225 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21226 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21227 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21228 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21229 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21230 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21231 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21232 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21233 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21234 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21235 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21236 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21237 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21238 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21239 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21240 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21241 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21242 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21243 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21244 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21245 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21246 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21247 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21248 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21249 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21250 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21251 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21252 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21253 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21254 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21255 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21256 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21257 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21258 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21259 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21260 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21261 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21262 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21263 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21264 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21265 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21266 wine_fn_config_makefile dlls/xmllite enable_xmllite
21267 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21268 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21269 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21270 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21271 wine_fn_config_makefile fonts enable_fonts
21272 wine_fn_config_makefile include enable_include
21273 wine_fn_config_makefile libs/port enable_port
21274 wine_fn_config_makefile libs/wine enable_wine
21275 wine_fn_config_makefile libs/wpp enable_wpp
21276 wine_fn_config_makefile loader enable_loader
21277 wine_fn_config_makefile nls enable_nls
21278 wine_fn_config_makefile po enable_po
21279 wine_fn_config_makefile programs/arp enable_arp
21280 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21281 wine_fn_config_makefile programs/attrib enable_attrib
21282 wine_fn_config_makefile programs/cabarc enable_cabarc
21283 wine_fn_config_makefile programs/cacls enable_cacls
21284 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21285 wine_fn_config_makefile programs/clock enable_clock
21286 wine_fn_config_makefile programs/cmd enable_cmd
21287 wine_fn_config_makefile programs/cmd/tests enable_tests
21288 wine_fn_config_makefile programs/conhost enable_conhost
21289 wine_fn_config_makefile programs/conhost/tests enable_tests
21290 wine_fn_config_makefile programs/control enable_control
21291 wine_fn_config_makefile programs/cscript enable_cscript
21292 wine_fn_config_makefile programs/dism enable_dism
21293 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21294 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21295 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21296 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21297 wine_fn_config_makefile programs/eject enable_eject
21298 wine_fn_config_makefile programs/expand enable_expand
21299 wine_fn_config_makefile programs/explorer enable_explorer
21300 wine_fn_config_makefile programs/extrac32 enable_extrac32
21301 wine_fn_config_makefile programs/fc enable_fc
21302 wine_fn_config_makefile programs/find enable_find
21303 wine_fn_config_makefile programs/find/tests enable_tests
21304 wine_fn_config_makefile programs/findstr enable_findstr
21305 wine_fn_config_makefile programs/fsutil enable_fsutil
21306 wine_fn_config_makefile programs/fsutil/tests enable_tests
21307 wine_fn_config_makefile programs/hh enable_hh
21308 wine_fn_config_makefile programs/hostname enable_hostname
21309 wine_fn_config_makefile programs/icacls enable_icacls
21310 wine_fn_config_makefile programs/icinfo enable_icinfo
21311 wine_fn_config_makefile programs/iexplore enable_iexplore
21312 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21313 wine_fn_config_makefile programs/lodctr enable_lodctr
21314 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21315 wine_fn_config_makefile programs/mshta enable_mshta
21316 wine_fn_config_makefile programs/msidb enable_msidb
21317 wine_fn_config_makefile programs/msiexec enable_msiexec
21318 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21319 wine_fn_config_makefile programs/net enable_net
21320 wine_fn_config_makefile programs/netsh enable_netsh
21321 wine_fn_config_makefile programs/netstat enable_netstat
21322 wine_fn_config_makefile programs/ngen enable_ngen
21323 wine_fn_config_makefile programs/notepad enable_notepad
21324 wine_fn_config_makefile programs/oleview enable_oleview
21325 wine_fn_config_makefile programs/ping enable_ping
21326 wine_fn_config_makefile programs/plugplay enable_plugplay
21327 wine_fn_config_makefile programs/powershell enable_powershell
21328 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21329 wine_fn_config_makefile programs/progman enable_progman
21330 wine_fn_config_makefile programs/reg enable_reg
21331 wine_fn_config_makefile programs/reg/tests enable_tests
21332 wine_fn_config_makefile programs/regasm enable_regasm
21333 wine_fn_config_makefile programs/regedit enable_regedit
21334 wine_fn_config_makefile programs/regedit/tests enable_tests
21335 wine_fn_config_makefile programs/regini enable_regini
21336 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21337 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21338 wine_fn_config_makefile programs/rpcss enable_rpcss
21339 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21340 wine_fn_config_makefile programs/rundll32 enable_rundll32
21341 wine_fn_config_makefile programs/sc enable_sc
21342 wine_fn_config_makefile programs/schtasks enable_schtasks
21343 wine_fn_config_makefile programs/schtasks/tests enable_tests
21344 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21345 wine_fn_config_makefile programs/secedit enable_secedit
21346 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21347 wine_fn_config_makefile programs/services enable_services
21348 wine_fn_config_makefile programs/services/tests enable_tests
21349 wine_fn_config_makefile programs/shutdown enable_shutdown
21350 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21351 wine_fn_config_makefile programs/start enable_start
21352 wine_fn_config_makefile programs/subst enable_subst
21353 wine_fn_config_makefile programs/svchost enable_svchost
21354 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21355 wine_fn_config_makefile programs/taskkill enable_taskkill
21356 wine_fn_config_makefile programs/tasklist enable_tasklist
21357 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21358 wine_fn_config_makefile programs/termsv enable_termsv
21359 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21360 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21361 wine_fn_config_makefile programs/view enable_view
21362 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21363 wine_fn_config_makefile programs/where enable_where
21364 wine_fn_config_makefile programs/whoami enable_whoami
21365 wine_fn_config_makefile programs/wineboot enable_wineboot
21366 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21367 wine_fn_config_makefile programs/winecfg enable_winecfg
21368 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21369 wine_fn_config_makefile programs/winedbg enable_winedbg
21370 wine_fn_config_makefile programs/winedevice enable_winedevice
21371 wine_fn_config_makefile programs/winefile enable_winefile
21372 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21373 wine_fn_config_makefile programs/winemine enable_winemine
21374 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21375 wine_fn_config_makefile programs/winepath enable_winepath
21376 wine_fn_config_makefile programs/winetest enable_winetest
21377 wine_fn_config_makefile programs/winevdm enable_win16
21378 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21379 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21380 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21381 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21382 wine_fn_config_makefile programs/winver enable_winver
21383 wine_fn_config_makefile programs/wmic enable_wmic
21384 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21385 wine_fn_config_makefile programs/wordpad enable_wordpad
21386 wine_fn_config_makefile programs/write enable_write
21387 wine_fn_config_makefile programs/wscript enable_wscript
21388 wine_fn_config_makefile programs/wscript/tests enable_tests
21389 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21390 wine_fn_config_makefile programs/wusa enable_wusa
21391 wine_fn_config_makefile programs/xcopy enable_xcopy
21392 wine_fn_config_makefile programs/xcopy/tests enable_tests
21393 wine_fn_config_makefile server enable_server
21394 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21395 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21396 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21397 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21398 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21399 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21400 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21401 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21402 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21405 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21406 wine_fn_append_file CONFIGURE_TARGETS "tags"
21407 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21408 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21409 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21410 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21411 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21412 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21414 if test "x$enable_tools" != xno
21415 then
21416 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21417 ac_config_commands="$ac_config_commands tools/makedep"
21421 ac_config_commands="$ac_config_commands Makefile"
21424 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21428 if test "x$enable_maintainer_mode" = xyes
21429 then
21430 wine_fn_append_rule "configure: configure.ac aclocal.m4
21431 autoconf --warnings=all
21432 include/config.h.in: include/stamp-h.in
21433 include/stamp-h.in: configure.ac aclocal.m4
21434 autoheader --warnings=all
21435 @echo timestamp > \$@"
21438 if test "x$enable_tools" != xno
21439 then
21440 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21441 @./config.status tools/makedep
21442 Makefile: tools/makedep$ac_exeext"
21443 else
21444 wine_fn_append_rule "\$(MAKEDEP):
21445 @echo \"You need to run make in $TOOLSDIR first\" && false"
21448 if test -n "$with_wine64"
21449 then
21450 case "$with_wine64" in
21451 /*) reldir="" ;;
21452 *) reldir="../" ;;
21453 esac
21454 rm -f fonts server 2>/dev/null
21455 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21456 loader/wine64 loader/wine64-preloader:
21457 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21458 $with_wine64/loader/wine:
21459 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21460 $with_wine64/loader/wine-preloader:
21461 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21462 clean::
21463 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21464 else
21465 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21466 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21467 fonts \
21468 loader/wine.inf \
21469 nls \
21470 programs/msidb/msidb \
21471 programs/msiexec/msiexec \
21472 programs/notepad/notepad \
21473 programs/regedit/regedit \
21474 programs/regsvr32/regsvr32 \
21475 programs/wineboot/wineboot \
21476 programs/winecfg/winecfg \
21477 programs/wineconsole/wineconsole \
21478 programs/winedbg/winedbg \
21479 programs/winefile/winefile \
21480 programs/winemine/winemine \
21481 programs/winepath/winepath \
21482 server/wineserver"
21484 case $host_os in
21485 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21486 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21487 esac
21490 $as_echo " done" >&6
21491 cat >confcache <<\_ACEOF
21492 # This file is a shell script that caches the results of configure
21493 # tests run on this system so they can be shared between configure
21494 # scripts and configure runs, see configure's option --config-cache.
21495 # It is not useful on other systems. If it contains results you don't
21496 # want to keep, you may remove or edit it.
21498 # config.status only pays attention to the cache file if you give it
21499 # the --recheck option to rerun configure.
21501 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21502 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21503 # following values.
21505 _ACEOF
21507 # The following way of writing the cache mishandles newlines in values,
21508 # but we know of no workaround that is simple, portable, and efficient.
21509 # So, we kill variables containing newlines.
21510 # Ultrix sh set writes to stderr and can't be redirected directly,
21511 # and sets the high bit in the cache file unless we assign to the vars.
21513 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21514 eval ac_val=\$$ac_var
21515 case $ac_val in #(
21516 *${as_nl}*)
21517 case $ac_var in #(
21518 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21519 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21520 esac
21521 case $ac_var in #(
21522 _ | IFS | as_nl) ;; #(
21523 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21524 *) { eval $ac_var=; unset $ac_var;} ;;
21525 esac ;;
21526 esac
21527 done
21529 (set) 2>&1 |
21530 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21531 *${as_nl}ac_space=\ *)
21532 # `set' does not quote correctly, so add quotes: double-quote
21533 # substitution turns \\\\ into \\, and sed turns \\ into \.
21534 sed -n \
21535 "s/'/'\\\\''/g;
21536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21537 ;; #(
21539 # `set' quotes correctly as required by POSIX, so do not add quotes.
21540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21542 esac |
21543 sort
21545 sed '
21546 /^ac_cv_env_/b end
21547 t clear
21548 :clear
21549 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21550 t end
21551 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21552 :end' >>confcache
21553 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21554 if test -w "$cache_file"; then
21555 if test "x$cache_file" != "x/dev/null"; then
21556 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21557 $as_echo "$as_me: updating cache $cache_file" >&6;}
21558 if test ! -f "$cache_file" || test -h "$cache_file"; then
21559 cat confcache >"$cache_file"
21560 else
21561 case $cache_file in #(
21562 */* | ?:*)
21563 mv -f confcache "$cache_file"$$ &&
21564 mv -f "$cache_file"$$ "$cache_file" ;; #(
21566 mv -f confcache "$cache_file" ;;
21567 esac
21570 else
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21572 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21575 rm -f confcache
21577 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21578 # Let make expand exec_prefix.
21579 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21581 DEFS=-DHAVE_CONFIG_H
21583 ac_libobjs=
21584 ac_ltlibobjs=
21586 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21587 # 1. Remove the extension, and $U if already installed.
21588 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21589 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21590 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21591 # will be set to the directory where LIBOBJS objects are built.
21592 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21593 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21594 done
21595 LIBOBJS=$ac_libobjs
21597 LTLIBOBJS=$ac_ltlibobjs
21601 : "${CONFIG_STATUS=./config.status}"
21602 ac_write_fail=0
21603 ac_clean_files_save=$ac_clean_files
21604 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21606 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21607 as_write_fail=0
21608 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21609 #! $SHELL
21610 # Generated by $as_me.
21611 # Run this file to recreate the current configuration.
21612 # Compiler output produced by configure, useful for debugging
21613 # configure, is in config.log if it exists.
21615 debug=false
21616 ac_cs_recheck=false
21617 ac_cs_silent=false
21619 SHELL=\${CONFIG_SHELL-$SHELL}
21620 export SHELL
21621 _ASEOF
21622 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21623 ## -------------------- ##
21624 ## M4sh Initialization. ##
21625 ## -------------------- ##
21627 # Be more Bourne compatible
21628 DUALCASE=1; export DUALCASE # for MKS sh
21629 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21630 emulate sh
21631 NULLCMD=:
21632 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21633 # is contrary to our usage. Disable this feature.
21634 alias -g '${1+"$@"}'='"$@"'
21635 setopt NO_GLOB_SUBST
21636 else
21637 case `(set -o) 2>/dev/null` in #(
21638 *posix*) :
21639 set -o posix ;; #(
21640 *) :
21642 esac
21646 as_nl='
21648 export as_nl
21649 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21650 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21651 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21652 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21653 # Prefer a ksh shell builtin over an external printf program on Solaris,
21654 # but without wasting forks for bash or zsh.
21655 if test -z "$BASH_VERSION$ZSH_VERSION" \
21656 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21657 as_echo='print -r --'
21658 as_echo_n='print -rn --'
21659 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21660 as_echo='printf %s\n'
21661 as_echo_n='printf %s'
21662 else
21663 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21664 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21665 as_echo_n='/usr/ucb/echo -n'
21666 else
21667 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21668 as_echo_n_body='eval
21669 arg=$1;
21670 case $arg in #(
21671 *"$as_nl"*)
21672 expr "X$arg" : "X\\(.*\\)$as_nl";
21673 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21674 esac;
21675 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21677 export as_echo_n_body
21678 as_echo_n='sh -c $as_echo_n_body as_echo'
21680 export as_echo_body
21681 as_echo='sh -c $as_echo_body as_echo'
21684 # The user is always right.
21685 if test "${PATH_SEPARATOR+set}" != set; then
21686 PATH_SEPARATOR=:
21687 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21688 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21689 PATH_SEPARATOR=';'
21694 # IFS
21695 # We need space, tab and new line, in precisely that order. Quoting is
21696 # there to prevent editors from complaining about space-tab.
21697 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21698 # splitting by setting IFS to empty value.)
21699 IFS=" "" $as_nl"
21701 # Find who we are. Look in the path if we contain no directory separator.
21702 as_myself=
21703 case $0 in #((
21704 *[\\/]* ) as_myself=$0 ;;
21705 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21706 for as_dir in $PATH
21708 IFS=$as_save_IFS
21709 test -z "$as_dir" && as_dir=.
21710 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21711 done
21712 IFS=$as_save_IFS
21715 esac
21716 # We did not find ourselves, most probably we were run as `sh COMMAND'
21717 # in which case we are not to be found in the path.
21718 if test "x$as_myself" = x; then
21719 as_myself=$0
21721 if test ! -f "$as_myself"; then
21722 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21723 exit 1
21726 # Unset variables that we do not need and which cause bugs (e.g. in
21727 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21728 # suppresses any "Segmentation fault" message there. '((' could
21729 # trigger a bug in pdksh 5.2.14.
21730 for as_var in BASH_ENV ENV MAIL MAILPATH
21731 do eval test x\${$as_var+set} = xset \
21732 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21733 done
21734 PS1='$ '
21735 PS2='> '
21736 PS4='+ '
21738 # NLS nuisances.
21739 LC_ALL=C
21740 export LC_ALL
21741 LANGUAGE=C
21742 export LANGUAGE
21744 # CDPATH.
21745 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21748 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21749 # ----------------------------------------
21750 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21751 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21752 # script with STATUS, using 1 if that was 0.
21753 as_fn_error ()
21755 as_status=$1; test $as_status -eq 0 && as_status=1
21756 if test "$4"; then
21757 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21758 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21760 $as_echo "$as_me: error: $2" >&2
21761 as_fn_exit $as_status
21762 } # as_fn_error
21765 # as_fn_set_status STATUS
21766 # -----------------------
21767 # Set $? to STATUS, without forking.
21768 as_fn_set_status ()
21770 return $1
21771 } # as_fn_set_status
21773 # as_fn_exit STATUS
21774 # -----------------
21775 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21776 as_fn_exit ()
21778 set +e
21779 as_fn_set_status $1
21780 exit $1
21781 } # as_fn_exit
21783 # as_fn_unset VAR
21784 # ---------------
21785 # Portably unset VAR.
21786 as_fn_unset ()
21788 { eval $1=; unset $1;}
21790 as_unset=as_fn_unset
21791 # as_fn_append VAR VALUE
21792 # ----------------------
21793 # Append the text in VALUE to the end of the definition contained in VAR. Take
21794 # advantage of any shell optimizations that allow amortized linear growth over
21795 # repeated appends, instead of the typical quadratic growth present in naive
21796 # implementations.
21797 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21798 eval 'as_fn_append ()
21800 eval $1+=\$2
21802 else
21803 as_fn_append ()
21805 eval $1=\$$1\$2
21807 fi # as_fn_append
21809 # as_fn_arith ARG...
21810 # ------------------
21811 # Perform arithmetic evaluation on the ARGs, and store the result in the
21812 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21813 # must be portable across $(()) and expr.
21814 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21815 eval 'as_fn_arith ()
21817 as_val=$(( $* ))
21819 else
21820 as_fn_arith ()
21822 as_val=`expr "$@" || test $? -eq 1`
21824 fi # as_fn_arith
21827 if expr a : '\(a\)' >/dev/null 2>&1 &&
21828 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21829 as_expr=expr
21830 else
21831 as_expr=false
21834 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21835 as_basename=basename
21836 else
21837 as_basename=false
21840 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21841 as_dirname=dirname
21842 else
21843 as_dirname=false
21846 as_me=`$as_basename -- "$0" ||
21847 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21848 X"$0" : 'X\(//\)$' \| \
21849 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21850 $as_echo X/"$0" |
21851 sed '/^.*\/\([^/][^/]*\)\/*$/{
21852 s//\1/
21855 /^X\/\(\/\/\)$/{
21856 s//\1/
21859 /^X\/\(\/\).*/{
21860 s//\1/
21863 s/.*/./; q'`
21865 # Avoid depending upon Character Ranges.
21866 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21867 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21868 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21869 as_cr_digits='0123456789'
21870 as_cr_alnum=$as_cr_Letters$as_cr_digits
21872 ECHO_C= ECHO_N= ECHO_T=
21873 case `echo -n x` in #(((((
21874 -n*)
21875 case `echo 'xy\c'` in
21876 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21877 xy) ECHO_C='\c';;
21878 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21879 ECHO_T=' ';;
21880 esac;;
21882 ECHO_N='-n';;
21883 esac
21885 rm -f conf$$ conf$$.exe conf$$.file
21886 if test -d conf$$.dir; then
21887 rm -f conf$$.dir/conf$$.file
21888 else
21889 rm -f conf$$.dir
21890 mkdir conf$$.dir 2>/dev/null
21892 if (echo >conf$$.file) 2>/dev/null; then
21893 if ln -s conf$$.file conf$$ 2>/dev/null; then
21894 as_ln_s='ln -s'
21895 # ... but there are two gotchas:
21896 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21897 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21898 # In both cases, we have to default to `cp -pR'.
21899 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21900 as_ln_s='cp -pR'
21901 elif ln conf$$.file conf$$ 2>/dev/null; then
21902 as_ln_s=ln
21903 else
21904 as_ln_s='cp -pR'
21906 else
21907 as_ln_s='cp -pR'
21909 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21910 rmdir conf$$.dir 2>/dev/null
21913 # as_fn_mkdir_p
21914 # -------------
21915 # Create "$as_dir" as a directory, including parents if necessary.
21916 as_fn_mkdir_p ()
21919 case $as_dir in #(
21920 -*) as_dir=./$as_dir;;
21921 esac
21922 test -d "$as_dir" || eval $as_mkdir_p || {
21923 as_dirs=
21924 while :; do
21925 case $as_dir in #(
21926 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21927 *) as_qdir=$as_dir;;
21928 esac
21929 as_dirs="'$as_qdir' $as_dirs"
21930 as_dir=`$as_dirname -- "$as_dir" ||
21931 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21932 X"$as_dir" : 'X\(//\)[^/]' \| \
21933 X"$as_dir" : 'X\(//\)$' \| \
21934 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21935 $as_echo X"$as_dir" |
21936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21937 s//\1/
21940 /^X\(\/\/\)[^/].*/{
21941 s//\1/
21944 /^X\(\/\/\)$/{
21945 s//\1/
21948 /^X\(\/\).*/{
21949 s//\1/
21952 s/.*/./; q'`
21953 test -d "$as_dir" && break
21954 done
21955 test -z "$as_dirs" || eval "mkdir $as_dirs"
21956 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21959 } # as_fn_mkdir_p
21960 if mkdir -p . 2>/dev/null; then
21961 as_mkdir_p='mkdir -p "$as_dir"'
21962 else
21963 test -d ./-p && rmdir ./-p
21964 as_mkdir_p=false
21968 # as_fn_executable_p FILE
21969 # -----------------------
21970 # Test if FILE is an executable regular file.
21971 as_fn_executable_p ()
21973 test -f "$1" && test -x "$1"
21974 } # as_fn_executable_p
21975 as_test_x='test -x'
21976 as_executable_p=as_fn_executable_p
21978 # Sed expression to map a string onto a valid CPP name.
21979 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21981 # Sed expression to map a string onto a valid variable name.
21982 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21985 exec 6>&1
21986 ## ----------------------------------- ##
21987 ## Main body of $CONFIG_STATUS script. ##
21988 ## ----------------------------------- ##
21989 _ASEOF
21990 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21993 # Save the log message, to keep $0 and so on meaningful, and to
21994 # report actual input values of CONFIG_FILES etc. instead of their
21995 # values after options handling.
21996 ac_log="
21997 This file was extended by Wine $as_me 6.7, which was
21998 generated by GNU Autoconf 2.69. Invocation command line was
22000 CONFIG_FILES = $CONFIG_FILES
22001 CONFIG_HEADERS = $CONFIG_HEADERS
22002 CONFIG_LINKS = $CONFIG_LINKS
22003 CONFIG_COMMANDS = $CONFIG_COMMANDS
22004 $ $0 $@
22006 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22009 _ACEOF
22011 case $ac_config_files in *"
22012 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22013 esac
22015 case $ac_config_headers in *"
22016 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22017 esac
22020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22021 # Files that config.status was made for.
22022 config_files="$ac_config_files"
22023 config_headers="$ac_config_headers"
22024 config_links="$ac_config_links"
22025 config_commands="$ac_config_commands"
22027 _ACEOF
22029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22030 ac_cs_usage="\
22031 \`$as_me' instantiates files and other configuration actions
22032 from templates according to the current configuration. Unless the files
22033 and actions are specified as TAGs, all are instantiated by default.
22035 Usage: $0 [OPTION]... [TAG]...
22037 -h, --help print this help, then exit
22038 -V, --version print version number and configuration settings, then exit
22039 --config print configuration, then exit
22040 -q, --quiet, --silent
22041 do not print progress messages
22042 -d, --debug don't remove temporary files
22043 --recheck update $as_me by reconfiguring in the same conditions
22044 --file=FILE[:TEMPLATE]
22045 instantiate the configuration file FILE
22046 --header=FILE[:TEMPLATE]
22047 instantiate the configuration header FILE
22049 Configuration files:
22050 $config_files
22052 Configuration headers:
22053 $config_headers
22055 Configuration links:
22056 $config_links
22058 Configuration commands:
22059 $config_commands
22061 Report bugs to <wine-devel@winehq.org>.
22062 Wine home page: <https://www.winehq.org>."
22064 _ACEOF
22065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22066 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22067 ac_cs_version="\\
22068 Wine config.status 6.7
22069 configured by $0, generated by GNU Autoconf 2.69,
22070 with options \\"\$ac_cs_config\\"
22072 Copyright (C) 2012 Free Software Foundation, Inc.
22073 This config.status script is free software; the Free Software Foundation
22074 gives unlimited permission to copy, distribute and modify it."
22076 ac_pwd='$ac_pwd'
22077 srcdir='$srcdir'
22078 test -n "\$AWK" || AWK=awk
22079 _ACEOF
22081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22082 # The default lists apply if the user does not specify any file.
22083 ac_need_defaults=:
22084 while test $# != 0
22086 case $1 in
22087 --*=?*)
22088 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22089 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22090 ac_shift=:
22092 --*=)
22093 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22094 ac_optarg=
22095 ac_shift=:
22098 ac_option=$1
22099 ac_optarg=$2
22100 ac_shift=shift
22102 esac
22104 case $ac_option in
22105 # Handling of the options.
22106 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22107 ac_cs_recheck=: ;;
22108 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22109 $as_echo "$ac_cs_version"; exit ;;
22110 --config | --confi | --conf | --con | --co | --c )
22111 $as_echo "$ac_cs_config"; exit ;;
22112 --debug | --debu | --deb | --de | --d | -d )
22113 debug=: ;;
22114 --file | --fil | --fi | --f )
22115 $ac_shift
22116 case $ac_optarg in
22117 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22118 '') as_fn_error $? "missing file argument" ;;
22119 esac
22120 as_fn_append CONFIG_FILES " '$ac_optarg'"
22121 ac_need_defaults=false;;
22122 --header | --heade | --head | --hea )
22123 $ac_shift
22124 case $ac_optarg in
22125 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22126 esac
22127 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22128 ac_need_defaults=false;;
22129 --he | --h)
22130 # Conflict between --help and --header
22131 as_fn_error $? "ambiguous option: \`$1'
22132 Try \`$0 --help' for more information.";;
22133 --help | --hel | -h )
22134 $as_echo "$ac_cs_usage"; exit ;;
22135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22136 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22137 ac_cs_silent=: ;;
22139 # This is an error.
22140 -*) as_fn_error $? "unrecognized option: \`$1'
22141 Try \`$0 --help' for more information." ;;
22143 *) as_fn_append ac_config_targets " $1"
22144 ac_need_defaults=false ;;
22146 esac
22147 shift
22148 done
22150 ac_configure_extra_args=
22152 if $ac_cs_silent; then
22153 exec 6>/dev/null
22154 ac_configure_extra_args="$ac_configure_extra_args --silent"
22157 _ACEOF
22158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22159 if \$ac_cs_recheck; then
22160 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22161 shift
22162 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22163 CONFIG_SHELL='$SHELL'
22164 export CONFIG_SHELL
22165 exec "\$@"
22168 _ACEOF
22169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22170 exec 5>>config.log
22172 echo
22173 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22174 ## Running $as_me. ##
22175 _ASBOX
22176 $as_echo "$ac_log"
22177 } >&5
22179 _ACEOF
22180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22182 # INIT-COMMANDS
22184 wine_fn_output_makedep ()
22186 as_dir=tools; as_fn_mkdir_p
22187 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
22189 wine_fn_output_makefile ()
22191 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
22192 `cat $wine_rules_file`
22193 _WINE_EOF
22194 as_fn_error $? "could not create Makefile" "$LINENO" 5
22197 _ACEOF
22199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22201 # Handling of arguments.
22202 for ac_config_target in $ac_config_targets
22204 case $ac_config_target in
22205 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22206 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22207 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
22208 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
22209 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
22210 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
22211 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22213 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22214 esac
22215 done
22218 # If the user did not use the arguments to specify the items to instantiate,
22219 # then the envvar interface is used. Set only those that are not.
22220 # We use the long form for the default assignment because of an extremely
22221 # bizarre bug on SunOS 4.1.3.
22222 if $ac_need_defaults; then
22223 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22224 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22225 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22226 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22229 # Have a temporary directory for convenience. Make it in the build tree
22230 # simply because there is no reason against having it here, and in addition,
22231 # creating and moving files from /tmp can sometimes cause problems.
22232 # Hook for its removal unless debugging.
22233 # Note that there is a small window in which the directory will not be cleaned:
22234 # after its creation but before its name has been assigned to `$tmp'.
22235 $debug ||
22237 tmp= ac_tmp=
22238 trap 'exit_status=$?
22239 : "${ac_tmp:=$tmp}"
22240 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22242 trap 'as_fn_exit 1' 1 2 13 15
22244 # Create a (secure) tmp directory for tmp files.
22247 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22248 test -d "$tmp"
22249 } ||
22251 tmp=./conf$$-$RANDOM
22252 (umask 077 && mkdir "$tmp")
22253 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22254 ac_tmp=$tmp
22256 # Set up the scripts for CONFIG_FILES section.
22257 # No need to generate them if there are no CONFIG_FILES.
22258 # This happens for instance with `./config.status config.h'.
22259 if test -n "$CONFIG_FILES"; then
22262 ac_cr=`echo X | tr X '\015'`
22263 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22264 # But we know of no other shell where ac_cr would be empty at this
22265 # point, so we can use a bashism as a fallback.
22266 if test "x$ac_cr" = x; then
22267 eval ac_cr=\$\'\\r\'
22269 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22270 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22271 ac_cs_awk_cr='\\r'
22272 else
22273 ac_cs_awk_cr=$ac_cr
22276 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22277 _ACEOF
22281 echo "cat >conf$$subs.awk <<_ACEOF" &&
22282 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22283 echo "_ACEOF"
22284 } >conf$$subs.sh ||
22285 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22286 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22287 ac_delim='%!_!# '
22288 for ac_last_try in false false false false false :; do
22289 . ./conf$$subs.sh ||
22290 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22292 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22293 if test $ac_delim_n = $ac_delim_num; then
22294 break
22295 elif $ac_last_try; then
22296 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22297 else
22298 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22300 done
22301 rm -f conf$$subs.sh
22303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22304 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22305 _ACEOF
22306 sed -n '
22308 s/^/S["/; s/!.*/"]=/
22311 s/^[^!]*!//
22312 :repl
22313 t repl
22314 s/'"$ac_delim"'$//
22315 t delim
22318 s/\(.\{148\}\)..*/\1/
22319 t more1
22320 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22323 b repl
22324 :more1
22325 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22328 s/.\{148\}//
22329 t nl
22330 :delim
22332 s/\(.\{148\}\)..*/\1/
22333 t more2
22334 s/["\\]/\\&/g; s/^/"/; s/$/"/
22337 :more2
22338 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22341 s/.\{148\}//
22342 t delim
22343 ' <conf$$subs.awk | sed '
22344 /^[^""]/{
22346 s/\n//
22348 ' >>$CONFIG_STATUS || ac_write_fail=1
22349 rm -f conf$$subs.awk
22350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22351 _ACAWK
22352 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22353 for (key in S) S_is_set[key] = 1
22354 FS = "\a"
22358 line = $ 0
22359 nfields = split(line, field, "@")
22360 substed = 0
22361 len = length(field[1])
22362 for (i = 2; i < nfields; i++) {
22363 key = field[i]
22364 keylen = length(key)
22365 if (S_is_set[key]) {
22366 value = S[key]
22367 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22368 len += length(value) + length(field[++i])
22369 substed = 1
22370 } else
22371 len += 1 + keylen
22374 print line
22377 _ACAWK
22378 _ACEOF
22379 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22380 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22381 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22382 else
22384 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22385 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22386 _ACEOF
22388 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22389 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22390 # trailing colons and then remove the whole line if VPATH becomes empty
22391 # (actually we leave an empty line to preserve line numbers).
22392 if test "x$srcdir" = x.; then
22393 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22395 s///
22396 s/^/:/
22397 s/[ ]*$/:/
22398 s/:\$(srcdir):/:/g
22399 s/:\${srcdir}:/:/g
22400 s/:@srcdir@:/:/g
22401 s/^:*//
22402 s/:*$//
22404 s/\(=[ ]*\).*/\1/
22406 s/\n//
22407 s/^[^=]*=[ ]*$//
22411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22412 fi # test -n "$CONFIG_FILES"
22414 # Set up the scripts for CONFIG_HEADERS section.
22415 # No need to generate them if there are no CONFIG_HEADERS.
22416 # This happens for instance with `./config.status Makefile'.
22417 if test -n "$CONFIG_HEADERS"; then
22418 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22419 BEGIN {
22420 _ACEOF
22422 # Transform confdefs.h into an awk script `defines.awk', embedded as
22423 # here-document in config.status, that substitutes the proper values into
22424 # config.h.in to produce config.h.
22426 # Create a delimiter string that does not exist in confdefs.h, to ease
22427 # handling of long lines.
22428 ac_delim='%!_!# '
22429 for ac_last_try in false false :; do
22430 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22431 if test -z "$ac_tt"; then
22432 break
22433 elif $ac_last_try; then
22434 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22435 else
22436 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22438 done
22440 # For the awk script, D is an array of macro values keyed by name,
22441 # likewise P contains macro parameters if any. Preserve backslash
22442 # newline sequences.
22444 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22445 sed -n '
22446 s/.\{148\}/&'"$ac_delim"'/g
22447 t rset
22448 :rset
22449 s/^[ ]*#[ ]*define[ ][ ]*/ /
22450 t def
22452 :def
22453 s/\\$//
22454 t bsnl
22455 s/["\\]/\\&/g
22456 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22457 D["\1"]=" \3"/p
22458 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22460 :bsnl
22461 s/["\\]/\\&/g
22462 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22463 D["\1"]=" \3\\\\\\n"\\/p
22464 t cont
22465 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22466 t cont
22468 :cont
22470 s/.\{148\}/&'"$ac_delim"'/g
22471 t clear
22472 :clear
22473 s/\\$//
22474 t bsnlc
22475 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22477 :bsnlc
22478 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22479 b cont
22480 ' <confdefs.h | sed '
22481 s/'"$ac_delim"'/"\\\
22482 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22485 for (key in D) D_is_set[key] = 1
22486 FS = "\a"
22488 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22489 line = \$ 0
22490 split(line, arg, " ")
22491 if (arg[1] == "#") {
22492 defundef = arg[2]
22493 mac1 = arg[3]
22494 } else {
22495 defundef = substr(arg[1], 2)
22496 mac1 = arg[2]
22498 split(mac1, mac2, "(") #)
22499 macro = mac2[1]
22500 prefix = substr(line, 1, index(line, defundef) - 1)
22501 if (D_is_set[macro]) {
22502 # Preserve the white space surrounding the "#".
22503 print prefix "define", macro P[macro] D[macro]
22504 next
22505 } else {
22506 # Replace #undef with comments. This is necessary, for example,
22507 # in the case of _POSIX_SOURCE, which is predefined and required
22508 # on some systems where configure will not decide to define it.
22509 if (defundef == "undef") {
22510 print "/*", prefix defundef, macro, "*/"
22511 next
22515 { print }
22516 _ACAWK
22517 _ACEOF
22518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22519 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22520 fi # test -n "$CONFIG_HEADERS"
22523 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22524 shift
22525 for ac_tag
22527 case $ac_tag in
22528 :[FHLC]) ac_mode=$ac_tag; continue;;
22529 esac
22530 case $ac_mode$ac_tag in
22531 :[FHL]*:*);;
22532 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22533 :[FH]-) ac_tag=-:-;;
22534 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22535 esac
22536 ac_save_IFS=$IFS
22537 IFS=:
22538 set x $ac_tag
22539 IFS=$ac_save_IFS
22540 shift
22541 ac_file=$1
22542 shift
22544 case $ac_mode in
22545 :L) ac_source=$1;;
22546 :[FH])
22547 ac_file_inputs=
22548 for ac_f
22550 case $ac_f in
22551 -) ac_f="$ac_tmp/stdin";;
22552 *) # Look for the file first in the build tree, then in the source tree
22553 # (if the path is not absolute). The absolute path cannot be DOS-style,
22554 # because $ac_f cannot contain `:'.
22555 test -f "$ac_f" ||
22556 case $ac_f in
22557 [\\/$]*) false;;
22558 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22559 esac ||
22560 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22561 esac
22562 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22563 as_fn_append ac_file_inputs " '$ac_f'"
22564 done
22566 # Let's still pretend it is `configure' which instantiates (i.e., don't
22567 # use $as_me), people would be surprised to read:
22568 # /* config.h. Generated by config.status. */
22569 configure_input='Generated from '`
22570 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22571 `' by configure.'
22572 if test x"$ac_file" != x-; then
22573 configure_input="$ac_file. $configure_input"
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22575 $as_echo "$as_me: creating $ac_file" >&6;}
22577 # Neutralize special characters interpreted by sed in replacement strings.
22578 case $configure_input in #(
22579 *\&* | *\|* | *\\* )
22580 ac_sed_conf_input=`$as_echo "$configure_input" |
22581 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22582 *) ac_sed_conf_input=$configure_input;;
22583 esac
22585 case $ac_tag in
22586 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22587 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22588 esac
22590 esac
22592 ac_dir=`$as_dirname -- "$ac_file" ||
22593 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22594 X"$ac_file" : 'X\(//\)[^/]' \| \
22595 X"$ac_file" : 'X\(//\)$' \| \
22596 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22597 $as_echo X"$ac_file" |
22598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22599 s//\1/
22602 /^X\(\/\/\)[^/].*/{
22603 s//\1/
22606 /^X\(\/\/\)$/{
22607 s//\1/
22610 /^X\(\/\).*/{
22611 s//\1/
22614 s/.*/./; q'`
22615 as_dir="$ac_dir"; as_fn_mkdir_p
22616 ac_builddir=.
22618 case "$ac_dir" in
22619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22621 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22622 # A ".." for each directory in $ac_dir_suffix.
22623 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22624 case $ac_top_builddir_sub in
22625 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22626 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22627 esac ;;
22628 esac
22629 ac_abs_top_builddir=$ac_pwd
22630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22631 # for backward compatibility:
22632 ac_top_builddir=$ac_top_build_prefix
22634 case $srcdir in
22635 .) # We are building in place.
22636 ac_srcdir=.
22637 ac_top_srcdir=$ac_top_builddir_sub
22638 ac_abs_top_srcdir=$ac_pwd ;;
22639 [\\/]* | ?:[\\/]* ) # Absolute name.
22640 ac_srcdir=$srcdir$ac_dir_suffix;
22641 ac_top_srcdir=$srcdir
22642 ac_abs_top_srcdir=$srcdir ;;
22643 *) # Relative name.
22644 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22645 ac_top_srcdir=$ac_top_build_prefix$srcdir
22646 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22647 esac
22648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22651 case $ac_mode in
22654 # CONFIG_FILE
22657 _ACEOF
22659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22660 # If the template does not know about datarootdir, expand it.
22661 # FIXME: This hack should be removed a few years after 2.60.
22662 ac_datarootdir_hack=; ac_datarootdir_seen=
22663 ac_sed_dataroot='
22664 /datarootdir/ {
22668 /@datadir@/p
22669 /@docdir@/p
22670 /@infodir@/p
22671 /@localedir@/p
22672 /@mandir@/p'
22673 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22674 *datarootdir*) ac_datarootdir_seen=yes;;
22675 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22677 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22678 _ACEOF
22679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22680 ac_datarootdir_hack='
22681 s&@datadir@&$datadir&g
22682 s&@docdir@&$docdir&g
22683 s&@infodir@&$infodir&g
22684 s&@localedir@&$localedir&g
22685 s&@mandir@&$mandir&g
22686 s&\\\${datarootdir}&$datarootdir&g' ;;
22687 esac
22688 _ACEOF
22690 # Neutralize VPATH when `$srcdir' = `.'.
22691 # Shell code in configure.ac might set extrasub.
22692 # FIXME: do we really want to maintain this feature?
22693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22694 ac_sed_extra="$ac_vpsub
22695 $extrasub
22696 _ACEOF
22697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22699 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22700 s|@configure_input@|$ac_sed_conf_input|;t t
22701 s&@top_builddir@&$ac_top_builddir_sub&;t t
22702 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22703 s&@srcdir@&$ac_srcdir&;t t
22704 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22705 s&@top_srcdir@&$ac_top_srcdir&;t t
22706 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22707 s&@builddir@&$ac_builddir&;t t
22708 s&@abs_builddir@&$ac_abs_builddir&;t t
22709 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22710 $ac_datarootdir_hack
22712 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22713 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22715 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22716 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22717 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22718 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22720 which seems to be undefined. Please make sure it is defined" >&5
22721 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22722 which seems to be undefined. Please make sure it is defined" >&2;}
22724 rm -f "$ac_tmp/stdin"
22725 case $ac_file in
22726 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22727 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22728 esac \
22729 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22733 # CONFIG_HEADER
22735 if test x"$ac_file" != x-; then
22737 $as_echo "/* $configure_input */" \
22738 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22739 } >"$ac_tmp/config.h" \
22740 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22741 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22743 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22744 else
22745 rm -f "$ac_file"
22746 mv "$ac_tmp/config.h" "$ac_file" \
22747 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22749 else
22750 $as_echo "/* $configure_input */" \
22751 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22752 || as_fn_error $? "could not create -" "$LINENO" 5
22757 # CONFIG_LINK
22760 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22762 else
22763 # Prefer the file from the source tree if names are identical.
22764 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22765 ac_source=$srcdir/$ac_source
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22769 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22771 if test ! -r "$ac_source"; then
22772 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22774 rm -f "$ac_file"
22776 # Try a relative symlink, then a hard link, then a copy.
22777 case $ac_source in
22778 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22779 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22780 esac
22781 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22782 ln "$ac_source" "$ac_file" 2>/dev/null ||
22783 cp -p "$ac_source" "$ac_file" ||
22784 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22787 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22788 $as_echo "$as_me: executing $ac_file commands" >&6;}
22790 esac
22793 case $ac_file$ac_mode in
22794 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22795 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22796 "Makefile":C) wine_fn_output_makefile Makefile ;;
22798 esac
22799 done # for ac_tag
22802 as_fn_exit 0
22803 _ACEOF
22804 ac_clean_files=$ac_clean_files_save
22806 test $ac_write_fail = 0 ||
22807 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22810 # configure is writing to config.log, and then calls config.status.
22811 # config.status does its own redirection, appending to config.log.
22812 # Unfortunately, on DOS this fails, as config.log is still kept open
22813 # by configure, so config.status won't be able to write to it; its
22814 # output is simply discarded. So we exec the FD to /dev/null,
22815 # effectively closing config.log, so it can be properly (re)opened and
22816 # appended to by config.status. When coming back to configure, we
22817 # need to make the FD available again.
22818 if test "$no_create" != yes; then
22819 ac_cs_success=:
22820 ac_config_status_args=
22821 test "$silent" = yes &&
22822 ac_config_status_args="$ac_config_status_args --quiet"
22823 exec 5>/dev/null
22824 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22825 exec 5>>config.log
22826 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22827 # would make configure fail if this is the last instruction.
22828 $ac_cs_success || as_fn_exit 1
22830 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22832 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22836 if test "$no_create" = "yes"
22837 then
22838 exit 0
22841 ac_save_IFS="$IFS"
22842 if test "x$wine_notices" != x; then
22843 echo >&6
22844 IFS="|"
22845 for msg in $wine_notices; do
22846 IFS="$ac_save_IFS"
22847 if ${msg:+false} :; then :
22849 else
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22851 $as_echo "$as_me: $msg" >&6;}
22853 done
22855 IFS="|"
22856 for msg in $wine_warnings; do
22857 IFS="$ac_save_IFS"
22858 if ${msg:+false} :; then :
22860 else
22861 echo >&2
22862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22863 $as_echo "$as_me: WARNING: $msg" >&2;}
22865 done
22866 IFS="$ac_save_IFS"
22868 $as_echo "
22869 $as_me: Finished. Do '${ac_make}' to compile Wine.
22870 " >&6